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

How to edit this so when stepped off, it changes back to original text?

Asked by 3 years ago
Edited 3 years ago

I would like this script to change back to its original text when stepped off of and still working when you do step off of it

game.Workspace.Detector.Touched:Connect(function(hit)
    local player = hit.Parent
    if player:FindFirstChild("Humanoid") then
        script.Parent.Text = player.Name .. " - Click For More"
    end
end)

Answer this question