Corrundum

Untitled

Oct 29th, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.95 KB | None | 0 0
  1. wait()
  2. Player = game.Players.LocalPlayer
  3. Object = Player.Character.HumanoidRootPart
  4. Arm1 = Player.Character["Right Arm"]
  5. PreviousA1 = Arm1.CFrame.p
  6. Arm2 = Player.Character["Left Arm"]
  7. PreviousA2 = Arm2.CFrame.p
  8.  
  9. Leg1 = Player.Character["Right Leg"]
  10. PreviousL1 = Leg1.CFrame.p
  11. Leg2 = Player.Character["Left Leg"]
  12. PreviousL2 = Leg2.CFrame.p
  13.  
  14. Run = game["Run Service"]
  15.  
  16. PreviousP = Object.CFrame.p
  17. Running = false
  18. Phase = false
  19. PhaseActive = false
  20. Morph = false
  21. MorphActive = false
  22. Tornado = false
  23. TornadoRadius = 50
  24. TornadoActive = false
  25. Portal = false
  26. PortalEnd = false
  27. MaxZ = 15
  28. MinZ = -15
  29. LightMaxX = 3
  30. LightMinX = 1
  31. LightMaxX2 = -1
  32. LightMinX2 = -3
  33. LightMaxY = 3
  34. LightMinY = -1
  35. Rotation = 0
  36. Length = 10
  37. Color = BrickColor.Yellow()
  38. PColor = Color3.new(255,255,0)
  39. PrevPoint1 = nil
  40. PrevPoint2 = nil
  41. PrevPoint3 = nil
  42. PrevPoint4 = nil
  43. PrevPoint5 = nil
  44. PrevPoint6 = nil
  45. PrevPoint7 = nil
  46. PrevPoint8 = nil
  47. PrevPoint9 = nil
  48. PrevPoint10 = nil
  49. PrevPoint11 = nil
  50. PrevPoint12 = nil
  51. angle = 0
  52. Mouse = Player:GetMouse()
  53. Player.Character.Humanoid.WalkSpeed = 100
  54.  
  55. Nil = function()
  56. PrevPoint1 = "Empty"
  57. PrevPoint2 = "Empty"
  58. PrevPoint3 = "Empty"
  59. PrevPoint4 = "Empty"
  60. PrevPoint5 = "Empty"
  61. PrevPoint6 = "Empty"
  62. PrevPoint7 = "Empty"
  63. PrevPoint8 = "Empty"
  64. PrevPoint9 = "Empty"
  65. PrevPoint10 = "Empty"
  66. PrevPoint11 = "Empty"
  67. PrevPoint12 = "Empty"
  68. end
  69.  
  70. PhaseFunction = function()
  71. local Phase = coroutine.wrap(function()
  72. while wait() do
  73. if Phase == false then break end
  74. if Player.Character.Humanoid.WalkSpeed > 50 and Phase == true then
  75. Object.CFrame = Object.CFrame * CFrame.new(0,0,-Player.Character.Humanoid.WalkSpeed/20)
  76. end
  77. end
  78. end)
  79. Phase()
  80. end
  81.  
  82. local Guis = coroutine.wrap(function()
  83. local Gui = Instance.new("ScreenGui",Player.PlayerGui)
  84. local TextBox = Instance.new("TextBox",Gui)
  85. TextBox.Text = "Speed"
  86. TextBox.BackgroundColor3 = Color3.new(255,255,255)
  87. TextBox.BorderColor3 = Color3.new(0,0,0)
  88. TextBox.Size = UDim2.new(0,200,0,25)
  89. TextBox.Position = UDim2.new(0,10,0.5,-12.5)
  90. TextBox.FocusLost:connect(function(EnterPressed)
  91. if EnterPressed then
  92. Player.Character.Humanoid.WalkSpeed = TextBox.Text
  93. end
  94. end)
  95. local Flash = Instance.new("TextButton",Gui)
  96. Flash.BackgroundColor3 = Color3.new(255,255,255)
  97. Flash.BorderColor3 = Color3.new(0,0,0)
  98. Flash.Size = UDim2.new(0,200,0,25)
  99. Flash.Position = UDim2.new(0,10,0.5,22.5)
  100. Flash.Text = "The Flash"
  101. Flash.MouseButton1Click:connect(function()
  102. Color = BrickColor.Yellow()
  103. PColor = Color3.new(255,255,0)
  104. end)
  105. local RFlash = Instance.new("TextButton",Gui)
  106. RFlash.BackgroundColor3 = Color3.new(255,255,255)
  107. RFlash.BorderColor3 = Color3.new(0,0,0)
  108. RFlash.Size = UDim2.new(0,200,0,25)
  109. RFlash.Position = UDim2.new(0,10,0.5,57.5)
  110. RFlash.Text = "The Reverse Flash"
  111. RFlash.MouseButton1Click:connect(function()
  112. Color = BrickColor.new("Really red")
  113. PColor = Color3.new(255,0,0)
  114. end)
  115. local Zoom = Instance.new("TextButton",Gui)
  116. Zoom.BackgroundColor3 = Color3.new(255,255,255)
  117. Zoom.BorderColor3 = Color3.new(0,0,0)
  118. Zoom.Size = UDim2.new(0,200,0,25)
  119. Zoom.Position = UDim2.new(0,10,0.5,92.5)
  120. Zoom.Text = "Zoom"
  121. Zoom.MouseButton1Click:connect(function()
  122. Color = BrickColor.new("Cyan")
  123. PColor = Color3.new(0,170,255)
  124. end)
  125. local Radius = Instance.new("TextBox",Gui)
  126. Radius.Text = "Tornado Radius"
  127. Radius.BackgroundColor3 = Color3.new(255,255,255)
  128. Radius.BorderColor3 = Color3.new(0,0,0)
  129. Radius.Size = UDim2.new(0,200,0,25)
  130. Radius.Position = UDim2.new(0,10,0.5,127.5)
  131. Radius.FocusLost:connect(function(EnterPressed)
  132. if EnterPressed then
  133. TornadoRadius = Radius.Text
  134. end
  135. end)
  136. Mouse.KeyDown:connect(function(Key)
  137. if Key == "r" then
  138. if Phase == false then
  139. Phase = true
  140. PhaseFunction()
  141. print "PhaseFunction"
  142. else
  143. Phase = false
  144. end
  145. end
  146. if Key == "t" then
  147. if Morph == false then
  148. Morph = true
  149. MorphFunction()
  150. else
  151. Morph = false
  152. end
  153. end
  154. end)
  155. end)
  156. Guis()
Advertisement
Add Comment
Please, Sign In to add comment