The following script seems to work in play solo and test mode but not in an actual server. I've tried all test modes including f6 and it seems to work fine yet nothing occurs in a real time server. I've tried using this on a normal script with respects to game.Players. The following script is run from a local script inside the player's character.
Is there a way to fix this script? Thank you.
wait(1)
Person = game.Players.LocalPlayer
Transmuting = false
function Transmutation1()
local CircleClone = game.ServerStorage.EarthCircle1:Clone()
CircleClone.Parent = workspace
CircleClone:MoveTo(Person.Character.Torso.Position)
CircleClone.CircleWork.Disabled = false
Animation = Person.Character.Humanoid:LoadAnimation(script.DrawCircle)
Person.Character.Humanoid.WalkSpeed = 0
Animation:Play()
wait(11)
Person.Character.Humanoid.WalkSpeed = 16
Animation:Stop()
end
Person.GetMouse().KeyDown:connect(function(key)
if key:byte() == 49 and Transmuting == false then
Transmuting = true
print("First transmutation.")
Transmutation1()
wait(5)
Transmuting = false
end
end)

2 comments
Consider taking good practice into mind
Seems to work. Thank you.