Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- // Made by Atom#0995
- -- // SkyWars
- -- // Objects \\ --
- local SkyWar = Instance.new("ScreenGui")
- local BG = Instance.new("Frame")
- local BGDETAIL = Instance.new("Frame")
- local LINE0 = Instance.new("Frame")
- local VALUE = Instance.new("TextBox")
- local LINE2 = Instance.new("Frame")
- local info = Instance.new("TextLabel")
- local credits = Instance.new("TextLabel")
- local exit = Instance.new("TextButton")
- local VIP = Instance.new("TextButton")
- local LINE1 = Instance.new("Frame")
- local MEGAVIP = Instance.new("TextButton")
- local LINE11 = Instance.new("Frame")
- local NUKE = Instance.new("TextButton")
- local LINE3 = Instance.new("Frame")
- local FLY = Instance.new("TextButton")
- local LINE4 = Instance.new("Frame")
- local SPEED = Instance.new("TextButton")
- local LINE6 = Instance.new("Frame")
- local JUMP = Instance.new("TextButton")
- local LINE7 = Instance.new("Frame")
- local SECTION = Instance.new("Frame")
- local NOCLIP = Instance.new("TextButton")
- local LINE12 = Instance.new("Frame")
- local AIRWALK = Instance.new("TextButton")
- local LINE8 = Instance.new("Frame")
- local TP = Instance.new("TextButton")
- local LINE9 = Instance.new("Frame")
- local GROUP = Instance.new("TextButton")
- local LINE10 = Instance.new("Frame")
- -- // Properties \\ --
- SkyWar.Name = "SkyWar"
- SkyWar.Parent = game.CoreGui
- BG.Name = "BG"
- BG.Parent = SkyWar
- BG.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- BG.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- BG.Position = UDim2.new(0.612682879, 0, 0.579681337, 0)
- BG.Size = UDim2.new(0, 311, 0, 175)
- BG.Active = true
- BG.Draggable = true
- BGDETAIL.Name = "BGDETAIL"
- BGDETAIL.Parent = BG
- BGDETAIL.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- BGDETAIL.BorderColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- BGDETAIL.BorderSizePixel = 0
- BGDETAIL.Size = UDim2.new(0, 311, 0, 24)
- LINE0.Name = "LINE0"
- LINE0.Parent = BGDETAIL
- LINE0.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
- LINE0.BorderSizePixel = 0
- LINE0.Position = UDim2.new(0, 0, 1.01214278, 0)
- LINE0.Size = UDim2.new(0, 311, 0, 2)
- VALUE.Name = "VALUE"
- VALUE.Parent = BGDETAIL
- VALUE.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- VALUE.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- VALUE.Position = UDim2.new(0.0385852121, 0, 6.29166651, 0)
- VALUE.Size = UDim2.new(0, 177, 0, 18)
- VALUE.Font = Enum.Font.SourceSans
- VALUE.PlaceholderColor3 = Color3.new(1, 1, 1)
- VALUE.Text = "Value"
- VALUE.TextColor3 = Color3.new(1, 1, 1)
- VALUE.TextSize = 14
- LINE2.Name = "LINE2"
- LINE2.Parent = VALUE
- LINE2.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
- LINE2.BorderSizePixel = 0
- LINE2.Position = UDim2.new(0, 0, 1, 0)
- LINE2.Size = UDim2.new(0, 177, 0, 2)
- info.Name = "info"
- info.Parent = BG
- info.BackgroundColor3 = Color3.new(1, 1, 1)
- info.BackgroundTransparency = 1
- info.BorderSizePixel = 0
- info.Position = UDim2.new(0, 0, 0.0228571426, 0)
- info.Size = UDim2.new(0, 311, 0, 16)
- info.Font = Enum.Font.SourceSansBold
- info.Text = "Sky Wars"
- info.TextColor3 = Color3.new(1, 1, 1)
- info.TextScaled = true
- info.TextSize = 14
- info.TextStrokeColor3 = Color3.new(1, 1, 1)
- info.TextWrapped = true
- credits.Name = "credits"
- credits.Parent = BG
- credits.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- credits.BorderSizePixel = 0
- credits.Position = UDim2.new(0.70096463, 0, 0.908571422, 0)
- credits.Size = UDim2.new(0, 93, 0, 16)
- credits.Font = Enum.Font.SourceSansBold
- credits.Text = "Made by Atom#0995"
- credits.TextColor3 = Color3.new(1, 1, 1)
- credits.TextScaled = true
- credits.TextSize = 14
- credits.TextStrokeColor3 = Color3.new(1, 1, 1)
- credits.TextWrapped = true
- exit.Name = "exit"
- exit.Parent = BG
- exit.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- exit.BorderSizePixel = 0
- exit.Position = UDim2.new(0, 0, 0.0228571426, 0)
- exit.Size = UDim2.new(0, 22, 0, 16)
- exit.Font = Enum.Font.SourceSansBold
- exit.Text = "X"
- exit.TextColor3 = Color3.new(1, 1, 1)
- exit.TextScaled = true
- exit.TextSize = 14
- exit.TextWrapped = true
- exit.MouseButton1Down:Connect(function()
- SkyWar:Destroy()
- end)
- VIP.Name = "VIP"
- VIP.Parent = BG
- VIP.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- VIP.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- VIP.Position = UDim2.new(0.0321543403, 0, 0.239999995, 0)
- VIP.Size = UDim2.new(0, 61, 0, 28)
- VIP.Font = Enum.Font.SourceSansBold
- VIP.Text = "VIP"
- VIP.TextColor3 = Color3.new(1, 1, 1)
- VIP.TextScaled = true
- VIP.TextSize = 14
- VIP.TextWrapped = true
- VIP.MouseButton1Down:Connect(function()
- game.Players.LocalPlayer.Character:MoveTo(Vector3.new(10.2524004, 264.001801, 70))
- end)
- LINE1.Name = "LINE1"
- LINE1.Parent = VIP
- LINE1.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
- LINE1.BorderSizePixel = 0
- LINE1.Position = UDim2.new(0, 0, 1, 0)
- LINE1.Size = UDim2.new(0, 61, 0, 2)
- MEGAVIP.Name = "MEGAVIP"
- MEGAVIP.Parent = BG
- MEGAVIP.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- MEGAVIP.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- MEGAVIP.Position = UDim2.new(0.0385852084, 0, 0.474285722, 0)
- MEGAVIP.Size = UDim2.new(0, 61, 0, 28)
- MEGAVIP.Font = Enum.Font.SourceSansBold
- MEGAVIP.Text = "Mega VIP"
- MEGAVIP.TextColor3 = Color3.new(1, 1, 1)
- MEGAVIP.TextScaled = true
- MEGAVIP.TextSize = 14
- MEGAVIP.TextWrapped = true
- MEGAVIP.MouseButton1Down:Connect(function()
- game.Players.LocalPlayer.Character:MoveTo(Vector3.new(10.2524004, 264.001801, 70))
- end)
- LINE11.Name = "LINE11"
- LINE11.Parent = MEGAVIP
- LINE11.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
- LINE11.BorderSizePixel = 0
- LINE11.Position = UDim2.new(0, 0, 1, 0)
- LINE11.Size = UDim2.new(0, 61, 0, 2)
- NUKE.Name = "NUKE"
- NUKE.Parent = BG
- NUKE.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- NUKE.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- NUKE.Position = UDim2.new(0.472668827, 0, 0.239999995, 0)
- NUKE.Size = UDim2.new(0, 59, 0, 28)
- NUKE.Font = Enum.Font.SourceSansBold
- NUKE.Text = "Nuke Blocks"
- NUKE.TextColor3 = Color3.new(1, 1, 1)
- NUKE.TextScaled = true
- NUKE.TextSize = 14
- NUKE.TextWrapped = true
- NUKE.MouseButton1Down:Connect(function()
- local CURRENTMAP = ""
- local getmap = workspace:GetChildren()
- for i = 1, #getmap do
- if(getmap[i].Name == "SummerMap") then
- CURRENTMAP = "SummerMap"
- warn("Summer Map Selected")
- elseif(getmap[i].Name == "WinterMap") then
- CURRENTMAP = "WinterMap"
- warn("Winter Map Selected")
- elseif(getmap[i].Name == "SpringMap") then
- CURRENTMAP = "SpringMap"
- warn("Spring Map Selected")
- elseif(getmap[i].Name == "FallMap") then
- CURRENTMAP = "FallMap"
- warn("Fall Map Selected")
- else warn("No Map Found.")
- end
- end
- local blocks = game.Workspace[CURRENTMAP].Map:GetChildren()
- for i=1,10 do
- for i=1, #blocks do
- game.Players.LocalPlayer.Backpack.Axe.RemoteEvent:FireServer(blocks[i])
- end
- end
- local blocks = game.Workspace[CURRENTMAP].Map.Ores:GetChildren()
- for i=1,20 do
- for i=1, #blocks do
- game.Players.LocalPlayer.Backpack.Axe.RemoteEvent:FireServer(blocks[i])
- end
- end
- end)
- LINE3.Name = "LINE3"
- LINE3.Parent = NUKE
- LINE3.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
- LINE3.BorderSizePixel = 0
- LINE3.Position = UDim2.new(0, 0, 1, 0)
- LINE3.Size = UDim2.new(0, 59, 0, 2)
- FLY.Name = "FLY"
- FLY.Parent = BG
- FLY.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- FLY.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- FLY.Position = UDim2.new(0.472668797, 0, 0.474285722, 0)
- FLY.Size = UDim2.new(0, 59, 0, 28)
- FLY.Font = Enum.Font.SourceSansBold
- FLY.Text = "Fly [E]"
- FLY.TextColor3 = Color3.new(1, 1, 1)
- FLY.TextSize = 20
- FLY.TextWrapped = true
- FLY.MouseButton1Down:Connect(function()
- repeat wait()
- until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
- local mouse = game.Players.LocalPlayer:GetMouse()
- repeat wait() until mouse
- local plr = game.Players.LocalPlayer
- local torso = plr.Character.Torso
- local flying = true
- local deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 50
- local speed = 0
- function Fly()
- local bg = Instance.new("BodyGyro", torso)
- bg.P = 9e4
- bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- bg.cframe = torso.CFrame
- local bv = Instance.new("BodyVelocity", torso)
- bv.velocity = Vector3.new(0,0.1,0)
- bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
- repeat wait()
- plr.Character.Humanoid.PlatformStand = true
- if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
- speed = speed+.5+(speed/maxspeed)
- if speed > maxspeed then
- speed = maxspeed
- end
- elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
- speed = speed-1
- if speed < 0 then
- speed = 0
- end
- end
- if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
- elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- else
- bv.velocity = Vector3.new(0,0.1,0)
- end
- bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
- until not flying
- ctrl = {f = 0, b = 0, l = 0, r = 0}
- lastctrl = {f = 0, b = 0, l = 0, r = 0}
- speed = 0
- bg:Destroy()
- bv:Destroy()
- plr.Character.Humanoid.PlatformStand = false
- end
- mouse.KeyDown:connect(function(key)
- if key:lower() == "e" then
- if flying then flying = false
- else
- flying = true
- Fly()
- end
- elseif key:lower() == "w" then
- ctrl.f = 1
- elseif key:lower() == "s" then
- ctrl.b = -1
- elseif key:lower() == "a" then
- ctrl.l = -1
- elseif key:lower() == "d" then
- ctrl.r = 1
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key:lower() == "w" then
- ctrl.f = 0
- elseif key:lower() == "s" then
- ctrl.b = 0
- elseif key:lower() == "a" then
- ctrl.l = 0
- elseif key:lower() == "d" then
- ctrl.r = 0
- end
- end)
- Fly()
- end)
- LINE4.Name = "LINE4"
- LINE4.Parent = FLY
- LINE4.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
- LINE4.BorderSizePixel = 0
- LINE4.Position = UDim2.new(0, 0, 1, 0)
- LINE4.Size = UDim2.new(0, 59, 0, 2)
- SPEED.Name = "SPEED"
- SPEED.Parent = BG
- SPEED.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- SPEED.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- SPEED.Position = UDim2.new(0.125401929, 0, 0.725714266, 0)
- SPEED.Size = UDim2.new(0, 45, 0, 18)
- SPEED.Font = Enum.Font.SourceSansBold
- SPEED.Text = "Speed"
- SPEED.TextColor3 = Color3.new(1, 1, 1)
- SPEED.TextScaled = true
- SPEED.TextSize = 14
- SPEED.TextWrapped = true
- SPEED.MouseButton1Down:Connect(function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = VALUE.Text
- end)
- LINE6.Name = "LINE6"
- LINE6.Parent = SPEED
- LINE6.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
- LINE6.BorderSizePixel = 0
- LINE6.Position = UDim2.new(0, 0, 1, 0)
- LINE6.Size = UDim2.new(0, 45, 0, 2)
- JUMP.Name = "JUMP"
- JUMP.Parent = BG
- JUMP.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- JUMP.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- JUMP.Position = UDim2.new(0.379421234, 0, 0.725714266, 0)
- JUMP.Size = UDim2.new(0, 45, 0, 18)
- JUMP.Font = Enum.Font.SourceSansBold
- JUMP.Text = "Jump"
- JUMP.TextColor3 = Color3.new(1, 1, 1)
- JUMP.TextScaled = true
- JUMP.TextSize = 14
- JUMP.TextWrapped = true
- JUMP.MouseButton1Down:Connect(function()
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = VALUE.Text
- end)
- LINE7.Name = "LINE7"
- LINE7.Parent = JUMP
- LINE7.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
- LINE7.BorderSizePixel = 0
- LINE7.Position = UDim2.new(0, 0, 1, 0)
- LINE7.Size = UDim2.new(0, 45, 0, 2)
- SECTION.Name = "SECTION"
- SECTION.Parent = BG
- SECTION.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
- SECTION.BorderSizePixel = 0
- SECTION.Position = UDim2.new(0.694533765, 0, 0.148571432, 0)
- SECTION.Size = UDim2.new(0, 2, 0, 148)
- NOCLIP.Name = "NOCLIP"
- NOCLIP.Parent = BG
- NOCLIP.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- NOCLIP.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- NOCLIP.Position = UDim2.new(0.765273333, 0, 0.239999995, 0)
- NOCLIP.Size = UDim2.new(0, 59, 0, 41)
- NOCLIP.Font = Enum.Font.SourceSansBold
- NOCLIP.Text = "Enable Noclip"
- NOCLIP.TextColor3 = Color3.new(1, 1, 1)
- NOCLIP.TextScaled = true
- NOCLIP.TextSize = 14
- NOCLIP.TextWrapped = true
- noclip = false
- game:GetService('RunService').Stepped:connect(function()
- if noclip then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- NOCLIP.MouseButton1Down:Connect(function()
- noclip = not noclip
- if NOCLIP.Text == "Enable Noclip" then
- NOCLIP.Text = "Disable Noclip"
- else
- NOCLIP.Text = "Enable Noclip"
- end
- end)
- LINE12.Name = "LINE12"
- LINE12.Parent = NOCLIP
- LINE12.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
- LINE12.BorderSizePixel = 0
- LINE12.Position = UDim2.new(0, 0, 1, 0)
- LINE12.Size = UDim2.new(0, 59, 0, 2)
- local TOGGLEWALK = false
- AIRWALK.Name = "AIRWALK"
- AIRWALK.Parent = BG
- AIRWALK.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- AIRWALK.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- AIRWALK.Position = UDim2.new(0.765273333, 0, 0.554285705, 0)
- AIRWALK.Size = UDim2.new(0, 59, 0, 41)
- AIRWALK.Font = Enum.Font.SourceSansBold
- AIRWALK.Text = "Enable AirWalk"
- AIRWALK.TextColor3 = Color3.new(1, 1, 1)
- AIRWALK.TextScaled = true
- AIRWALK.TextSize = 20
- AIRWALK.TextWrapped = true
- AIRWALK.MouseButton1Down:Connect(function()
- if TOGGLEWALK == false then
- TOGGLEWALK = true
- AIRWALK.Text = "Disable AirWalk"
- repeat
- wait()
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(10);
- until TOGGLEWALK == false
- else
- AIRWALK.Text = "Enable AirWalk"
- TOGGLEWALK = false
- end
- end)
- LINE8.Name = "LINE8"
- LINE8.Parent = AIRWALK
- LINE8.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
- LINE8.BorderSizePixel = 0
- LINE8.Position = UDim2.new(0, 0, 1, 0)
- LINE8.Size = UDim2.new(0, 59, 0, 2)
- TP.Name = "TP"
- TP.Parent = BG
- TP.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- TP.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- TP.Position = UDim2.new(0.257234722, 0, 0.239999995, 0)
- TP.Size = UDim2.new(0, 59, 0, 28)
- TP.Font = Enum.Font.SourceSansBold
- TP.Text = "ClickTP"
- TP.TextColor3 = Color3.new(1, 1, 1)
- TP.TextScaled = true
- TP.TextSize = 14
- TP.TextWrapped = true
- TP.MouseButton1Down:Connect(function()
- bin=Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
- bin.Name = "ClickTP"
- function teleportPlayer(pos)
- local player = game.Players.LocalPlayer
- if player == nil or player.Character == nil then return end
- local char = player.Character
- char:MoveTo(pos)
- end
- enabled = true
- function onButton1Down(mouse)
- if not enabled then
- return
- end
- local player = game.Players.LocalPlayer
- if player == nil then return end
- local cf = mouse.Hit
- teleportPlayer(cf.p)
- end
- function onSelected(mouse)
- mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- end
- bin.Selected:connect(onSelected)
- end)
- LINE9.Name = "LINE9"
- LINE9.Parent = TP
- LINE9.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
- LINE9.BorderSizePixel = 0
- LINE9.Position = UDim2.new(0, 0, 1, 0)
- LINE9.Size = UDim2.new(0, 59, 0, 2)
- GROUP.Name = "GROUP"
- GROUP.Parent = BG
- GROUP.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- GROUP.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- GROUP.Position = UDim2.new(0.257234722, 0, 0.474285722, 0)
- GROUP.Size = UDim2.new(0, 59, 0, 28)
- GROUP.Font = Enum.Font.SourceSansBold
- GROUP.Text = "Remove Group Door"
- GROUP.TextColor3 = Color3.new(1, 1, 1)
- GROUP.TextScaled = true
- GROUP.TextSize = 14
- GROUP.TextWrapped = true
- GROUP.MouseButton1Down:Connect(function()
- game.Workspace.GroupDoor:Destroy()
- end)
- LINE10.Name = "LINE10"
- LINE10.Parent = GROUP
- LINE10.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
- LINE10.BorderSizePixel = 0
- LINE10.Position = UDim2.new(0, 0, 1, 0)
- LINE10.Size = UDim2.new(0, 59, 0, 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement