Basically this script should work more than one time, it works perfect the first time but after the first time it stops working, am I missing something?
local clone = script.Parent.MessageGui:clone()
function onHit(hit)
PlayerName = hit.Parent.Name
clone.Parent = game.Players:FindFirstChild(PlayerName).PlayerGui
wait(0.3)
clone.Tween.Disabled = false
end
script.Parent.Touched:connect(onHit)

3 comments
This one doesn't work at all and the error is with the else
once the else is removed there are no errors but it still doesn't work
Because this script is bad.