Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local menu = Instance.new("Frame")
- local closemenu = Instance.new("TextButton")
- local menutitle = Instance.new("TextBox")
- local btools = Instance.new("TextButton")
- local fefling = Instance.new("TextButton")
- local clicktp = Instance.new("TextButton")
- local openmenu = Instance.new("Frame")
- local openmenubutton = Instance.new("TextButton")
- local clicktpactive = false
- local localPlayer = game.Players.LocalPlayer
- local rootPart = localPlayer.Character.HumanoidRootPart
- local mouse = localPlayer:GetMouse()
- mouse.Button1Down:Connect(function()
- if clicktpactive then
- if mouse.Hit then
- rootPart.CFrame = CFrame.new(mouse.Hit.X,mouse.Hit.Y + 4.5,mouse.Hit.Z)
- end
- end
- end)
- --Properties:
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- menu.Name = "menu"
- menu.Parent = ScreenGui
- menu.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- menu.Position = UDim2.new(0.149511442, 0, 0.403418809, 0)
- menu.Size = UDim2.new(0, 300, 0, 286)
- closemenu.Name = "close menu"
- closemenu.Parent = menu
- closemenu.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- closemenu.BorderColor3 = Color3.fromRGB(0, 0, 0)
- closemenu.Position = UDim2.new(0.871900797, 0, 0, 0)
- closemenu.Size = UDim2.new(0, 31, 0, 26)
- closemenu.Font = Enum.Font.SourceSans
- closemenu.Text = "x"
- closemenu.TextColor3 = Color3.fromRGB(170, 0, 0)
- closemenu.TextSize = 40.000
- closemenu.TextWrapped = true
- closemenu.MouseButton1Click:Connect(function()
- menu.Visible = false
- openmenu.Visible = true
- end)
- menutitle.Name = "menu title"
- menutitle.Parent = menu
- menutitle.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- menutitle.BorderColor3 = Color3.fromRGB(0, 0, 0)
- menutitle.Size = UDim2.new(0, 254, 0, 50)
- menutitle.Font = Enum.Font.SourceSans
- menutitle.Text = "tony's menu"
- menutitle.TextColor3 = Color3.fromRGB(0, 85, 255)
- menutitle.TextSize = 40.000
- btools.Name = "btools"
- btools.Parent = menu
- btools.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- btools.Position = UDim2.new(0, 0, 0.223776206, 0)
- btools.Size = UDim2.new(0, 93, 0, 34)
- btools.Font = Enum.Font.SourceSans
- btools.Text = "Btools"
- btools.TextColor3 = Color3.fromRGB(0, 0, 255)
- btools.TextSize = 34.000
- btools.TextStrokeColor3 = Color3.fromRGB(0, 0, 127)
- btools.MouseButton1Click:Connect(function()
- local a = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
- a.BinType = 2
- local b = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
- b.BinType = 3
- local c = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
- c.BinType = 4
- end)
- fefling.Name = "fe fling"
- fefling.Parent = menu
- fefling.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- fefling.Position = UDim2.new(0.686666667, 0, 0.223776221, 0)
- fefling.Size = UDim2.new(0, 93, 0, 34)
- fefling.Font = Enum.Font.SourceSans
- fefling.Text = "FE Fling"
- fefling.TextColor3 = Color3.fromRGB(0, 0, 255)
- fefling.TextSize = 34.000
- fefling.MouseButton1Click:Connect(function()
- local LocalPlayer = game.Players.LocalPlayer
- local rootpart = LocalPlayer.Character.HumanoidRootPart
- local bodythrust = Instance.new("BodyThrust",rootpart)
- bodythrust.Force = Vector3.new(110000,0,0)
- bodythrust.Location = Vector3.new(1,0,1)
- bodythrust.Parent = rootpart
- end)
- clicktp.Name = "click tp"
- clicktp.Parent = menu
- clicktp.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- clicktp.Position = UDim2.new(0.333333343, 0, 0.223776221, 0)
- clicktp.Size = UDim2.new(0, 106, 0, 34)
- clicktp.Font = Enum.Font.SourceSans
- clicktp.Text = "Click tp"
- clicktp.TextColor3 = Color3.fromRGB(0, 0, 255)
- clicktp.TextSize = 34.000
- openmenu.Name = "open menu"
- openmenu.Parent = ScreenGui
- openmenu.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- openmenu.Position = UDim2.new(0.00368776894, 0, 0.391452998, 0)
- openmenu.Size = UDim2.new(0, 100, 0, 58)
- openmenu.Visible = false
- clicktp.MouseButton1Click:Connect(function()
- if clicktpactive then
- clicktpactive = false
- elseif not clicktpactive then
- clicktpactive = true
- end
- end)
- openmenubutton.Name = "open menu button"
- openmenubutton.Parent = openmenu
- openmenubutton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- openmenubutton.Size = UDim2.new(0, 100, 0, 58)
- openmenubutton.Font = Enum.Font.SourceSans
- openmenubutton.Text = "Open"
- openmenubutton.TextColor3 = Color3.fromRGB(0, 0, 255)
- openmenubutton.TextSize = 35.000
- openmenubutton.MouseButton1Click:Connect(function()
- menu.Visible = true
- openmenu.Visible = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement