Advertisement
lafur

Untitled

Apr 20th, 2019
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  2. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  3. for i=1,2,0.1 do
  4. wait(.1)
  5. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(0,1,0)
  6. for _,anim in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do
  7. anim:Stop()
  8. end
  9. end
  10. for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  11. if part.ClassName == "Accessory" or part.ClassName == "Shirt" or part.ClassName == "Pants" or part.ClassName == "ShirtGraphic" or part.ClassName == "BodyColors" then
  12. part:remove()
  13. end
  14. if part:IsA("BasePart") then
  15. part.Color = Color3.fromRGB(255, 204, 153)
  16. end
  17. end
  18.  
  19.  
  20. game.Players.LocalPlayer.Character.Head.Color = Color3.fromRGB(0,255,0)
  21.  
  22. game.Players.LocalPlayer.Character.Head.Mesh.Offset = Vector3.new(0,-0.75,-0.5)
  23. game.Players.LocalPlayer.Character.Head.Mesh.MeshId = "rbxassetid://9257317"
  24. game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://9257357"
  25. game.Players.LocalPlayer.Character.Head.Mesh.Scale = Vector3.new(1.1, 1.247, 1.191)
  26. local shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character) shirt.ShirtTemplate = "rbxassetid://1037676911"
  27. local pants = Instance.new("Pants",game.Players.LocalPlayer.Character) pants.PantsTemplate = "rbxassetid://1010828432"
  28.  
  29. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 75
  30. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 333333333
  31. game.Players.LocalPlayer.Character.Humanoid.Health = 333333333
  32. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  33. rot = 0
  34. armrot = 0
  35. speed = 0.25
  36. armspeed = 0.25
  37. flying = nil
  38. flyingtornado1 = nil
  39. flyingtornado2 = nil
  40. tornado1 = nil
  41. tornado2 = nil
  42. fullspin = false
  43. counter = 0
  44. function fullrot()
  45.  
  46. local part = Instance.new("Part",game.Players.LocalPlayer.Character) part.Material = Enum.Material.Neon part.Color = Color3.fromRGB(0,255,0) part.Anchored = true part.Transparency = 0.9 part.CanCollide = false part.Shape = Enum.PartType.Cylinder part.Size = Vector3.new(math.huge,1,1)
  47. part.Name = "FullSpinC"
  48. part.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position)*CFrame.Angles(0,0,math.rad(90))
  49. game:GetService("Debris"):AddItem(part,1.5)
  50. for i=0.9,1,0.004 do
  51. wait()
  52. part.Size = part.Size+Vector3.new(0,2,2)
  53. part.Transparency = i
  54.  
  55. end
  56. part:remove()
  57. end
  58.  
  59. game:GetService("RunService").RenderStepped:connect(function()
  60.  
  61. for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  62. if part.Name == "Torso" or part.Name == "Right Leg" or part.Name == "Left Leg" or part.Name == "Right Arm" or part.Name == "Left Arm" then
  63. part.Color = Color3.fromRGB(255, 204, 153)
  64. end
  65. end
  66. game.Players.LocalPlayer.Character.Head.Color = Color3.fromRGB(0,255,0)
  67.  
  68.  
  69.  
  70.  
  71.  
  72. counter = counter+1
  73. if counter >= 10 then
  74. counter= 0
  75. if fullspin == true then
  76. fullrot()
  77. end
  78. end
  79. rot = rot+speed
  80. armrot = armrot+armspeed
  81. game.Players.LocalPlayer.Character.Head.CanCollide = false
  82. fidget1.FidgetHip.C0 = CFrame.new(fidget1.FidgetHip.C0.p)*CFrame.Angles(0,armrot,0)
  83. fidget2.FidgetHip2.C0 = CFrame.new(fidget2.FidgetHip2.C0.p)*CFrame.Angles(0,-armrot,0)
  84. for _,child in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  85. if child.Name == "FullSpinC" then
  86. child.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position)*CFrame.Angles(0,0,math.rad(90))
  87. end
  88. end
  89.  
  90. if flying ~= nil then
  91.  
  92. fidget3.FidgetHip3.C0 = CFrame.new(fidget3.FidgetHip3.C0.p)*CFrame.Angles(0,rot*2,0)
  93. fidget4.FidgetHip4.C0 = CFrame.new(fidget4.FidgetHip4.C0.p)*CFrame.Angles(0,-rot*2,0)
  94. flying.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position+Vector3.new(0,-3.5,0))
  95. end
  96. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(game.Players.LocalPlayer.Character.Torso.Neck.C0.p)*CFrame.Angles(math.rad(90),0,rot)
  97. if fullspin == true then
  98.  
  99. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0*CFrame.Angles(0,0,rot*10)
  100. for _,child in pairs(game.Workspace:GetChildren()) do
  101. if child ~= game.Players.LocalPlayer.Character then
  102. for _,InChild in pairs(child:GetChildren()) do
  103. if InChild:IsA("BasePart") then
  104. if InChild.Position.X > game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X-20 and InChild.Position.X < game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X+20 then
  105. if InChild.Position.Z > game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z-20 and InChild.Position.Z < game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z+20 then
  106. for _,InChild2 in pairs(child:GetChildren()) do
  107. if InChild2.ClassName == "Humanoid" then
  108. InChild2.Health = InChild2.Health-2
  109. InChild.Velocity = game.Workspace.CurrentCamera.CFrame.lookVector*80
  110. end
  111. end
  112. end
  113. end
  114. end
  115. end
  116. end
  117. end
  118.  
  119. end
  120. if tornado1 ~= nil then
  121. local pos1 = game.Players.LocalPlayer.Character["Right Arm"].CFrame:toWorldSpace(CFrame.new(Vector3.new(0,-1,0))).p
  122. local pos2 = game.Players.LocalPlayer:GetMouse().Hit:toWorldSpace(CFrame.new(7.5,0,0)).p
  123. tornado1.Mesh.Scale = Vector3.new(15,(pos1-pos2).magnitude,15)
  124. tornado1.CFrame = CFrame.new((pos1+pos2)/2,pos1)*CFrame.Angles(math.rad(90),armrot*2,math.rad(180))
  125. for _,child in pairs(game.Workspace:GetChildren()) do
  126. if child ~= game.Players.LocalPlayer.Character then
  127. for _,InChild in pairs(child:GetChildren()) do
  128. if InChild:IsA("BasePart") then
  129. if (InChild.Position-pos2).magnitude < 7.5 then
  130. for _,InChild2 in pairs(child:GetChildren()) do
  131. if InChild2.ClassName == "Humanoid" then
  132. InChild2.Health = InChild2.Health-2
  133. InChild.Velocity = game.Workspace.CurrentCamera.CFrame.lookVector*80
  134. end
  135. end
  136. end
  137. end
  138. end
  139. end
  140. end
  141.  
  142.  
  143.  
  144. end
  145. if tornado2 ~= nil then
  146. local pos1 = game.Players.LocalPlayer.Character["Left Arm"].CFrame:toWorldSpace(CFrame.new(Vector3.new(0,-1,0))).p
  147. local pos2 = game.Players.LocalPlayer:GetMouse().Hit:toWorldSpace(CFrame.new(-7.5,0,0)).p
  148. tornado2.Mesh.Scale = Vector3.new(15,(pos1-pos2).magnitude,15)
  149. tornado2.CFrame = CFrame.new((pos1+pos2)/2,pos1)*CFrame.Angles(math.rad(90),armrot*2,math.rad(180))
  150.  
  151. for _,child in pairs(game.Workspace:GetChildren()) do
  152. if child ~= game.Players.LocalPlayer.Character then
  153. for _,InChild in pairs(child:GetChildren()) do
  154. if InChild:IsA("BasePart") then
  155. if (InChild.Position-pos2).magnitude < 10 then
  156. for _,InChild2 in pairs(child:GetChildren()) do
  157. if InChild2.ClassName == "Humanoid" then
  158. InChild2.Health = InChild2.Health-1
  159. InChild.Velocity = game.Workspace.CurrentCamera.CFrame.lookVector*80
  160. end
  161. end
  162. end
  163. end
  164. end
  165. end
  166. end
  167. end
  168.  
  169.  
  170. if flyingtornado1 ~= nil then
  171. local pos1 = game.Players.LocalPlayer.Character["Right Leg"].CFrame:toWorldSpace(CFrame.new(Vector3.new(0,-1,0))).p
  172. local cframe1 = game.Players.LocalPlayer.Character["Right Leg"].CFrame:toWorldSpace(CFrame.new(Vector3.new(0,-1,0)))
  173. local pos2 = game.Players.LocalPlayer.Character["Right Leg"].CFrame:toWorldSpace(CFrame.new(Vector3.new(7.5,0,0))).p-Vector3.new(0,4000,0)
  174.  
  175. local ray = Ray.new(pos1,cframe1:toWorldSpace(CFrame.new(Vector3.new(500,0,0))).p-Vector3.new(0,4000,0))
  176. local hit,position,normal = game.Workspace:FindPartOnRay(ray,game.Players.LocalPlayer.Character)
  177. if hit ~= nil then
  178. pos2 = position
  179. end
  180.  
  181. flyingtornado1.Mesh.Scale = Vector3.new(6,(pos1-pos2).magnitude,6)
  182. flyingtornado1.CFrame = CFrame.new((pos1+pos2)/2,pos1)*CFrame.Angles(math.rad(90),armrot*2,math.rad(180))
  183.  
  184. for _,child in pairs(game.Workspace:GetChildren()) do
  185. if child ~= game.Players.LocalPlayer.Character then
  186. for _,InChild in pairs(child:GetChildren()) do
  187. if InChild:IsA("BasePart") then
  188. if (InChild.Position-pos2).magnitude < 3 then
  189. for _,InChild2 in pairs(child:GetChildren()) do
  190. if InChild2.ClassName == "Humanoid" then
  191. InChild2.Health = InChild2.Health-1
  192. InChild.Velocity = game.Workspace.CurrentCamera.CFrame.lookVector*80
  193. end
  194. end
  195. end
  196. end
  197. end
  198. end
  199. end
  200. end
  201.  
  202. if flyingtornado2 ~= nil then
  203. local pos1 = game.Players.LocalPlayer.Character["Left Leg"].CFrame:toWorldSpace(CFrame.new(Vector3.new(0,-1,0))).p
  204. local cframe1 = game.Players.LocalPlayer.Character["Left Leg"].CFrame:toWorldSpace(CFrame.new(Vector3.new(0,-1,0)))
  205. local pos2 = game.Players.LocalPlayer.Character["Left Leg"].CFrame:toWorldSpace(CFrame.new(Vector3.new(-7.5,0,0))).p-Vector3.new(0,4000,0)
  206.  
  207. local ray = Ray.new(pos1,cframe1:toWorldSpace(CFrame.new(Vector3.new(-500,0,0))).p-Vector3.new(0,4000,0))
  208. local hit,position,normal = game.Workspace:FindPartOnRay(ray,game.Players.LocalPlayer.Character)
  209.  
  210. if hit ~= nil then
  211. pos2 = position
  212. end
  213.  
  214. flyingtornado2.Mesh.Scale = Vector3.new(6,(pos1-pos2).magnitude,6)
  215. flyingtornado2.CFrame = CFrame.new((pos1+pos2)/2,pos1)*CFrame.Angles(math.rad(90),armrot*2,math.rad(180))
  216.  
  217. for _,child in pairs(game.Workspace:GetChildren()) do
  218. if child ~= game.Players.LocalPlayer.Character then
  219. for _,InChild in pairs(child:GetChildren()) do
  220. if InChild:IsA("BasePart") then
  221. if (InChild.Position-pos2).magnitude < 3 then
  222. for _,InChild2 in pairs(child:GetChildren()) do
  223. if InChild2.ClassName == "Humanoid" then
  224. InChild2.Health = InChild2.Health-1
  225. InChild.Velocity = game.Workspace.CurrentCamera.CFrame.lookVector*80
  226. end
  227. end
  228. end
  229. end
  230. end
  231. end
  232. end
  233. end
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240. end)
  241. game:GetService("UserInputService").InputBegan:connect(function(key)
  242. if key.KeyCode == Enum.KeyCode.F then
  243. if flying == nil then
  244. flying = Instance.new("Part",game.Players.LocalPlayer.Character) flying.Transparency = 1 flying.Anchored = true flying.Size = Vector3.new(3,1,3)
  245. flyingtornado1 = Instance.new("Part",game.Players.LocalPlayer.Character) flyingtornado1.Color = Color3.fromRGB(200,255,200) flyingtornado1.Transparency = 0.5 flyingtornado1.CanCollide = false flyingtornado1.Anchored = true
  246. local mesh = Instance.new("SpecialMesh",flyingtornado1) mesh.MeshId = "rbxassetid://1040723301"
  247. flyingtornado2 = Instance.new("Part",game.Players.LocalPlayer.Character) flyingtornado2.Color = Color3.fromRGB(200,255,200) flyingtornado2.Transparency = 0.5 flyingtornado2.CanCollide = false flyingtornado2.Anchored = true
  248. local mesh = Instance.new("SpecialMesh",flyingtornado2) mesh.MeshId = "rbxassetid://1040723301"
  249.  
  250. else
  251. flying:remove()
  252. flying = nil
  253. flyingtornado1:remove()
  254. flyingtornado1 = nil
  255. flyingtornado2:remove()
  256. flyingtornado2 = nil
  257. end
  258. end
  259. if key.KeyCode == Enum.KeyCode.E then
  260. armspeed = 0.5
  261. tornado1 = Instance.new("Part",game.Players.LocalPlayer.Character) tornado1.Color = Color3.fromRGB(200,255,200) tornado1.Transparency = 0.5 tornado1.CanCollide = false tornado1.Anchored = true
  262. local mesh = Instance.new("SpecialMesh",tornado1) mesh.MeshId = "rbxassetid://1040723301"
  263. tornado2 = Instance.new("Part",game.Players.LocalPlayer.Character) tornado2.Color = Color3.fromRGB(200,255,200) tornado2.Transparency = 0.5 tornado2.CanCollide = false tornado2.Anchored = true
  264. local mesh = Instance.new("SpecialMesh",tornado2) mesh.MeshId = "rbxassetid://1040723301"
  265.  
  266. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0*CFrame.Angles(0,0,math.rad(90))
  267. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0*CFrame.Angles(0,0,math.rad(-90))
  268. end
  269. if key.KeyCode == Enum.KeyCode.R then
  270. if fullspin == false then
  271. fullspin = true
  272.  
  273. else
  274. fullspin = false
  275. end
  276. end
  277. end)
  278. game:GetService("UserInputService").InputEnded:connect(function(key)
  279.  
  280. if key.KeyCode == Enum.KeyCode.E then
  281. tornado1:remove()
  282. tornado2:remove()
  283. tornado1 = nil
  284. tornado2 = nil
  285. armspeed = 0.25
  286. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0*CFrame.Angles(0,0,math.rad(-90))
  287. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0*CFrame.Angles(0,0,math.rad(90))
  288. end
  289. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement