local Brick = script.Parent.Parent.Parent local Picture = script.Parent.UserImage local User = script.Parent.Username
function onTouch(Object) local Character = Object.Parent:FindFirstChild("Humanoid") if (Character ~= nil) then local Player = game.Players.GetPlayersFromCharacter(Object.Parent) if (Player ~= nil) then Picture.Image = "http" .. Player.Name User.Text = Player.Name end end end script.Parent.Parentd.Touched:connect(OnTouch)
--whats wrong with this script?