Im Having A Silly Problem

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want the stuff i do in my server script to be done to my player
  2. What is the issue? Include screenshots / videos if possible!
    it just doesent change anything
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    i have looked at developer hub but i havent found anything
    After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
game.Players.PlayerAdded:Connect(function(Player)
	game.Workspace.ChildAdded:Connect(function(Added)
		if Added == Player.Character then
			for i,v in pairs(game.ServerStorage.AddToPlayer:GetChildren()) do
				local Clone = v:Clone()
				Clone.Parent = Player.Character
				print(v)
				v.WeldConstraint.Part0 = Player.Character.HumanoidRootPart
				v.WeldConstraint.Part1 = Player.Character.HumanoidRootPart
				print(v.WeldConstraint.Part0, v.WeldConstraint.Part1)
				v.Position = Player.Character.HumanoidRootPart.Position + (Clone.Position - Player.Character.HumanoidRootPart.Position)
			end
		end
	end)
end)

it changes it when i print it in the script but it doesent in the actual game (this is a server script service script)

Thanks for any help!

1 Like

Im Stupid… i was changing V not Clone

1 Like

Use the event Player.CharacterAdded its much better and efficient than checking if anything is added to the workspace

Ty ill definitely fix that i just glosses of that

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.