#Simulator zones
19 messages · Page 1 of 1 (latest)
Ok
Simple script here:
local price = “SET THE PRICE HERE!!”
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then continue end
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player.leaderstats.Money.Value >= price then
script.Parent.CanCollide = false
script.Parent.Transparency = 1
player.leaderstats.Money.Value -= price
end)
Make sure that u have a money system set up
I already made that Thank you for the script!🙏
Not working for me🥲
lemme see
Still no 😦
I have two currency in the game both looks like they working idk what i do wrong 🥲
** You are now Level 1! **
Well idk either
Make sure this script is in a server script and is childed under the wall.
And remember to replace the price variable with a number.
Ofc
I will try again