rs = game:GetService("ReplicatedStorage")
ss = game:GetService("ServerStorage")
rs.q.OnServerEvent:Connect(function(player)
local NewChar = ss.Rogue:Clone()
local Pos = player.Character:GetPrimaryPartCFrame()
local animation = script:WaitForChild('Animation')
local Character = player.Character
local humanoid = Character:WaitForChild("Humanoid")
local fall = humanoid:LoadAnimation(animation)
player.Character :Destroy()
player.Character = NewChar
NewChar.Parent = workspace
NewChar:SetPrimaryPartCFrame(Pos)
wait(60)
fall:Play()
player:LoadCharacter()
end)
thats the script but i think the way i did it is for local script
