Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- warn("by Fathfull/Amos")
- x = Instance.new('ScreenGui',game.CoreGui)
- y = Instance.new('TextButton',x)
- z = Instance.new('Frame',y)
- f = Instance.new('TextButton',z)
- local open = false
- function esp()
- workspace.CurrentCamera:ClearAllChildren()
- local Egg1 = workspace["Eggs"]
- local Egg2 = workspace["Eggs"]
- for i,v in pairs(Egg1:GetChildren()) do
- bill = Instance.new('BillboardGui',workspace.CurrentCamera)
- bill.AlwaysOnTop = true
- bill.Size = UDim2.new(3,0,3,0)
- bill.Adornee = v
- Frame = Instance.new('Frame',bill)
- Frame.BackgroundColor3 = Color3.fromRGB(0,226,37)
- Frame.Size = UDim2.new(1,0,1,0)
- Frame.BackgroundTransparency = 0.7
- Text = Instance.new('TextLabel',Frame)
- Text.Size = UDim2.new(1,0,1,0)
- Text.BackgroundTransparency = 1
- Text.TextScaled = false
- Text.Position = UDim2.new(0,0,-0.9,0)
- Text.Text = v.Name
- Text.TextColor3 = Color3.new(1,1,1)
- end
- for i,v in pairs(Egg2:GetChildren()) do
- bill = Instance.new('BillboardGui',workspace.CurrentCamera)
- bill.AlwaysOnTop = true
- bill.Size = UDim2.new(3,0,3,0)
- bill.Adornee = v
- Frame = Instance.new('Frame',bill)
- Frame.BackgroundColor3 = Color3.fromRGB(0,226,37)
- Frame.Size = UDim2.new(1,0,1,0)
- Frame.BackgroundTransparency = 0.7
- Text = Instance.new('TextLabel',Frame)
- Text.Size = UDim2.new(1,0,1,0)
- Text.BackgroundTransparency = 1
- Text.TextScaled = false
- Text.Position = UDim2.new(0,0,-0.9,0)
- Text.Text = v.Name
- Text.TextColor3 = Color3.new(1,1,1)
- end
- end
- y.Size = UDim2.new(0,45,0,15)
- y.BackgroundColor3 = Color3.fromRGB(136,255,0)
- y.Text = ''
- y.Draggable = true
- z.Size = UDim2.new(1,0,0,55)
- z.BackgroundColor3 = Color3.fromRGB(136,255,0)
- z.BackgroundTransparency = 0.7
- f.BackgroundColor3 = Color3.fromRGB(136,255,0)
- f.TextColor3 = Color3.new(1,1,1)
- f.Size = UDim2.new(0,25,0,25)
- f.Position = UDim2.new(0,10,0,20)
- f.Text = 'O'
- f.TextScaled = true
- y.Position = UDim2.new(0.5,0,0.5,0)
- f.MouseButton1Down:connect(function()
- if open == false then
- open = true
- esp()
- f.Text = 'X'
- elseif open == true then
- f.Text = 'O'
- open = false
- workspace.CurrentCamera:ClearAllChildren()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement