`local ExFie = game:GetService("Players").LocalPlayer
game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function()
local GUI = ExFie.PlayerGui.Spown
local SuTart = game:GetService("ReplicatedStorage").SuTart
local Jebus = SuTart:Clone()
Jebus.Name = "SuTart"
local Stuff = Jebus:GetChildren()
local Player = ExFie
Player.Character:ClearAllChildren()
for i,v in pairs(Stuff) do
local Holy = v
Holy.Parent = Player.Character
end
Player.Character.PrimaryPart = Player.Character.HumanoidRootPart
GUI.Enabled = false
end)`
IDK what wrong help me

2 comments
The reason your script doesn't work is its a script and scripts can't access localplayer only local scripts can
c o d e b l o c k s