#I Need Help With Scripting An Bounty System For An Weapon
25 messages · Page 1 of 1 (latest)
Yes
thats more like a thing for #💵︱hiring
do you know at least something about scripting?
(maybe i can just help you instead of making the whole script)
Yea I know Scripting But I The Script Doesnt Work
what is it supposed to do?
an bounty script for an cash register
its supposed to give the player that robbed the cash register bounty
so the first error is that get.bounty (even maked red)
can you just send in the script als
so i can edit it?
local canrob = true
game.Players.PlayerAdded:Connect(function(player)
script.Parent.Triggered:Connect(function(get.bounty)
if canrob == true then
local randomcash = math.random(150)
player.leaderstats.Cash.Value += randomcash
canrob = false
else
player.leaderstats.Cash.Value += 0
end
end)
end)
while true do
wait(600)
canrob = true
end
is that script.Parent
a proximity prompt?
script
whats with it?
** You are now Level 1! **
you cant do script.Triggered
oh
when is it supposed to happen?
lemme send vid
that script should work in a proximity prompt
local canrob = true
script.Parent.Triggered:Connect(function(player)
if canrob == true then
local randomcash = math.random(1,150)
player.leaderstats.Cash.Value += randomcash
canrob = false
wait(600)
canrob = true
end
end)
ok
youre using a proximity prompt 
didnt work it just put it into the money section of the leaderboard not the bounty