Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local main = Instance.new("Frame")
- local label = Instance.new("TextLabel")
- local label_2 = Instance.new("TextLabel")
- local Noclip = Instance.new("TextButton")
- local Fly = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- main.Name = "main"
- main.Parent = ScreenGui
- main.BackgroundColor3 = Color3.fromRGB(175, 175, 175)
- main.Position = UDim2.new(0.614678919, 0, 0.33456561, 0)
- main.Size = UDim2.new(0, 273, 0, 240)
- main.Active = true
- main.Draggable = true
- label.Name = "label"
- label.Parent = main
- label.BackgroundColor3 = Color3.fromRGB(93, 93, 93)
- label.Size = UDim2.new(0, 273, 0, 50)
- label.Font = Enum.Font.SourceSans
- label.Text = "Basic Script hub"
- label.TextColor3 = Color3.fromRGB(0, 0, 0)
- label.TextSize = 14.000
- label_2.Name = "label"
- label_2.Parent = main
- label_2.BackgroundColor3 = Color3.fromRGB(93, 93, 93)
- label_2.Position = UDim2.new(0, 0, 0.791666687, 0)
- label_2.Size = UDim2.new(0, 273, 0, 50)
- label_2.Font = Enum.Font.SourceSans
- label_2.Text = "Made by exalatiz#9999"
- label_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- label_2.TextSize = 14.000
- Noclip.Name = "Noclip"
- Noclip.Parent = main
- Noclip.BackgroundColor3 = Color3.fromRGB(149, 149, 149)
- Noclip.Position = UDim2.new(0.0219780225, 0, 0.245833337, 0)
- Noclip.Size = UDim2.new(0, 260, 0, 65)
- Noclip.Font = Enum.Font.SourceSans
- Noclip.Text = "Noclip E on /off"
- Noclip.TextColor3 = Color3.fromRGB(0, 0, 0)
- Noclip.TextSize = 14.000
- Noclip.MouseButton1Down:connect(function()
- Noclip = false
- game:GetService('RunService').Stepped:Connect(function()
- if Noclip then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- local p = game.Players.LocalPlayer
- local mo = p:GetMouse()
- mo.KeyDown:Connect(function(k)
- if k == 'e' then
- Noclip = not Noclip
- p.Character.Humanoid:ChangeState(11)
- end
- end)
- end)
- Fly.Name = "Fly"
- Fly.Parent = main
- Fly.BackgroundColor3 = Color3.fromRGB(149, 149, 149)
- Fly.Position = UDim2.new(0.0219780225, 0, 0.520833373, 0)
- Fly.Size = UDim2.new(0, 260, 0, 65)
- Fly.Font = Enum.Font.SourceSans
- Fly.Text = "Fly"
- Fly.TextColor3 = Color3.fromRGB(0, 0, 0)
- Fly.TextSize = 14.000
- Fly.MouseButton1Down:connect(function()
- repeat wait() until game.Players.LocalPlayer.Character
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local hum = char:WaitForChild("Humanoid")
- local Torso = char:WaitForChild("LowerTorso")
- local Mouse = plr:GetMouse()
- local toggle = false
- Mouse.KeyDown:Connect(function(key)
- if key == "f" then
- if toggle == false then
- toggle = true
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://7189034627"
- local PlayAnim = hum:LoadAnimation(Anim)
- PlayAnim:Play()
- local BV = Instance.new("BodyVelocity",Torso)
- BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- while toggle == true do
- BV.Velocity = Mouse.Hit.lookVector*100
- wait()
- end
- end
- if toggle == true then
- toggle = false
- Torso:FindFirstChildOfClass("BodyVelocity"):remove()
- local tracks = hum:GetPlayingAnimationTracks()
- for i, stoptracks in pairs(tracks) do
- stoptracks:Stop()
- end
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "http://www.roblox.com/asset/?id=7189034627"
- local PlayAnim = hum:LoadAnimation(Anim)
- PlayAnim:Play()
- end
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement