Yea, so i wanted to make a dimension that changes your walkspeed and the walking noise. But anyways, roblox was entirely idiotic and threw up and error.
script.Parent.Touched:Connect(function(player) wait(1) script.Parent.Running:Clone().Parent = player.Character.Head end)
19:53:28.952 - Character is not a valid member of Part --totallywindowsxp
Now, you may ask "Oh, this questions dumb TIEM T0 REMOVV", honestly it doesn't work, locals don't work so i had to ask this.
Touched doesn't return the player it returns the part that collided with it
script.Parent.Touched:Connect(function(hit) if hit then if game.Players:FindFirstChild(hit.Parent.Name) then locla character = hit.Parent local player = game.Players:GetPlayerFromCharacter(character) wait(1) script.Parent.Running:Clone().Parent = player.Character.Head -- or character.Head end end end)