Advertisement
DaylightExploits

Untitled

Oct 2nd, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 76.10 KB | None | 0 0
  1. --[[
  2. ______ __ __ ____ __ ______
  3. / _/ _/ / \/ \ / __/___ __ _______/ /_ / / /
  4. / // / / /\/ /\ \ __/ /_/ __ \/ / / / ___/ __ \ / // /
  5. / // / / / /_/ \ \/_ __/ /_/ / /_/ / / / /_/ / / // /
  6. / // / /_/ \_\/_/ \____/\__,_/_/ /_.___/ _/ // /
  7. /__/__/ /__/__/
  8.  
  9. --]]
  10.  
  11. wait()
  12. Player = game.Players.LocalPlayer
  13. Object = Player.Character.HumanoidRootPart
  14. Arm1 = Player.Character["Right Arm"]
  15. PreviousA1 = Arm1.CFrame.p
  16. Arm2 = Player.Character["Left Arm"]
  17. PreviousA2 = Arm2.CFrame.p
  18.  
  19. Leg1 = Player.Character["Right Leg"]
  20. PreviousL1 = Leg1.CFrame.p
  21. Leg2 = Player.Character["Left Leg"]
  22. PreviousL2 = Leg2.CFrame.p
  23.  
  24. Run = game["Run Service"]
  25.  
  26. script.Parent = Player.Backpack
  27.  
  28. PreviousP = Object.CFrame.p
  29. Running = false
  30. Phase = false
  31. PhaseActive = false
  32. Morph = false
  33. MorphActive = false
  34. Tornado = false
  35. TornadoRadius = 50
  36. TornadoActive = false
  37. Aura = false
  38. Portal = false
  39. PortalEnd = false
  40. MaxZ = 15
  41. MinZ = -15
  42. LightMaxX = 5
  43. LightMinX = 0
  44. LightMaxX2 = 0
  45. LightMinX2 = -5
  46. LightMaxY = 5
  47. LightMinY = -1
  48. Rotation = 0
  49. Length = 10
  50. Color = BrickColor.Yellow()
  51. PColor = Color3.new(255,255,0)
  52. PrevPoint1 = nil
  53. PrevPoint2 = nil
  54. PrevPoint3 = nil
  55. PrevPoint4 = nil
  56. PrevPoint5 = nil
  57. PrevPoint6 = nil
  58. PrevPoint7 = nil
  59. PrevPoint8 = nil
  60. PrevPoint9 = nil
  61. PrevPoint10 = nil
  62. PrevPoint11 = nil
  63. PrevPoint12 = nil
  64. angle = 0
  65. Mouse = Player:GetMouse()
  66. Player.Character.Humanoid.WalkSpeed = 100
  67.  
  68. Nil = function()
  69. PrevPoint1 = "Empty"
  70. PrevPoint2 = "Empty"
  71. PrevPoint3 = "Empty"
  72. PrevPoint4 = "Empty"
  73. PrevPoint5 = "Empty"
  74. PrevPoint6 = "Empty"
  75. PrevPoint7 = "Empty"
  76. PrevPoint8 = "Empty"
  77. PrevPoint9 = "Empty"
  78. PrevPoint10 = "Empty"
  79. PrevPoint11 = "Empty"
  80. PrevPoint12 = "Empty"
  81. end
  82.  
  83. local Lightning = coroutine.wrap(function()
  84. while Run.Stepped:wait() do
  85. if Portal == false and Aura == true then
  86. PreviousSpot = Player.Character.Torso.CFrame * CFrame.new(math.random(-2,2),math.random(-3,2),math.random(-1,1))
  87. local Model = Instance.new("Model",workspace)
  88. for Parts = 1,10 do
  89. local Light = Instance.new("Part",Model)
  90. Light.CanCollide = false
  91. Light.Anchored = true
  92. Light.BrickColor = Color
  93. Light.Material = "Neon"
  94. local PLight = Instance.new("PointLight",Light)
  95. PLight.Color = PColor
  96. local Point1 = Instance.new("Part",Model)
  97. Point1.CanCollide = false
  98. Point1.Anchored = true
  99. Point1.Size = Vector3.new(0.2,0.2,0.2)
  100. Point1.CFrame = PreviousSpot
  101. Point1.Transparency = 1
  102. local Point2 = Instance.new("Part",Model)
  103. Point2.CanCollide = false
  104. Point2.Anchored = true
  105. Point2.Size = Vector3.new(0.2,0.2,0.2)
  106. Point2.Transparency = 1
  107. Point2.CFrame = Player.Character.Torso.CFrame * CFrame.new(math.random(-100,100)*0.025,math.random(-100,100)*0.03,math.random(-100,100)*0.01)
  108. local Distance = (Point1.CFrame.p-Point2.CFrame.p).magnitude
  109. Light.Size = Vector3.new(0.2,0.2,Distance)
  110. Light.CFrame = CFrame.new(Point1.CFrame.p,Point2.CFrame.p) * CFrame.new(0,0,-Distance/2)
  111. PreviousSpot = Point2.CFrame
  112. end
  113. local Children = Model:GetChildren()
  114. wait(0.1)
  115. for i = 1,#Children do
  116. if Children[i]:IsA("Part") then
  117. Children[i].Transparency = 1
  118. end
  119. game.Debris:AddItem(Children[i],0)
  120. end
  121. end
  122. end
  123. end)
  124. Lightning()
  125.  
  126. TornadoFunction = function()
  127. local TornadoModel = Instance.new("Model",workspace)
  128. local Center = Instance.new("Part",TornadoModel)
  129. Center.Anchored = true
  130. Center.CanCollide = false
  131. Center.Transparency = 1
  132. Center.Size = Vector3.new(2,2,2)
  133. Center.CFrame = Object.CFrame * CFrame.new(0,0,-20)
  134. local Death = Instance.new("Part",TornadoModel)
  135. Death.Anchored = true
  136. Death.CanCollide = false
  137. Death.Transparency = 1
  138. Death.Size = Vector3.new(TornadoRadius+15,TornadoRadius+15,TornadoRadius+15)
  139. Death.CFrame = Center.CFrame
  140. Death.Touched:connect(function(Touch)
  141. if Touch.Parent:FindFirstChild("Humanoid") ~= nil and Touch.Parent.Name ~= Player.Name then
  142. Touch.Parent.Humanoid.Health = 0
  143. end
  144. end)
  145. local TornadoFunc = function()
  146. local Tornanimation = coroutine.wrap(function()
  147. while Run.Stepped:wait() do
  148. if Tornado == false then Death:Destroy() break end
  149. angle = angle + 0.1
  150. Death.CFrame = Death.CFrame * CFrame.Angles(0.1,0.1,0.1)
  151. Object.Anchored = false
  152. Object.CFrame = Center.CFrame * CFrame.Angles(0,angle,0) * CFrame.new(0,0,TornadoRadius)
  153. Object.CFrame = Object.CFrame * CFrame.Angles(0,-math.rad(90),0)
  154. end
  155. end)
  156. Tornanimation()
  157. end
  158. TornadoFunc()
  159. end
  160.  
  161. PhaseFunction = function()
  162. local Phase = coroutine.wrap(function()
  163. while wait() do
  164. if Phase == false then break end
  165. if Player.Character.Humanoid.WalkSpeed > 50 and Phase == true then
  166. Object.CFrame = Object.CFrame * CFrame.new(0,0,-Player.Character.Humanoid.WalkSpeed/20)
  167. end
  168. end
  169. end)
  170. Phase()
  171. end
  172.  
  173.  
  174. PortalFunction = function()
  175. local PortalBlock = Instance.new("Part",workspace)
  176. PortalBlock.CFrame = Object.CFrame * CFrame.new(0,0,-100)
  177. PortalBlock.Transparency = 1
  178. PortalBlock.Anchored = true
  179. PortalBlock.CanCollide = false
  180. PortalBlock.Size = Vector3.new(20,20,0.2)
  181. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.new(0,(PortalBlock.Size.Y/2),0)
  182. local Gui = Instance.new("SurfaceGui",PortalBlock)
  183. local Img = Instance.new("ImageLabel",Gui)
  184. Img.Size = UDim2.new(2,0,2,0)
  185. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  186. Img.Transparency = 1
  187. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  188. local Gui = Instance.new("SurfaceGui",PortalBlock)
  189. Gui.Face = "Back"
  190. local Img = Instance.new("ImageLabel",Gui)
  191. Img.Size = UDim2.new(2,0,2,0)
  192. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  193. Img.Transparency = 1
  194. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  195. Object.CFrame = PortalBlock.CFrame
  196. local Face = Object.Parent.Head.face.Texture
  197. local ObjectC = Object.Parent:GetChildren()
  198. for i = 1,#ObjectC do
  199. if ObjectC[i]:IsA("Part") and ObjectC[i].Name ~= "HumanoidRootPart" then
  200. ObjectC[i].Transparency = 1
  201. elseif ObjectC[i]:IsA("Hat") then
  202. ObjectC[i].Handle.Transparency = 1
  203. end
  204. if ObjectC[i].Name == "Head" then
  205. ObjectC[i].face.Texture = ""
  206. end
  207. end
  208. local PortalR = coroutine.wrap(function()
  209. wait(0.1)
  210. Portal = true
  211. PortalEnd = true
  212. while wait(0.001) do
  213. if Portal == false then
  214. break
  215. end
  216. Nil()
  217. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.Angles(0,0,-0.1)
  218. wait(0.01)
  219. end
  220. PortalBlock:Destroy()
  221. for i = 1,#ObjectC do
  222. if ObjectC[i]:IsA("Part") and ObjectC[i].Name ~= "HumanoidRootPart" then
  223. ObjectC[i].Transparency = 0
  224. elseif ObjectC[i]:IsA("Hat") then
  225. ObjectC[i].Handle.Transparency = 0
  226. end
  227. if ObjectC[i].Name == "Head" then
  228. ObjectC[i].face.Texture = Face
  229. end
  230. end
  231. for i,v in pairs(Player.Character:GetChildren()) do
  232. if v.Name == "Part" then
  233. v:Destroy()
  234. end
  235. end
  236. local PortalBlock = Instance.new("Part",workspace)
  237. PortalBlock.CFrame = Object.CFrame * CFrame.new(0,0,0)
  238. PortalBlock.Transparency = 1
  239. PortalBlock.Anchored = true
  240. PortalBlock.CanCollide = false
  241. PortalBlock.Size = Vector3.new(20,20,0.2)
  242. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.new(0,(PortalBlock.Size.Y/2),0)
  243. local Gui = Instance.new("SurfaceGui",PortalBlock)
  244. local Img = Instance.new("ImageLabel",Gui)
  245. Img.Size = UDim2.new(2,0,2,0)
  246. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  247. Img.Transparency = 1
  248. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  249. local Gui = Instance.new("SurfaceGui",PortalBlock)
  250. Gui.Face = "Back"
  251. local Img = Instance.new("ImageLabel",Gui)
  252. Img.Size = UDim2.new(2,0,2,0)
  253. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  254. Img.Transparency = 1
  255. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  256. Object.CFrame = PortalBlock.CFrame
  257. PreviousA1 = Arm1.CFrame.p
  258. PreviousA2 = Arm2.CFrame.p
  259. PreviousL1 = Leg1.CFrame.p
  260. PreviousL2 = Leg2.CFrame.p
  261. PreviousP = Object.CFrame.p
  262. PortalEnd = false
  263. wait(2)
  264. PortalBlock:Destroy()
  265. end)
  266. PortalR()
  267. end
  268.  
  269. MorphFunction = function()
  270. local MaxX = 100
  271. local MinX = -100
  272. local MaxY = 100
  273. local MinY = -100
  274. local MaxZ = 100
  275. local MinZ = -100
  276. local Morph = coroutine.wrap(function()
  277. while Run.Stepped:wait(0.1) do
  278. if Morph == false then break end
  279. local Model = Instance.new("Model",workspace)
  280. for i,v in pairs(Player.Character:GetChildren()) do
  281. if v:IsA("CharacterMesh") then
  282. v:Clone().Parent = Model
  283. end
  284. if v:IsA("Shirt") then
  285. v:Clone().Parent = Model
  286. end
  287. if v:IsA("Pants") then
  288. v:Clone().Parent = Model
  289. end
  290. end
  291. local Humanoid = Instance.new("Humanoid",Model)
  292. local LeftArm = Player.Character["Left Arm"]:Clone()
  293. LeftArm.Parent = Model
  294. LeftArm.Transparency = 0.4
  295. LeftArm.Anchored = true
  296. LeftArm.CFrame = Player.Character["Left Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  297. local RightArm = Player.Character["Right Arm"]:Clone()
  298. RightArm.Parent = Model
  299. RightArm.Transparency = 0.4
  300. RightArm.Anchored = true
  301. RightArm.CFrame = Player.Character["Right Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  302. local LeftLeg = Player.Character["Left Leg"]:Clone()
  303. LeftLeg.Parent = Model
  304. LeftLeg.Transparency = 0.4
  305. LeftLeg.Anchored = true
  306. LeftLeg.CFrame = Player.Character["Left Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  307. local RightLeg = Player.Character["Right Leg"]:Clone()
  308. RightLeg.Parent = Model
  309. RightLeg.Transparency = 0.4
  310. RightLeg.Anchored = true
  311. RightLeg.CFrame = Player.Character["Right Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  312. local Children = Model:GetChildren()
  313. wait(0.01)
  314. for i = 1,#Children do
  315. if Children[i]:IsA("Part") then
  316. Children[i].Transparency = 1
  317. end
  318. game.Debris:AddItem(Children[i],0)
  319. end
  320. end
  321. end)
  322. Morph()
  323. end
  324.  
  325. local Guis = coroutine.wrap(function()
  326. local Gui = Instance.new("ScreenGui",Player.PlayerGui)
  327. local TextBox = Instance.new("TextBox",Gui)
  328. TextBox.Text = "Speed"
  329. TextBox.BackgroundColor3 = Color3.new(255,255,255)
  330. TextBox.BorderColor3 = Color3.new(0,0,0)
  331. TextBox.Size = UDim2.new(0,200,0,25)
  332. TextBox.Position = UDim2.new(0,10,0.5,-12.5)
  333. TextBox.FocusLost:connect(function(EnterPressed)
  334. if EnterPressed then
  335. Player.Character.Humanoid.WalkSpeed = TextBox.Text
  336. end
  337. end)
  338. local Flash = Instance.new("TextButton",Gui)
  339. Flash.BackgroundColor3 = Color3.new(255,255,255)
  340. Flash.BorderColor3 = Color3.new(0,0,0)
  341. Flash.Size = UDim2.new(0,200,0,25)
  342. Flash.Position = UDim2.new(0,10,0.5,22.5)
  343. Flash.Text = "The Flash"
  344. Flash.MouseButton1Click:connect(function()
  345. Color = BrickColor.Yellow()
  346. PColor = Color3.new(255,255,0)
  347. local Remove = Player.Character:GetChildren()
  348. local F = game:GetObjects("rbxassetid://424603880")[1]
  349. for i = 1,#Remove do
  350. if Remove[i].ClassName == "Hat" or Remove[i]:IsA("Shirt") or Remove[i]:IsA("Pants") then
  351. Remove[i]:Destroy()
  352. end
  353. end
  354. local Shirt = Instance.new("Shirt",Player.Character)
  355. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=286033023"
  356. local Pants = Instance.new("Pants",Player.Character)
  357. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=286030307"
  358. local h = Instance.new("Hat",Player.Character)
  359. h.Name = "Zoom"
  360. local p = F
  361. p.Position = Player.Character.Head.Position
  362. p.Name = "Handle"
  363. p.Parent = h
  364. p.CanCollide = true
  365. p.Anchored = false
  366. h.AttachmentPoint = h.AttachmentPoint * CFrame.Angles(0,math.rad(90),0) * CFrame.new(0,0.5,0)
  367. end)
  368. local RFlash = Instance.new("TextButton",Gui)
  369. RFlash.BackgroundColor3 = Color3.new(255,255,255)
  370. RFlash.BorderColor3 = Color3.new(0,0,0)
  371. RFlash.Size = UDim2.new(0,200,0,25)
  372. RFlash.Position = UDim2.new(0,10,0.5,57.5)
  373. RFlash.Text = "The Reverse Flash"
  374. RFlash.MouseButton1Click:connect(function()
  375. Color = BrickColor.new("Really red")
  376. PColor = Color3.new(255,0,0)
  377. local RF = game:GetObjects("rbxassetid://424604309")[1]
  378. local Remove = Player.Character:GetChildren()
  379. for i = 1,#Remove do
  380. if Remove[i].ClassName == "Hat" or Remove[i]:IsA("Shirt") or Remove[i]:IsA("Pants") then
  381. Remove[i]:Destroy()
  382. end
  383. end
  384. local Shirt = Instance.new("Shirt",Player.Character)
  385. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=240516299"
  386. local Pants = Instance.new("Pants",Player.Character)
  387. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=317849531"
  388. local h = Instance.new("Hat",Player.Character)
  389. h.Name = "Eye"
  390. local p = RF.Eyes
  391. p.Position = Player.Character.Head.Position
  392. p.Name = "Handle"
  393. p.Parent = h
  394. p.CanCollide = true
  395. p.Anchored = false
  396. h.AttachmentPoint = h.AttachmentPoint * CFrame.Angles(math.rad(90),math.rad(90),0) * CFrame.new(0,0.5,0) * CFrame.new(0.0,-0.2,0.04)
  397. local h = Instance.new("Hat",Player.Character)
  398. h.Name = "RF"
  399. local p = RF
  400. p.Position = Player.Character.Head.Position
  401. p.Name = "Handle"
  402. p.Parent = h
  403. p.CanCollide = true
  404. p.Anchored = false
  405. h.AttachmentPoint = h.AttachmentPoint * CFrame.Angles(0,math.rad(90),0) * CFrame.new(0,0.5,0)
  406. end)
  407. local Zoom = Instance.new("TextButton",Gui)
  408. Zoom.BackgroundColor3 = Color3.new(255,255,255)
  409. Zoom.BorderColor3 = Color3.new(0,0,0)
  410. Zoom.Size = UDim2.new(0,200,0,25)
  411. Zoom.Position = UDim2.new(0,10,0.5,92.5)
  412. Zoom.Text = "Zoom"
  413. Zoom.MouseButton1Click:connect(function()
  414. Color = BrickColor.new("Cyan")
  415. PColor = Color3.new(0,170,255)
  416. local Z = game:GetObjects("rbxassetid://424611984")[1]
  417. local Remove = Player.Character:GetChildren()
  418. for i = 1,#Remove do
  419. if Remove[i].ClassName == "Hat" or Remove[i]:IsA("Shirt") or Remove[i]:IsA("Pants") then
  420. Remove[i]:Destroy()
  421. end
  422. end
  423. local Shirt = Instance.new("Shirt",Player.Character)
  424. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=411237852"
  425. local Pants = Instance.new("Pants",Player.Character)
  426. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=411238089"
  427. local h = Instance.new("Hat",Player.Character)
  428. h.Name = "Eye"
  429. local p = Z.Eyes
  430. p.Position = Player.Character.Head.Position
  431. p.Name = "Handle"
  432. p.Parent = h
  433. p.CanCollide = true
  434. p.Anchored = false
  435. h.AttachmentPoint = h.AttachmentPoint * CFrame.Angles(math.rad(90),math.rad(90),0) * CFrame.new(0,0.5,0) * CFrame.new(0.0,-0.2,0.04)
  436. local h = Instance.new("Hat",Player.Character)
  437. h.Name = "Zoom"
  438. local p = Z
  439. p.Position = Player.Character.Head.Position
  440. p.Name = "Handle"
  441. p.Parent = h
  442. p.CanCollide = true
  443. p.Anchored = false
  444. h.AttachmentPoint = h.AttachmentPoint * CFrame.Angles(0,math.rad(90),0) * CFrame.new(0,0.5,0)
  445. end)
  446. local Radius = Instance.new("TextBox",Gui)
  447. Radius.Text = "Tornado Radius"
  448. Radius.BackgroundColor3 = Color3.new(255,255,255)
  449. Radius.BorderColor3 = Color3.new(0,0,0)
  450. Radius.Size = UDim2.new(0,200,0,25)
  451. Radius.Position = UDim2.new(0,10,0.5,127.5)
  452. Radius.FocusLost:connect(function(EnterPressed)
  453. if EnterPressed then
  454. TornadoRadius = Radius.Text
  455. end
  456. end)
  457. local Fists = false
  458. Mouse.Button1Down:connect(function()
  459. if Mouse.Target.Parent:FindFirstChild("Humanoid") then
  460. if Fists == true then return end
  461. Fists = true
  462. local Humanoid = Mouse.Target.Parent:FindFirstChild("Humanoid")
  463. local Torso = Mouse.Target.Parent:FindFirstChild("Torso")
  464. local PTorso = Player.Character.Torso
  465. local Root = Player.Character.HumanoidRootPart
  466. local HeadC0 = Player.Character.Torso.Neck
  467. local Head = Player.Character.Head
  468. local LArm = Player.Character["Left Arm"]
  469. local RArm = Player.Character["Right Arm"]
  470. Torso.Anchored = true
  471. print(PTorso.Rotation)
  472. PTorso.Anchored = true
  473. PTorso["Right Shoulder"].C0 = PTorso["Right Shoulder"].C0 * CFrame.Angles(0,math.rad(40),math.rad(90))
  474. PTorso["Left Shoulder"].C0 = PTorso["Left Shoulder"].C0 * CFrame.Angles(0,0,-math.rad(45))
  475. Torso.CFrame = PTorso.CFrame * CFrame.new(1.3,0,-4) * CFrame.Angles(0,math.rad(180),0)
  476. local Turn1 = 2
  477. for i = 1,10,Turn1 do
  478. PTorso.CFrame = PTorso.CFrame * CFrame.Angles(0,-math.rad(Turn1*4),0)
  479. HeadC0.C0 = HeadC0.C0 * CFrame.Angles(0,0,-math.rad(Turn1*4))
  480. wait()
  481. end
  482. local Turn2 = 4
  483. for i = 1,20,Turn2 do
  484. Torso.CFrame = Torso.CFrame * CFrame.new(0,0,-0.5)
  485. PTorso.CFrame = PTorso.CFrame * CFrame.Angles(0,math.rad(Turn2*4),0)
  486. PTorso["Right Shoulder"].C0 = PTorso["Right Shoulder"].C0 * CFrame.Angles(-math.rad(Turn2*4),0,0)
  487. wait()
  488. end
  489. wait(1)
  490. local Turn3 = 4
  491. for i = 1,20,Turn3 do
  492. Torso.CFrame = Torso.CFrame * CFrame.new(0,0,0.5)
  493. PTorso["Right Shoulder"].C0 = PTorso["Right Shoulder"].C0 * CFrame.Angles(math.rad(Turn3*2),0,0)
  494. PTorso.CFrame = PTorso.CFrame * CFrame.Angles(0,-math.rad(Turn3*2),0)
  495. PTorso["Left Shoulder"].C0 = PTorso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.rad(Turn3*2.25))
  496. HeadC0.C0 = HeadC0.C0 * CFrame.Angles(0,0,math.rad(Turn1*4))
  497. wait()
  498. end
  499. local Turn4 = 3
  500. for i = 1,9,Turn4 do
  501. PTorso["Right Shoulder"].C0 = PTorso["Right Shoulder"].C0 * CFrame.Angles(0,0,-math.rad(Turn4*10))
  502. wait()
  503. end
  504. Torso.Anchored = false
  505. PTorso.Anchored = false
  506. Humanoid.Health = 0
  507. Fists = false
  508. end
  509. end)
  510. Mouse.KeyDown:connect(function(Key)
  511. if Key == "f" then
  512. if Portal == false then
  513. PortalFunction()
  514. Nil()
  515. else
  516. Portal = false
  517. end
  518. end
  519. if Key == "r" then
  520. if Phase == false then
  521. Phase = true
  522. PhaseFunction()
  523. print "PhaseFunction"
  524. else
  525. Phase = false
  526. end
  527. end
  528. if Key == "e" then
  529. if Tornado == false then
  530. Tornado = true
  531. TornadoFunction()
  532. else
  533. Tornado = false
  534. end
  535. end
  536. if Key == "t" then
  537. if Morph == false then
  538. Morph = true
  539. MorphFunction()
  540. else
  541. Morph = false
  542. end
  543. end
  544. if Key == "z" then
  545. if Aura == false then
  546. Aura = true
  547. else
  548. Aura = false
  549. end
  550. end
  551. end)
  552. end)
  553. Guis()
  554.  
  555. Run.RenderStepped:connect(function()
  556. if (Object.CFrame.p - PreviousP).magnitude > 10 and Player.Character.Humanoid.WalkSpeed > 25 and Portal == false and PortalEnd == false then
  557. local Model = Instance.new("Model",workspace)
  558. Model.Name = "Ray"
  559. local Humanoid = Instance.new("Humanoid",Model)
  560. if Player.Character:FindFirstChild("Shirt") ~= nil then
  561. Player.Character.Shirt:Clone().Parent = Model
  562. end
  563. if Player.Character:FindFirstChild("Pants") ~= nil then
  564. Player.Character.Pants:Clone().Parent = Model
  565. end
  566. local distance = (Object.CFrame.p - PreviousP).magnitude
  567. local Light = Instance.new("Part",Model)
  568. Light.Anchored = true
  569. Light.CanCollide = false
  570. Light.TopSurface = "SmoothNoOutlines"
  571. Light.BottomSurface = "SmoothNoOutlines"
  572. Light.BackSurface = "SmoothNoOutlines"
  573. Light.FrontSurface = "SmoothNoOutlines"
  574. Light.LeftSurface = "SmoothNoOutlines"
  575. Light.RightSurface = "SmoothNoOutlines"
  576. Light.Transparency = 1
  577. Light.BrickColor = BrickColor.Black()
  578. Light.Size = Vector3.new(2,2,distance)
  579. Light.CFrame = CFrame.new(Object.CFrame.p , PreviousP) * CFrame.new(0,0,-distance/2)
  580.  
  581. local PointLight = Instance.new("PointLight",Light)
  582. PointLight.Range = 15
  583. PointLight.Brightness = 100
  584. PointLight.Color = PColor
  585.  
  586. local distance = (Arm1.CFrame.p - PreviousA1).magnitude
  587.  
  588. local Arm1Light = Instance.new("Part",Model)
  589. Arm1Light.Name = "Right Arm"
  590. Arm1Light.Anchored = true
  591. Arm1Light.CanCollide = false
  592. Arm1Light.TopSurface = "SmoothNoOutlines"
  593. Arm1Light.BottomSurface = "SmoothNoOutlines"
  594. Arm1Light.BackSurface = "SmoothNoOutlines"
  595. Arm1Light.FrontSurface = "SmoothNoOutlines"
  596. Arm1Light.LeftSurface = "SmoothNoOutlines"
  597. Arm1Light.RightSurface = "SmoothNoOutlines"
  598. Arm1Light.Transparency = 0.5
  599. Arm1Light.BrickColor = BrickColor.Black()
  600. Arm1Light.Size = Vector3.new(1,2,distance)
  601. Arm1Light.CFrame = CFrame.new(Arm1.CFrame.p , PreviousA1) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  602.  
  603. local distance = (Arm2.CFrame.p - PreviousA2).magnitude
  604.  
  605. local Arm2Light = Instance.new("Part",Model)
  606. Arm2Light.Name = "Left Arm"
  607. Arm2Light.Anchored = true
  608. Arm2Light.CanCollide = false
  609. Arm2Light.TopSurface = "SmoothNoOutlines"
  610. Arm2Light.BottomSurface = "SmoothNoOutlines"
  611. Arm2Light.BackSurface = "SmoothNoOutlines"
  612. Arm2Light.FrontSurface = "SmoothNoOutlines"
  613. Arm2Light.LeftSurface = "SmoothNoOutlines"
  614. Arm2Light.RightSurface = "SmoothNoOutlines"
  615. Arm2Light.Transparency = 0.5
  616. Arm2Light.BrickColor = BrickColor.Black()
  617. Arm2Light.Size = Vector3.new(1,2,distance)
  618. Arm2Light.CFrame = CFrame.new(Arm2.CFrame.p , PreviousA2) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  619.  
  620. local distance = (Leg1.CFrame.p - PreviousL1).magnitude
  621.  
  622. local Leg1Light = Instance.new("Part",Model)
  623. Leg1Light.Name = "Right Leg"
  624. Leg1Light.Anchored = true
  625. Leg1Light.CanCollide = false
  626. Leg1Light.TopSurface = "SmoothNoOutlines"
  627. Leg1Light.BottomSurface = "SmoothNoOutlines"
  628. Leg1Light.BackSurface = "SmoothNoOutlines"
  629. Leg1Light.FrontSurface = "SmoothNoOutlines"
  630. Leg1Light.LeftSurface = "SmoothNoOutlines"
  631. Leg1Light.RightSurface = "SmoothNoOutlines"
  632. Leg1Light.Transparency = 0.5
  633. Leg1Light.BrickColor = BrickColor.Black()
  634. Leg1Light.Size = Vector3.new(1,2,distance)
  635. Leg1Light.CFrame = CFrame.new(Leg1.CFrame.p , PreviousL1) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  636.  
  637. local distance = (Leg2.CFrame.p - PreviousL2).magnitude
  638.  
  639. local Leg1Light = Instance.new("Part",Model)
  640. Leg1Light.Name = "Left Leg"
  641. Leg1Light.Anchored = true
  642. Leg1Light.CanCollide = false
  643. Leg1Light.TopSurface = "SmoothNoOutlines"
  644. Leg1Light.BottomSurface = "SmoothNoOutlines"
  645. Leg1Light.BackSurface = "SmoothNoOutlines"
  646. Leg1Light.FrontSurface = "SmoothNoOutlines"
  647. Leg1Light.LeftSurface = "SmoothNoOutlines"
  648. Leg1Light.RightSurface = "SmoothNoOutlines"
  649. Leg1Light.Transparency = 0.5
  650. Leg1Light.BrickColor = BrickColor.Black()
  651. Leg1Light.Size = Vector3.new(1,2,distance)
  652. Leg1Light.CFrame = CFrame.new(Leg2.CFrame.p , PreviousL2) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  653.  
  654. local Point1 = Instance.new("Part",Model)
  655. Point1.Transparency = 1
  656. Point1.Anchored = true
  657. Point1.CanCollide = false
  658. Point1.Size = Vector3.new(0.2,0.2,0.2)
  659. Point1.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  660. * CFrame.new(Light.Size.X/2 ,0 ,0)
  661. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  662. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  663.  
  664. local Point2 = Instance.new("Part",Model)
  665. Point2.Transparency = 1
  666. Point2.Anchored = true
  667. Point2.CanCollide = false
  668. Point2.Size = Vector3.new(0.2,0.2,0.2)
  669. Point2.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  670. * CFrame.new(Light.Size.X/2 ,0 ,0)
  671. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  672. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  673.  
  674. local Point5 = Instance.new("Part",Model)
  675. Point5.Transparency = 1
  676. Point5.Anchored = true
  677. Point5.CanCollide = false
  678. Point5.Size = Vector3.new(0.2,0.2,0.2)
  679. Point5.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  680. * CFrame.new(Light.Size.X/2 ,0 ,0)
  681. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  682. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  683.  
  684. local Point6 = Instance.new("Part",Model)
  685. Point6.Transparency = 1
  686. Point6.Anchored = true
  687. Point6.CanCollide = false
  688. Point6.Size = Vector3.new(0.2,0.2,0.2)
  689. Point6.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  690. * CFrame.new(Light.Size.X/2 ,0 ,0)
  691. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  692. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  693.  
  694. local Point3 = Instance.new("Part",Model)
  695. Point3.Transparency = 1
  696. Point3.Anchored = true
  697. Point3.CanCollide = false
  698. Point3.Size = Vector3.new(0.2,0.2,0.2)
  699. Point3.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  700. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  701. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  702. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  703.  
  704. local Point4 = Instance.new("Part",Model)
  705. Point4.Transparency = 1
  706. Point4.Anchored = true
  707. Point4.CanCollide = false
  708. Point4.Size = Vector3.new(0.2,0.2,0.2)
  709. Point4.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  710. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  711. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  712. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  713.  
  714. local Point7 = Instance.new("Part",Model)
  715. Point7.Transparency = 1
  716. Point7.Anchored = true
  717. Point7.CanCollide = false
  718. Point7.Size = Vector3.new(0.2,0.2,0.2)
  719. Point7.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  720. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  721. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  722. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  723.  
  724. local Point8 = Instance.new("Part",Model)
  725. Point8.Transparency = 1
  726. Point8.Anchored = true
  727. Point8.CanCollide = false
  728. Point8.Size = Vector3.new(0.2,0.2,0.2)
  729. Point8.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  730. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  731. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  732. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  733.  
  734. local Point9 = Instance.new("Part",Model)
  735. Point9.Transparency = 1
  736. Point9.Anchored = true
  737. Point9.CanCollide = false
  738. Point9.Size = Vector3.new(0.2,0.2,0.2)
  739. Point9.CFrame = Light.CFrame * CFrame.new(0,-1,-Light.Size.Z/2)
  740. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  741. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  742. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  743.  
  744. local Point10 = Instance.new("Part",Model)
  745. Point10.Transparency = 1
  746. Point10.Anchored = true
  747. Point10.CanCollide = false
  748. Point10.Size = Vector3.new(0.2,0.2,0.2)
  749. Point10.CFrame = Light.CFrame * CFrame.new(0,-1,Light.Size.Z/2)
  750. * CFrame.new(Light.Size.X/2 ,0 ,0)
  751. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  752. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  753.  
  754. local Point11 = Instance.new("Part",Model)
  755. Point11.Transparency = 1
  756. Point11.Anchored = true
  757. Point11.CanCollide = false
  758. Point11.Size = Vector3.new(0.2,0.2,0.2)
  759. Point11.CFrame = Light.CFrame * CFrame.new(0,-1,-Light.Size.Z/2)
  760. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  761. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  762. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  763.  
  764. local Point12 = Instance.new("Part",Model)
  765. Point12.Transparency = 1
  766. Point12.Anchored = true
  767. Point12.CanCollide = false
  768. Point12.Size = Vector3.new(0.2,0.2,0.2)
  769. Point12.CFrame = Light.CFrame * CFrame.new(0,-1,Light.Size.Z/2)
  770. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  771. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  772. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  773.  
  774. if PrevPoint2 == nil or PrevPoint2 == "Empty" then
  775. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  776. local Light = Instance.new("Part",Model)
  777. Light.Anchored = true
  778. Light.CanCollide = false
  779. Light.TopSurface = "SmoothNoOutlines"
  780. Light.BottomSurface = "SmoothNoOutlines"
  781. Light.BackSurface = "SmoothNoOutlines"
  782. Light.FrontSurface = "SmoothNoOutlines"
  783. Light.LeftSurface = "SmoothNoOutlines"
  784. Light.RightSurface = "SmoothNoOutlines"
  785. Light.Transparency = 0.6
  786. Light.Size = Vector3.new(0.4,0.4,distance)
  787. Light.Material = "Neon"
  788. Light.BrickColor = Color
  789. local SelectionBox = Instance.new("SelectionBox",Light)
  790. SelectionBox.Transparency = 0.7
  791. SelectionBox.Color = Color
  792. SelectionBox.Adornee = Light
  793. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  794. elseif PrevPoint2 ~= nil then
  795. local distance = (Point2.CFrame.p - PrevPoint2).magnitude
  796. local Light = Instance.new("Part",Model)
  797. Light.Anchored = true
  798. Light.CanCollide = false
  799. Light.TopSurface = "SmoothNoOutlines"
  800. Light.BottomSurface = "SmoothNoOutlines"
  801. Light.BackSurface = "SmoothNoOutlines"
  802. Light.FrontSurface = "SmoothNoOutlines"
  803. Light.LeftSurface = "SmoothNoOutlines"
  804. Light.RightSurface = "SmoothNoOutlines"
  805. Light.Transparency = 0.6
  806. Light.Size = Vector3.new(0.4,0.4,distance)
  807. Light.Material = "Plastic"
  808. Light.BrickColor = Color
  809. local SelectionBox = Instance.new("SelectionBox",Light)
  810. SelectionBox.Transparency = 0.7
  811. SelectionBox.Color = Color
  812. SelectionBox.Adornee = Light
  813. Light.CFrame = CFrame.new(Point2.CFrame.p , PrevPoint2) * CFrame.new(0,0,-distance/2)
  814. end
  815.  
  816. if PrevPoint4 == nil or PrevPoint4 == "Empty" then
  817. local distance = (Point4.CFrame.p - Point3.CFrame.p).magnitude
  818. local Light = Instance.new("Part",Model)
  819. Light.Anchored = true
  820. Light.CanCollide = false
  821. Light.TopSurface = "SmoothNoOutlines"
  822. Light.BottomSurface = "SmoothNoOutlines"
  823. Light.BackSurface = "SmoothNoOutlines"
  824. Light.FrontSurface = "SmoothNoOutlines"
  825. Light.LeftSurface = "SmoothNoOutlines"
  826. Light.RightSurface = "SmoothNoOutlines"
  827. Light.Transparency = 0.6
  828. Light.Size = Vector3.new(0.4,0.4,distance)
  829. Light.Material = "Neon"
  830. Light.BrickColor = Color
  831. local SelectionBox = Instance.new("SelectionBox",Light)
  832. SelectionBox.Transparency = 0.7
  833. SelectionBox.Color = Color
  834. SelectionBox.Adornee = Light
  835. Light.CFrame = CFrame.new(Point4.CFrame.p , Point3.CFrame.p) * CFrame.new(0,0,-distance/2)
  836. elseif PrevPoint4 ~= nil then
  837. local distance = (Point4.CFrame.p - PrevPoint4).magnitude
  838. local Light = Instance.new("Part",Model)
  839. Light.Anchored = true
  840. Light.CanCollide = false
  841. Light.TopSurface = "SmoothNoOutlines"
  842. Light.BottomSurface = "SmoothNoOutlines"
  843. Light.BackSurface = "SmoothNoOutlines"
  844. Light.FrontSurface = "SmoothNoOutlines"
  845. Light.LeftSurface = "SmoothNoOutlines"
  846. Light.RightSurface = "SmoothNoOutlines"
  847. Light.Transparency = 0.6
  848. Light.Size = Vector3.new(0.4,0.4,distance)
  849. Light.Material = "Neon"
  850. Light.BrickColor = Color
  851. local SelectionBox = Instance.new("SelectionBox",Light)
  852. SelectionBox.Transparency = 0.7
  853. SelectionBox.Color = Color
  854. SelectionBox.Adornee = Light
  855. Light.CFrame = CFrame.new(Point4.CFrame.p , PrevPoint4) * CFrame.new(0,0,-distance/2)
  856. end
  857.  
  858.  
  859. if PrevPoint6 == nil or PrevPoint6 == "Empty" then
  860. local distance = (Point6.CFrame.p - Point5.CFrame.p).magnitude
  861. local Light = Instance.new("Part",Model)
  862. Light.Anchored = true
  863. Light.CanCollide = false
  864. Light.TopSurface = "SmoothNoOutlines"
  865. Light.BottomSurface = "SmoothNoOutlines"
  866. Light.BackSurface = "SmoothNoOutlines"
  867. Light.FrontSurface = "SmoothNoOutlines"
  868. Light.LeftSurface = "SmoothNoOutlines"
  869. Light.RightSurface = "SmoothNoOutlines"
  870. Light.Transparency = 0.6
  871. Light.Size = Vector3.new(0.4,0.4,distance)
  872. Light.Material = "Neon"
  873. Light.BrickColor = Color
  874. local SelectionBox = Instance.new("SelectionBox",Light)
  875. SelectionBox.Transparency = 0.7
  876. SelectionBox.Color = Color
  877. SelectionBox.Adornee = Light
  878. Light.CFrame = CFrame.new(Point6.CFrame.p , Point5.CFrame.p) * CFrame.new(0,0,-distance/2)
  879. elseif PrevPoint6 ~= nil then
  880. local distance = (Point6.CFrame.p - PrevPoint6).magnitude
  881. local Light = Instance.new("Part",Model)
  882. Light.Anchored = true
  883. Light.CanCollide = false
  884. Light.TopSurface = "SmoothNoOutlines"
  885. Light.BottomSurface = "SmoothNoOutlines"
  886. Light.BackSurface = "SmoothNoOutlines"
  887. Light.FrontSurface = "SmoothNoOutlines"
  888. Light.LeftSurface = "SmoothNoOutlines"
  889. Light.RightSurface = "SmoothNoOutlines"
  890. Light.Transparency = 0.6
  891. Light.Size = Vector3.new(0.4,0.4,distance)
  892. Light.Material = "Neon"
  893. Light.BrickColor = Color
  894. local SelectionBox = Instance.new("SelectionBox",Light)
  895. SelectionBox.Transparency = 0.7
  896. SelectionBox.Color = Color
  897. SelectionBox.Adornee = Light
  898. Light.CFrame = CFrame.new(Point6.CFrame.p , PrevPoint6) * CFrame.new(0,0,-distance/2)
  899. end
  900.  
  901. if PrevPoint8 == nil or PrevPoint8 == "Empty" then
  902. local distance = (Point8.CFrame.p - Point7.CFrame.p).magnitude
  903. local Light = Instance.new("Part",Model)
  904. Light.Anchored = true
  905. Light.CanCollide = false
  906. Light.TopSurface = "SmoothNoOutlines"
  907. Light.BottomSurface = "SmoothNoOutlines"
  908. Light.BackSurface = "SmoothNoOutlines"
  909. Light.FrontSurface = "SmoothNoOutlines"
  910. Light.LeftSurface = "SmoothNoOutlines"
  911. Light.RightSurface = "SmoothNoOutlines"
  912. Light.Transparency = 0.6
  913. Light.Size = Vector3.new(0.4,0.4,distance)
  914. Light.Material = "Neon"
  915. Light.BrickColor = Color
  916. local SelectionBox = Instance.new("SelectionBox",Light)
  917. SelectionBox.Transparency = 0.7
  918. SelectionBox.Color = Color
  919. SelectionBox.Adornee = Light
  920. Light.CFrame = CFrame.new(Point8.CFrame.p , Point7.CFrame.p) * CFrame.new(0,0,-distance/2)
  921. elseif PrevPoint8 ~= nil then
  922. local distance = (Point8.CFrame.p - PrevPoint8).magnitude
  923. local Light = Instance.new("Part",Model)
  924. Light.Anchored = true
  925. Light.CanCollide = false
  926. Light.TopSurface = "SmoothNoOutlines"
  927. Light.BottomSurface = "SmoothNoOutlines"
  928. Light.BackSurface = "SmoothNoOutlines"
  929. Light.FrontSurface = "SmoothNoOutlines"
  930. Light.LeftSurface = "SmoothNoOutlines"
  931. Light.RightSurface = "SmoothNoOutlines"
  932. Light.Transparency = 0.6
  933. Light.Size = Vector3.new(0.4,0.4,distance)
  934. Light.Material = "Neon"
  935. Light.BrickColor = Color
  936. local SelectionBox = Instance.new("SelectionBox",Light)
  937. SelectionBox.Transparency = 0.7
  938. SelectionBox.Color = Color
  939. SelectionBox.Adornee = Light
  940. Light.CFrame = CFrame.new(Point8.CFrame.p , PrevPoint8) * CFrame.new(0,0,-distance/2)
  941. end
  942.  
  943. if PrevPoint10 == nil or PrevPoint10 == "Empty" then
  944. local distance = (Point10.CFrame.p - Point9.CFrame.p).magnitude
  945. local Light = Instance.new("Part",Model)
  946. Light.Anchored = true
  947. Light.CanCollide = false
  948. Light.TopSurface = "SmoothNoOutlines"
  949. Light.BottomSurface = "SmoothNoOutlines"
  950. Light.BackSurface = "SmoothNoOutlines"
  951. Light.FrontSurface = "SmoothNoOutlines"
  952. Light.LeftSurface = "SmoothNoOutlines"
  953. Light.RightSurface = "SmoothNoOutlines"
  954. Light.Transparency = 0.6
  955. Light.Size = Vector3.new(0.4,0.4,distance)
  956. Light.Material = "Neon"
  957. Light.BrickColor = Color
  958. local SelectionBox = Instance.new("SelectionBox",Light)
  959. SelectionBox.Transparency = 0.7
  960. SelectionBox.Color = Color
  961. SelectionBox.Adornee = Light
  962. Light.CFrame = CFrame.new(Point10.CFrame.p , Point9.CFrame.p) * CFrame.new(0,0,-distance/2)
  963. elseif PrevPoint10 ~= nil then
  964. local distance = (Point10.CFrame.p - PrevPoint10).magnitude
  965. local Light = Instance.new("Part",Model)
  966. Light.Anchored = true
  967. Light.CanCollide = false
  968. Light.TopSurface = "SmoothNoOutlines"
  969. Light.BottomSurface = "SmoothNoOutlines"
  970. Light.BackSurface = "SmoothNoOutlines"
  971. Light.FrontSurface = "SmoothNoOutlines"
  972. Light.LeftSurface = "SmoothNoOutlines"
  973. Light.RightSurface = "SmoothNoOutlines"
  974. Light.Transparency = 0.6
  975. Light.Size = Vector3.new(0.4,0.4,distance)
  976. Light.Material = "Neon"
  977. Light.BrickColor = Color
  978. local SelectionBox = Instance.new("SelectionBox",Light)
  979. SelectionBox.Transparency = 0.7
  980. SelectionBox.Color = Color
  981. SelectionBox.Adornee = Light
  982. Light.CFrame = CFrame.new(Point10.CFrame.p , PrevPoint10) * CFrame.new(0,0,-distance/2)
  983. end
  984.  
  985.  
  986. if PrevPoint12 == nil or PrevPoint12 == "Empty" then
  987. local distance = (Point12.CFrame.p - Point11.CFrame.p).magnitude
  988. local Light = Instance.new("Part",Model)
  989. Light.Anchored = true
  990. Light.CanCollide = false
  991. Light.TopSurface = "SmoothNoOutlines"
  992. Light.BottomSurface = "SmoothNoOutlines"
  993. Light.BackSurface = "SmoothNoOutlines"
  994. Light.FrontSurface = "SmoothNoOutlines"
  995. Light.LeftSurface = "SmoothNoOutlines"
  996. Light.RightSurface = "SmoothNoOutlines"
  997. Light.Transparency = 0.6
  998. Light.Size = Vector3.new(0.4,0.4,distance)
  999. Light.Material = "Neon"
  1000. Light.BrickColor = Color
  1001. local SelectionBox = Instance.new("SelectionBox",Light)
  1002. SelectionBox.Transparency = 0.7
  1003. SelectionBox.Color = Color
  1004. SelectionBox.Adornee = Light
  1005. Light.CFrame = CFrame.new(Point12.CFrame.p , Point11.CFrame.p) * CFrame.new(0,0,-distance/2)
  1006. elseif PrevPoint12 ~= nil then
  1007. local distance = (Point12.CFrame.p - PrevPoint12).magnitude
  1008. local Light = Instance.new("Part",Model)
  1009. Light.Anchored = true
  1010. Light.CanCollide = false
  1011. Light.TopSurface = "SmoothNoOutlines"
  1012. Light.BottomSurface = "SmoothNoOutlines"
  1013. Light.BackSurface = "SmoothNoOutlines"
  1014. Light.FrontSurface = "SmoothNoOutlines"
  1015. Light.LeftSurface = "SmoothNoOutlines"
  1016. Light.RightSurface = "SmoothNoOutlines"
  1017. Light.Transparency = 0.6
  1018. Light.Size = Vector3.new(0.4,0.4,distance)
  1019. Light.Material = "Neon"
  1020. Light.BrickColor = Color
  1021. local SelectionBox = Instance.new("SelectionBox",Light)
  1022. SelectionBox.Transparency = 0.7
  1023. SelectionBox.Color = Color
  1024. SelectionBox.Adornee = Light
  1025. Light.CFrame = CFrame.new(Point12.CFrame.p , PrevPoint12) * CFrame.new(0,0,-distance/2)
  1026. end
  1027. PreviousP = Object.CFrame.p
  1028. PreviousA1 = Arm1.CFrame.p
  1029. PreviousA2 = Arm2.CFrame.p
  1030. PreviousL1 = Leg1.CFrame.p
  1031. PreviousL2 = Leg2.CFrame.p
  1032. PrevPoint1 = Point1.CFrame.p
  1033. PrevPoint2 = Point2.CFrame.p
  1034. PrevPoint3 = Point3.CFrame.p
  1035. PrevPoint4 = Point4.CFrame.p
  1036. PrevPoint5 = Point5.CFrame.p
  1037. PrevPoint6 = Point6.CFrame.p
  1038. PrevPoint7 = Point7.CFrame.p
  1039. PrevPoint8 = Point8.CFrame.p
  1040. PrevPoint9 = Point9.CFrame.p
  1041. PrevPoint10 = Point10.CFrame.p
  1042. PrevPoint11 = Point11.CFrame.p
  1043. PrevPoint12 = Point12.CFrame.p
  1044. local Children = Model:GetChildren()
  1045. wait(1)
  1046. for i = 1,6 do
  1047. local Remove = coroutine.wrap(function()
  1048. for i = 1,#Children do
  1049. if Children[i]:IsA("Part") then
  1050. Children[i].Transparency = Children[i].Transparency + 0.1
  1051. if Children[i].Transparency >= 1 and Children[i] ~= Light and Children[i] ~= Point1 and Children[i] ~= Point2 and Children[i] ~= Point3
  1052. and Children[i] ~= Point4 and Children[i] ~= Point5 and Children[i] ~= Point6 and Children[i] ~= Point7 and Children[i] ~= Point8
  1053. and Children[i] ~= Point9 and Children[i] ~= Point10 and Children[i] ~= Point11 and Children[i] ~= Point12 then
  1054. game.Debris:AddItem(Children[i],0)
  1055. end
  1056. end
  1057. if Children[i].ClassName ~= "Part" then
  1058. game.Debris:AddItem(Children[i],0)
  1059. end
  1060. end
  1061. end)
  1062. Remove()
  1063. wait(0.05)
  1064. end
  1065. game.Debris:AddItem(Light,0)
  1066. game.Debris:AddItem(Point1,0)
  1067. game.Debris:AddItem(Point2,0)
  1068. game.Debris:AddItem(Point3,0)
  1069. game.Debris:AddItem(Point4,0)
  1070. game.Debris:AddItem(Point5,0)
  1071. game.Debris:AddItem(Point6,0)
  1072. game.Debris:AddItem(Point7,0)
  1073. game.Debris:AddItem(Point8,0)
  1074. game.Debris:AddItem(Point9,0)
  1075. game.Debris:AddItem(Point10,0)
  1076. game.Debris:AddItem(Point11,0)
  1077. game.Debris:AddItem(Point12,0)
  1078. end
  1079. end)--[[
  1080. ______ __ __ ____ __ ______
  1081. / _/ _/ / \/ \ / __/___ __ _______/ /_ / / /
  1082. / // / / /\/ /\ \ __/ /_/ __ \/ / / / ___/ __ \ / // /
  1083. / // / / / /_/ \ \/_ __/ /_/ / /_/ / / / /_/ / / // /
  1084. / // / /_/ \_\/_/ \____/\__,_/_/ /_.___/ _/ // /
  1085. /__/__/ /__/__/
  1086.  
  1087. --]]
  1088.  
  1089. wait()
  1090. Player = game.Players.LocalPlayer
  1091. Object = Player.Character.HumanoidRootPart
  1092. Arm1 = Player.Character["Right Arm"]
  1093. PreviousA1 = Arm1.CFrame.p
  1094. Arm2 = Player.Character["Left Arm"]
  1095. PreviousA2 = Arm2.CFrame.p
  1096.  
  1097. Leg1 = Player.Character["Right Leg"]
  1098. PreviousL1 = Leg1.CFrame.p
  1099. Leg2 = Player.Character["Left Leg"]
  1100. PreviousL2 = Leg2.CFrame.p
  1101.  
  1102. Run = game["Run Service"]
  1103.  
  1104. script.Parent = Player.Backpack
  1105.  
  1106. PreviousP = Object.CFrame.p
  1107. Running = false
  1108. Phase = false
  1109. PhaseActive = false
  1110. Morph = false
  1111. MorphActive = false
  1112. Tornado = false
  1113. TornadoRadius = 50
  1114. TornadoActive = false
  1115. Aura = false
  1116. Portal = false
  1117. PortalEnd = false
  1118. MaxZ = 15
  1119. MinZ = -15
  1120. LightMaxX = 5
  1121. LightMinX = 0
  1122. LightMaxX2 = 0
  1123. LightMinX2 = -5
  1124. LightMaxY = 5
  1125. LightMinY = -1
  1126. Rotation = 0
  1127. Length = 10
  1128. Color = BrickColor.Yellow()
  1129. PColor = Color3.new(255,255,0)
  1130. PrevPoint1 = nil
  1131. PrevPoint2 = nil
  1132. PrevPoint3 = nil
  1133. PrevPoint4 = nil
  1134. PrevPoint5 = nil
  1135. PrevPoint6 = nil
  1136. PrevPoint7 = nil
  1137. PrevPoint8 = nil
  1138. PrevPoint9 = nil
  1139. PrevPoint10 = nil
  1140. PrevPoint11 = nil
  1141. PrevPoint12 = nil
  1142. angle = 0
  1143. Mouse = Player:GetMouse()
  1144. Player.Character.Humanoid.WalkSpeed = 100
  1145.  
  1146. Nil = function()
  1147. PrevPoint1 = "Empty"
  1148. PrevPoint2 = "Empty"
  1149. PrevPoint3 = "Empty"
  1150. PrevPoint4 = "Empty"
  1151. PrevPoint5 = "Empty"
  1152. PrevPoint6 = "Empty"
  1153. PrevPoint7 = "Empty"
  1154. PrevPoint8 = "Empty"
  1155. PrevPoint9 = "Empty"
  1156. PrevPoint10 = "Empty"
  1157. PrevPoint11 = "Empty"
  1158. PrevPoint12 = "Empty"
  1159. end
  1160.  
  1161. local Lightning = coroutine.wrap(function()
  1162. while Run.Stepped:wait() do
  1163. if Portal == false and Aura == true then
  1164. PreviousSpot = Player.Character.Torso.CFrame * CFrame.new(math.random(-2,2),math.random(-3,2),math.random(-1,1))
  1165. local Model = Instance.new("Model",workspace)
  1166. for Parts = 1,10 do
  1167. local Light = Instance.new("Part",Model)
  1168. Light.CanCollide = false
  1169. Light.Anchored = true
  1170. Light.BrickColor = Color
  1171. Light.Material = "Neon"
  1172. local PLight = Instance.new("PointLight",Light)
  1173. PLight.Color = PColor
  1174. local Point1 = Instance.new("Part",Model)
  1175. Point1.CanCollide = false
  1176. Point1.Anchored = true
  1177. Point1.Size = Vector3.new(0.2,0.2,0.2)
  1178. Point1.CFrame = PreviousSpot
  1179. Point1.Transparency = 1
  1180. local Point2 = Instance.new("Part",Model)
  1181. Point2.CanCollide = false
  1182. Point2.Anchored = true
  1183. Point2.Size = Vector3.new(0.2,0.2,0.2)
  1184. Point2.Transparency = 1
  1185. Point2.CFrame = Player.Character.Torso.CFrame * CFrame.new(math.random(-100,100)*0.025,math.random(-100,100)*0.03,math.random(-100,100)*0.01)
  1186. local Distance = (Point1.CFrame.p-Point2.CFrame.p).magnitude
  1187. Light.Size = Vector3.new(0.2,0.2,Distance)
  1188. Light.CFrame = CFrame.new(Point1.CFrame.p,Point2.CFrame.p) * CFrame.new(0,0,-Distance/2)
  1189. PreviousSpot = Point2.CFrame
  1190. end
  1191. local Children = Model:GetChildren()
  1192. wait(0.1)
  1193. for i = 1,#Children do
  1194. if Children[i]:IsA("Part") then
  1195. Children[i].Transparency = 1
  1196. end
  1197. game.Debris:AddItem(Children[i],0)
  1198. end
  1199. end
  1200. end
  1201. end)
  1202. Lightning()
  1203.  
  1204. TornadoFunction = function()
  1205. local TornadoModel = Instance.new("Model",workspace)
  1206. local Center = Instance.new("Part",TornadoModel)
  1207. Center.Anchored = true
  1208. Center.CanCollide = false
  1209. Center.Transparency = 1
  1210. Center.Size = Vector3.new(2,2,2)
  1211. Center.CFrame = Object.CFrame * CFrame.new(0,0,-20)
  1212. local Death = Instance.new("Part",TornadoModel)
  1213. Death.Anchored = true
  1214. Death.CanCollide = false
  1215. Death.Transparency = 1
  1216. Death.Size = Vector3.new(TornadoRadius+15,TornadoRadius+15,TornadoRadius+15)
  1217. Death.CFrame = Center.CFrame
  1218. Death.Touched:connect(function(Touch)
  1219. if Touch.Parent:FindFirstChild("Humanoid") ~= nil and Touch.Parent.Name ~= Player.Name then
  1220. Touch.Parent.Humanoid.Health = 0
  1221. end
  1222. end)
  1223. local TornadoFunc = function()
  1224. local Tornanimation = coroutine.wrap(function()
  1225. while Run.Stepped:wait() do
  1226. if Tornado == false then Death:Destroy() break end
  1227. angle = angle + 0.1
  1228. Death.CFrame = Death.CFrame * CFrame.Angles(0.1,0.1,0.1)
  1229. Object.Anchored = false
  1230. Object.CFrame = Center.CFrame * CFrame.Angles(0,angle,0) * CFrame.new(0,0,TornadoRadius)
  1231. Object.CFrame = Object.CFrame * CFrame.Angles(0,-math.rad(90),0)
  1232. end
  1233. end)
  1234. Tornanimation()
  1235. end
  1236. TornadoFunc()
  1237. end
  1238.  
  1239. PhaseFunction = function()
  1240. local Phase = coroutine.wrap(function()
  1241. while wait() do
  1242. if Phase == false then break end
  1243. if Player.Character.Humanoid.WalkSpeed > 50 and Phase == true then
  1244. Object.CFrame = Object.CFrame * CFrame.new(0,0,-Player.Character.Humanoid.WalkSpeed/20)
  1245. end
  1246. end
  1247. end)
  1248. Phase()
  1249. end
  1250.  
  1251.  
  1252. PortalFunction = function()
  1253. local PortalBlock = Instance.new("Part",workspace)
  1254. PortalBlock.CFrame = Object.CFrame * CFrame.new(0,0,-100)
  1255. PortalBlock.Transparency = 1
  1256. PortalBlock.Anchored = true
  1257. PortalBlock.CanCollide = false
  1258. PortalBlock.Size = Vector3.new(20,20,0.2)
  1259. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.new(0,(PortalBlock.Size.Y/2),0)
  1260. local Gui = Instance.new("SurfaceGui",PortalBlock)
  1261. local Img = Instance.new("ImageLabel",Gui)
  1262. Img.Size = UDim2.new(2,0,2,0)
  1263. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  1264. Img.Transparency = 1
  1265. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  1266. local Gui = Instance.new("SurfaceGui",PortalBlock)
  1267. Gui.Face = "Back"
  1268. local Img = Instance.new("ImageLabel",Gui)
  1269. Img.Size = UDim2.new(2,0,2,0)
  1270. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  1271. Img.Transparency = 1
  1272. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  1273. Object.CFrame = PortalBlock.CFrame
  1274. local Face = Object.Parent.Head.face.Texture
  1275. local ObjectC = Object.Parent:GetChildren()
  1276. for i = 1,#ObjectC do
  1277. if ObjectC[i]:IsA("Part") and ObjectC[i].Name ~= "HumanoidRootPart" then
  1278. ObjectC[i].Transparency = 1
  1279. elseif ObjectC[i]:IsA("Hat") then
  1280. ObjectC[i].Handle.Transparency = 1
  1281. end
  1282. if ObjectC[i].Name == "Head" then
  1283. ObjectC[i].face.Texture = ""
  1284. end
  1285. end
  1286. local PortalR = coroutine.wrap(function()
  1287. wait(0.1)
  1288. Portal = true
  1289. PortalEnd = true
  1290. while wait(0.001) do
  1291. if Portal == false then
  1292. break
  1293. end
  1294. Nil()
  1295. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.Angles(0,0,-0.1)
  1296. wait(0.01)
  1297. end
  1298. PortalBlock:Destroy()
  1299. for i = 1,#ObjectC do
  1300. if ObjectC[i]:IsA("Part") and ObjectC[i].Name ~= "HumanoidRootPart" then
  1301. ObjectC[i].Transparency = 0
  1302. elseif ObjectC[i]:IsA("Hat") then
  1303. ObjectC[i].Handle.Transparency = 0
  1304. end
  1305. if ObjectC[i].Name == "Head" then
  1306. ObjectC[i].face.Texture = Face
  1307. end
  1308. end
  1309. for i,v in pairs(Player.Character:GetChildren()) do
  1310. if v.Name == "Part" then
  1311. v:Destroy()
  1312. end
  1313. end
  1314. local PortalBlock = Instance.new("Part",workspace)
  1315. PortalBlock.CFrame = Object.CFrame * CFrame.new(0,0,0)
  1316. PortalBlock.Transparency = 1
  1317. PortalBlock.Anchored = true
  1318. PortalBlock.CanCollide = false
  1319. PortalBlock.Size = Vector3.new(20,20,0.2)
  1320. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.new(0,(PortalBlock.Size.Y/2),0)
  1321. local Gui = Instance.new("SurfaceGui",PortalBlock)
  1322. local Img = Instance.new("ImageLabel",Gui)
  1323. Img.Size = UDim2.new(2,0,2,0)
  1324. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  1325. Img.Transparency = 1
  1326. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  1327. local Gui = Instance.new("SurfaceGui",PortalBlock)
  1328. Gui.Face = "Back"
  1329. local Img = Instance.new("ImageLabel",Gui)
  1330. Img.Size = UDim2.new(2,0,2,0)
  1331. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  1332. Img.Transparency = 1
  1333. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  1334. Object.CFrame = PortalBlock.CFrame
  1335. PreviousA1 = Arm1.CFrame.p
  1336. PreviousA2 = Arm2.CFrame.p
  1337. PreviousL1 = Leg1.CFrame.p
  1338. PreviousL2 = Leg2.CFrame.p
  1339. PreviousP = Object.CFrame.p
  1340. PortalEnd = false
  1341. wait(2)
  1342. PortalBlock:Destroy()
  1343. end)
  1344. PortalR()
  1345. end
  1346.  
  1347. MorphFunction = function()
  1348. local MaxX = 100
  1349. local MinX = -100
  1350. local MaxY = 100
  1351. local MinY = -100
  1352. local MaxZ = 100
  1353. local MinZ = -100
  1354. local Morph = coroutine.wrap(function()
  1355. while Run.Stepped:wait(0.1) do
  1356. if Morph == false then break end
  1357. local Model = Instance.new("Model",workspace)
  1358. for i,v in pairs(Player.Character:GetChildren()) do
  1359. if v:IsA("CharacterMesh") then
  1360. v:Clone().Parent = Model
  1361. end
  1362. if v:IsA("Shirt") then
  1363. v:Clone().Parent = Model
  1364. end
  1365. if v:IsA("Pants") then
  1366. v:Clone().Parent = Model
  1367. end
  1368. end
  1369. local Humanoid = Instance.new("Humanoid",Model)
  1370. local LeftArm = Player.Character["Left Arm"]:Clone()
  1371. LeftArm.Parent = Model
  1372. LeftArm.Transparency = 0.4
  1373. LeftArm.Anchored = true
  1374. LeftArm.CFrame = Player.Character["Left Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  1375. local RightArm = Player.Character["Right Arm"]:Clone()
  1376. RightArm.Parent = Model
  1377. RightArm.Transparency = 0.4
  1378. RightArm.Anchored = true
  1379. RightArm.CFrame = Player.Character["Right Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  1380. local LeftLeg = Player.Character["Left Leg"]:Clone()
  1381. LeftLeg.Parent = Model
  1382. LeftLeg.Transparency = 0.4
  1383. LeftLeg.Anchored = true
  1384. LeftLeg.CFrame = Player.Character["Left Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  1385. local RightLeg = Player.Character["Right Leg"]:Clone()
  1386. RightLeg.Parent = Model
  1387. RightLeg.Transparency = 0.4
  1388. RightLeg.Anchored = true
  1389. RightLeg.CFrame = Player.Character["Right Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  1390. local Children = Model:GetChildren()
  1391. wait(0.01)
  1392. for i = 1,#Children do
  1393. if Children[i]:IsA("Part") then
  1394. Children[i].Transparency = 1
  1395. end
  1396. game.Debris:AddItem(Children[i],0)
  1397. end
  1398. end
  1399. end)
  1400. Morph()
  1401. end
  1402.  
  1403. local Guis = coroutine.wrap(function()
  1404. local Gui = Instance.new("ScreenGui",Player.PlayerGui)
  1405. local TextBox = Instance.new("TextBox",Gui)
  1406. TextBox.Text = "Speed"
  1407. TextBox.BackgroundColor3 = Color3.new(255,255,255)
  1408. TextBox.BorderColor3 = Color3.new(0,0,0)
  1409. TextBox.Size = UDim2.new(0,200,0,25)
  1410. TextBox.Position = UDim2.new(0,10,0.5,-12.5)
  1411. TextBox.FocusLost:connect(function(EnterPressed)
  1412. if EnterPressed then
  1413. Player.Character.Humanoid.WalkSpeed = TextBox.Text
  1414. end
  1415. end)
  1416. local Flash = Instance.new("TextButton",Gui)
  1417. Flash.BackgroundColor3 = Color3.new(255,255,255)
  1418. Flash.BorderColor3 = Color3.new(0,0,0)
  1419. Flash.Size = UDim2.new(0,200,0,25)
  1420. Flash.Position = UDim2.new(0,10,0.5,22.5)
  1421. Flash.Text = "The Flash"
  1422. Flash.MouseButton1Click:connect(function()
  1423. Color = BrickColor.Yellow()
  1424. PColor = Color3.new(255,255,0)
  1425. local Remove = Player.Character:GetChildren()
  1426. local F = game:GetObjects("rbxassetid://424603880")[1]
  1427. for i = 1,#Remove do
  1428. if Remove[i].ClassName == "Hat" or Remove[i]:IsA("Shirt") or Remove[i]:IsA("Pants") then
  1429. Remove[i]:Destroy()
  1430. end
  1431. end
  1432. local Shirt = Instance.new("Shirt",Player.Character)
  1433. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=286033023"
  1434. local Pants = Instance.new("Pants",Player.Character)
  1435. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=286030307"
  1436. local h = Instance.new("Hat",Player.Character)
  1437. h.Name = "Zoom"
  1438. local p = F
  1439. p.Position = Player.Character.Head.Position
  1440. p.Name = "Handle"
  1441. p.Parent = h
  1442. p.CanCollide = true
  1443. p.Anchored = false
  1444. h.AttachmentPoint = h.AttachmentPoint * CFrame.Angles(0,math.rad(90),0) * CFrame.new(0,0.5,0)
  1445. end)
  1446. local RFlash = Instance.new("TextButton",Gui)
  1447. RFlash.BackgroundColor3 = Color3.new(255,255,255)
  1448. RFlash.BorderColor3 = Color3.new(0,0,0)
  1449. RFlash.Size = UDim2.new(0,200,0,25)
  1450. RFlash.Position = UDim2.new(0,10,0.5,57.5)
  1451. RFlash.Text = "The Reverse Flash"
  1452. RFlash.MouseButton1Click:connect(function()
  1453. Color = BrickColor.new("Really red")
  1454. PColor = Color3.new(255,0,0)
  1455. local RF = game:GetObjects("rbxassetid://424604309")[1]
  1456. local Remove = Player.Character:GetChildren()
  1457. for i = 1,#Remove do
  1458. if Remove[i].ClassName == "Hat" or Remove[i]:IsA("Shirt") or Remove[i]:IsA("Pants") then
  1459. Remove[i]:Destroy()
  1460. end
  1461. end
  1462. local Shirt = Instance.new("Shirt",Player.Character)
  1463. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=240516299"
  1464. local Pants = Instance.new("Pants",Player.Character)
  1465. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=317849531"
  1466. local h = Instance.new("Hat",Player.Character)
  1467. h.Name = "Eye"
  1468. local p = RF.Eyes
  1469. p.Position = Player.Character.Head.Position
  1470. p.Name = "Handle"
  1471. p.Parent = h
  1472. p.CanCollide = true
  1473. p.Anchored = false
  1474. h.AttachmentPoint = h.AttachmentPoint * CFrame.Angles(math.rad(90),math.rad(90),0) * CFrame.new(0,0.5,0) * CFrame.new(0.0,-0.2,0.04)
  1475. local h = Instance.new("Hat",Player.Character)
  1476. h.Name = "RF"
  1477. local p = RF
  1478. p.Position = Player.Character.Head.Position
  1479. p.Name = "Handle"
  1480. p.Parent = h
  1481. p.CanCollide = true
  1482. p.Anchored = false
  1483. h.AttachmentPoint = h.AttachmentPoint * CFrame.Angles(0,math.rad(90),0) * CFrame.new(0,0.5,0)
  1484. end)
  1485. local Zoom = Instance.new("TextButton",Gui)
  1486. Zoom.BackgroundColor3 = Color3.new(255,255,255)
  1487. Zoom.BorderColor3 = Color3.new(0,0,0)
  1488. Zoom.Size = UDim2.new(0,200,0,25)
  1489. Zoom.Position = UDim2.new(0,10,0.5,92.5)
  1490. Zoom.Text = "Zoom"
  1491. Zoom.MouseButton1Click:connect(function()
  1492. Color = BrickColor.new("Cyan")
  1493. PColor = Color3.new(0,170,255)
  1494. local Z = game:GetObjects("rbxassetid://424611984")[1]
  1495. local Remove = Player.Character:GetChildren()
  1496. for i = 1,#Remove do
  1497. if Remove[i].ClassName == "Hat" or Remove[i]:IsA("Shirt") or Remove[i]:IsA("Pants") then
  1498. Remove[i]:Destroy()
  1499. end
  1500. end
  1501. local Shirt = Instance.new("Shirt",Player.Character)
  1502. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=411237852"
  1503. local Pants = Instance.new("Pants",Player.Character)
  1504. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=411238089"
  1505. local h = Instance.new("Hat",Player.Character)
  1506. h.Name = "Eye"
  1507. local p = Z.Eyes
  1508. p.Position = Player.Character.Head.Position
  1509. p.Name = "Handle"
  1510. p.Parent = h
  1511. p.CanCollide = true
  1512. p.Anchored = false
  1513. h.AttachmentPoint = h.AttachmentPoint * CFrame.Angles(math.rad(90),math.rad(90),0) * CFrame.new(0,0.5,0) * CFrame.new(0.0,-0.2,0.04)
  1514. local h = Instance.new("Hat",Player.Character)
  1515. h.Name = "Zoom"
  1516. local p = Z
  1517. p.Position = Player.Character.Head.Position
  1518. p.Name = "Handle"
  1519. p.Parent = h
  1520. p.CanCollide = true
  1521. p.Anchored = false
  1522. h.AttachmentPoint = h.AttachmentPoint * CFrame.Angles(0,math.rad(90),0) * CFrame.new(0,0.5,0)
  1523. end)
  1524. local Radius = Instance.new("TextBox",Gui)
  1525. Radius.Text = "Tornado Radius"
  1526. Radius.BackgroundColor3 = Color3.new(255,255,255)
  1527. Radius.BorderColor3 = Color3.new(0,0,0)
  1528. Radius.Size = UDim2.new(0,200,0,25)
  1529. Radius.Position = UDim2.new(0,10,0.5,127.5)
  1530. Radius.FocusLost:connect(function(EnterPressed)
  1531. if EnterPressed then
  1532. TornadoRadius = Radius.Text
  1533. end
  1534. end)
  1535. local Fists = false
  1536. Mouse.Button1Down:connect(function()
  1537. if Mouse.Target.Parent:FindFirstChild("Humanoid") then
  1538. if Fists == true then return end
  1539. Fists = true
  1540. local Humanoid = Mouse.Target.Parent:FindFirstChild("Humanoid")
  1541. local Torso = Mouse.Target.Parent:FindFirstChild("Torso")
  1542. local PTorso = Player.Character.Torso
  1543. local Root = Player.Character.HumanoidRootPart
  1544. local HeadC0 = Player.Character.Torso.Neck
  1545. local Head = Player.Character.Head
  1546. local LArm = Player.Character["Left Arm"]
  1547. local RArm = Player.Character["Right Arm"]
  1548. Torso.Anchored = true
  1549. print(PTorso.Rotation)
  1550. PTorso.Anchored = true
  1551. PTorso["Right Shoulder"].C0 = PTorso["Right Shoulder"].C0 * CFrame.Angles(0,math.rad(40),math.rad(90))
  1552. PTorso["Left Shoulder"].C0 = PTorso["Left Shoulder"].C0 * CFrame.Angles(0,0,-math.rad(45))
  1553. Torso.CFrame = PTorso.CFrame * CFrame.new(1.3,0,-4) * CFrame.Angles(0,math.rad(180),0)
  1554. local Turn1 = 2
  1555. for i = 1,10,Turn1 do
  1556. PTorso.CFrame = PTorso.CFrame * CFrame.Angles(0,-math.rad(Turn1*4),0)
  1557. HeadC0.C0 = HeadC0.C0 * CFrame.Angles(0,0,-math.rad(Turn1*4))
  1558. wait()
  1559. end
  1560. local Turn2 = 4
  1561. for i = 1,20,Turn2 do
  1562. Torso.CFrame = Torso.CFrame * CFrame.new(0,0,-0.5)
  1563. PTorso.CFrame = PTorso.CFrame * CFrame.Angles(0,math.rad(Turn2*4),0)
  1564. PTorso["Right Shoulder"].C0 = PTorso["Right Shoulder"].C0 * CFrame.Angles(-math.rad(Turn2*4),0,0)
  1565. wait()
  1566. end
  1567. wait(1)
  1568. local Turn3 = 4
  1569. for i = 1,20,Turn3 do
  1570. Torso.CFrame = Torso.CFrame * CFrame.new(0,0,0.5)
  1571. PTorso["Right Shoulder"].C0 = PTorso["Right Shoulder"].C0 * CFrame.Angles(math.rad(Turn3*2),0,0)
  1572. PTorso.CFrame = PTorso.CFrame * CFrame.Angles(0,-math.rad(Turn3*2),0)
  1573. PTorso["Left Shoulder"].C0 = PTorso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.rad(Turn3*2.25))
  1574. HeadC0.C0 = HeadC0.C0 * CFrame.Angles(0,0,math.rad(Turn1*4))
  1575. wait()
  1576. end
  1577. local Turn4 = 3
  1578. for i = 1,9,Turn4 do
  1579. PTorso["Right Shoulder"].C0 = PTorso["Right Shoulder"].C0 * CFrame.Angles(0,0,-math.rad(Turn4*10))
  1580. wait()
  1581. end
  1582. Torso.Anchored = false
  1583. PTorso.Anchored = false
  1584. Humanoid.Health = 0
  1585. Fists = false
  1586. end
  1587. end)
  1588. Mouse.KeyDown:connect(function(Key)
  1589. if Key == "f" then
  1590. if Portal == false then
  1591. PortalFunction()
  1592. Nil()
  1593. else
  1594. Portal = false
  1595. end
  1596. end
  1597. if Key == "r" then
  1598. if Phase == false then
  1599. Phase = true
  1600. PhaseFunction()
  1601. print "PhaseFunction"
  1602. else
  1603. Phase = false
  1604. end
  1605. end
  1606. if Key == "e" then
  1607. if Tornado == false then
  1608. Tornado = true
  1609. TornadoFunction()
  1610. else
  1611. Tornado = false
  1612. end
  1613. end
  1614. if Key == "t" then
  1615. if Morph == false then
  1616. Morph = true
  1617. MorphFunction()
  1618. else
  1619. Morph = false
  1620. end
  1621. end
  1622. if Key == "z" then
  1623. if Aura == false then
  1624. Aura = true
  1625. else
  1626. Aura = false
  1627. end
  1628. end
  1629. end)
  1630. end)
  1631. Guis()
  1632.  
  1633. Run.RenderStepped:connect(function()
  1634. if (Object.CFrame.p - PreviousP).magnitude > 10 and Player.Character.Humanoid.WalkSpeed > 25 and Portal == false and PortalEnd == false then
  1635. local Model = Instance.new("Model",workspace)
  1636. Model.Name = "Ray"
  1637. local Humanoid = Instance.new("Humanoid",Model)
  1638. if Player.Character:FindFirstChild("Shirt") ~= nil then
  1639. Player.Character.Shirt:Clone().Parent = Model
  1640. end
  1641. if Player.Character:FindFirstChild("Pants") ~= nil then
  1642. Player.Character.Pants:Clone().Parent = Model
  1643. end
  1644. local distance = (Object.CFrame.p - PreviousP).magnitude
  1645. local Light = Instance.new("Part",Model)
  1646. Light.Anchored = true
  1647. Light.CanCollide = false
  1648. Light.TopSurface = "SmoothNoOutlines"
  1649. Light.BottomSurface = "SmoothNoOutlines"
  1650. Light.BackSurface = "SmoothNoOutlines"
  1651. Light.FrontSurface = "SmoothNoOutlines"
  1652. Light.LeftSurface = "SmoothNoOutlines"
  1653. Light.RightSurface = "SmoothNoOutlines"
  1654. Light.Transparency = 1
  1655. Light.BrickColor = BrickColor.Black()
  1656. Light.Size = Vector3.new(2,2,distance)
  1657. Light.CFrame = CFrame.new(Object.CFrame.p , PreviousP) * CFrame.new(0,0,-distance/2)
  1658.  
  1659. local PointLight = Instance.new("PointLight",Light)
  1660. PointLight.Range = 15
  1661. PointLight.Brightness = 100
  1662. PointLight.Color = PColor
  1663.  
  1664. local distance = (Arm1.CFrame.p - PreviousA1).magnitude
  1665.  
  1666. local Arm1Light = Instance.new("Part",Model)
  1667. Arm1Light.Name = "Right Arm"
  1668. Arm1Light.Anchored = true
  1669. Arm1Light.CanCollide = false
  1670. Arm1Light.TopSurface = "SmoothNoOutlines"
  1671. Arm1Light.BottomSurface = "SmoothNoOutlines"
  1672. Arm1Light.BackSurface = "SmoothNoOutlines"
  1673. Arm1Light.FrontSurface = "SmoothNoOutlines"
  1674. Arm1Light.LeftSurface = "SmoothNoOutlines"
  1675. Arm1Light.RightSurface = "SmoothNoOutlines"
  1676. Arm1Light.Transparency = 0.5
  1677. Arm1Light.BrickColor = BrickColor.Black()
  1678. Arm1Light.Size = Vector3.new(1,2,distance)
  1679. Arm1Light.CFrame = CFrame.new(Arm1.CFrame.p , PreviousA1) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  1680.  
  1681. local distance = (Arm2.CFrame.p - PreviousA2).magnitude
  1682.  
  1683. local Arm2Light = Instance.new("Part",Model)
  1684. Arm2Light.Name = "Left Arm"
  1685. Arm2Light.Anchored = true
  1686. Arm2Light.CanCollide = false
  1687. Arm2Light.TopSurface = "SmoothNoOutlines"
  1688. Arm2Light.BottomSurface = "SmoothNoOutlines"
  1689. Arm2Light.BackSurface = "SmoothNoOutlines"
  1690. Arm2Light.FrontSurface = "SmoothNoOutlines"
  1691. Arm2Light.LeftSurface = "SmoothNoOutlines"
  1692. Arm2Light.RightSurface = "SmoothNoOutlines"
  1693. Arm2Light.Transparency = 0.5
  1694. Arm2Light.BrickColor = BrickColor.Black()
  1695. Arm2Light.Size = Vector3.new(1,2,distance)
  1696. Arm2Light.CFrame = CFrame.new(Arm2.CFrame.p , PreviousA2) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  1697.  
  1698. local distance = (Leg1.CFrame.p - PreviousL1).magnitude
  1699.  
  1700. local Leg1Light = Instance.new("Part",Model)
  1701. Leg1Light.Name = "Right Leg"
  1702. Leg1Light.Anchored = true
  1703. Leg1Light.CanCollide = false
  1704. Leg1Light.TopSurface = "SmoothNoOutlines"
  1705. Leg1Light.BottomSurface = "SmoothNoOutlines"
  1706. Leg1Light.BackSurface = "SmoothNoOutlines"
  1707. Leg1Light.FrontSurface = "SmoothNoOutlines"
  1708. Leg1Light.LeftSurface = "SmoothNoOutlines"
  1709. Leg1Light.RightSurface = "SmoothNoOutlines"
  1710. Leg1Light.Transparency = 0.5
  1711. Leg1Light.BrickColor = BrickColor.Black()
  1712. Leg1Light.Size = Vector3.new(1,2,distance)
  1713. Leg1Light.CFrame = CFrame.new(Leg1.CFrame.p , PreviousL1) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  1714.  
  1715. local distance = (Leg2.CFrame.p - PreviousL2).magnitude
  1716.  
  1717. local Leg1Light = Instance.new("Part",Model)
  1718. Leg1Light.Name = "Left Leg"
  1719. Leg1Light.Anchored = true
  1720. Leg1Light.CanCollide = false
  1721. Leg1Light.TopSurface = "SmoothNoOutlines"
  1722. Leg1Light.BottomSurface = "SmoothNoOutlines"
  1723. Leg1Light.BackSurface = "SmoothNoOutlines"
  1724. Leg1Light.FrontSurface = "SmoothNoOutlines"
  1725. Leg1Light.LeftSurface = "SmoothNoOutlines"
  1726. Leg1Light.RightSurface = "SmoothNoOutlines"
  1727. Leg1Light.Transparency = 0.5
  1728. Leg1Light.BrickColor = BrickColor.Black()
  1729. Leg1Light.Size = Vector3.new(1,2,distance)
  1730. Leg1Light.CFrame = CFrame.new(Leg2.CFrame.p , PreviousL2) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  1731.  
  1732. local Point1 = Instance.new("Part",Model)
  1733. Point1.Transparency = 1
  1734. Point1.Anchored = true
  1735. Point1.CanCollide = false
  1736. Point1.Size = Vector3.new(0.2,0.2,0.2)
  1737. Point1.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  1738. * CFrame.new(Light.Size.X/2 ,0 ,0)
  1739. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1740. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1741.  
  1742. local Point2 = Instance.new("Part",Model)
  1743. Point2.Transparency = 1
  1744. Point2.Anchored = true
  1745. Point2.CanCollide = false
  1746. Point2.Size = Vector3.new(0.2,0.2,0.2)
  1747. Point2.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  1748. * CFrame.new(Light.Size.X/2 ,0 ,0)
  1749. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1750. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1751.  
  1752. local Point5 = Instance.new("Part",Model)
  1753. Point5.Transparency = 1
  1754. Point5.Anchored = true
  1755. Point5.CanCollide = false
  1756. Point5.Size = Vector3.new(0.2,0.2,0.2)
  1757. Point5.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  1758. * CFrame.new(Light.Size.X/2 ,0 ,0)
  1759. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1760. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1761.  
  1762. local Point6 = Instance.new("Part",Model)
  1763. Point6.Transparency = 1
  1764. Point6.Anchored = true
  1765. Point6.CanCollide = false
  1766. Point6.Size = Vector3.new(0.2,0.2,0.2)
  1767. Point6.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  1768. * CFrame.new(Light.Size.X/2 ,0 ,0)
  1769. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1770. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1771.  
  1772. local Point3 = Instance.new("Part",Model)
  1773. Point3.Transparency = 1
  1774. Point3.Anchored = true
  1775. Point3.CanCollide = false
  1776. Point3.Size = Vector3.new(0.2,0.2,0.2)
  1777. Point3.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  1778. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  1779. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1780. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1781.  
  1782. local Point4 = Instance.new("Part",Model)
  1783. Point4.Transparency = 1
  1784. Point4.Anchored = true
  1785. Point4.CanCollide = false
  1786. Point4.Size = Vector3.new(0.2,0.2,0.2)
  1787. Point4.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  1788. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  1789. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1790. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1791.  
  1792. local Point7 = Instance.new("Part",Model)
  1793. Point7.Transparency = 1
  1794. Point7.Anchored = true
  1795. Point7.CanCollide = false
  1796. Point7.Size = Vector3.new(0.2,0.2,0.2)
  1797. Point7.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  1798. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  1799. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1800. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1801.  
  1802. local Point8 = Instance.new("Part",Model)
  1803. Point8.Transparency = 1
  1804. Point8.Anchored = true
  1805. Point8.CanCollide = false
  1806. Point8.Size = Vector3.new(0.2,0.2,0.2)
  1807. Point8.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  1808. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  1809. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1810. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1811.  
  1812. local Point9 = Instance.new("Part",Model)
  1813. Point9.Transparency = 1
  1814. Point9.Anchored = true
  1815. Point9.CanCollide = false
  1816. Point9.Size = Vector3.new(0.2,0.2,0.2)
  1817. Point9.CFrame = Light.CFrame * CFrame.new(0,-1,-Light.Size.Z/2)
  1818. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  1819. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1820. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1821.  
  1822. local Point10 = Instance.new("Part",Model)
  1823. Point10.Transparency = 1
  1824. Point10.Anchored = true
  1825. Point10.CanCollide = false
  1826. Point10.Size = Vector3.new(0.2,0.2,0.2)
  1827. Point10.CFrame = Light.CFrame * CFrame.new(0,-1,Light.Size.Z/2)
  1828. * CFrame.new(Light.Size.X/2 ,0 ,0)
  1829. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1830. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1831.  
  1832. local Point11 = Instance.new("Part",Model)
  1833. Point11.Transparency = 1
  1834. Point11.Anchored = true
  1835. Point11.CanCollide = false
  1836. Point11.Size = Vector3.new(0.2,0.2,0.2)
  1837. Point11.CFrame = Light.CFrame * CFrame.new(0,-1,-Light.Size.Z/2)
  1838. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  1839. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1840. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1841.  
  1842. local Point12 = Instance.new("Part",Model)
  1843. Point12.Transparency = 1
  1844. Point12.Anchored = true
  1845. Point12.CanCollide = false
  1846. Point12.Size = Vector3.new(0.2,0.2,0.2)
  1847. Point12.CFrame = Light.CFrame * CFrame.new(0,-1,Light.Size.Z/2)
  1848. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  1849. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1850. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1851.  
  1852. if PrevPoint2 == nil or PrevPoint2 == "Empty" then
  1853. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  1854. local Light = Instance.new("Part",Model)
  1855. Light.Anchored = true
  1856. Light.CanCollide = false
  1857. Light.TopSurface = "SmoothNoOutlines"
  1858. Light.BottomSurface = "SmoothNoOutlines"
  1859. Light.BackSurface = "SmoothNoOutlines"
  1860. Light.FrontSurface = "SmoothNoOutlines"
  1861. Light.LeftSurface = "SmoothNoOutlines"
  1862. Light.RightSurface = "SmoothNoOutlines"
  1863. Light.Transparency = 0.6
  1864. Light.Size = Vector3.new(0.4,0.4,distance)
  1865. Light.Material = "Neon"
  1866. Light.BrickColor = Color
  1867. local SelectionBox = Instance.new("SelectionBox",Light)
  1868. SelectionBox.Transparency = 0.7
  1869. SelectionBox.Color = Color
  1870. SelectionBox.Adornee = Light
  1871. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  1872. elseif PrevPoint2 ~= nil then
  1873. local distance = (Point2.CFrame.p - PrevPoint2).magnitude
  1874. local Light = Instance.new("Part",Model)
  1875. Light.Anchored = true
  1876. Light.CanCollide = false
  1877. Light.TopSurface = "SmoothNoOutlines"
  1878. Light.BottomSurface = "SmoothNoOutlines"
  1879. Light.BackSurface = "SmoothNoOutlines"
  1880. Light.FrontSurface = "SmoothNoOutlines"
  1881. Light.LeftSurface = "SmoothNoOutlines"
  1882. Light.RightSurface = "SmoothNoOutlines"
  1883. Light.Transparency = 0.6
  1884. Light.Size = Vector3.new(0.4,0.4,distance)
  1885. Light.Material = "Plastic"
  1886. Light.BrickColor = Color
  1887. local SelectionBox = Instance.new("SelectionBox",Light)
  1888. SelectionBox.Transparency = 0.7
  1889. SelectionBox.Color = Color
  1890. SelectionBox.Adornee = Light
  1891. Light.CFrame = CFrame.new(Point2.CFrame.p , PrevPoint2) * CFrame.new(0,0,-distance/2)
  1892. end
  1893.  
  1894. if PrevPoint4 == nil or PrevPoint4 == "Empty" then
  1895. local distance = (Point4.CFrame.p - Point3.CFrame.p).magnitude
  1896. local Light = Instance.new("Part",Model)
  1897. Light.Anchored = true
  1898. Light.CanCollide = false
  1899. Light.TopSurface = "SmoothNoOutlines"
  1900. Light.BottomSurface = "SmoothNoOutlines"
  1901. Light.BackSurface = "SmoothNoOutlines"
  1902. Light.FrontSurface = "SmoothNoOutlines"
  1903. Light.LeftSurface = "SmoothNoOutlines"
  1904. Light.RightSurface = "SmoothNoOutlines"
  1905. Light.Transparency = 0.6
  1906. Light.Size = Vector3.new(0.4,0.4,distance)
  1907. Light.Material = "Neon"
  1908. Light.BrickColor = Color
  1909. local SelectionBox = Instance.new("SelectionBox",Light)
  1910. SelectionBox.Transparency = 0.7
  1911. SelectionBox.Color = Color
  1912. SelectionBox.Adornee = Light
  1913. Light.CFrame = CFrame.new(Point4.CFrame.p , Point3.CFrame.p) * CFrame.new(0,0,-distance/2)
  1914. elseif PrevPoint4 ~= nil then
  1915. local distance = (Point4.CFrame.p - PrevPoint4).magnitude
  1916. local Light = Instance.new("Part",Model)
  1917. Light.Anchored = true
  1918. Light.CanCollide = false
  1919. Light.TopSurface = "SmoothNoOutlines"
  1920. Light.BottomSurface = "SmoothNoOutlines"
  1921. Light.BackSurface = "SmoothNoOutlines"
  1922. Light.FrontSurface = "SmoothNoOutlines"
  1923. Light.LeftSurface = "SmoothNoOutlines"
  1924. Light.RightSurface = "SmoothNoOutlines"
  1925. Light.Transparency = 0.6
  1926. Light.Size = Vector3.new(0.4,0.4,distance)
  1927. Light.Material = "Neon"
  1928. Light.BrickColor = Color
  1929. local SelectionBox = Instance.new("SelectionBox",Light)
  1930. SelectionBox.Transparency = 0.7
  1931. SelectionBox.Color = Color
  1932. SelectionBox.Adornee = Light
  1933. Light.CFrame = CFrame.new(Point4.CFrame.p , PrevPoint4) * CFrame.new(0,0,-distance/2)
  1934. end
  1935.  
  1936.  
  1937. if PrevPoint6 == nil or PrevPoint6 == "Empty" then
  1938. local distance = (Point6.CFrame.p - Point5.CFrame.p).magnitude
  1939. local Light = Instance.new("Part",Model)
  1940. Light.Anchored = true
  1941. Light.CanCollide = false
  1942. Light.TopSurface = "SmoothNoOutlines"
  1943. Light.BottomSurface = "SmoothNoOutlines"
  1944. Light.BackSurface = "SmoothNoOutlines"
  1945. Light.FrontSurface = "SmoothNoOutlines"
  1946. Light.LeftSurface = "SmoothNoOutlines"
  1947. Light.RightSurface = "SmoothNoOutlines"
  1948. Light.Transparency = 0.6
  1949. Light.Size = Vector3.new(0.4,0.4,distance)
  1950. Light.Material = "Neon"
  1951. Light.BrickColor = Color
  1952. local SelectionBox = Instance.new("SelectionBox",Light)
  1953. SelectionBox.Transparency = 0.7
  1954. SelectionBox.Color = Color
  1955. SelectionBox.Adornee = Light
  1956. Light.CFrame = CFrame.new(Point6.CFrame.p , Point5.CFrame.p) * CFrame.new(0,0,-distance/2)
  1957. elseif PrevPoint6 ~= nil then
  1958. local distance = (Point6.CFrame.p - PrevPoint6).magnitude
  1959. local Light = Instance.new("Part",Model)
  1960. Light.Anchored = true
  1961. Light.CanCollide = false
  1962. Light.TopSurface = "SmoothNoOutlines"
  1963. Light.BottomSurface = "SmoothNoOutlines"
  1964. Light.BackSurface = "SmoothNoOutlines"
  1965. Light.FrontSurface = "SmoothNoOutlines"
  1966. Light.LeftSurface = "SmoothNoOutlines"
  1967. Light.RightSurface = "SmoothNoOutlines"
  1968. Light.Transparency = 0.6
  1969. Light.Size = Vector3.new(0.4,0.4,distance)
  1970. Light.Material = "Neon"
  1971. Light.BrickColor = Color
  1972. local SelectionBox = Instance.new("SelectionBox",Light)
  1973. SelectionBox.Transparency = 0.7
  1974. SelectionBox.Color = Color
  1975. SelectionBox.Adornee = Light
  1976. Light.CFrame = CFrame.new(Point6.CFrame.p , PrevPoint6) * CFrame.new(0,0,-distance/2)
  1977. end
  1978.  
  1979. if PrevPoint8 == nil or PrevPoint8 == "Empty" then
  1980. local distance = (Point8.CFrame.p - Point7.CFrame.p).magnitude
  1981. local Light = Instance.new("Part",Model)
  1982. Light.Anchored = true
  1983. Light.CanCollide = false
  1984. Light.TopSurface = "SmoothNoOutlines"
  1985. Light.BottomSurface = "SmoothNoOutlines"
  1986. Light.BackSurface = "SmoothNoOutlines"
  1987. Light.FrontSurface = "SmoothNoOutlines"
  1988. Light.LeftSurface = "SmoothNoOutlines"
  1989. Light.RightSurface = "SmoothNoOutlines"
  1990. Light.Transparency = 0.6
  1991. Light.Size = Vector3.new(0.4,0.4,distance)
  1992. Light.Material = "Neon"
  1993. Light.BrickColor = Color
  1994. local SelectionBox = Instance.new("SelectionBox",Light)
  1995. SelectionBox.Transparency = 0.7
  1996. SelectionBox.Color = Color
  1997. SelectionBox.Adornee = Light
  1998. Light.CFrame = CFrame.new(Point8.CFrame.p , Point7.CFrame.p) * CFrame.new(0,0,-distance/2)
  1999. elseif PrevPoint8 ~= nil then
  2000. local distance = (Point8.CFrame.p - PrevPoint8).magnitude
  2001. local Light = Instance.new("Part",Model)
  2002. Light.Anchored = true
  2003. Light.CanCollide = false
  2004. Light.TopSurface = "SmoothNoOutlines"
  2005. Light.BottomSurface = "SmoothNoOutlines"
  2006. Light.BackSurface = "SmoothNoOutlines"
  2007. Light.FrontSurface = "SmoothNoOutlines"
  2008. Light.LeftSurface = "SmoothNoOutlines"
  2009. Light.RightSurface = "SmoothNoOutlines"
  2010. Light.Transparency = 0.6
  2011. Light.Size = Vector3.new(0.4,0.4,distance)
  2012. Light.Material = "Neon"
  2013. Light.BrickColor = Color
  2014. local SelectionBox = Instance.new("SelectionBox",Light)
  2015. SelectionBox.Transparency = 0.7
  2016. SelectionBox.Color = Color
  2017. SelectionBox.Adornee = Light
  2018. Light.CFrame = CFrame.new(Point8.CFrame.p , PrevPoint8) * CFrame.new(0,0,-distance/2)
  2019. end
  2020.  
  2021. if PrevPoint10 == nil or PrevPoint10 == "Empty" then
  2022. local distance = (Point10.CFrame.p - Point9.CFrame.p).magnitude
  2023. local Light = Instance.new("Part",Model)
  2024. Light.Anchored = true
  2025. Light.CanCollide = false
  2026. Light.TopSurface = "SmoothNoOutlines"
  2027. Light.BottomSurface = "SmoothNoOutlines"
  2028. Light.BackSurface = "SmoothNoOutlines"
  2029. Light.FrontSurface = "SmoothNoOutlines"
  2030. Light.LeftSurface = "SmoothNoOutlines"
  2031. Light.RightSurface = "SmoothNoOutlines"
  2032. Light.Transparency = 0.6
  2033. Light.Size = Vector3.new(0.4,0.4,distance)
  2034. Light.Material = "Neon"
  2035. Light.BrickColor = Color
  2036. local SelectionBox = Instance.new("SelectionBox",Light)
  2037. SelectionBox.Transparency = 0.7
  2038. SelectionBox.Color = Color
  2039. SelectionBox.Adornee = Light
  2040. Light.CFrame = CFrame.new(Point10.CFrame.p , Point9.CFrame.p) * CFrame.new(0,0,-distance/2)
  2041. elseif PrevPoint10 ~= nil then
  2042. local distance = (Point10.CFrame.p - PrevPoint10).magnitude
  2043. local Light = Instance.new("Part",Model)
  2044. Light.Anchored = true
  2045. Light.CanCollide = false
  2046. Light.TopSurface = "SmoothNoOutlines"
  2047. Light.BottomSurface = "SmoothNoOutlines"
  2048. Light.BackSurface = "SmoothNoOutlines"
  2049. Light.FrontSurface = "SmoothNoOutlines"
  2050. Light.LeftSurface = "SmoothNoOutlines"
  2051. Light.RightSurface = "SmoothNoOutlines"
  2052. Light.Transparency = 0.6
  2053. Light.Size = Vector3.new(0.4,0.4,distance)
  2054. Light.Material = "Neon"
  2055. Light.BrickColor = Color
  2056. local SelectionBox = Instance.new("SelectionBox",Light)
  2057. SelectionBox.Transparency = 0.7
  2058. SelectionBox.Color = Color
  2059. SelectionBox.Adornee = Light
  2060. Light.CFrame = CFrame.new(Point10.CFrame.p , PrevPoint10) * CFrame.new(0,0,-distance/2)
  2061. end
  2062.  
  2063.  
  2064. if PrevPoint12 == nil or PrevPoint12 == "Empty" then
  2065. local distance = (Point12.CFrame.p - Point11.CFrame.p).magnitude
  2066. local Light = Instance.new("Part",Model)
  2067. Light.Anchored = true
  2068. Light.CanCollide = false
  2069. Light.TopSurface = "SmoothNoOutlines"
  2070. Light.BottomSurface = "SmoothNoOutlines"
  2071. Light.BackSurface = "SmoothNoOutlines"
  2072. Light.FrontSurface = "SmoothNoOutlines"
  2073. Light.LeftSurface = "SmoothNoOutlines"
  2074. Light.RightSurface = "SmoothNoOutlines"
  2075. Light.Transparency = 0.6
  2076. Light.Size = Vector3.new(0.4,0.4,distance)
  2077. Light.Material = "Neon"
  2078. Light.BrickColor = Color
  2079. local SelectionBox = Instance.new("SelectionBox",Light)
  2080. SelectionBox.Transparency = 0.7
  2081. SelectionBox.Color = Color
  2082. SelectionBox.Adornee = Light
  2083. Light.CFrame = CFrame.new(Point12.CFrame.p , Point11.CFrame.p) * CFrame.new(0,0,-distance/2)
  2084. elseif PrevPoint12 ~= nil then
  2085. local distance = (Point12.CFrame.p - PrevPoint12).magnitude
  2086. local Light = Instance.new("Part",Model)
  2087. Light.Anchored = true
  2088. Light.CanCollide = false
  2089. Light.TopSurface = "SmoothNoOutlines"
  2090. Light.BottomSurface = "SmoothNoOutlines"
  2091. Light.BackSurface = "SmoothNoOutlines"
  2092. Light.FrontSurface = "SmoothNoOutlines"
  2093. Light.LeftSurface = "SmoothNoOutlines"
  2094. Light.RightSurface = "SmoothNoOutlines"
  2095. Light.Transparency = 0.6
  2096. Light.Size = Vector3.new(0.4,0.4,distance)
  2097. Light.Material = "Neon"
  2098. Light.BrickColor = Color
  2099. local SelectionBox = Instance.new("SelectionBox",Light)
  2100. SelectionBox.Transparency = 0.7
  2101. SelectionBox.Color = Color
  2102. SelectionBox.Adornee = Light
  2103. Light.CFrame = CFrame.new(Point12.CFrame.p , PrevPoint12) * CFrame.new(0,0,-distance/2)
  2104. end
  2105. PreviousP = Object.CFrame.p
  2106. PreviousA1 = Arm1.CFrame.p
  2107. PreviousA2 = Arm2.CFrame.p
  2108. PreviousL1 = Leg1.CFrame.p
  2109. PreviousL2 = Leg2.CFrame.p
  2110. PrevPoint1 = Point1.CFrame.p
  2111. PrevPoint2 = Point2.CFrame.p
  2112. PrevPoint3 = Point3.CFrame.p
  2113. PrevPoint4 = Point4.CFrame.p
  2114. PrevPoint5 = Point5.CFrame.p
  2115. PrevPoint6 = Point6.CFrame.p
  2116. PrevPoint7 = Point7.CFrame.p
  2117. PrevPoint8 = Point8.CFrame.p
  2118. PrevPoint9 = Point9.CFrame.p
  2119. PrevPoint10 = Point10.CFrame.p
  2120. PrevPoint11 = Point11.CFrame.p
  2121. PrevPoint12 = Point12.CFrame.p
  2122. local Children = Model:GetChildren()
  2123. wait(1)
  2124. for i = 1,6 do
  2125. local Remove = coroutine.wrap(function()
  2126. for i = 1,#Children do
  2127. if Children[i]:IsA("Part") then
  2128. Children[i].Transparency = Children[i].Transparency + 0.1
  2129. if Children[i].Transparency >= 1 and Children[i] ~= Light and Children[i] ~= Point1 and Children[i] ~= Point2 and Children[i] ~= Point3
  2130. and Children[i] ~= Point4 and Children[i] ~= Point5 and Children[i] ~= Point6 and Children[i] ~= Point7 and Children[i] ~= Point8
  2131. and Children[i] ~= Point9 and Children[i] ~= Point10 and Children[i] ~= Point11 and Children[i] ~= Point12 then
  2132. game.Debris:AddItem(Children[i],0)
  2133. end
  2134. end
  2135. if Children[i].ClassName ~= "Part" then
  2136. game.Debris:AddItem(Children[i],0)
  2137. end
  2138. end
  2139. end)
  2140. Remove()
  2141. wait(0.05)
  2142. end
  2143. game.Debris:AddItem(Light,0)
  2144. game.Debris:AddItem(Point1,0)
  2145. game.Debris:AddItem(Point2,0)
  2146. game.Debris:AddItem(Point3,0)
  2147. game.Debris:AddItem(Point4,0)
  2148. game.Debris:AddItem(Point5,0)
  2149. game.Debris:AddItem(Point6,0)
  2150. game.Debris:AddItem(Point7,0)
  2151. game.Debris:AddItem(Point8,0)
  2152. game.Debris:AddItem(Point9,0)
  2153. game.Debris:AddItem(Point10,0)
  2154. game.Debris:AddItem(Point11,0)
  2155. game.Debris:AddItem(Point12,0)
  2156. end
  2157. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement