Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Having trouble with my part script / script is not agreeing to authorize ?? [closed]

Asked by 5 years ago

Here’s the script : db = false script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local player = game.Players:GetPlayerFromCharacter(hit.Parent) if db == false then db = true script.Parent.Transparency = 0 script.Parent.Cancollide = true player.leaderstats.Cash.Value = player.leaderstats.Cash.Value +5 script.Parent.Transparency = 1 script.Parent.Cancollide = false wait(5) end end end)

0
Please properly format your code and indent it. You can use the script block tool and edit your question. It makes it easier for other people to read it. Avigant 2374 — 5y

Closed as Not Constructive by evaera

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?