So i did this
script.Parent.Touched:Connect(function(hit)
local player = hit.Parent:GetPlayerFromCharacter()
local gui = game.ServerStorage.ScoreBoard:Clone()
gui.Parent = player.PlayerGui
end)
and says "GetPlayerFromCharacter is not a valid member of Model" and also i dont want it to clone multiple times

3 comments
Doesn't work but I figured it out. Thanks for trying :/
Edited it, wrote the argument inside the parameter wrong just now
If the code above works please accept the answer so others will be able to learn from it thanks