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

2 comments
What are you trying to do?
Well assuming the 'player' variable isn't nil, in between lines 2 and 3 add 'repeat wait() until player.Character'. Also I think on line 2 you should add 'local player = game.Players.PlayerAdded:wait()