#why is this not working

6 messages · Page 1 of 1 (latest)

jovial lava
#

local door = MainItems.OwenerDoor.MeinDoor

door.Touched:Connect(function(hit)
while true do
wait(1)
local x = Values.OwnerValue.Value
local player = game.Players:FindFirstChild(x)
if player and player:FindFirstChild("leaderstats") then
player.leaderstats.Cash.Value = player.leaderstats.Cash.Value + Values.CashValue.Value
end
end
end)

reef kernel
jovial lava
#

ok

reef kernel
#

if not then dm me

proper halo
#

you can better use repeat loop

#

you can get the player using