Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --UI & some scripts by DSD#1567
- --Scripts by Mushkrem, Racist Dolphin, LuckyMMB ect
- local ScreenGui = Instance.new("ScreenGui")
- local GuiStart1 = Instance.new("Frame")
- local HideButton = Instance.new("TextButton")
- local GUINameLabel1 = Instance.new("TextLabel")
- local OpenButton = Instance.new("TextButton")
- local MainFrame1 = Instance.new("Frame")
- local DecoFrame1 = Instance.new("Frame")
- local HomeFrame = Instance.new("Frame")
- local DecoFrame2 = Instance.new("TextButton")
- local DecoFrame3 = Instance.new("TextButton")
- local DecoFrame4 = Instance.new("TextButton")
- local DecoFrame6 = Instance.new("TextButton")
- local DecoFrame8 = Instance.new("TextButton")
- local DecoFrame9 = Instance.new("TextButton")
- local DecoFrame10 = Instance.new("TextButton")
- local DecoFrame11 = Instance.new("TextButton")
- local HomeButton = Instance.new("TextButton")
- local LocalPlayerButton = Instance.new("TextButton")
- local TeleportsButton = Instance.new("TextButton")
- local FunctionsButton = Instance.new("TextButton")
- local FunctionsFrame = Instance.new("Frame")
- local SellButton = Instance.new("TextButton")
- local DecoFrame7 = Instance.new("TextButton")
- local SellToggleButton = Instance.new("TextButton")
- local BuyButton = Instance.new("TextButton")
- local BuyToggleButton = Instance.new("TextButton")
- local FastMineButton = Instance.new("TextButton")
- local UnglitchButton = Instance.new("TextButton")
- local SellToggleTextBox = Instance.new("TextBox")
- local BuyToggleTextBox = Instance.new("TextBox")
- local MineDangerStatusGUIButton = Instance.new("TextButton")
- local TeleportsFrame = Instance.new("Frame")
- local DecoFrame13 = Instance.new("TextButton")
- local EarthTPButton = Instance.new("TextButton")
- local SpaceTPButton = Instance.new("TextButton")
- local CandyLandTPButton = Instance.new("TextButton")
- local ToyLandTPButton = Instance.new("TextButton")
- local FoodLandTPButton = Instance.new("TextButton")
- local DinoLandTPButton = Instance.new("TextButton")
- local AtlantisTPButton = Instance.new("TextButton")
- local TheBeachTPButton = Instance.new("TextButton")
- local CrystalCavernTPButton = Instance.new("TextButton")
- local HalloweenTPButton = Instance.new("TextButton")
- local LocalPlayerFrame = Instance.new("Frame")
- local DecoFrame12 = Instance.new("TextButton")
- local SpeedButton = Instance.new("TextButton")
- local JumpPowerButton = Instance.new("TextButton")
- local FlyButton = Instance.new("TextButton")
- local Fly = false
- WalkNumber = "1"
- JumpNumber = "1"
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- local plr = game:GetService("Players").LocalPlayer.Character.Humanoid
- plr.Parent = nil
- wait()
- local clone = Instance.new("Humanoid",game:GetService("Players").LocalPlayer.Character)
- clone.Parent.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(0,1000,0))
- wait(.6)
- clone:Destroy()
- plr.Parent = game:GetService("Players").LocalPlayer.Character
- GuiStart1.Name = "GuiStart1"
- GuiStart1.Parent = ScreenGui
- GuiStart1.Active = true
- GuiStart1.BackgroundColor3 = Color3.new(0.105882, 0.105882, 0.105882)
- GuiStart1.BorderSizePixel = 0
- GuiStart1.Position = UDim2.new(0.507143617, 0, 0.195893392, 0)
- GuiStart1.Selectable = true
- GuiStart1.Size = UDim2.new(0, 417, 0, 33)
- GuiStart1.Draggable = true
- HideButton.Name = "HideButton"
- HideButton.Parent = GuiStart1
- HideButton.BackgroundColor3 = Color3.new(0.0470588, 0.0470588, 0.0470588)
- HideButton.BorderSizePixel = 0
- HideButton.Position = UDim2.new(0.930000007, 0, 0.121212125, 0)
- HideButton.Size = UDim2.new(0, 25, 0, 25)
- HideButton.Selected = true
- HideButton.Font = Enum.Font.SourceSans
- HideButton.Text = ""
- HideButton.TextColor3 = Color3.new(0, 0, 0)
- HideButton.TextSize = 14
- HideButton.MouseButton1Click:connect(function()
- GuiStart1.Visible = false
- end)
- GUINameLabel1.Name = "GUINameLabel1"
- GUINameLabel1.Parent = GuiStart1
- GUINameLabel1.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- GUINameLabel1.BackgroundTransparency = 1
- GUINameLabel1.BorderSizePixel = 0
- GUINameLabel1.Position = UDim2.new(0.0191846527, 0, -0.181818187, 5)
- GUINameLabel1.Size = UDim2.new(0, 277, 0, 34)
- GUINameLabel1.Font = Enum.Font.SourceSansBold
- GUINameLabel1.Text = "Mining Simulator"
- GUINameLabel1.TextColor3 = Color3.new(1, 1, 1)
- GUINameLabel1.TextScaled = true
- GUINameLabel1.TextSize = 25
- GUINameLabel1.TextStrokeColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- GUINameLabel1.TextWrapped = true
- GUINameLabel1.TextXAlignment = Enum.TextXAlignment.Left
- OpenButton.Name = "OpenButton"
- OpenButton.Parent = GuiStart1
- OpenButton.BackgroundColor3 = Color3.new(0.27451, 0.27451, 0.27451)
- OpenButton.BorderSizePixel = 0
- OpenButton.Position = UDim2.new(0.860000014, 0, 0.121212125, 0)
- OpenButton.Size = UDim2.new(0, 25, 0, 25)
- OpenButton.Font = Enum.Font.SourceSans
- OpenButton.Text = ""
- OpenButton.TextColor3 = Color3.new(0, 0, 0)
- OpenButton.TextSize = 14
- OpenButton.MouseButton1Click:connect(function()
- if MainFrame1.Visible == false
- then MainFrame1.Visible = true
- else
- MainFrame1.Visible = false
- end
- end)
- MainFrame1.Name = "MainFrame1"
- MainFrame1.Parent = GuiStart1
- MainFrame1.BackgroundColor3 = Color3.new(0.0470588, 0.0470588, 0.0470588)
- MainFrame1.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- MainFrame1.BorderSizePixel = 0
- MainFrame1.Position = UDim2.new(0, 0, 1, 0)
- MainFrame1.Size = UDim2.new(0, 417, 0, 424)
- MainFrame1.Visible = false
- DecoFrame1.Name = "DecoFrame1"
- DecoFrame1.Parent = MainFrame1
- DecoFrame1.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- DecoFrame1.BorderSizePixel = 0
- DecoFrame1.Size = UDim2.new(0, 129, 0, 424)
- HomeFrame.Name = "HomeFrame"
- HomeFrame.Parent = MainFrame1
- HomeFrame.BackgroundColor3 = Color3.new(0.0470588, 0.0470588, 0.0470588)
- HomeFrame.BorderSizePixel = 0
- HomeFrame.Position = UDim2.new(0.309352517, 0, 0, 0)
- HomeFrame.Size = UDim2.new(0, 288, 0, 424)
- DecoFrame2.Name = "DecoFrame2"
- DecoFrame2.Parent = HomeFrame
- DecoFrame2.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- DecoFrame2.BorderSizePixel = 0
- DecoFrame2.Position = UDim2.new(0.0694444478, 0, 0.047169812, 0)
- DecoFrame2.Size = UDim2.new(0, 247, 0, 39)
- DecoFrame2.Font = Enum.Font.SourceSansBold
- DecoFrame2.Text = "UI BY DSDamn"
- DecoFrame2.TextColor3 = Color3.new(1, 1, 1)
- DecoFrame2.TextScaled = true
- DecoFrame2.TextSize = 14
- DecoFrame2.TextWrapped = true
- DecoFrame3.Name = "DecoFrame3"
- DecoFrame3.Parent = HomeFrame
- DecoFrame3.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- DecoFrame3.BorderSizePixel = 0
- DecoFrame3.Position = UDim2.new(0.0694444478, 0, 0.149000004, 0)
- DecoFrame3.Size = UDim2.new(0, 247, 0, 27)
- DecoFrame3.Font = Enum.Font.SourceSansBold
- DecoFrame3.Text = "With Mushkrem"
- DecoFrame3.TextColor3 = Color3.new(1, 1, 1)
- DecoFrame3.TextScaled = true
- DecoFrame3.TextSize = 14
- DecoFrame3.TextWrapped = true
- DecoFrame4.Name = "DecoFrame4"
- DecoFrame4.Parent = HomeFrame
- DecoFrame4.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- DecoFrame4.BorderSizePixel = 0
- DecoFrame4.Position = UDim2.new(0.0694444478, 0, 0.238207549, 0)
- DecoFrame4.Size = UDim2.new(0, 247, 0, 39)
- DecoFrame4.Font = Enum.Font.SourceSansBold
- DecoFrame4.Text = "Scripts By:"
- DecoFrame4.TextColor3 = Color3.new(1, 1, 1)
- DecoFrame4.TextScaled = true
- DecoFrame4.TextSize = 14
- DecoFrame4.TextWrapped = true
- DecoFrame6.Name = "DecoFrame6"
- DecoFrame6.Parent = HomeFrame
- DecoFrame6.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
- DecoFrame6.BorderSizePixel = 0
- DecoFrame6.Position = UDim2.new(0.000324726105, 0, 0.964622617, 0)
- DecoFrame6.Size = UDim2.new(0, 288, 0, 15)
- DecoFrame6.Font = Enum.Font.SourceSansBold
- DecoFrame6.Text = "DSD#1567"
- DecoFrame6.TextColor3 = Color3.new(1, 1, 1)
- DecoFrame6.TextScaled = true
- DecoFrame6.TextSize = 14
- DecoFrame6.TextWrapped = true
- DecoFrame8.Name = "DecoFrame8"
- DecoFrame8.Parent = HomeFrame
- DecoFrame8.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- DecoFrame8.BorderSizePixel = 0
- DecoFrame8.Position = UDim2.new(0.0694444478, 0, 0.339622647, 0)
- DecoFrame8.Size = UDim2.new(0, 247, 0, 25)
- DecoFrame8.Font = Enum.Font.SourceSansBold
- DecoFrame8.Text = "DSD"
- DecoFrame8.TextColor3 = Color3.new(1, 1, 1)
- DecoFrame8.TextSize = 25
- DecoFrame8.TextWrapped = true
- DecoFrame9.Name = "DecoFrame9"
- DecoFrame9.Parent = HomeFrame
- DecoFrame9.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- DecoFrame9.BorderSizePixel = 0
- DecoFrame9.Position = UDim2.new(0.0689999983, 0, 0.408792466, 0)
- DecoFrame9.Size = UDim2.new(0, 247, 0, 25)
- DecoFrame9.Font = Enum.Font.SourceSansBold
- DecoFrame9.Text = "Mushkrem"
- DecoFrame9.TextColor3 = Color3.new(1, 1, 1)
- DecoFrame9.TextSize = 25
- DecoFrame9.TextWrapped = true
- DecoFrame10.Name = "DecoFrame10"
- DecoFrame10.Parent = HomeFrame
- DecoFrame10.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- DecoFrame10.BorderSizePixel = 0
- DecoFrame10.Position = UDim2.new(0.0689999983, 0, 0.475792438, 0)
- DecoFrame10.Size = UDim2.new(0, 247, 0, 25)
- DecoFrame10.Font = Enum.Font.SourceSansBold
- DecoFrame10.Text = "Racist Dolphin"
- DecoFrame10.TextColor3 = Color3.new(1, 1, 1)
- DecoFrame10.TextSize = 25
- DecoFrame10.TextWrapped = true
- DecoFrame11.Name = "DecoFrame11"
- DecoFrame11.Parent = HomeFrame
- DecoFrame11.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- DecoFrame11.BorderSizePixel = 0
- DecoFrame11.Position = UDim2.new(0.0689999983, 0, 0.544792473, 0)
- DecoFrame11.Size = UDim2.new(0, 247, 0, 25)
- DecoFrame11.Font = Enum.Font.SourceSansBold
- DecoFrame11.Text = "LuckyMMB"
- DecoFrame11.TextColor3 = Color3.new(1, 1, 1)
- DecoFrame11.TextSize = 25
- DecoFrame11.TextWrapped = true
- HomeButton.Name = "HomeButton"
- HomeButton.Parent = MainFrame1
- HomeButton.BackgroundColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
- HomeButton.BorderSizePixel = 0
- HomeButton.Position = UDim2.new(0, 0, 0, 3)
- HomeButton.Size = UDim2.new(0, 129, 0, 30)
- HomeButton.Font = Enum.Font.SourceSansBold
- HomeButton.Text = "Home"
- HomeButton.TextColor3 = Color3.new(1, 1, 1)
- HomeButton.TextSize = 24
- HomeButton.TextWrapped = true
- HomeButton.MouseButton1Click:connect(function()
- HomeFrame.Visible = true
- FunctionsFrame.Visible = false
- LocalPlayerFrame.Visible = false
- TeleportsFrame.Visible = false
- end)
- LocalPlayerButton.Name = "LocalPlayerButton"
- LocalPlayerButton.Parent = MainFrame1
- LocalPlayerButton.BackgroundColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
- LocalPlayerButton.BorderSizePixel = 0
- LocalPlayerButton.Position = UDim2.new(0, 0, 0.0869999975, 0)
- LocalPlayerButton.Size = UDim2.new(0, 129, 0, 30)
- LocalPlayerButton.Font = Enum.Font.SourceSansBold
- LocalPlayerButton.Text = "LocalPlayer"
- LocalPlayerButton.TextColor3 = Color3.new(1, 1, 1)
- LocalPlayerButton.TextSize = 24
- LocalPlayerButton.TextWrapped = true
- LocalPlayerButton.MouseButton1Click:connect(function()
- HomeFrame.Visible = false
- FunctionsFrame.Visible = false
- LocalPlayerFrame.Visible = true
- TeleportsFrame.Visible = false
- end)
- TeleportsButton.Name = "TeleportsButton"
- TeleportsButton.Parent = MainFrame1
- TeleportsButton.BackgroundColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
- TeleportsButton.BorderSizePixel = 0
- TeleportsButton.Position = UDim2.new(0, 0, 0.166999996, 0)
- TeleportsButton.Size = UDim2.new(0, 129, 0, 30)
- TeleportsButton.Font = Enum.Font.SourceSansBold
- TeleportsButton.Text = "Teleports"
- TeleportsButton.TextColor3 = Color3.new(1, 1, 1)
- TeleportsButton.TextSize = 24
- TeleportsButton.TextWrapped = true
- TeleportsButton.MouseButton1Click:connect(function()
- HomeFrame.Visible = false
- FunctionsFrame.Visible = false
- LocalPlayerFrame.Visible = false
- TeleportsFrame.Visible = true
- end)
- FunctionsButton.Name = "FunctionsButton"
- FunctionsButton.Parent = MainFrame1
- FunctionsButton.BackgroundColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
- FunctionsButton.BorderSizePixel = 0
- FunctionsButton.Position = UDim2.new(0, 0, 0.247999996, 0)
- FunctionsButton.Size = UDim2.new(0, 129, 0, 30)
- FunctionsButton.Font = Enum.Font.SourceSansBold
- FunctionsButton.Text = "Functions"
- FunctionsButton.TextColor3 = Color3.new(1, 1, 1)
- FunctionsButton.TextSize = 24
- FunctionsButton.TextWrapped = true
- FunctionsButton.MouseButton1Click:connect(function()
- HomeFrame.Visible = false
- FunctionsFrame.Visible = true
- LocalPlayerFrame.Visible = false
- TeleportsFrame.Visible = false
- end)
- FunctionsFrame.Name = "FunctionsFrame"
- FunctionsFrame.Parent = MainFrame1
- FunctionsFrame.BackgroundColor3 = Color3.new(0.0470588, 0.0470588, 0.0470588)
- FunctionsFrame.BorderSizePixel = 0
- FunctionsFrame.Position = UDim2.new(0.309352517, 0, 0, 0)
- FunctionsFrame.Size = UDim2.new(0, 288, 0, 424)
- FunctionsFrame.Visible = false
- SellButton.Name = "SellButton"
- SellButton.Parent = FunctionsFrame
- SellButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- SellButton.BorderSizePixel = 0
- SellButton.Position = UDim2.new(0.0350000001, 0, 0.126000002, 0)
- SellButton.Size = UDim2.new(0, 131, 0, 27)
- SellButton.Font = Enum.Font.SourceSansBold
- SellButton.Text = "Sell"
- SellButton.TextColor3 = Color3.new(1, 1, 1)
- SellButton.TextScaled = true
- SellButton.TextSize = 14
- SellButton.TextWrapped = true
- SellButton.MouseButton1Click:connect(function()
- local part = Instance.new("Part", workspace)
- local var = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Activation.Sell.CFrame * CFrame.new(0,5,0)
- wait(1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = var
- end)
- DecoFrame7.Name = "DecoFrame7"
- DecoFrame7.Parent = FunctionsFrame
- DecoFrame7.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
- DecoFrame7.BorderSizePixel = 0
- DecoFrame7.Position = UDim2.new(0.000324726105, 0, 0.964622617, 0)
- DecoFrame7.Size = UDim2.new(0, 288, 0, 15)
- DecoFrame7.Font = Enum.Font.SourceSansBold
- DecoFrame7.Text = "DSD#1567"
- DecoFrame7.TextColor3 = Color3.new(1, 1, 1)
- DecoFrame7.TextScaled = true
- DecoFrame7.TextSize = 14
- DecoFrame7.TextWrapped = true
- SellToggleButton.Name = "SellToggleButton"
- SellToggleButton.Parent = FunctionsFrame
- SellToggleButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- SellToggleButton.BorderSizePixel = 0
- SellToggleButton.Position = UDim2.new(0.638888896, 0, 0.125, 0)
- SellToggleButton.Size = UDim2.new(0, 94, 0, 27)
- SellToggleButton.Font = Enum.Font.SourceSansBold
- SellToggleButton.Text = "Click to toggle"
- SellToggleButton.TextColor3 = Color3.new(1, 1, 1)
- SellToggleButton.TextScaled = true
- SellToggleButton.TextSize = 14
- SellToggleButton.TextWrapped = true
- SellToggleButton.MouseButton1Click:connect(function()
- game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
- if key == SellToggleTextBox.Text then
- local part = Instance.new("Part", workspace)
- local var = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Activation.Sell.CFrame * CFrame.new(0,5,0)
- wait(1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = var
- end
- end)
- end)
- BuyButton.Name = "BuyButton"
- BuyButton.Parent = FunctionsFrame
- BuyButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- BuyButton.BorderSizePixel = 0
- BuyButton.Position = UDim2.new(0.0350000001, 0, 0.197999999, 0)
- BuyButton.Size = UDim2.new(0, 131, 0, 27)
- BuyButton.Font = Enum.Font.SourceSansBold
- BuyButton.Text = "Buy"
- BuyButton.TextColor3 = Color3.new(1, 1, 1)
- BuyButton.TextScaled = true
- BuyButton.TextSize = 14
- BuyButton.TextWrapped = true
- BuyButton.MouseButton1Click:Connect(function()
- local part = Instance.new("Part", workspace)
- local var = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Activation.Buy.CFrame * CFrame.new(0,5,0)
- wait(1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = var
- end)
- BuyToggleButton.Name = "BuyToggleButton"
- BuyToggleButton.Parent = FunctionsFrame
- BuyToggleButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- BuyToggleButton.BorderSizePixel = 0
- BuyToggleButton.Position = UDim2.new(0.638888896, 0, 0.198113203, 0)
- BuyToggleButton.Size = UDim2.new(0, 94, 0, 27)
- BuyToggleButton.Font = Enum.Font.SourceSansBold
- BuyToggleButton.Text = "Click to toggle"
- BuyToggleButton.TextColor3 = Color3.new(1, 1, 1)
- BuyToggleButton.TextScaled = true
- BuyToggleButton.TextSize = 14
- BuyToggleButton.TextWrapped = true
- BuyToggleButton.MouseButton1Click:connect(function()
- game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
- if key == BuyToggleTextBox.Text then
- local part = Instance.new("Part", workspace)
- local var = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Activation.Buy.CFrame * CFrame.new(0,5,0)
- wait(1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = var
- end
- end)
- end)
- FastMineButton.Name = "FastMineButton"
- FastMineButton.Parent = FunctionsFrame
- FastMineButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- FastMineButton.BorderSizePixel = 0
- FastMineButton.Position = UDim2.new(0.0347222239, 0, 0.023584906, 0)
- FastMineButton.Size = UDim2.new(0, 268, 0, 39)
- FastMineButton.Font = Enum.Font.SourceSansBold
- FastMineButton.Text = "Fast Mine"
- FastMineButton.TextColor3 = Color3.new(1, 1, 1)
- FastMineButton.TextScaled = true
- FastMineButton.TextSize = 14
- FastMineButton.TextWrapped = true
- FastMineButton.MouseButton1Down:Connect(function()
- -- Synapse Only / Protosmasher Only
- -- Made by: Racist Dolphin#5199 ID: 146307779735322624
- local ps = game:GetService("Players")
- local i = game:GetService("UserInputService")
- local r = game:GetService("RunService")
- local cg = game:GetService("CoreGui")
- local p = ps.LocalPlayer
- local c = p.Character
- p.CharacterAdded:connect(function(char)
- c = char
- end)
- local m = getrawmetatable(game)
- pcall(function()
- make_writeable(m)
- end)
- --setreadonly(m, false)
- local oldnamecall = m.__namecall
- local env, env2, maxRange, start = nil, nil, nil, nil
- m.__namecall = function(...)
- local t = {...}
- local method = t[#t]
- if method == "FindFirstChild" then
- if t[2] == "Stats" then
- env = getfenv(2)
- if env.script then
- if env.script.Parent ~= nil then
- if tostring(env.script.Parent) == "ScreenGui" then
- --maxRange = debug.getupvalue(2, "maxRange")
- start = debug.getlocal(2, "start")
- if start ~= nil then
- debug.setupvalue(2, "maxRange", 999)
- debug.setlocal(2, "startTick", tick() + 999)
- debug.setlocal(2, "start", tick() - 999)
- debug.setlocal(2, "mineTime", 0)
- end
- end
- end
- end
- end
- end
- return oldnamecall(...)
- end
- end)
- UnglitchButton.Name = "UnglitchButton"
- UnglitchButton.Parent = FunctionsFrame
- UnglitchButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- UnglitchButton.BorderSizePixel = 0
- UnglitchButton.Position = UDim2.new(0.0350000001, 0, 0.272000015, 0)
- UnglitchButton.Size = UDim2.new(0, 268, 0, 39)
- UnglitchButton.Font = Enum.Font.SourceSansBold
- UnglitchButton.Text = "Unglitch"
- UnglitchButton.TextColor3 = Color3.new(1, 1, 1)
- UnglitchButton.TextScaled = true
- UnglitchButton.TextSize = 14
- UnglitchButton.TextWrapped = true
- UnglitchButton.MouseButton1Click:connect(function()
- location = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game.Players.LocalPlayer.Character.Humanoid.Name = 1
- local l = game.Players.LocalPlayer.Character["1"]:Clone()
- l.Parent = game.Players.LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- game.Players.LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
- game.Players.LocalPlayer.Character.Animate.Disabled = true
- wait(0.1)
- game.Players.LocalPlayer.Character.Animate.Disabled = false
- game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
- wait()
- location = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- local prt = Instance.new("Model", workspace);
- Instance.new("Part", prt).Name="Torso";
- Instance.new("Part", prt).Name="Head";
- Instance.new("Humanoid", prt).Name="Humanoid";
- game.Players.LocalPlayer.Character=prt
- wait(6)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = location
- loadstring(game:HttpGet(('https://pastebin.com/raw/CCHHMuM9'),true))()
- end)
- SellToggleTextBox.Name = "SellToggleTextBox"
- SellToggleTextBox.Parent = FunctionsFrame
- SellToggleTextBox.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- SellToggleTextBox.BorderSizePixel = 0
- SellToggleTextBox.Position = UDim2.new(0.510416687, 0, 0.125, 0)
- SellToggleTextBox.Size = UDim2.new(0, 37, 0, 27)
- SellToggleTextBox.Font = Enum.Font.SourceSansBold
- SellToggleTextBox.Text = "f"
- SellToggleTextBox.TextColor3 = Color3.new(1, 1, 1)
- SellToggleTextBox.TextScaled = true
- SellToggleTextBox.TextSize = 14
- SellToggleTextBox.TextWrapped = true
- BuyToggleTextBox.Name = "BuyToggleTextBox"
- BuyToggleTextBox.Parent = FunctionsFrame
- BuyToggleTextBox.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- BuyToggleTextBox.BorderSizePixel = 0
- BuyToggleTextBox.Position = UDim2.new(0.510416687, 0, 0.198113203, 0)
- BuyToggleTextBox.Size = UDim2.new(0, 37, 0, 27)
- BuyToggleTextBox.Font = Enum.Font.SourceSansBold
- BuyToggleTextBox.Text = "e"
- BuyToggleTextBox.TextColor3 = Color3.new(1, 1, 1)
- BuyToggleTextBox.TextScaled = true
- BuyToggleTextBox.TextSize = 14
- BuyToggleTextBox.TextWrapped = true
- MineDangerStatusGUIButton.Name = "MineDangerStatusGUIButton"
- MineDangerStatusGUIButton.Parent = FunctionsFrame
- MineDangerStatusGUIButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- MineDangerStatusGUIButton.BorderSizePixel = 0
- MineDangerStatusGUIButton.Position = UDim2.new(0.0350000001, 0, 0.372000009, 0)
- MineDangerStatusGUIButton.Size = UDim2.new(0, 268, 0, 39)
- MineDangerStatusGUIButton.Font = Enum.Font.SourceSansBold
- MineDangerStatusGUIButton.Text = "Mine Danger GUI"
- MineDangerStatusGUIButton.TextColor3 = Color3.new(1, 1, 1)
- MineDangerStatusGUIButton.TextScaled = true
- MineDangerStatusGUIButton.TextSize = 14
- MineDangerStatusGUIButton.TextWrapped = true
- MineDangerStatusGUIButton.MouseButton1Down:Connect(function()
- local plr = game.Players.LocalPlayer
- local plrGui = plr.PlayerGui
- local gui = plrGui:FindFirstChild('ScreenGui')
- local frame = gui:FindFirstChild('Collapse')
- if game.PlaceId == 1417427737 then
- print('Success showing mine gui!')
- frame.Visible = true
- end
- end)
- TeleportsFrame.Name = "TeleportsFrame"
- TeleportsFrame.Parent = MainFrame1
- TeleportsFrame.BackgroundColor3 = Color3.new(0.0470588, 0.0470588, 0.0470588)
- TeleportsFrame.BorderSizePixel = 0
- TeleportsFrame.Position = UDim2.new(0.309352517, 0, 0, 0)
- TeleportsFrame.Size = UDim2.new(0, 288, 0, 424)
- TeleportsFrame.Visible = false
- DecoFrame13.Name = "DecoFrame13"
- DecoFrame13.Parent = TeleportsFrame
- DecoFrame13.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
- DecoFrame13.BorderSizePixel = 0
- DecoFrame13.Position = UDim2.new(0.000324726105, 0, 0.964622617, 0)
- DecoFrame13.Size = UDim2.new(0, 288, 0, 15)
- DecoFrame13.Font = Enum.Font.SourceSansBold
- DecoFrame13.Text = "DSD#1567"
- DecoFrame13.TextColor3 = Color3.new(1, 1, 1)
- DecoFrame13.TextScaled = true
- DecoFrame13.TextSize = 14
- DecoFrame13.TextWrapped = true
- EarthTPButton.Name = "EarthTPButton"
- EarthTPButton.Parent = TeleportsFrame
- EarthTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- EarthTPButton.BorderSizePixel = 0
- EarthTPButton.Position = UDim2.new(0.0347222239, 0, 0.0259433966, 0)
- EarthTPButton.Size = UDim2.new(0, 131, 0, 27)
- EarthTPButton.Font = Enum.Font.SourceSansBold
- EarthTPButton.Text = "Earth"
- EarthTPButton.TextColor3 = Color3.new(1, 1, 1)
- EarthTPButton.TextScaled = true
- EarthTPButton.TextSize = 14
- EarthTPButton.TextWrapped = true
- EarthTPButton.MouseButton1Down:connect(function()
- target = CFrame.new(0, 12, 0)
- for i, player in ipairs(game.Players:GetChildren()) do
- if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
- end
- end
- end)
- SpaceTPButton.Name = "SpaceTPButton"
- SpaceTPButton.Parent = TeleportsFrame
- SpaceTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- SpaceTPButton.BorderSizePixel = 0
- SpaceTPButton.Position = UDim2.new(0.510694444, 0, 0.0269434005, 0)
- SpaceTPButton.Size = UDim2.new(0, 131, 0, 27)
- SpaceTPButton.Font = Enum.Font.SourceSansBold
- SpaceTPButton.Text = "Space"
- SpaceTPButton.TextColor3 = Color3.new(1, 1, 1)
- SpaceTPButton.TextScaled = true
- SpaceTPButton.TextSize = 14
- SpaceTPButton.TextWrapped = true
- SpaceTPButton.MouseButton1Down:connect(function()
- target = CFrame.new(6, 12, 1574)
- for i, player in ipairs(game.Players:GetChildren()) do
- if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
- end
- end
- end)
- CandyLandTPButton.Name = "CandyLandTPButton"
- CandyLandTPButton.Parent = TeleportsFrame
- CandyLandTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- CandyLandTPButton.BorderSizePixel = 0
- CandyLandTPButton.Position = UDim2.new(0.0350000001, 0, 0.0989999995, 0)
- CandyLandTPButton.Size = UDim2.new(0, 131, 0, 27)
- CandyLandTPButton.Font = Enum.Font.SourceSansBold
- CandyLandTPButton.Text = "Candy Land"
- CandyLandTPButton.TextColor3 = Color3.new(1, 1, 1)
- CandyLandTPButton.TextScaled = true
- CandyLandTPButton.TextSize = 14
- CandyLandTPButton.TextWrapped = true
- CandyLandTPButton.MouseButton1Down:connect(function()
- target = CFrame.new(35, 12, 3035)
- for i, player in ipairs(game.Players:GetChildren()) do
- if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
- end
- end
- end)
- ToyLandTPButton.Name = "ToyLandTPButton"
- ToyLandTPButton.Parent = TeleportsFrame
- ToyLandTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- ToyLandTPButton.BorderSizePixel = 0
- ToyLandTPButton.Position = UDim2.new(0.510694444, 0, 0.0989999995, 0)
- ToyLandTPButton.Size = UDim2.new(0, 131, 0, 27)
- ToyLandTPButton.Font = Enum.Font.SourceSansBold
- ToyLandTPButton.Text = "Toy Land"
- ToyLandTPButton.TextColor3 = Color3.new(1, 1, 1)
- ToyLandTPButton.TextScaled = true
- ToyLandTPButton.TextSize = 14
- ToyLandTPButton.TextWrapped = true
- ToyLandTPButton.MouseButton1Down:connect(function()
- target = CFrame.new(35, 12, 5662)
- for i, player in ipairs(game.Players:GetChildren()) do
- if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
- end
- end
- end)
- FoodLandTPButton.Name = "FoodLandTPButton"
- FoodLandTPButton.Parent = TeleportsFrame
- FoodLandTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- FoodLandTPButton.BorderSizePixel = 0
- FoodLandTPButton.Position = UDim2.new(0.0350000001, 0, 0.172999993, 0)
- FoodLandTPButton.Size = UDim2.new(0, 131, 0, 27)
- FoodLandTPButton.Font = Enum.Font.SourceSansBold
- FoodLandTPButton.Text = "Food Land"
- FoodLandTPButton.TextColor3 = Color3.new(1, 1, 1)
- FoodLandTPButton.TextScaled = true
- FoodLandTPButton.TextSize = 14
- FoodLandTPButton.TextWrapped = true
- FoodLandTPButton.MouseButton1Down:connect(function()
- target = CFrame.new(35, 12, 8754)
- for i, player in ipairs(game.Players:GetChildren()) do
- if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
- end
- end
- end)
- DinoLandTPButton.Name = "DinoLandTPButton"
- DinoLandTPButton.Parent = TeleportsFrame
- DinoLandTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- DinoLandTPButton.BorderSizePixel = 0
- DinoLandTPButton.Position = UDim2.new(0.510694444, 0, 0.172999993, 0)
- DinoLandTPButton.Size = UDim2.new(0, 131, 0, 27)
- DinoLandTPButton.Font = Enum.Font.SourceSansBold
- DinoLandTPButton.Text = "Dino Land"
- DinoLandTPButton.TextColor3 = Color3.new(1, 1, 1)
- DinoLandTPButton.TextScaled = true
- DinoLandTPButton.TextSize = 14
- DinoLandTPButton.TextWrapped = true
- DinoLandTPButton.MouseButton1Down:connect(function()
- target = CFrame.new(35, 12, 10517)
- for i, player in ipairs(game.Players:GetChildren()) do
- if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
- end
- end
- end)
- AtlantisTPButton.Name = "AtlantisTPButton"
- AtlantisTPButton.Parent = TeleportsFrame
- AtlantisTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- AtlantisTPButton.BorderSizePixel = 0
- AtlantisTPButton.Position = UDim2.new(0.0350000001, 0, 0.246000007, 0)
- AtlantisTPButton.Size = UDim2.new(0, 131, 0, 28)
- AtlantisTPButton.Font = Enum.Font.SourceSansBold
- AtlantisTPButton.Text = "Atlantis"
- AtlantisTPButton.TextColor3 = Color3.new(1, 1, 1)
- AtlantisTPButton.TextScaled = true
- AtlantisTPButton.TextSize = 14
- AtlantisTPButton.TextWrapped = true
- AtlantisTPButton.MouseButton1Down:connect(function()
- target = CFrame.new(35, 12, 11937)
- for i, player in ipairs(game.Players:GetChildren()) do
- if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
- end
- end
- end)
- TheBeachTPButton.Name = "TheBeachTPButton"
- TheBeachTPButton.Parent = TeleportsFrame
- TheBeachTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- TheBeachTPButton.BorderSizePixel = 0
- TheBeachTPButton.Position = UDim2.new(0.510694444, 0, 0.246000007, 0)
- TheBeachTPButton.Size = UDim2.new(0, 131, 0, 28)
- TheBeachTPButton.Font = Enum.Font.SourceSansBold
- TheBeachTPButton.Text = "The Beach"
- TheBeachTPButton.TextColor3 = Color3.new(1, 1, 1)
- TheBeachTPButton.TextScaled = true
- TheBeachTPButton.TextSize = 14
- TheBeachTPButton.TextWrapped = true
- TheBeachTPButton.MouseButton1Down:connect(function()
- target = CFrame.new(35, 12, 14342)
- for i, player in ipairs(game.Players:GetChildren()) do
- if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
- end
- end
- end)
- CrystalCavernTPButton.Name = "CrystalCavernTPButton"
- CrystalCavernTPButton.Parent = TeleportsFrame
- CrystalCavernTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- CrystalCavernTPButton.BorderSizePixel = 0
- CrystalCavernTPButton.Position = UDim2.new(0.0350000001, 0, 0.319999993, 0)
- CrystalCavernTPButton.Size = UDim2.new(0, 131, 0, 28)
- CrystalCavernTPButton.Font = Enum.Font.SourceSansBold
- CrystalCavernTPButton.Text = "Crystal Cavern"
- CrystalCavernTPButton.TextColor3 = Color3.new(1, 1, 1)
- CrystalCavernTPButton.TextScaled = true
- CrystalCavernTPButton.TextSize = 14
- CrystalCavernTPButton.TextWrapped = true
- CrystalCavernTPButton.MouseButton1Down:connect(function()
- target = CFrame.new(35, 12, 18370)
- for i, player in ipairs(game.Players:GetChildren()) do
- if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
- end
- end
- end)
- HalloweenTPButton.Name = "HalloweenTPButton"
- HalloweenTPButton.Parent = TeleportsFrame
- HalloweenTPButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- HalloweenTPButton.BorderSizePixel = 0
- HalloweenTPButton.Position = UDim2.new(0.510694444, 0, 0.319999993, 0)
- HalloweenTPButton.Size = UDim2.new(0, 131, 0, 28)
- HalloweenTPButton.Font = Enum.Font.SourceSansBold
- HalloweenTPButton.Text = "Halloween Event"
- HalloweenTPButton.TextColor3 = Color3.new(1, 1, 1)
- HalloweenTPButton.TextScaled = true
- HalloweenTPButton.TextSize = 14
- HalloweenTPButton.TextWrapped = true
- HalloweenTPButton.MouseButton1Down:connect(function()
- target = CFrame.new(35, 12, 22392)
- for i, player in ipairs(game.Players:GetChildren()) do
- if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
- end
- end
- end)
- LocalPlayerFrame.Name = "LocalPlayerFrame"
- LocalPlayerFrame.Parent = MainFrame1
- LocalPlayerFrame.BackgroundColor3 = Color3.new(0.0470588, 0.0470588, 0.0470588)
- LocalPlayerFrame.BorderSizePixel = 0
- LocalPlayerFrame.Position = UDim2.new(0.309352517, 0, 0, 0)
- LocalPlayerFrame.Size = UDim2.new(0, 288, 0, 424)
- LocalPlayerFrame.Visible = false
- DecoFrame12.Name = "DecoFrame12"
- DecoFrame12.Parent = LocalPlayerFrame
- DecoFrame12.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
- DecoFrame12.BorderSizePixel = 0
- DecoFrame12.Position = UDim2.new(0.000324726105, 0, 0.964622617, 0)
- DecoFrame12.Size = UDim2.new(0, 288, 0, 15)
- DecoFrame12.Font = Enum.Font.SourceSansBold
- DecoFrame12.Text = "DSD#1567"
- DecoFrame12.TextColor3 = Color3.new(1, 1, 1)
- DecoFrame12.TextScaled = true
- DecoFrame12.TextSize = 14
- DecoFrame12.TextWrapped = true
- SpeedButton.Name = "SpeedButton"
- SpeedButton.Parent = LocalPlayerFrame
- SpeedButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- SpeedButton.BorderSizePixel = 0
- SpeedButton.Position = UDim2.new(0.0347222239, 0, 0.0259433966, 0)
- SpeedButton.Size = UDim2.new(0, 131, 0, 27)
- SpeedButton.Font = Enum.Font.SourceSansBold
- SpeedButton.Text = "Speed: I"
- SpeedButton.TextColor3 = Color3.new(1, 1, 1)
- SpeedButton.TextScaled = true
- SpeedButton.TextSize = 14
- SpeedButton.TextWrapped = true
- SpeedButton.MouseButton1Click:connect(function()
- if WalkNumber == "1" then
- SpeedButton.Text = "Speed: II"
- WalkNumber = "2"
- Walk = 30
- elseif WalkNumber == "2" then
- SpeedButton.Text = "Speed: III"
- WalkNumber = "3"
- Walk = 75
- elseif WalkNumber == "3" then
- SpeedButton.Text = "Speed: I"
- WalkNumber = "1"
- Walk = 16
- else
- SpeedButton.Text = "Speed: I"
- WalkNumber = "1"
- Walk = 16
- end
- player = game.Players.LocalPlayer
- player.Character.Humanoid.WalkSpeed = Walk
- end)
- JumpPowerButton.Name = "JumpPowerButton"
- JumpPowerButton.Parent = LocalPlayerFrame
- JumpPowerButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- JumpPowerButton.BorderSizePixel = 0
- JumpPowerButton.Position = UDim2.new(0.510694444, 0, 0.0269434005, 0)
- JumpPowerButton.Size = UDim2.new(0, 131, 0, 27)
- JumpPowerButton.Font = Enum.Font.SourceSansBold
- JumpPowerButton.Text = "JumpPower: I"
- JumpPowerButton.TextColor3 = Color3.new(1, 1, 1)
- JumpPowerButton.TextScaled = true
- JumpPowerButton.TextSize = 14
- JumpPowerButton.TextWrapped = true
- JumpPowerButton.MouseButton1Click:connect(function()
- if JumpNumber == "1" then
- JumpPowerButton.Text = "JumpPower: II"
- JumpNumber = "2"
- Jump = 150
- elseif JumpNumber == "2" then
- JumpPowerButton.Text = "JumpPower: III"
- JumpNumber = "3"
- Jump = 400
- elseif JumpNumber == "3" then
- JumpPowerButton.Text = "JumpPower: I"
- JumpNumber = "1"
- Jump = 50
- else
- JumpPowerButton.Text = "JumpPower: I"
- JumpNumber = "1"
- Jump = 50
- end
- player = game.Players.LocalPlayer
- player.Character.Humanoid.JumpPower = Jump
- end)
- FlyButton.Name = "FlyButton"
- FlyButton.Parent = LocalPlayerFrame
- FlyButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- FlyButton.BorderSizePixel = 0
- FlyButton.Position = UDim2.new(0.0347222239, 0, 0.0990566015, 0)
- FlyButton.Size = UDim2.new(0, 268, 0, 42)
- FlyButton.Font = Enum.Font.SourceSansBold
- FlyButton.Text = "Fly"
- FlyButton.TextColor3 = Color3.new(1, 1, 1)
- FlyButton.TextScaled = true
- FlyButton.TextSize = 14
- FlyButton.TextWrapped = true
- FlyButton.MouseButton1Click:connect(function()
- if Fly == true then
- Fly = false
- return
- end
- Fly = true
- local mouse=game.Players.LocalPlayer:GetMouse''
- localplayer=game.Players.LocalPlayer
- game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
- local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
- local speed=0
- local keys={a=false,d=false,w=false,s=false}
- local e1
- local e2
- local function start()
- local pos = Instance.new("BodyPosition",torso)
- local gyro = Instance.new("BodyGyro",torso)
- pos.Name="EPIXPOS"
- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- pos.position = torso.Position
- gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- gyro.cframe = torso.CFrame
- repeat
- wait()
- localplayer.Character.Humanoid.PlatformStand=true
- local new=gyro.cframe - gyro.cframe.p + pos.position
- if not keys.w and not keys.s and not keys.a and not keys.d then
- speed=1
- end
- if keys.w then
- new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
- speed=speed+0.01
- end
- if keys.s then
- new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
- speed=speed+0.01
- end
- if keys.d then
- new = new * CFrame.new(speed,0,0)
- speed=speed+0.01
- end
- if keys.a then
- new = new * CFrame.new(-speed,0,0)
- speed=speed+0.01
- end
- if speed>5 then
- speed=5
- end
- pos.position=new.p
- if keys.w then
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
- elseif keys.s then
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
- else
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame
- end
- until not Fly
- if gyro then gyro:Destroy() end
- if pos then pos:Destroy() end
- flying=false
- localplayer.Character.Humanoid.PlatformStand=false
- speed=0
- end
- e1=mouse.KeyDown:connect(function(key)
- if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
- if key=="w" then
- keys.w=true
- elseif key=="s" then
- keys.s=true
- elseif key=="a" then
- keys.a=true
- elseif key=="d" then
- keys.d=true
- end
- end)
- e2=mouse.KeyUp:connect(function(key)
- if key=="w" then
- keys.w=false
- elseif key=="s" then
- keys.s=false
- elseif key=="a" then
- keys.a=false
- elseif key=="d" then
- keys.d=false
- end
- end)
- start()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement