Ok well I got your attention lets get to the point :3
I just made my first GUI (that works) When I click it, it kills me.
Anyway when I make it, it says button on the GUI, and I was wondering if I could try renaming it but that didnt work... here it is:
local f = Instance.new("ScreenGui")
f.Parent = game.Players.chao50.PlayerGui
local e = Instance.new("TextButton")
e.Parent = game.Players.chao50.PlayerGui.ScreenGui
e.Position = UDim2.new(.1, 0, .1, 0)
e.Size = UDim2.new(.5, 0, .5, 0)
e.MouseButton1Down:connect(function()
game.Workspace.chao50.Head:Remove()
end)
|