I’m trying to morph the player when they press a button but It’s so hard!
Each time the player presses the button they morph, however a few seconds later they respawn back to normal.
I hope somebody can help me with this Issue.
I’m using R6.
Here Is my code:
db = true
script.Parent.ClickDetector.MouseClick:Connect(function(plr)
local character = plr.Character
if character:FindFirstChild("Humanoid") then
if db == true then
db = false
local Morph = game.Workspace.Suit:Clone()
Morph:MoveTo(plr.Character.Torso.Position)
plr.Character = Morph
wait()
db = true
end
end
end)