the script is inside a part inside the workspace
Ui = script.parent local player = game.Players.PlayerAdded local char = player.Character local weld = Instance.new('Weld')
the main problem is in the
local char = player.Character
im probably doing something dumb right now
if something is missing just comment
thanks for helping!
-UPDATE: i am simply trying to find the character
If you are wanting to make something to happen to a player or character when they join, you need to make the Player Added or Character Added function.
-- You can access things up here game.Players.PlayerAdded:Connect(function(Player)-- You have now found the "Player" that joins Player.CharacterAdded:Connect(function(Character) -- You have now found they "Character" of the Player --Now, you can do the welding here end) end)