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
function MouseHoverEnter() if not script.Parent:FindFirstChild("SelectionBox") then local SelectionBox = Instance.new("SelectionBox") SelectionBox.Adornee = script.Parent SelectionBox.Parent = script.Parent SelectionBox.Color3 = Color3.new(1, 1, 1) SelectionBox.Transparency = 0.8 local CashAmount = 5 script.Parent.CashGui.CashLabel.Text = CashAmount.." Cash" script.Parent.CashGui.Enabled = true end end function MouseHoverLeave() if script.Parent:FindFirstChild("SelectionBox") then script.Parent.SelectionBox:Destroy() script.Parent.CashGui.Enabled = false end end function ClickOnPart(player) local AddMoney = 5 if player.Money.Value >= AddMoney then player.Money.Value = player.Money.Value - AddMoney if not player.Backpack:FindFirstChild("Burger") then game.ServerStorage.Foods:FindFirstChild("Burger"):Clone().Parent = player.Backpack end else player.Money.Value = player.Money.Value - AddMoney if player.Backpack:FindFirstChild("Burger") then player.Backpack:FindFirstChild("Burger").stacks.Value += 1 end end end script.Parent.ClickDetector.MouseHoverEnter:Connect(MouseHoverEnter) script.Parent.ClickDetector.MouseHoverLeave:Connect(MouseHoverLeave) script.Parent.ClickDetector.MouseClick:Connect(ClickOnPart)
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)