local Tool = script.Parent
local Player = game.Players.LocalPlayer
local Character = game.Players.LocalPlayer.Character

script.Parent.Activated:connect(function()
	Tool.RemoteEvent:FireServer()
	wait(2)
	Character.Head.Transparency = 0
	Character["Left Arm"].Transparency = 0
	Character["Right Arm"].Transparency = 0
	Character["Right Leg"].Transparency = 0
	Character["Left Leg"].Transparency = 0
	Character.Torso.Transparency = 0

end)

I'm using a local script btw

2 comments

0

The character loads after the script tries to define it. Either try "Character = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()" or you could define Character inside of the activated function.

0

it worked! thank you