local click = script.Parent click.MouseClick:Connect(function(plr) if script.Parent.Parent.Parent.Parent.Parent.Owned == true then if script.Parent.Parent.Parent.Parent.Parent.Owner.Value and script.Parent.Parent.Parent.Parent.Parent.Owner.Value then script.Parent.Parent.Parent.Parent.Main.Transparency = 0.5 script.Parent.Parent.Parent.Parent.Main.CanCollide = false wait(3) script.Parent.Parent.Parent.Parent.Main.Transparency = 0 script.Parent.Parent.Parent.Parent.Main.CanCollide = true end end end)
theres scripts
In the function one of the arguments you put is "plr". To find the player name you would use "plr.Name".