Hello every, So I’m making a jjba game (yeah overdone i know) but i need some help
So In the script
local stands = chr:WaitForChild("StandS")
local rots = stands:WaitForChild("StandHumanoidRootPart")
local heds = stands:WaitForChild("Stand Head")
local faces = heds:WaitForChild("face")
local torss = stands:WaitForChild("Stand Torso")
local rarms = stands:WaitForChild("Stand Right Arm")
local larms = stands:WaitForChild("Stand Left Arm")
local rlegs = stands:WaitForChild("Stand Right Leg")
local llegs = stands:WaitForChild("Stand Left Leg")
local donutanim = human:LoadAnimation(rots.Donut)
Basically, I only need it to do this part if the players Isuser value is true
if isuser.Value == true then
local stands = chr:WaitForChild("StandS")
local rots = stands:WaitForChild("StandHumanoidRootPart")
local heds = stands:WaitForChild("Stand Head")
local faces = heds:WaitForChild("face")
local torss = stands:WaitForChild("Stand Torso")
local rarms = stands:WaitForChild("Stand Right Arm")
local larms = stands:WaitForChild("Stand Left Arm")
local rlegs = stands:WaitForChild("Stand Right Leg")
local llegs = stands:WaitForChild("Stand Left Leg")
local donutanim = human:LoadAnimation(rots.Donut)
end
But if i do this, they aren’t recognized by the rest of the script

How can i fix this? I’d rather keep this all in the same script

