AlphaSploit

New Flash

Nov 26th, 2017
1,887
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.34 KB | None | 0 0
  1. script.Parent = nil
  2. local Player = game.Players.LocalPlayer
  3. local Mouse = Player:GetMouse()
  4. local Phasing = false
  5. local Tornado = false
  6. local Morph = false
  7. local Lightning = false
  8. local TornadoRadius = 20
  9. local Portal = false
  10. local InPortal = false
  11. local CurrentColor = BrickColor.Yellow()
  12. local Suffix = ";"
  13. local CMDS = {}
  14.  
  15. Player.Character.Humanoid.WalkSpeed = 100
  16.  
  17. PreviousPoints = {
  18. LeftArm = Player.Character["Left Arm"].CFrame,
  19. RightArm = Player.Character["Right Arm"].CFrame,
  20. LeftLeg = Player.Character["Left Leg"].CFrame,
  21. RightLeg = Player.Character["Right Leg"].CFrame,
  22. Torso = Player.Character.Torso.CFrame,
  23. LAPoint1 = Player.Character["Left Arm"].CFrame,
  24. RAPoint1 = Player.Character["Right Arm"].CFrame,
  25. LLPoint1 = Player.Character["Left Leg"].CFrame,
  26. RLPoint1 = Player.Character["Right Leg"].CFrame,
  27. }
  28.  
  29. PreviousLimbs = {
  30. LeftArm = Player.Character["Left Arm"].CFrame,
  31. RightArm = Player.Character["Right Arm"].CFrame,
  32. LeftLeg = Player.Character["Left Leg"].CFrame,
  33. RightLeg = Player.Character["Right Leg"].CFrame,
  34. Torso = Player.Character.Torso.CFrame,
  35. }
  36.  
  37. Trails = {
  38. {["Trail"] = "Classic",["Active"] = false},
  39. {["Trail"] = "CW",["Active"] = true}
  40. }
  41.  
  42. Suits = {
  43. {["Suit"] = "Flash",["Wearing"] = false,["Shirt"] = "http://www.roblox.com/asset/?id=286033023",["Pants"] = "http://www.roblox.com/asset/?id=286030307",["Color"] = BrickColor.Yellow()},
  44. {["Suit"] = "ReverseFlash",["Wearing"] = false,["Shirt"] = "http://www.roblox.com/asset/?id=240516299",["Pants"] = "http://www.roblox.com/asset/?id=317849531",["Color"] = BrickColor.new("Really red")},
  45. {["Suit"] = "Zoom",["Wearing"] = false,["Shirt"] = "http://www.roblox.com/asset/?id=411237852",["Pants"] = "http://www.roblox.com/asset/?id=411238089",["Color"] = BrickColor.new("Really red")}
  46. }
  47.  
  48. AddCmd = function(Name,Say,Func)
  49. table.insert(CMDS,{["Name"] = Name,["Say"] = Say,["Func"] = Func})
  50. end
  51.  
  52. Player.Chatted:connect(function(msg)
  53. for i,v in pairs(CMDS) do
  54. if v["Say"]..Suffix == msg:sub(1,#v["Say"]+#Suffix):lower() then
  55. v["Func"](msg:sub(#v["Say"]+#Suffix+1))
  56. end
  57. end
  58. end)
  59.  
  60. AddCmd("Change Suit","suit",function(msg)
  61. for i,v in pairs(Suits) do
  62. v["Wearing"] = false
  63. end
  64. for i,v in pairs(Suits) do
  65. if v["Suit"] == msg then
  66. v["Wearing"] = true
  67. end
  68. end
  69. ChangeColor()
  70. end)
  71.  
  72. AddCmd("Change Trail","trail",function(msg)
  73. PreviousPoints = {
  74. LeftArm = Player.Character["Left Arm"].CFrame,
  75. RightArm = Player.Character["Right Arm"].CFrame,
  76. LeftLeg = Player.Character["Left Leg"].CFrame,
  77. RightLeg = Player.Character["Right Leg"].CFrame,
  78. Torso = Player.Character.Torso.CFrame,
  79. LAPoint1 = Player.Character["Left Arm"].CFrame,
  80. RAPoint1 = Player.Character["Right Arm"].CFrame,
  81. LLPoint1 = Player.Character["Left Leg"].CFrame,
  82. RLPoint1 = Player.Character["Right Leg"].CFrame,
  83. }
  84. PreviousLimbs = {
  85. LeftArm = Player.Character["Left Arm"].CFrame,
  86. RightArm = Player.Character["Right Arm"].CFrame,
  87. LeftLeg = Player.Character["Left Leg"].CFrame,
  88. RightLeg = Player.Character["Right Leg"].CFrame,
  89. Torso = Player.Character.Torso.CFrame,
  90. }
  91. for i,v in pairs(Trails) do
  92. v["Active"] = false
  93. end
  94. for i,v in pairs(Trails) do
  95. if v["Trail"] == msg then
  96. v["Active"] = true
  97. end
  98. end
  99. end)
  100.  
  101. AddCmd("Change Speed","speed",function(msg)
  102. Player.Character.Humanoid.WalkSpeed = msg
  103. end)
  104.  
  105. AddCmd("Disable Script","disable",function(msg)
  106. script:Destroy()
  107. Player.PlayerGui.Flash:Destroy()
  108. end)
  109.  
  110. AddCmd("Change Radius","radius",function(msg)
  111. TornadoRadius = msg
  112. end)
  113.  
  114. ChangeColor = function()
  115. for i,v in pairs(Player.Character:GetChildren()) do
  116. if v:IsA("Shirt") then
  117. v:Destroy()
  118. end
  119. if v:IsA("Pants") then
  120. v:Destroy()
  121. end
  122. end
  123. for i,v in pairs(Suits) do
  124. if v["Wearing"] == true then
  125. CurrentColor = v["Color"]
  126. Player.PlayerGui.Flash.SuitActive.TextLabel.Text = v["Suit"]
  127. local Shirt = Instance.new("Shirt",Player.Character)
  128. Shirt.ShirtTemplate = v["Shirt"]
  129. local Pants = Instance.new("Pants",Player.Character)
  130. Pants.PantsTemplate = v["Pants"]
  131. end
  132. end
  133. end
  134.  
  135. CreateGui = function()
  136. local ScreenGui = Instance.new("ScreenGui",Player.PlayerGui)
  137. ScreenGui.Name = "Flash"
  138.  
  139. local SpeedTitle = Instance.new("Frame")
  140. SpeedTitle.Name = "SpeedTitle"
  141. SpeedTitle.Position = UDim2.new(0, 0, 0.5, -40)
  142. SpeedTitle.Size = UDim2.new(0, 200, 0, 40)
  143. SpeedTitle.Style = Enum.FrameStyle.DropShadow
  144. SpeedTitle.Parent = ScreenGui
  145.  
  146. local Speed = Instance.new("TextLabel")
  147. Speed.BackgroundTransparency = 1
  148. Speed.Size = UDim2.new(1, 0, 1, 0)
  149. Speed.Font = Enum.Font.SourceSansLight
  150. Speed.FontSize = Enum.FontSize.Size14
  151. Speed.Text = "Speed"
  152. Speed.TextColor3 = Color3.new(1, 1, 1)
  153. Speed.TextScaled = true
  154. Speed.TextWrapped = true
  155. Speed.Parent = SpeedTitle
  156.  
  157. local SpeedBox = Instance.new("Frame")
  158. SpeedBox.Name = "SpeedBox"
  159. SpeedBox.Position = UDim2.new(0, 0, 0.5, 0)
  160. SpeedBox.Size = UDim2.new(0, 200, 0, 40)
  161. SpeedBox.Style = Enum.FrameStyle.DropShadow
  162. SpeedBox.Parent = ScreenGui
  163.  
  164. local SpeedNumber = Instance.new("TextLabel")
  165. SpeedNumber.BackgroundTransparency = 1
  166. SpeedNumber.Size = UDim2.new(1, 0, 1, 0)
  167. SpeedNumber.Font = Enum.Font.SourceSansLight
  168. SpeedNumber.FontSize = Enum.FontSize.Size14
  169. SpeedNumber.Text = "0"
  170. SpeedNumber.TextColor3 = Color3.new(1, 1, 1)
  171. SpeedNumber.TextScaled = true
  172. SpeedNumber.TextWrapped = true
  173. SpeedNumber.Parent = SpeedBox
  174. Player.Character.Humanoid.Changed:connect(function()
  175. SpeedNumber.Text = Player.Character.Humanoid.WalkSpeed
  176. end)
  177.  
  178. local Suit = Instance.new("Frame")
  179. Suit.Name = "Suit"
  180. Suit.Position = UDim2.new(0, 0, 0.5, 40)
  181. Suit.Size = UDim2.new(0, 200, 0, 40)
  182. Suit.Style = Enum.FrameStyle.DropShadow
  183. Suit.Parent = ScreenGui
  184.  
  185. local SuitsTitle = Instance.new("TextLabel")
  186. SuitsTitle.Active = true
  187. SuitsTitle.BackgroundTransparency = 1
  188. SuitsTitle.Selectable = true
  189. SuitsTitle.Size = UDim2.new(1, 0, 1, 0)
  190. SuitsTitle.Font = Enum.Font.SourceSansLight
  191. SuitsTitle.FontSize = Enum.FontSize.Size14
  192. SuitsTitle.Text = "Suit"
  193. SuitsTitle.TextColor3 = Color3.new(1, 1, 1)
  194. SuitsTitle.TextScaled = true
  195. SuitsTitle.TextWrapped = true
  196. SuitsTitle.Parent = Suit
  197.  
  198. local Suit = Instance.new("Frame")
  199. Suit.Name = "SuitActive"
  200. Suit.Position = UDim2.new(0, 0, 0.5, 80)
  201. Suit.Size = UDim2.new(0, 200, 0, 40)
  202. Suit.Style = Enum.FrameStyle.DropShadow
  203. Suit.Parent = ScreenGui
  204.  
  205. local SuitsTitle = Instance.new("TextLabel")
  206. SuitsTitle.Active = true
  207. SuitsTitle.BackgroundTransparency = 1
  208. SuitsTitle.Selectable = true
  209. SuitsTitle.Size = UDim2.new(1, 0, 1, 0)
  210. SuitsTitle.Font = Enum.Font.SourceSansLight
  211. SuitsTitle.FontSize = Enum.FontSize.Size14
  212. SuitsTitle.Text = "Not Wearing"
  213. SuitsTitle.TextColor3 = Color3.new(1, 1, 1)
  214. SuitsTitle.TextScaled = true
  215. SuitsTitle.TextWrapped = true
  216. SuitsTitle.Parent = Suit
  217. for i,v in pairs(Suits) do
  218. if v["Wearing"] == true then
  219. SuitsTitle.Text = v["Name"]
  220. end
  221. end
  222. end
  223. CreateGui()
  224.  
  225. game.Workspace.ChildAdded:connect(function(Plr)
  226. if game.Players:GetPlayerFromCharacter(Plr) == Player then
  227. wait(0.1)
  228. CreateGui()
  229. end
  230. end)
  231.  
  232. PortalFunc = function()
  233. local Model = Instance.new("Model",workspace.Terrain)
  234. Model.Name = "Portal"
  235. local Part = Instance.new("Part",Model)
  236. Part.Size = Vector3.new(1,1,1)
  237. Part.Anchored = true
  238. Part.CanCollide = false
  239. Part.Transparency = 1
  240. Part.CFrame = Player.Character.Torso.CFrame * CFrame.new(0,8,-20)
  241. local Touched = Instance.new("Part",Model)
  242. Touched.Size = Vector3.new(15,15,3)
  243. Touched.Anchored = true
  244. Touched.CanCollide = false
  245. Touched.Transparency = 1
  246. Touched.CFrame = Part.CFrame
  247. Touched.Touched:connect(function(Touch)
  248. local Humanoid = Touch.Parent:FindFirstChild("Humanoid")
  249. if Humanoid and Humanoid == Player.Character.Humanoid then
  250. InPortal = true
  251. for i,v in pairs(Player.Character:GetChildren()) do
  252. if v:IsA("Part") then
  253. v.Transparency = 1
  254. end
  255. if v:IsA("Hat") then
  256. v.Handle.Transparency = 1
  257. end
  258. if v.Name == "Head" then
  259. v.face.Transparency = 1
  260. end
  261. end
  262. end
  263. end)
  264. local Bill = Instance.new("BillboardGui",Part)
  265. Bill.Size = UDim2.new(0.5,0,0.5,0)
  266. Bill.Name = "Gui"
  267. local Frame = Instance.new("Frame",Bill)
  268. Frame.Size = UDim2.new(1,0,1,0)
  269. Frame.BackgroundColor = BrickColor.new("Cyan")
  270. Frame.BorderSizePixel = 0
  271. local Cloning = coroutine.resume(coroutine.create(function()
  272. while wait() do
  273. if Portal == false then Model:Destroy() break end
  274. local Clone = Part:Clone()
  275. Clone.Parent = workspace.Terrain
  276. local Angle = 0
  277. local Distance = 0
  278. local PortalActive = true
  279. local Y = math.random(-100,100) * 0.02
  280. local TransparencyActive = false
  281. local Loop = coroutine.resume(coroutine.create(function()
  282. while wait() do
  283. if Distance >= 10 and TransparencyActive == false then
  284. TransparencyActive = true
  285. local TransparencyChange = coroutine.resume(coroutine.create(function()
  286. for i = 1,10 do
  287. Clone.Gui.Frame.Transparency = Clone.Gui.Frame.Transparency + 0.1
  288. wait(0.1)
  289. end
  290. Clone:Destroy()
  291. PortalActive = false
  292. end))
  293. end
  294. if PortalActive == false then break end
  295. Angle = Angle + 0.7 + wait()
  296. Distance = Distance + 0.3 + wait()
  297. Clone.CFrame = Part.CFrame * CFrame.Angles(0,0,Angle) * CFrame.new(Y,Distance,Y)
  298. end
  299. end))
  300. end
  301. end))
  302. end
  303.  
  304. ExitPortalFunc = function()
  305. local Model = Instance.new("Model",workspace.Terrain)
  306. Model.Name = "Portal"
  307. local Part = Instance.new("Part",Model)
  308. Part.Size = Vector3.new(1,1,1)
  309. Part.Anchored = true
  310. Part.CanCollide = false
  311. Part.Transparency = 1
  312. Part.CFrame = Player.Character.Torso.CFrame * CFrame.new(0,8,-20)
  313. local Touched = Instance.new("Part",Model)
  314. Touched.Size = Vector3.new(15,15,3)
  315. Touched.Anchored = true
  316. Touched.CanCollide = false
  317. Touched.Transparency = 1
  318. Touched.CFrame = Part.CFrame
  319. Touched.Touched:connect(function(Touch)
  320. local Humanoid = Touch.Parent:FindFirstChild("Humanoid")
  321. if Humanoid and Humanoid == Player.Character.Humanoid then
  322. PreviousPoints = {
  323. LeftArm = Player.Character["Left Arm"].CFrame,
  324. RightArm = Player.Character["Right Arm"].CFrame,
  325. LeftLeg = Player.Character["Left Leg"].CFrame,
  326. RightLeg = Player.Character["Right Leg"].CFrame,
  327. Torso = Player.Character.Torso.CFrame,
  328. LAPoint1 = Player.Character["Left Arm"].CFrame,
  329. RAPoint1 = Player.Character["Right Arm"].CFrame,
  330. LLPoint1 = Player.Character["Left Leg"].CFrame,
  331. RLPoint1 = Player.Character["Right Leg"].CFrame,
  332. }
  333. PreviousLimbs = {
  334. LeftArm = Player.Character["Left Arm"].CFrame,
  335. RightArm = Player.Character["Right Arm"].CFrame,
  336. LeftLeg = Player.Character["Left Leg"].CFrame,
  337. RightLeg = Player.Character["Right Leg"].CFrame,
  338. Torso = Player.Character.Torso.CFrame,
  339. }
  340. InPortal = false
  341. for i,v in pairs(Player.Character:GetChildren()) do
  342. if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
  343. v.Transparency = 0
  344. end
  345. if v:IsA("Hat") then
  346. v.Handle.Transparency = 0
  347. end
  348. if v.Name == "Head" then
  349. v.face.Transparency = 0
  350. end
  351. end
  352. end
  353. end)
  354. local Bill = Instance.new("BillboardGui",Part)
  355. Bill.Size = UDim2.new(0.5,0,0.5,0)
  356. Bill.Name = "Gui"
  357. local Frame = Instance.new("Frame",Bill)
  358. Frame.Size = UDim2.new(1,0,1,0)
  359. Frame.BackgroundColor = BrickColor.new("Cyan")
  360. Frame.BorderSizePixel = 0
  361. local Cloning = coroutine.resume(coroutine.create(function()
  362. while wait() do
  363. if InPortal == false then Model:Destroy() break end
  364. local Clone = Part:Clone()
  365. Clone.Parent = workspace.Terrain
  366. local Angle = 0
  367. local Distance = 0
  368. local PortalActive = true
  369. local Y = math.random(-100,100) * 0.02
  370. local TransparencyActive = false
  371. local Loop = coroutine.resume(coroutine.create(function()
  372. while wait() do
  373. if Distance >= 10 and TransparencyActive == false then
  374. TransparencyActive = true
  375. local TransparencyChange = coroutine.resume(coroutine.create(function()
  376. for i = 1,10 do
  377. Clone.Gui.Frame.Transparency = Clone.Gui.Frame.Transparency + 0.1
  378. wait(0.1)
  379. end
  380. Clone:Destroy()
  381. PortalActive = false
  382. end))
  383. end
  384. if PortalActive == false then break end
  385. Angle = Angle + 0.7 + wait()
  386. Distance = Distance + 0.3 + wait()
  387. Clone.CFrame = Part.CFrame * CFrame.Angles(0,0,Angle) * CFrame.new(Y,Distance,Y)
  388. end
  389. end))
  390. end
  391. end))
  392. end
  393.  
  394. MorphFunc = function()
  395. local MaxX = 100
  396. local MinX = -100
  397. local MaxY = 100
  398. local MinY = -100
  399. local MaxZ = 100
  400. local MinZ = -100
  401. local Morph = coroutine.resume(coroutine.create(function()
  402. while wait() do
  403. if Morph == false then break end
  404. local Model = Instance.new("Model",workspace)
  405. for i,v in pairs(Player.Character:GetChildren()) do
  406. if v:IsA("CharacterMesh") then
  407. v:Clone().Parent = Model
  408. end
  409. if v:IsA("Shirt") then
  410. v:Clone().Parent = Model
  411. end
  412. if v:IsA("Pants") then
  413. v:Clone().Parent = Model
  414. end
  415. end
  416. local Humanoid = Instance.new("Humanoid",Model)
  417. local LeftArm = Player.Character["Left Arm"]:Clone()
  418. LeftArm.Parent = Model
  419. LeftArm.Transparency = 0.4
  420. LeftArm.Anchored = true
  421. 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)
  422. local RightArm = Player.Character["Right Arm"]:Clone()
  423. RightArm.Parent = Model
  424. RightArm.Transparency = 0.4
  425. RightArm.Anchored = true
  426. 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)
  427. local LeftLeg = Player.Character["Left Leg"]:Clone()
  428. LeftLeg.Parent = Model
  429. LeftLeg.Transparency = 0.4
  430. LeftLeg.Anchored = true
  431. 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)
  432. local RightLeg = Player.Character["Right Leg"]:Clone()
  433. RightLeg.Parent = Model
  434. RightLeg.Transparency = 0.4
  435. RightLeg.Anchored = true
  436. 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)
  437. local Children = Model:GetChildren()
  438. wait(0.01)
  439. for i = 1,#Children do
  440. if Children[i]:IsA("Part") then
  441. Children[i].Transparency = 1
  442. end
  443. game.Debris:AddItem(Children[i],0)
  444. end
  445. end
  446. end))
  447. end
  448.  
  449. TornadoFunc = function()
  450. local Model = Instance.new("Model",workspace.Terrain)
  451. local Center = Instance.new("Part",Model)
  452. Center.Transparency = 1
  453. Center.Anchored = true
  454. Center.CanCollide = false
  455. Center.Size = Vector3.new(1,1,1)
  456. Center.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,-TornadoRadius)
  457. local Death = Instance.new("Part",Model)
  458. Death.Transparency = 1
  459. Death.Anchored = true
  460. Death.CanCollide = false
  461. Death.Size = Vector3.new(TornadoRadius*2,TornadoRadius*2,TornadoRadius*2)
  462. Death.CFrame = Center.CFrame
  463. local Touched = {}
  464. Death.Touched:connect(function(touch)
  465. local Humanoid = touch.Parent:FindFirstChild("Humanoid")
  466. if Humanoid and touch.Parent.Torso:FindFirstChild("Tornado") == nil and Humanoid ~= Player.Character.Humanoid then
  467. local BodyP = Instance.new("BodyPosition",Humanoid.Parent.Torso)
  468. BodyP.Name = "Tornado"
  469. table.insert(Touched,BodyP)
  470. end
  471. end)
  472. local Angle = 0
  473. local Loop = coroutine.resume(coroutine.create(function()
  474. while wait() do
  475. if Tornado == true then
  476. for i,v in pairs(Touched) do
  477. v.Position = Player.Character.Torso.Position + Vector3.new(0,10,0)
  478. v.Parent.Parent.Humanoid:TakeDamage(1)
  479. end
  480. Angle = Angle + 0.5
  481. Death.CFrame = Death.CFrame * CFrame.Angles(0.1,0.1,0.1)
  482. Player.Character.Torso.CFrame = Center.CFrame * CFrame.Angles(0,Angle,0) * CFrame.new(0,0,TornadoRadius) * CFrame.Angles(0,-math.rad(90),0)
  483. else
  484. Model:Destroy()
  485. for i,v in pairs(Touched) do
  486. v:Destroy()
  487. end
  488. break
  489. end
  490. end
  491. end))
  492. end
  493.  
  494. LightningFunc = function()
  495. local Num = 1
  496. local Loop = coroutine.resume(coroutine.create(function()
  497. while wait(0.3) do
  498. if Lightning == false then break end
  499. for i,BodyPart in pairs(Player.Character:GetChildren()) do
  500. if BodyPart:IsA("Part") and BodyPart.Name ~= "Head" and BodyPart.Name ~= "HumanoidRootPart" and BodyPart.Name ~= "Torso" then
  501. local Model = Instance.new("Model",workspace.Terrain)
  502.  
  503. local PrimaryPart = Instance.new("Part",Model)
  504. PrimaryPart.Name = "PrimaryPart"
  505. PrimaryPart.Transparency = 1
  506. PrimaryPart.Anchored = true
  507. PrimaryPart.CanCollide = false
  508. PrimaryPart.Size = Vector3.new(1,0.2,1)
  509. PrimaryPart.CFrame = BodyPart.CFrame * CFrame.new(0,
  510. -BodyPart.Size.Y/2+PrimaryPart.Size.Y/2,
  511. 0)
  512. local Point1 = Instance.new("Part",Model)
  513. Point1.Name = "Point1"
  514. Point1.Transparency = 1
  515. Point1.Anchored = true
  516. Point1.CanCollide = false
  517. Point1.Size = Vector3.new(0.2,0.2,0.2)
  518. Point1.CFrame = BodyPart.CFrame * CFrame.new(-BodyPart.Size.X/2-Point1.Size.X/2,
  519. -BodyPart.Size.Y/2+Point1.Size.Y/2,
  520. BodyPart.Size.Z/2+Point1.Size.Z/2)
  521. * CFrame.new(0,math.random(-50,50)*0.01,0)
  522. local Point2 = Instance.new("Part",Model)
  523. Point2.Name = "Point2"
  524. Point2.Transparency = 1
  525. Point2.Anchored = true
  526. Point2.CanCollide = false
  527. Point2.Size = Vector3.new(0.2,0.2,0.2)
  528. Point2.CFrame = BodyPart.CFrame * CFrame.new(-BodyPart.Size.X/2-Point2.Size.X/2,
  529. -BodyPart.Size.Y/2+Point2.Size.Y/2,
  530. -BodyPart.Size.Z/2-Point2.Size.Z/2)
  531. * CFrame.new(0,math.random(-50,50)*0.01,0)
  532. local Point3 = Instance.new("Part",Model)
  533. Point3.Name = "Point3"
  534. Point3.Transparency = 1
  535. Point3.Anchored = true
  536. Point3.CanCollide = false
  537. Point3.Size = Vector3.new(0.2,0.2,0.2)
  538. Point3.CFrame = BodyPart.CFrame * CFrame.new(BodyPart.Size.X/2+Point3.Size.X/2,
  539. -BodyPart.Size.Y/2+Point3.Size.Y/2,
  540. -BodyPart.Size.Z/2-Point3.Size.Z/2)
  541. * CFrame.new(0,math.random(-50,50)*0.01,0)
  542. local Lightning1 = Instance.new("Part",Model)
  543. local Distance = (Point2.CFrame.p-Point1.CFrame.p).magnitude
  544. Lightning1.BrickColor = CurrentColor
  545. Lightning1.Material = "Neon"
  546. Lightning1.Anchored = true
  547. Lightning1.CanCollide = false
  548. Lightning1.Size = Vector3.new(0.2,0.2,Distance)
  549. Lightning1.TopSurface = "SmoothNoOutlines"
  550. Lightning1.BottomSurface = "SmoothNoOutlines"
  551. Lightning1.BackSurface = "SmoothNoOutlines"
  552. Lightning1.FrontSurface = "SmoothNoOutlines"
  553. Lightning1.LeftSurface = "SmoothNoOutlines"
  554. Lightning1.RightSurface = "SmoothNoOutlines"
  555. Lightning1.CFrame = CFrame.new(Point2.CFrame.p,Point1.CFrame.p) * CFrame.new(0,0,-Distance/2)
  556.  
  557. local Lightning2 = Instance.new("Part",Model)
  558. local Distance = (Point3.CFrame.p-Point2.CFrame.p).magnitude
  559. Lightning2.BrickColor = CurrentColor
  560. Lightning2.Material = "Neon"
  561. Lightning2.Anchored = true
  562. Lightning2.CanCollide = false
  563. Lightning2.Size = Vector3.new(0.2,0.2,Distance)
  564. Lightning2.TopSurface = "SmoothNoOutlines"
  565. Lightning2.BottomSurface = "SmoothNoOutlines"
  566. Lightning2.BackSurface = "SmoothNoOutlines"
  567. Lightning2.FrontSurface = "SmoothNoOutlines"
  568. Lightning2.LeftSurface = "SmoothNoOutlines"
  569. Lightning2.RightSurface = "SmoothNoOutlines"
  570. Lightning2.CFrame = CFrame.new(Point3.CFrame.p,Point2.CFrame.p) * CFrame.new(0,0,-Distance/2)
  571. Model.PrimaryPart = PrimaryPart
  572. local Move = coroutine.resume(coroutine.create(function()
  573. local Up = 0
  574. for i = 0,3 do
  575. Up = Up + 0.35 + wait()
  576. Model:SetPrimaryPartCFrame(BodyPart.CFrame*CFrame.new(0,-BodyPart.Size.Y/2+PrimaryPart.Size.Y/2+Up,0))
  577. wait(0)
  578. end
  579. Model:Destroy()
  580. end))
  581. end
  582. end
  583. Num = 2
  584. for i,BodyPart in pairs(Player.Character:GetChildren()) do
  585. if BodyPart:IsA("Part") and BodyPart.Name ~= "Head" and BodyPart.Name ~= "HumanoidRootPart" and BodyPart.Name ~= "Torso" then
  586. local Model = Instance.new("Model",workspace.Terrain)
  587.  
  588. local PrimaryPart = Instance.new("Part",Model)
  589. PrimaryPart.Name = "PrimaryPart"
  590. PrimaryPart.Transparency = 1
  591. PrimaryPart.Anchored = true
  592. PrimaryPart.CanCollide = false
  593. PrimaryPart.Size = Vector3.new(1,0.2,1)
  594. PrimaryPart.CFrame = BodyPart.CFrame * CFrame.new(0,
  595. -BodyPart.Size.Y/2+PrimaryPart.Size.Y/2,
  596. 0)
  597. local Point4 = Instance.new("Part",Model)
  598. Point4.Name = "Point4"
  599. Point4.Transparency = 1
  600. Point4.Anchored = true
  601. Point4.CanCollide = false
  602. Point4.Size = Vector3.new(0.2,0.2,0.2)
  603. Point4.CFrame = BodyPart.CFrame * CFrame.new(BodyPart.Size.X/2+Point4.Size.X/2,
  604. -BodyPart.Size.Y/2+Point4.Size.Y/2,
  605. -BodyPart.Size.Z/2-Point4.Size.Z/2)
  606. * CFrame.new(0,math.random(-50,50)*0.01,0)
  607. local Point5 = Instance.new("Part",Model)
  608. Point5.Name = "Point5"
  609. Point5.Transparency = 1
  610. Point5.Anchored = true
  611. Point5.CanCollide = false
  612. Point5.Size = Vector3.new(0.2,0.2,0.2)
  613. Point5.CFrame = BodyPart.CFrame * CFrame.new(BodyPart.Size.X/2+Point5.Size.X/2,
  614. -BodyPart.Size.Y/2+Point5.Size.Y/2,
  615. BodyPart.Size.Z/2+Point5.Size.Z/2)
  616. * CFrame.new(0,math.random(-50,50)*0.01,0)
  617. local Point6 = Instance.new("Part",Model)
  618. Point6.Name = "Point6"
  619. Point6.Transparency = 1
  620. Point6.Anchored = true
  621. Point6.CanCollide = false
  622. Point6.Size = Vector3.new(0.2,0.2,0.2)
  623. Point6.CFrame = BodyPart.CFrame * CFrame.new(-BodyPart.Size.X/2-Point6.Size.X/2,
  624. -BodyPart.Size.Y/2+Point6.Size.Y/2,
  625. BodyPart.Size.Z/2+Point6.Size.Z/2)
  626. * CFrame.new(0,math.random(-50,50)*0.01,0)
  627.  
  628. local Lightning3 = Instance.new("Part",Model)
  629. local Distance = (Point5.CFrame.p-Point4.CFrame.p).magnitude
  630. Lightning3.BrickColor = CurrentColor
  631. Lightning3.Material = "Neon"
  632. Lightning3.Anchored = true
  633. Lightning3.CanCollide = false
  634. Lightning3.Size = Vector3.new(0.2,0.2,Distance)
  635. Lightning3.TopSurface = "SmoothNoOutlines"
  636. Lightning3.BottomSurface = "SmoothNoOutlines"
  637. Lightning3.BackSurface = "SmoothNoOutlines"
  638. Lightning3.FrontSurface = "SmoothNoOutlines"
  639. Lightning3.LeftSurface = "SmoothNoOutlines"
  640. Lightning3.RightSurface = "SmoothNoOutlines"
  641. Lightning3.CFrame = CFrame.new(Point5.CFrame.p,Point4.CFrame.p) * CFrame.new(0,0,-Distance/2)
  642.  
  643. local Lightning4 = Instance.new("Part",Model)
  644. local Distance = (Point6.CFrame.p-Point5.CFrame.p).magnitude
  645. Lightning4.BrickColor = CurrentColor
  646. Lightning4.Material = "Neon"
  647. Lightning4.Anchored = true
  648. Lightning4.CanCollide = false
  649. Lightning4.Size = Vector3.new(0.2,0.2,Distance)
  650. Lightning4.TopSurface = "SmoothNoOutlines"
  651. Lightning4.BottomSurface = "SmoothNoOutlines"
  652. Lightning4.BackSurface = "SmoothNoOutlines"
  653. Lightning4.FrontSurface = "SmoothNoOutlines"
  654. Lightning4.LeftSurface = "SmoothNoOutlines"
  655. Lightning4.RightSurface = "SmoothNoOutlines"
  656. Lightning4.CFrame = CFrame.new(Point6.CFrame.p,Point5.CFrame.p) * CFrame.new(0,0,-Distance/2)
  657. Model.PrimaryPart = PrimaryPart
  658. local Move = coroutine.resume(coroutine.create(function()
  659. local Up = 0
  660. for i = 0,3 do
  661. Up = Up + 0.35 + wait()
  662. Model:SetPrimaryPartCFrame(BodyPart.CFrame*CFrame.new(0,-BodyPart.Size.Y/2+PrimaryPart.Size.Y/2+Up,0))
  663. wait(0)
  664. end
  665. Model:Destroy()
  666. end))
  667. end
  668. end
  669. Num = 1
  670. end
  671. end))
  672. end
  673.  
  674. PhaseFunc = coroutine.resume(coroutine.create(function()
  675. while wait() do
  676. if Phasing == true then
  677. if Player.Character:FindFirstChild("Torso") then
  678. Player.Character:FindFirstChild("Torso").CFrame = Player.Character:FindFirstChild("Torso").CFrame * CFrame.new(0,0,-Player.Character.Humanoid.WalkSpeed/10)
  679. end
  680. end
  681. end
  682. end))
  683.  
  684. Mouse.KeyDown:connect(function(key)
  685. if key == "r" then
  686. if Phasing == false then
  687. Phasing = true
  688. else
  689. Phasing = false
  690. end
  691. end
  692. if key == "e" then
  693. if Tornado == false then
  694. Tornado = true
  695. TornadoFunc()
  696. else
  697. Tornado = false
  698. end
  699. end
  700. if key == "f" then
  701. if Portal == false then
  702. Portal = true
  703. PortalFunc()
  704. else
  705. Portal = false
  706. ExitPortalFunc()
  707. end
  708. end
  709. if key == "t" then
  710. if Morph == false then
  711. Morph = true
  712. MorphFunc()
  713. else
  714. Morph = false
  715. end
  716. end
  717. if key == "z" then
  718. if Lightning == false then
  719. Lightning = true
  720. LightningFunc()
  721. else
  722. Lightning = false
  723. end
  724. end
  725. end)
  726.  
  727. local Fists = false
  728. Mouse.Button1Down:connect(function()
  729. if Mouse.Target and Mouse.Target.Parent:FindFirstChild("Humanoid") then
  730. if Fists == true then return end
  731. Fists = true
  732. local Humanoid = Mouse.Target.Parent:FindFirstChild("Humanoid")
  733. local Torso = Mouse.Target.Parent:FindFirstChild("Torso")
  734. local PTorso = Player.Character.Torso
  735. local Root = Player.Character.HumanoidRootPart
  736. local HeadC0 = Player.Character.Torso.Neck
  737. local Head = Player.Character.Head
  738. local LArm = Player.Character["Left Arm"]
  739. local RArm = Player.Character["Right Arm"]
  740. Torso.Anchored = true
  741. PTorso.Anchored = true
  742. PTorso["Right Shoulder"].C0 = PTorso["Right Shoulder"].C0 * CFrame.Angles(0,math.rad(40),math.rad(90))
  743. PTorso["Left Shoulder"].C0 = PTorso["Left Shoulder"].C0 * CFrame.Angles(0,0,-math.rad(45))
  744. Torso.CFrame = PTorso.CFrame * CFrame.new(1.3,0,-4) * CFrame.Angles(0,math.rad(180),0)
  745. local Turn1 = 2
  746. for i = 1,10,Turn1 do
  747. PTorso.CFrame = PTorso.CFrame * CFrame.Angles(0,-math.rad(Turn1*4),0)
  748. HeadC0.C0 = HeadC0.C0 * CFrame.Angles(0,0,-math.rad(Turn1*4))
  749. wait()
  750. end
  751. local Turn2 = 4
  752. for i = 1,20,Turn2 do
  753. Torso.CFrame = Torso.CFrame * CFrame.new(0,0,-0.5)
  754. PTorso.CFrame = PTorso.CFrame * CFrame.Angles(0,math.rad(Turn2*4),0)
  755. PTorso["Right Shoulder"].C0 = PTorso["Right Shoulder"].C0 * CFrame.Angles(-math.rad(Turn2*4),0,0)
  756. wait()
  757. end
  758. wait(1)
  759. local Turn3 = 4
  760. for i = 1,20,Turn3 do
  761. Torso.CFrame = Torso.CFrame * CFrame.new(0,0,0.5)
  762. PTorso["Right Shoulder"].C0 = PTorso["Right Shoulder"].C0 * CFrame.Angles(math.rad(Turn3*2),0,0)
  763. PTorso.CFrame = PTorso.CFrame * CFrame.Angles(0,-math.rad(Turn3*2),0)
  764. PTorso["Left Shoulder"].C0 = PTorso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.rad(Turn3*2.25))
  765. HeadC0.C0 = HeadC0.C0 * CFrame.Angles(0,0,math.rad(Turn1*4))
  766. wait()
  767. end
  768. local Turn4 = 3
  769. for i = 1,9,Turn4 do
  770. PTorso["Right Shoulder"].C0 = PTorso["Right Shoulder"].C0 * CFrame.Angles(0,0,-math.rad(Turn4*10))
  771. wait()
  772. end
  773. Torso.Anchored = false
  774. PTorso.Anchored = false
  775. Humanoid.Health = 0
  776. Fists = false
  777. end
  778. end)
  779.  
  780. MakeNewLimb = function(Transparency,Color,Relative,PreviousPosition,IsRelative,Parent,PEnabled)
  781. local Distance = (PreviousPosition.p-Relative.CFrame.p).magnitude
  782. local Ray = Instance.new("Part",Parent)
  783. Ray.Name = Relative.Name
  784. Ray.BrickColor = Color
  785. Ray.Size = Vector3.new(Relative.Size.X,Relative.Size.Y,Distance)
  786. if PreviousPosition then
  787. Ray.CFrame = CFrame.new(PreviousPosition.p , Relative.CFrame.p) * CFrame.new(0,0,-Distance/2)
  788. else
  789. Ray.CFrame = CFrame.new(PreviousPosition.p , Relative.CFrame.p) * CFrame.new(0,0,-Distance/2)
  790. end
  791. Ray.Transparency = Transparency
  792. Ray.Anchored = true
  793. Ray.CanCollide = false
  794. Ray.TopSurface = "SmoothNoOutlines"
  795. Ray.BackSurface = "SmoothNoOutlines"
  796. Ray.BottomSurface = "SmoothNoOutlines"
  797. Ray.FrontSurface = "SmoothNoOutlines"
  798. Ray.LeftSurface = "SmoothNoOutlines"
  799. Ray.RightSurface = "SmoothNoOutlines"
  800.  
  801. return Ray
  802. end
  803.  
  804. MakeNewClassicRay = function(Transparency,Color,Relative,PreviousPosition,IsRelative,Parent,PEnabled)
  805. local Point = Instance.new("Part",Parent)
  806. Point.Transparency = 1
  807. Point.Anchored = true
  808. Point.CanCollide = false
  809. Point.TopSurface = "SmoothNoOutlines"
  810. Point.BackSurface = "SmoothNoOutlines"
  811. Point.BottomSurface = "SmoothNoOutlines"
  812. Point.FrontSurface = "SmoothNoOutlines"
  813. Point.LeftSurface = "SmoothNoOutlines"
  814. Point.RightSurface = "SmoothNoOutlines"
  815. Point.Size = Vector3.new(0.2,0.2,0.2)
  816. Point.CFrame = Relative.CFrame
  817. * CFrame.new(0,0,0)
  818. local Distance = (PreviousPosition.p-Point.CFrame.p).magnitude
  819. local Ray = Instance.new("Part",Parent)
  820. Ray.Name = "Ray"
  821. Ray.BrickColor = Color
  822. if IsRelative then
  823. Ray.Size = Vector3.new(Relative.Size.X,Relative.Size.Y,Distance)
  824. else
  825. Ray.Size = Vector3.new(0.2,1,Distance)
  826. end
  827. if PreviousPosition then
  828. Ray.CFrame = CFrame.new(PreviousPosition.p , Point.CFrame.p) * CFrame.new(0,0,-Distance/2)
  829. else
  830. Ray.CFrame = CFrame.new(PreviousPosition.p , Point.CFrame.p) * CFrame.new(0,0,-Distance/2)
  831. end
  832. Ray.Transparency = 1
  833. Ray.Anchored = true
  834. Ray.CanCollide = false
  835. Ray.TopSurface = "SmoothNoOutlines"
  836. Ray.BackSurface = "SmoothNoOutlines"
  837. Ray.BottomSurface = "SmoothNoOutlines"
  838. Ray.FrontSurface = "SmoothNoOutlines"
  839. Ray.LeftSurface = "SmoothNoOutlines"
  840. Ray.RightSurface = "SmoothNoOutlines"
  841. local Box = Instance.new("BoxHandleAdornment",Ray)
  842. Box.Color = Color
  843. Box.Transparency = Transparency
  844. if IsRelative then
  845. Box.Size = Ray.Size
  846. else
  847. Box.Size = Ray.Size - Vector3.new(0.0,0,0)
  848. end
  849. Box.Adornee = Ray
  850. if PEnabled then
  851. local PointLight = Instance.new("PointLight",Ray)
  852. PointLight.Color = CurrentColor.Color
  853. PointLight.Range = 20
  854. end
  855. return Point
  856. end
  857.  
  858. MakeNewCWRay = function(Transparency,Color,Relative,PreviousPosition,IsRelative,Parent,PEnabled,Math,Math2)
  859. local Point = Instance.new("Part",Parent)
  860. Point.Transparency = 1
  861. Point.Anchored = true
  862. Point.CanCollide = false
  863. Point.TopSurface = "SmoothNoOutlines"
  864. Point.BackSurface = "SmoothNoOutlines"
  865. Point.BottomSurface = "SmoothNoOutlines"
  866. Point.FrontSurface = "SmoothNoOutlines"
  867. Point.LeftSurface = "SmoothNoOutlines"
  868. Point.RightSurface = "SmoothNoOutlines"
  869. Point.Size = Vector3.new(0.2,0.2,0.2)
  870. Point.CFrame = Relative.CFrame
  871. * CFrame.new(Math,Math2,0)
  872. local Distance = (PreviousPosition.p-Point.CFrame.p).magnitude
  873. local Ray = Instance.new("Part",Parent)
  874. Ray.Name = "Ray"
  875. Ray.Material = "SmoothPlastic"
  876. Ray.BrickColor = Color
  877. if IsRelative then
  878. Ray.Size = Vector3.new(Relative.Size.X,Relative.Size.Y,Distance)
  879. else
  880. Ray.Size = Vector3.new(0.2,0.2,Distance)
  881. end
  882. if PreviousPosition then
  883. Ray.CFrame = CFrame.new(PreviousPosition.p , Point.CFrame.p) * CFrame.new(0,0,-Distance/2)
  884. else
  885. Ray.CFrame = CFrame.new(PreviousPosition.p , Point.CFrame.p) * CFrame.new(0,0,-Distance/2)
  886. end
  887. Ray.Transparency = Transparency
  888. Ray.Anchored = true
  889. Ray.CanCollide = false
  890. Ray.TopSurface = "SmoothNoOutlines"
  891. Ray.BackSurface = "SmoothNoOutlines"
  892. Ray.BottomSurface = "SmoothNoOutlines"
  893. Ray.FrontSurface = "SmoothNoOutlines"
  894. Ray.LeftSurface = "SmoothNoOutlines"
  895. Ray.RightSurface = "SmoothNoOutlines"
  896. local Box = Instance.new("SelectionBox",Ray)
  897. Box.Color = Color
  898. Box.Transparency = Transparency
  899. Box.Adornee = Ray
  900. if PEnabled then
  901. local PointLight = Instance.new("PointLight",Ray)
  902. PointLight.Color = CurrentColor.Color
  903. PointLight.Range = 20
  904. end
  905. return Point
  906. end
  907.  
  908. Rays = coroutine.resume(coroutine.create(function()
  909. while wait() do
  910. if InPortal == false then
  911. local ClassicRays = false
  912. local CWRays = false
  913. for i,v in pairs(Trails) do
  914. if v["Active"] == true then
  915. if "Classic" == v["Trail"] then ClassicRays = true end
  916. if "CW" == v["Trail"] then CWRays = true end
  917. end
  918. end
  919. if Player.Character:FindFirstChild("Torso") and (Player.Character.Torso.CFrame.p-PreviousPoints["Torso"].p).magnitude > 1 and ClassicRays == true then
  920. local Model = Instance.new("Model",workspace.Terrain)
  921. local Torso = MakeNewClassicRay(1,CurrentColor,Player.Character.Torso,PreviousPoints["Torso"],true,Model,true)
  922. local LeftArm = MakeNewClassicRay(0,CurrentColor,Player.Character["Left Arm"],PreviousPoints["LeftArm"],false,Model,false)
  923. local RightArm = MakeNewClassicRay(0,CurrentColor,Player.Character["Right Arm"],PreviousPoints["RightArm"],false,Model,false)
  924. local LeftLeg = MakeNewClassicRay(0,CurrentColor,Player.Character["Left Leg"],PreviousPoints["LeftLeg"],false,Model,false)
  925. local RightLeg = MakeNewClassicRay(0,CurrentColor,Player.Character["Right Leg"],PreviousPoints["RightLeg"],false,Model,false)
  926. PreviousPoints["Torso"] = Player.Character.Torso.CFrame
  927. PreviousPoints["LeftArm"] = LeftArm.CFrame
  928. PreviousPoints["RightArm"] = RightArm.CFrame
  929. PreviousPoints["LeftLeg"] = LeftLeg.CFrame
  930. PreviousPoints["RightLeg"] = RightLeg.CFrame
  931. local DeleteModel = coroutine.resume(coroutine.create(function()
  932. wait(0.5)
  933. Model:Destroy()
  934. end))
  935. end
  936. if Player.Character:FindFirstChild("Torso") and (Player.Character.Torso.CFrame.p-PreviousPoints["Torso"].p).magnitude > 5 and CWRays == true then
  937. local Model = Instance.new("Model",workspace.Terrain)
  938. local Torso = MakeNewCWRay(1,CurrentColor,Player.Character.Torso,PreviousPoints["Torso"],true,Model,true,0,0)
  939. local LeftArm = MakeNewCWRay(0.4,CurrentColor,Player.Character["Left Arm"],PreviousPoints["LeftArm"],false,Model,false,math.random(-150,-50)*0.02,math.random(-50,100)*0.02)
  940. local RightArm = MakeNewCWRay(0.4,CurrentColor,Player.Character["Right Arm"],PreviousPoints["RightArm"],false,Model,false,math.random(50,150)*0.02,math.random(-50,100)*0.02)
  941. local LeftLeg = MakeNewCWRay(0.4,CurrentColor,Player.Character["Left Leg"],PreviousPoints["LeftLeg"],false,Model,false,math.random(-150,-50)*0.02,math.random(-50,100)*0.02)
  942. local RightLeg = MakeNewCWRay(0.4,CurrentColor,Player.Character["Right Leg"],PreviousPoints["RightLeg"],false,Model,false,math.random(50,150)*0.02,math.random(-50,100)*0.02)
  943. local PLeftArm = MakeNewCWRay(0.4,CurrentColor,Player.Character["Left Arm"],PreviousPoints["LAPoint1"],false,Model,false,math.random(-150,-50)*0.02,math.random(-50,100)*0.02)
  944. local PRightArm = MakeNewCWRay(0.4,CurrentColor,Player.Character["Right Arm"],PreviousPoints["RAPoint1"],false,Model,false,math.random(50,150)*0.02,math.random(-50,100)*0.02)
  945. local PLeftLeg = MakeNewCWRay(0.4,CurrentColor,Player.Character["Left Leg"],PreviousPoints["LLPoint1"],false,Model,false,math.random(-150,-50)*0.02,math.random(-50,100)*0.02)
  946. local PRightLeg = MakeNewCWRay(0.4,CurrentColor,Player.Character["Right Leg"],PreviousPoints["RLPoint1"],false,Model,false,math.random(50,150)*0.02,math.random(-50,100)*0.02)
  947. local LeftArmLimb = MakeNewLimb(0.7,Player.Character["Left Arm"].BrickColor,Player.Character["Left Arm"],PreviousLimbs["LeftArm"],true,Model,false)
  948. local RightArmLimb = MakeNewLimb(0.7,Player.Character["Right Arm"].BrickColor,Player.Character["Right Arm"],PreviousLimbs["RightArm"],true,Model,false)
  949. local LeftLegLimb = MakeNewLimb(0.7,Player.Character["Left Leg"].BrickColor,Player.Character["Left Leg"],PreviousLimbs["LeftLeg"],true,Model,false)
  950. local RightLegLimb = MakeNewLimb(0.7,Player.Character["Right Leg"].BrickColor,Player.Character["Right Leg"],PreviousLimbs["RightLeg"],true,Model,false)
  951. PreviousPoints["Torso"] = Player.Character.Torso.CFrame
  952. PreviousPoints["LeftArm"] = LeftArm.CFrame
  953. PreviousPoints["RightArm"] = RightArm.CFrame
  954. PreviousPoints["LeftLeg"] = LeftLeg.CFrame
  955. PreviousPoints["RightLeg"] = RightLeg.CFrame
  956. PreviousPoints["LAPoint1"] = PLeftArm.CFrame
  957. PreviousPoints["RAPoint1"] = PRightArm.CFrame
  958. PreviousPoints["LLPoint1"] = PLeftLeg.CFrame
  959. PreviousPoints["RLPoint1"] = PRightLeg.CFrame
  960. PreviousLimbs["LeftArm"] = Player.Character["Left Arm"].CFrame
  961. PreviousLimbs["RightArm"] = Player.Character["Right Arm"].CFrame
  962. PreviousLimbs["LeftLeg"] = Player.Character["Left Leg"].CFrame
  963. PreviousLimbs["RightLeg"] = Player.Character["Right Leg"].CFrame
  964. for i,v in pairs(Player.Character:GetChildren()) do
  965. if v:IsA("Shirt") then
  966. local Shirt = Instance.new("Shirt",Model)
  967. Shirt.ShirtTemplate = v.ShirtTemplate
  968. end
  969. if v:IsA("Pants") then
  970. local Pants = Instance.new("Pants",Model)
  971. Pants.PantsTemplate = v.PantsTemplate
  972. end
  973. end
  974. local Humanoid = Instance.new("Humanoid",Model)
  975.  
  976. local DeleteModel = coroutine.resume(coroutine.create(function()
  977. wait(0.5)
  978. Model:Destroy()
  979. end))
  980. end
  981. end
  982. end
  983. end))
Add Comment
Please, Sign In to add comment