I want to make it so when a player touches a part the tool in their hand becomes visible. In line 3 I want to change it so anyone can use this not just me, I want it to find the player in workspace but i'm now sure how.
game.Workspace.TheTopBun.Touched:Connect(function(hit)
if hit.Parent:IsA("Tool") and hit.Parent.Name == "Coookedburger" then
game.Workspace.AnimatedSL.Coookedburger.TopBun.Transparency = 0
end
end)

1 comment
maybe try and find a way to detect the local player?