You can write your topic however you want, but you need to answer these questions:
-
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 -
What is the issue? Include screenshots / videos if possible!
it just doesent change anything -
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!