Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
local Medkit = script.Parent local MaxStock = 10 local StockGui = Medkit.StockGui Medkit.ClickDetector.MouseClick:Connect(function(player) MaxStock -= 1 StockGui.stockLabel.Text = "Stock: "..MaxStock if MaxStock == 0 then Medkit.BrickColor = BrickColor.new("Really red") StockGui.stockLabel.Text = "Out of Stock" end if not player.Backpack:FindFirstChild("Name Here") then game.ServerStorage.Foods.Medkit:Clone().Parent = player.Backpack end if player.Backpack:FindFirstChild("Name Here") then player.Backpack:FindFirstChild("Name Here").stacks.Value += 1 end end) Medkit.ProximityPrompt.Triggered:Connect(function(player) if player.Coins.Value >= 100 then player.Coins.Value = player.Coins.Value - 100 MaxStock += 10 Medkit.BrickColor = BrickColor.new("White") StockGui.stockLabel.Text = "STOCK: "..MaxStock end end)
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)