Skip to content

Instantly share code, notes, and snippets.

@DinosaurXxX
Created February 16, 2020 07:14
Show Gist options
  • Select an option

  • Save DinosaurXxX/caf6d428b9c80df349ca49b9d2d55aaf to your computer and use it in GitHub Desktop.

Select an option

Save DinosaurXxX/caf6d428b9c80df349ca49b9d2d55aaf to your computer and use it in GitHub Desktop.
-- Gui to Lua
-- Version: 3
-- Instances:
local BreakInGUI = Instance.new("ScreenGui")
local Main = Instance.new("Frame")
local Gun = Instance.new("TextButton")
local Name = Instance.new("TextLabel")
local Bat = Instance.new("TextButton")
local MedKit = Instance.new("TextButton")
local Plank = Instance.new("TextButton")
local Cure = Instance.new("TextButton")
local Teddy = Instance.new("TextButton")
local BloxyCola = Instance.new("TextButton")
local Sword = Instance.new("TextButton")
local Main2 = Instance.new("Frame")
local Name_2 = Instance.new("TextLabel")
local KillBadGuys = Instance.new("TextButton")
local InfiniteEnergy = Instance.new("TextButton")
local DropTools = Instance.new("TextButton")
local RemoveAllTools = Instance.new("TextButton")
local HealallHoldMedKit = Instance.new("TextButton")
local InfiniteJump = Instance.new("TextButton")
local BTools = Instance.new("TextButton")
local NoclipToggleE = Instance.new("TextButton")
local Main3 = Instance.new("Frame")
local Name_3 = Instance.new("TextLabel")
local Owner = Instance.new("TextLabel")
local Scripter = Instance.new("TextLabel")
local Copybutton = Instance.new("TextButton")
--Properties:
BreakInGUI.Name = "Break In GUI"
BreakInGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
Main.Name = "Main"
Main.Parent = BreakInGUI
Main.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
Main.Position = UDim2.new(0.0925778374, 0, 0.16747573, 0)
Main.Size = UDim2.new(0, 126, 0, 359)
Main.Active = true
Main.Draggable = true
Gun.Name = "Gun"
Gun.Parent = Main
Gun.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
Gun.BorderSizePixel = 0
Gun.Position = UDim2.new(0.11811024, 0, 0.142045453, 0)
Gun.Size = UDim2.new(0, 96, 0, 35)
Gun.Font = Enum.Font.Highway
Gun.Text = "Get Gun"
Gun.TextColor3 = Color3.new(1, 0, 0.498039)
Gun.TextSize = 14
Gun.MouseButton1Down:connect(function()
game:GetService("ReplicatedStorage").RemoteEvents.GiveTool:FireServer("Gun")
end)
Name.Name = "Name"
Name.Parent = Main
Name.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
Name.BorderSizePixel = 0
Name.Size = UDim2.new(0, 127, 0, 50)
Name.Text = "Get Items"
Name.TextColor3 = Color3.new(1, 0.333333, 0.498039)
Name.TextScaled = true
Name.TextSize = 14
Name.TextWrapped = true
Bat.Name = "Bat"
Bat.Parent = Main
Bat.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
Bat.BorderSizePixel = 0
Bat.Position = UDim2.new(0.11811024, 0, 0.241477281, 0)
Bat.Size = UDim2.new(0, 96, 0, 35)
Bat.Font = Enum.Font.Highway
Bat.Text = "Get Bat"
Bat.TextColor3 = Color3.new(1, 0, 0.498039)
Bat.TextSize = 14
Bat.MouseButton1Down:connect(function()
game:GetService("ReplicatedStorage").RemoteEvents.GiveTool:FireServer("Bat")
end)
MedKit.Name = "MedKit"
MedKit.Parent = Main
MedKit.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
MedKit.BorderSizePixel = 0
MedKit.Position = UDim2.new(0.11811024, 0, 0.440340906, 0)
MedKit.Size = UDim2.new(0, 96, 0, 35)
MedKit.Font = Enum.Font.Highway
MedKit.Text = "Get MedKit"
MedKit.TextColor3 = Color3.new(1, 0, 0.498039)
MedKit.TextSize = 14
MedKit.MouseButton1Down:connect(function()
game:GetService("ReplicatedStorage").RemoteEvents.GiveTool:FireServer("MedKit")
end)
Plank.Name = "Plank"
Plank.Parent = Main
Plank.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
Plank.BorderSizePixel = 0
Plank.Position = UDim2.new(0.11811024, 0, 0.539772689, 0)
Plank.Size = UDim2.new(0, 96, 0, 35)
Plank.Font = Enum.Font.Highway
Plank.Text = "Get Plank"
Plank.TextColor3 = Color3.new(1, 0, 0.498039)
Plank.TextSize = 14
Plank.MouseButton1Down:connect(function()
game:GetService("ReplicatedStorage").RemoteEvents.GiveTool:FireServer("Plank")
end)
Cure.Name = "Cure"
Cure.Parent = Main
Cure.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
Cure.BorderSizePixel = 0
Cure.Position = UDim2.new(0.11811024, 0, 0.639204502, 0)
Cure.Size = UDim2.new(0, 96, 0, 35)
Cure.Font = Enum.Font.Highway
Cure.Text = "Get Cure"
Cure.TextColor3 = Color3.new(1, 0, 0.498039)
Cure.TextSize = 14
Cure.MouseButton1Down:connect(function()
game:GetService("ReplicatedStorage").RemoteEvents.GiveTool:FireServer("Cure")
end)
Teddy.Name = "Teddy"
Teddy.Parent = Main
Teddy.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
Teddy.BorderSizePixel = 0
Teddy.Position = UDim2.new(0.11811024, 0, 0.738636315, 0)
Teddy.Size = UDim2.new(0, 96, 0, 35)
Teddy.Font = Enum.Font.Highway
Teddy.Text = "Get Teddy"
Teddy.TextColor3 = Color3.new(1, 0, 0.498039)
Teddy.TextSize = 14
Teddy.MouseButton1Down:connect(function()
game:GetService("ReplicatedStorage").RemoteEvents.GiveTool:FireServer("TeddyBloxpin")
end)
BloxyCola.Name = "BloxyCola"
BloxyCola.Parent = Main
BloxyCola.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
BloxyCola.BorderSizePixel = 0
BloxyCola.Position = UDim2.new(0.11811024, 0, 0.835227251, 0)
BloxyCola.Size = UDim2.new(0, 96, 0, 35)
BloxyCola.Font = Enum.Font.Highway
BloxyCola.Text = "Get BloxyCola"
BloxyCola.TextColor3 = Color3.new(1, 0, 0.498039)
BloxyCola.TextSize = 14
BloxyCola.MouseButton1Down:connect(function()
game:GetService("ReplicatedStorage").RemoteEvents.GiveTool:FireServer("BloxyCola")
end)
Sword.Name = "Sword"
Sword.Parent = Main
Sword.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
Sword.BorderSizePixel = 0
Sword.Position = UDim2.new(0.11811024, 0, 0.340909094, 0)
Sword.Size = UDim2.new(0, 96, 0, 35)
Sword.Font = Enum.Font.Highway
Sword.Text = "Get Sword"
Sword.TextColor3 = Color3.new(1, 0, 0.498039)
Sword.TextSize = 14
Sword.MouseButton1Down:connect(function()
game:GetService("ReplicatedStorage").RemoteEvents.GiveTool:FireServer("Sword")
end)
Main2.Name = "Main2"
Main2.Parent = BreakInGUI
Main2.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
Main2.Position = UDim2.new(0.342378318, 0, 0.16747573, 0)
Main2.Size = UDim2.new(0, 127, 0, 352)
Main2.Active = true
Main2.Draggable = true
Name_2.Name = "Name"
Name_2.Parent = Main2
Name_2.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
Name_2.BorderSizePixel = 0
Name_2.Position = UDim2.new(-2.4029589e-07, 0, 0, 0)
Name_2.Size = UDim2.new(0, 127, 0, 50)
Name_2.Text = "More Functions"
Name_2.TextColor3 = Color3.new(1, 0.333333, 0)
Name_2.TextScaled = true
Name_2.TextSize = 14
Name_2.TextWrapped = true
KillBadGuys.Name = "Kill Bad Guys"
KillBadGuys.Parent = Main2
KillBadGuys.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
KillBadGuys.BorderSizePixel = 0
KillBadGuys.Position = UDim2.new(0.11811024, 0, 0.14488636, 0)
KillBadGuys.Size = UDim2.new(0, 96, 0, 35)
KillBadGuys.Font = Enum.Font.Highway
KillBadGuys.Text = "Kill Bad Guys"
KillBadGuys.TextColor3 = Color3.new(0.741176, 0.247059, 0)
KillBadGuys.TextSize = 14
KillBadGuys.MouseButton1Down:connect(function()
for i,v in pairs(game.Workspace.BadGuys:GetChildren()) do
game:GetService("ReplicatedStorage").RemoteEvents.HitBadguy:FireServer(v, 8)
end
end)
InfiniteEnergy.Name = "Infinite Energy"
InfiniteEnergy.Parent = Main2
InfiniteEnergy.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
InfiniteEnergy.BorderSizePixel = 0
InfiniteEnergy.Position = UDim2.new(0.11811024, 0, 0.247159094, 0)
InfiniteEnergy.Size = UDim2.new(0, 96, 0, 35)
InfiniteEnergy.Font = Enum.Font.GothamSemibold
InfiniteEnergy.Text = "Infinite Energy"
InfiniteEnergy.TextColor3 = Color3.new(0.741176, 0.254902, 0)
InfiniteEnergy.TextSize = 14
InfiniteEnergy.MouseButton1Down:connect(function()
game:GetService("ReplicatedStorage").RemoteEvents.Energy:FireServer(999999)
end)
DropTools.Name = "Drop Tools"
DropTools.Parent = Main2
DropTools.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
DropTools.BorderSizePixel = 0
DropTools.Position = UDim2.new(0.11811024, 0, 0.349431813, 0)
DropTools.Size = UDim2.new(0, 96, 0, 35)
DropTools.Font = Enum.Font.Highway
DropTools.Text = "Drop Tools [Hold them first]"
DropTools.TextColor3 = Color3.new(0.741176, 0.254902, 0)
DropTools.TextScaled = true
DropTools.TextSize = 14
DropTools.TextWrapped = true
DropTools.MouseButton1Down:connect(function()
local ToolName = ""
local Counter = 0
for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
if v:IsA("Tool") then
Counter = Counter + 1
ToolName = v.Name
end
end
if Counter >= 1 then
local Tool = game.Players.LocalPlayer.Character[ToolName]
Tool.Parent = game.Workspace
warn("Dropped!")
else
warn("No tool was found.")
end
end)
RemoveAllTools.Name = "Remove All Tools"
RemoveAllTools.Parent = Main2
RemoveAllTools.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
RemoveAllTools.BorderSizePixel = 0
RemoveAllTools.Position = UDim2.new(0.11811024, 0, 0.448863626, 0)
RemoveAllTools.Size = UDim2.new(0, 96, 0, 35)
RemoveAllTools.Font = Enum.Font.Highway
RemoveAllTools.Text = "Remove all Tools"
RemoveAllTools.TextColor3 = Color3.new(0.741176, 0.254902, 0)
RemoveAllTools.TextSize = 14
RemoveAllTools.MouseButton1Down:connect(function()
for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
if v:IsA("Tool") then
v:Destroy()
end
end
end)
HealallHoldMedKit.Name = "Heal all [Hold MedKit]"
HealallHoldMedKit.Parent = Main2
HealallHoldMedKit.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
HealallHoldMedKit.BorderSizePixel = 0
HealallHoldMedKit.Position = UDim2.new(0.11811024, 0, 0.548295438, 0)
HealallHoldMedKit.Size = UDim2.new(0, 96, 0, 35)
HealallHoldMedKit.Font = Enum.Font.Highway
HealallHoldMedKit.Text = "Heal All [Hold MedKit first]"
HealallHoldMedKit.TextColor3 = Color3.new(0.741176, 0.254902, 0)
HealallHoldMedKit.TextScaled = true
HealallHoldMedKit.TextSize = 14
HealallHoldMedKit.TextWrapped = true
HealallHoldMedKit.MouseButton1Down:connect(function()
for i,v in pairs(game:GetService("Players"):GetChildren()) do
game:GetService("ReplicatedStorage").RemoteEvents.HealPlayer:FireServer(v)
end
end)
InfiniteJump.Name = "Infinite Jump"
InfiniteJump.Parent = Main2
InfiniteJump.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
InfiniteJump.BorderSizePixel = 0
InfiniteJump.Position = UDim2.new(0.11811024, 0, 0.653409064, 0)
InfiniteJump.Size = UDim2.new(0, 96, 0, 35)
InfiniteJump.Font = Enum.Font.Highway
InfiniteJump.Text = "Infinite Jump"
InfiniteJump.TextColor3 = Color3.new(0.741176, 0.254902, 0)
InfiniteJump.TextSize = 14
InfiniteJump.TextWrapped = true
InfiniteJump.MouseButton1Down:connect(function()
local Player = game:GetService'Players'.LocalPlayer;
local UIS = game:GetService'UserInputService';
_G.JumpHeight = 50;
function Action(Object, Function) if Object ~= nil then Function(Object); end end
UIS.InputBegan:connect(function(UserInput)
if UserInput.UserInputType == Enum.UserInputType.Keyboard and UserInput.KeyCode == Enum.KeyCode.Space then
Action(Player.Character.Humanoid, function(self)
if self:GetState() == Enum.HumanoidStateType.Jumping or self:GetState() == Enum.HumanoidStateType.Freefall then
Action(self.Parent.HumanoidRootPart, function(self)
self.Velocity = Vector3.new(0, _G.JumpHeight, 0);
end)
end
end)
end
end)
end)
BTools.Name = "BTools"
BTools.Parent = Main2
BTools.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
BTools.BorderSizePixel = 0
BTools.Position = UDim2.new(0.11811024, 0, 0.75, 0)
BTools.Size = UDim2.new(0, 96, 0, 35)
BTools.Font = Enum.Font.Highway
BTools.Text = "BTools"
BTools.TextColor3 = Color3.new(0.741176, 0.254902, 0)
BTools.TextSize = 14
BTools.MouseButton1Down:connect(function()
local a=Instance.new("Tool")a.RequiresHandle=false;a.Name="Delete"local b=game.Players.LocalPlayer;a.Parent=b:WaitForChild("Backpack")local c=b:GetMouse()local d=false;local e=Instance.new("SelectionBox")e.Color3=Color3.new(0,0.6,0.6,6)e.Parent=b.PlayerGui;local c=b:GetMouse()local e=Instance.new("SelectionBox")e.Color3=Color3.new(0,0.6,0.6,6)e.Parent=b.PlayerGui;e.Name="derp"c.Move:connect(function()if d then local f=c.Target;if not f then e.Adornee=nil else if f:IsA("BasePart")then e.Adornee=f else e.Adornee=nil end end end end)a.Equipped:Connect(function()d=true end)a.Unequipped:Connect(function()e.Adornee=nil;d=false end)a.Activated:Connect(function()if e.Adornee then local g=Instance.new("Explosion")g.Parent=game.Workspace;g.Position=e.Adornee.Position;g.BlastPressure=0;local h=Instance.new("Sound")h.SoundId="http://www.roblox.com/asset/?id=315775189"h.Parent=game.Workspace;h:Play()e.Adornee:Destroy()e.Adornee=nil end end)
end)
NoclipToggleE.Name = "Noclip [Toggle E]"
NoclipToggleE.Parent = Main2
NoclipToggleE.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
NoclipToggleE.BorderSizePixel = 0
NoclipToggleE.Position = UDim2.new(0.11811024, 0, 0.849431813, 0)
NoclipToggleE.Size = UDim2.new(0, 96, 0, 35)
NoclipToggleE.Font = Enum.Font.GothamSemibold
NoclipToggleE.Text = "Noclip [Toggle E]"
NoclipToggleE.TextColor3 = Color3.new(0.741176, 0.254902, 0)
NoclipToggleE.TextScaled = true
NoclipToggleE.TextSize = 14
NoclipToggleE.TextWrapped = true
NoclipToggleE.MouseButton1Down:connect(function()
local noclip = false
game:GetService('RunService').Stepped:connect(function()
if noclip then
game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
end
end)
local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()
mouse.KeyDown:connect(function(key)
if key == 'e' then
noclip = not noclip
game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
end
end)
end)
Main3.Name = "Main3"
Main3.Parent = BreakInGUI
Main3.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
Main3.Position = UDim2.new(0.558659256, 0, 0.166262135, 0)
Main3.Size = UDim2.new(0, 127, 0, 353)
Main3.Active = true
Main3.Draggable = true
Name_3.Name = "Name"
Name_3.Parent = Main3
Name_3.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
Name_3.BorderSizePixel = 0
Name_3.Size = UDim2.new(0, 127, 0, 50)
Name_3.Text = "Credits"
Name_3.TextColor3 = Color3.new(0.666667, 0.666667, 1)
Name_3.TextSize = 14
Owner.Name = "Owner"
Owner.Parent = Main3
Owner.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
Owner.BorderSizePixel = 0
Owner.Position = UDim2.new(0, 0, 0.203966007, 0)
Owner.Size = UDim2.new(0, 127, 0, 50)
Owner.Text = "GUI: Dinosaur XxX"
Owner.TextColor3 = Color3.new(0.666667, 0, 1)
Owner.TextScaled = true
Owner.TextSize = 14
Owner.TextWrapped = true
Scripter.Name = "Scripter"
Scripter.Parent = Main3
Scripter.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
Scripter.BorderSizePixel = 0
Scripter.Position = UDim2.new(0, 0, 0.439093471, 0)
Scripter.Size = UDim2.new(0, 127, 0, 50)
Scripter.Text = "Scripter: Dinosaur XxX"
Scripter.TextColor3 = Color3.new(0.666667, 0, 1)
Scripter.TextScaled = true
Scripter.TextSize = 14
Scripter.TextWrapped = true
Copybutton.Name = "Copy button"
Copybutton.Parent = Main3
Copybutton.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
Copybutton.BorderSizePixel = 0
Copybutton.Position = UDim2.new(0, 0, 0.708215296, 0)
Copybutton.Size = UDim2.new(0, 127, 0, 50)
Copybutton.Font = Enum.Font.Highway
Copybutton.Text = "Copy YouTube Dinosaur XxX"
Copybutton.TextColor3 = Color3.new(0.666667, 0, 1)
Copybutton.TextScaled = true
Copybutton.TextSize = 14
Copybutton.TextWrapped = true
Copybutton.MouseButton1Down:connect(function()
setclipboard("https://www.youtube.com/channel/UCHBxhQ_-wt-ZP3Exti78YGQ")
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment