Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- Player = game.Players.LocalPlayer
- Object = Player.Character.HumanoidRootPart
- Arm1 = Player.Character["Right Arm"]
- PreviousA1 = Arm1.CFrame.p
- Arm2 = Player.Character["Left Arm"]
- PreviousA2 = Arm2.CFrame.p
- Leg1 = Player.Character["Right Leg"]
- PreviousL1 = Leg1.CFrame.p
- Leg2 = Player.Character["Left Leg"]
- PreviousL2 = Leg2.CFrame.p
- Run = game["Run Service"]
- PreviousP = Object.CFrame.p
- Running = false
- Phase = false
- PhaseActive = false
- Morph = false
- MorphActive = false
- Tornado = false
- TornadoRadius = 50
- TornadoActive = false
- Portal = false
- PortalEnd = false
- MaxZ = 15
- MinZ = -15
- LightMaxX = 3
- LightMinX = 1
- LightMaxX2 = -1
- LightMinX2 = -3
- LightMaxY = 3
- LightMinY = -1
- Rotation = 0
- Length = 10
- Color = BrickColor.Yellow()
- PColor = Color3.new(255,255,0)
- PrevPoint1 = nil
- PrevPoint2 = nil
- PrevPoint3 = nil
- PrevPoint4 = nil
- PrevPoint5 = nil
- PrevPoint6 = nil
- PrevPoint7 = nil
- PrevPoint8 = nil
- PrevPoint9 = nil
- PrevPoint10 = nil
- PrevPoint11 = nil
- PrevPoint12 = nil
- angle = 0
- Mouse = Player:GetMouse()
- Player.Character.Humanoid.WalkSpeed = 100
- Nil = function()
- PrevPoint1 = "Empty"
- PrevPoint2 = "Empty"
- PrevPoint3 = "Empty"
- PrevPoint4 = "Empty"
- PrevPoint5 = "Empty"
- PrevPoint6 = "Empty"
- PrevPoint7 = "Empty"
- PrevPoint8 = "Empty"
- PrevPoint9 = "Empty"
- PrevPoint10 = "Empty"
- PrevPoint11 = "Empty"
- PrevPoint12 = "Empty"
- end
- PhaseFunction = function()
- local Phase = coroutine.wrap(function()
- while wait() do
- if Phase == false then break end
- if Player.Character.Humanoid.WalkSpeed > 50 and Phase == true then
- Object.CFrame = Object.CFrame * CFrame.new(0,0,-Player.Character.Humanoid.WalkSpeed/20)
- end
- end
- end)
- Phase()
- end
- local Guis = coroutine.wrap(function()
- local Gui = Instance.new("ScreenGui",Player.PlayerGui)
- local TextBox = Instance.new("TextBox",Gui)
- TextBox.Text = "Speed"
- TextBox.BackgroundColor3 = Color3.new(255,255,255)
- TextBox.BorderColor3 = Color3.new(0,0,0)
- TextBox.Size = UDim2.new(0,200,0,25)
- TextBox.Position = UDim2.new(0,10,0.5,-12.5)
- TextBox.FocusLost:connect(function(EnterPressed)
- if EnterPressed then
- Player.Character.Humanoid.WalkSpeed = TextBox.Text
- end
- end)
- local Flash = Instance.new("TextButton",Gui)
- Flash.BackgroundColor3 = Color3.new(255,255,255)
- Flash.BorderColor3 = Color3.new(0,0,0)
- Flash.Size = UDim2.new(0,200,0,25)
- Flash.Position = UDim2.new(0,10,0.5,22.5)
- Flash.Text = "The Flash"
- Flash.MouseButton1Click:connect(function()
- Color = BrickColor.Yellow()
- PColor = Color3.new(255,255,0)
- end)
- local RFlash = Instance.new("TextButton",Gui)
- RFlash.BackgroundColor3 = Color3.new(255,255,255)
- RFlash.BorderColor3 = Color3.new(0,0,0)
- RFlash.Size = UDim2.new(0,200,0,25)
- RFlash.Position = UDim2.new(0,10,0.5,57.5)
- RFlash.Text = "The Reverse Flash"
- RFlash.MouseButton1Click:connect(function()
- Color = BrickColor.new("Really red")
- PColor = Color3.new(255,0,0)
- end)
- local Zoom = Instance.new("TextButton",Gui)
- Zoom.BackgroundColor3 = Color3.new(255,255,255)
- Zoom.BorderColor3 = Color3.new(0,0,0)
- Zoom.Size = UDim2.new(0,200,0,25)
- Zoom.Position = UDim2.new(0,10,0.5,92.5)
- Zoom.Text = "Zoom"
- Zoom.MouseButton1Click:connect(function()
- Color = BrickColor.new("Cyan")
- PColor = Color3.new(0,170,255)
- end)
- local Radius = Instance.new("TextBox",Gui)
- Radius.Text = "Tornado Radius"
- Radius.BackgroundColor3 = Color3.new(255,255,255)
- Radius.BorderColor3 = Color3.new(0,0,0)
- Radius.Size = UDim2.new(0,200,0,25)
- Radius.Position = UDim2.new(0,10,0.5,127.5)
- Radius.FocusLost:connect(function(EnterPressed)
- if EnterPressed then
- TornadoRadius = Radius.Text
- end
- end)
- Mouse.KeyDown:connect(function(Key)
- if Key == "r" then
- if Phase == false then
- Phase = true
- PhaseFunction()
- print "PhaseFunction"
- else
- Phase = false
- end
- end
- if Key == "t" then
- if Morph == false then
- Morph = true
- MorphFunction()
- else
- Morph = false
- end
- end
- end)
- end)
- Guis()
Advertisement
Add Comment
Please, Sign In to add comment