Advertisement
zed_isJayTheLionJR

DESTRUCTON INCARNATE

Jan 25th, 2019
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. p = game.Players.LocalPlayer
  2. char = p.Character
  3. local char = p.Character
  4. torso = char.Torso
  5. neck = char.Torso.Neck
  6. hum = char.Humanoid
  7. Player = game:GetService("Players").LocalPlayer
  8. Character = Player.Character
  9. tors = Character.Torso
  10. root = Character.HumanoidRootPart
  11. lleg = Character["Left Leg"]
  12. hed = Character.Head
  13. rleg = Character["Right Leg"]
  14. rarm = Character["Right Arm"]
  15. larm = Character["Left Arm"]
  16.  
  17. ypcall(function()
  18. for i,v in pairs(Character:children()) do
  19. if v:IsA("Hat") then
  20. v:Destroy()
  21. end
  22. end
  23. for i,v in pairs(Character:children()) do
  24. if v:IsA("Accessory") then
  25. v:Destroy()
  26. end
  27. end
  28. for i,v in pairs(Character:children()) do
  29. if v:IsA("Hair") then
  30. v:Destroy()
  31. end
  32. end
  33. end)
  34.  
  35. CV="Hot pink"
  36.  
  37. local txt = Instance.new("BillboardGui", char)
  38. txt.Adornee = char .Head
  39. txt.Name = "_status"
  40. txt.Size = UDim2.new(2, 0, 1.2, 0)
  41. txt.StudsOffset = Vector3.new(-9, 8, 0)
  42. local text = Instance.new("TextLabel", txt)
  43. text.Size = UDim2.new(10, 0, 7, 0)
  44. text.FontSize = "Size24"
  45. text.TextScaled = true
  46. text.TextTransparency = 0
  47. text.BackgroundTransparency = 1
  48. text.TextTransparency = 0
  49. text.TextStrokeTransparency = 0
  50. text.Font = "Highway"
  51. text.TextStrokeColor3 = BrickColor.new("Really black").Color
  52.  
  53. v=Instance.new("Part")
  54. v.Name = "ColorBrick"
  55. v.Parent=p.Character
  56. v.FormFactor="Symmetric"
  57. v.Anchored=true
  58. v.CanCollide=false
  59. v.BottomSurface="Smooth"
  60. v.TopSurface="Smooth"
  61. v.Size=Vector3.new(10,5,3)
  62. v.Transparency=1
  63. v.CFrame=char.Torso.CFrame
  64. v.BrickColor=BrickColor.new(CV)
  65. v.Transparency=1
  66. text.TextColor3 = BrickColor.new("Really Black").Color
  67. v.Shape="Block"
  68. text.Text = "Desruction"
  69.  
  70. hed.face.Texture = "http://www.roblox.com/asset/?id=0"
  71. hed.Transparency = 0
  72. rleg.Transparency = 0
  73. rarm.Transparency = 0
  74. larm.Transparency = 0
  75. lleg.Transparency = 0
  76. tors.Transparency = 0
  77.  
  78. Player = game:GetService("Players").LocalPlayer
  79. Character = Player.Character
  80. rarm = Character["Right Arm"]
  81. larm = Character["Left Arm"]
  82. vt = Vector3.new
  83. bc = BrickColor.new
  84. wit = bc("Earth Green").Color
  85.  
  86. local prth = Instance.new("Part",Character)
  87. prth.Size = vt(30,30,30)
  88. prth.CanCollide = false
  89. prth.Material = "Neon"
  90. prth.Transparency = 0.5
  91. prth.BrickColor = bc("Black")
  92. local wldh = Instance.new("Weld",Character)
  93. wldh.Part0 = hed
  94. wldh.Part1 = prth
  95.  
  96. local prtrm = Instance.new("Part",Character)
  97. prtrm.Size = vt(30,30,30)
  98. prtrm.CanCollide = false
  99. prtrm.Transparency = 0.5
  100. prtrm.Material = "Neon"
  101. prtrm.BrickColor = bc("Black")
  102. local wldm = Instance.new("Weld",Character)
  103. wldm.Part0 = root
  104. wldm.Part1 = prtrm
  105.  
  106. local prtr = Instance.new("Part",Character)
  107. prtr.Size = vt(30,30,30)
  108. prtr.CanCollide = false
  109. prtr.Transparency = 0.5
  110. prtr.Material = "Neon"
  111. prtr.BrickColor = bc("Black")
  112. local prtrl = Instance.new("Part",Character)
  113. prtrl.Size = vt(30,30,30)
  114. prtrl.CanCollide = false
  115. prtrl.Transparency = 0.5
  116. prtrl.Material = "Neon"
  117. prtrl.BrickColor = bc("Black")
  118. local eff = Instance.new("ParticleEmitter",prtr)
  119. eff.LightEmission = 1
  120. eff.Texture = "rbxassetid://284205403"
  121. eff.Color = ColorSequence.new(wit)
  122. eff.Size = NumberSequence.new(0.5,1)
  123. eff.Acceleration = vt(0,25,0)
  124. eff.Speed = NumberRange.new(-5)
  125. eff.LockedToPart = false
  126. eff.Transparency = NumberSequence.new(0.95)
  127. eff.Lifetime = NumberRange.new(0.5)
  128. eff.Rate = 100000
  129. eff.VelocitySpread = 25
  130. local wld = Instance.new("Weld",Character)
  131. wld.Part0 = rarm
  132. wld.Part1 = prtr
  133. local wldl = Instance.new("Weld",Character)
  134. wldl.Part0 = rleg
  135. wldl.Part1 = prtrl
  136.  
  137. local prtr2 = Instance.new("Part",Character)
  138. prtr2.Size = vt(30,30,30)
  139. prtr2.CanCollide = false
  140. prtr2.Transparency = 0.5
  141. prtr2.Material = "Neon"
  142. prtr2.BrickColor = bc("Black")
  143. local prtrl2 = Instance.new("Part",Character)
  144. prtrl2.Size = vt(30,30,30)
  145. prtrl2.CanCollide = false
  146. prtrl2.Transparency = 0.5
  147. prtrl2.Material = "Neon"
  148. prtrl2.BrickColor = bc("Black")
  149. local eff2 = Instance.new("ParticleEmitter",prtr2)
  150. eff2.LightEmission = 1
  151. eff2.Texture = "rbxassetid://284205403"
  152. eff2.Color = ColorSequence.new(wit)
  153. eff2.Size = NumberSequence.new(0.5,1)
  154. eff2.Acceleration = vt(0,25,0)
  155. eff2.Speed = NumberRange.new(-5)
  156. eff2.LockedToPart = false
  157. eff2.Transparency = NumberSequence.new(0.95)
  158. eff2.Lifetime = NumberRange.new(0.5)
  159. eff2.Rate = 100000
  160. eff2.VelocitySpread = 25
  161. local wld2 = Instance.new("Weld",Character)
  162. wld2.Part0 = larm
  163. wld2.Part1 = prtr2
  164. local wldl2 = Instance.new("Weld",Character)
  165. wldl2.Part0 = lleg
  166. wldl2.Part1 = prtrl2
  167.  
  168. local mouse = game.Players.LocalPlayer:GetMouse()
  169. tors = game.Players.LocalPlayer.Character.Torso
  170. vt = Vector3.new
  171. bc = BrickColor.new
  172.  
  173. local Effect = Instance.new("Part",game.Lighting)
  174. Effect.BrickColor = bc("Really Black")
  175. Effect.Transparency = 1
  176. Effect.Anchored = true
  177. Effect.CanCollide = false
  178. Effect.Material = "Neon"
  179. Effect.Shape = "Ball"
  180. Effect.Size = vt(5,5,5)
  181. local fire1 = Instance.new("Fire",Effect)
  182. fire1.Name = "Fire"
  183. fire1.Heat = 0
  184. fire1.Size = 30
  185. fire1.SecondaryColor = bc("Really black").Color
  186. fire1.Color = bc("Deep orange").Color
  187. local fire2 = Instance.new("Fire",Effect)
  188. fire2.Name = "Fire2"
  189. fire2.Heat = 0
  190. fire2.Size = 25
  191. fire2.SecondaryColor = bc("Really black").Color
  192. fire2.Color = bc("Neon orange").Color
  193.  
  194. function Explode(rad,par)
  195. local expart = Instance.new("Part",script.Parent)
  196. local expart2 = Instance.new("Part",script.Parent)
  197. local snd = Instance.new("Sound",expart)
  198. snd.SoundId = "rbxassetid://258057783"
  199. snd.Volume = 2.5
  200. local partMesh = Instance.new("SpecialMesh",expart)
  201. partMesh.MeshType = "Sphere"
  202. local partMesh2 = Instance.new("SpecialMesh",expart2)
  203. partMesh2.MeshType = "Sphere"
  204. local expld = Instance.new("Explosion", script.Parent)
  205. expld.BlastRadius = rad
  206. expld.Position = par.Position
  207. partMesh.Scale = vt(rad,rad,rad)
  208. expart.Size = vt(1,1,1)*1.5
  209. expart.Transparency = 0.5
  210. expart.Anchored = true
  211. expart.Material = "Neon"
  212. expart.BrickColor = bc("Deep orange")
  213. expart.CFrame = par.CFrame
  214. partMesh2.Scale = vt(rad,rad,rad)
  215. expart2.Size = vt(1.15,1.15,1.15)*1.5
  216. expart2.Transparency = 0.5
  217. expart2.Anchored = true
  218. expart2.Material = "Neon"
  219. expart2.BrickColor = bc("Bright orange")
  220. expart2.CFrame = par.CFrame
  221. snd:Play()
  222. for i = 0, 100 do
  223. expart.Transparency = expart.Transparency + 0.005
  224. partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25)
  225. expart.CFrame = expart.CFrame
  226. expart2.Transparency = expart.Transparency + 0.005
  227. partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25)
  228. expart2.CFrame = expart.CFrame
  229. wait(0)
  230. end
  231. snd.Parent = nil
  232. expart.Parent = nil
  233. expart2.Parent = nil
  234. expld.Parent = nil
  235. end
  236.  
  237. function Explode2(rad,par)
  238. local expart = Instance.new("Part",script.Parent)
  239. local expart2 = Instance.new("Part",script.Parent)
  240. local snd = Instance.new("Sound",expart)
  241. snd.SoundId = "rbxassetid://165969964"
  242. snd.Volume = 3
  243. local partMesh = Instance.new("SpecialMesh",expart)
  244. partMesh.MeshType = "Sphere"
  245. local partMesh2 = Instance.new("SpecialMesh",expart2)
  246. partMesh2.MeshType = "Sphere"
  247. local expld = Instance.new("Explosion", script.Parent)
  248. expld.BlastRadius = rad
  249. expld.Position = par.Position
  250. partMesh.Scale = vt(rad,rad,rad)
  251. expart.Size = vt(1,1,1)*1.5
  252. expart.Transparency = 0.5
  253. expart.Anchored = true
  254. expart.Material = "Neon"
  255. expart.BrickColor = bc("Deep orange")
  256. expart.CFrame = par.CFrame
  257. partMesh2.Scale = vt(rad,rad,rad)
  258. expart2.Size = vt(1.15,1.15,1.15)*1.5
  259. expart2.Transparency = 0.5
  260. expart2.Anchored = true
  261. expart2.Material = "Neon"
  262. expart2.BrickColor = bc("Bright orange")
  263. expart2.CFrame = par.CFrame
  264. snd:Play()
  265. for i = 0, 100 do
  266. expart.Transparency = expart.Transparency + 0.005
  267. partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25)
  268. expart.CFrame = expart.CFrame
  269. expart2.Transparency = expart.Transparency + 0.005
  270. partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25)
  271. expart2.CFrame = expart.CFrame
  272. wait(0)
  273. end
  274. snd.Parent = nil
  275. expart.Parent = nil
  276. expart2.Parent = nil
  277. expld.Parent = nil
  278. end
  279.  
  280. mouse.KeyDown:connect(function(k)
  281.  
  282. k = k:lower()
  283. if k == "q" then
  284. local spart = Effect:Clone()
  285. spart.Parent = game.Players.LocalPlayer.Character
  286. spart.Transparency = 0
  287. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*5
  288. wait()
  289. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*15
  290. wait()
  291. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*25
  292. wait()
  293. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*35
  294. wait()
  295. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*45
  296. wait()
  297. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*55
  298. wait()
  299. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*65
  300. wait()
  301. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*75
  302. wait()
  303. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*85
  304. wait()
  305. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*95
  306. wait()
  307. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*105
  308. spart.Transparency = 1
  309. spart.Fire2:Destroy()
  310. spart.Fire:Destroy()
  311. Explode(25,spart)
  312. spart:Destroy()
  313. end
  314. if k == "e" then
  315. local spart = Effect:Clone()
  316. spart.Parent = game.Players.LocalPlayer.Character
  317. spart.Transparency = 0
  318. spart.Anchored = false
  319. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*0
  320. spart.Position = spart.Position + vt(0,100,0)
  321. spart.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*150
  322. wait(1)
  323. spart.Transparency = 1
  324. spart.Fire2:Destroy()
  325. spart.Fire:Destroy()
  326. Explode2(75,spart)
  327. spart:Destroy()
  328. end
  329. if k == "r" then
  330. local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character)
  331. game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*275
  332. wait(0.75)
  333. game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*-165
  334. Explode(30,game.Players.LocalPlayer.Character.Torso)
  335. wait(0.5)
  336. ff:Destroy()
  337. end
  338. if k == "f" then
  339. local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character)
  340. for i = 0, 10 do
  341. game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,10,0)
  342. wait(0)
  343. end
  344. for i = 0, 5 do
  345. game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,1,0)
  346. wait(0)
  347. end
  348. game.Players.LocalPlayer.Character.Torso.Anchored = true
  349. wait(1.5)
  350. game.Players.LocalPlayer.Character.Torso.Anchored = false
  351. for i = 0, 10 do
  352. game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,-1,0)
  353. wait(0)
  354. end
  355. wait(0.25)
  356. Explode2(62.5,game.Players.LocalPlayer.Character.Torso)
  357. wait(0.5)
  358. ff:Destroy()
  359. end
  360. end)
  361.  
  362. local time = tick()
  363.  
  364. local plr = game:GetService("Players").LocalPlayer
  365. local mouse,char = plr:GetMouse(),plr.Character
  366.  
  367. local amountGhosts = 5
  368.  
  369. for i,v in pairs(game:GetService("Workspace").CurrentCamera:GetChildren()) do v:Destroy() end
  370.  
  371. local toggle,cd,mcd = false,false,false
  372. local ghosts = {}
  373. local temptab = {}
  374.  
  375. char:WaitForChild("Animate"):Destroy()
  376. char.Humanoid:WaitForChild("Animator"):Destroy()
  377.  
  378. local state = "idle"
  379.  
  380. local gt = false
  381.  
  382. local gyro = Instance.new("BodyGyro",char:WaitForChild("HumanoidRootPart")) --Stops the character from glitching out on enter/exit
  383. gyro.MaxTorque = Vector3.new(0,0,0)
  384. gyro.D = 0
  385. gyro.P = 100000000
  386.  
  387.  
  388. local wCol = BrickColor.new("Really red")
  389. local wCol2 = BrickColor.new("Really black")
  390. local gCol = BrickColor.new("Toothpaste")
  391. local gCol2 = BrickColor.new("Institutional white")
  392.  
  393. function searchAll(m,clear)
  394. if clear then
  395. if clear == true then
  396. for i,v in pairs(temptab) do
  397. table.remove(temptab,1)
  398. end
  399. end
  400. end
  401. for i,v in pairs(m:GetChildren()) do
  402. if v then
  403. local s = v:Clone()
  404. for _,b in pairs(s:GetChildren()) do
  405. b:Destroy()
  406. end
  407. if s:IsA("Part") or s:IsA("WedgePart") or s:IsA("TrussPart") or s:IsA("UnionOperation") then
  408. if s.Name ~= "HumanoidRootPart" then
  409. s.Anchored = true
  410. s.CanCollide = false
  411. s.Transparency = 0.95
  412. s.TopSurface = "Smooth"
  413. s.BottomSurface = "Smooth"
  414. s.FrontSurface = "Smooth"
  415. s.RightSurface = "Smooth"
  416. s.BackSurface = "Smooth"
  417. s.LeftSurface = "Smooth"
  418. if s.Material ~= Enum.Material.Neon then
  419. if gt == true then
  420. s.BrickColor = wCol2
  421. else
  422. s.BrickColor = gCol2
  423. end
  424. else
  425. if gt == true then
  426. s.BrickColor = wCol
  427. else
  428. s.BrickColor = gCol
  429. end
  430. end
  431. for _,c in pairs(v:GetChildren()) do
  432. if c:IsA("SpecialMesh") or c:IsA("CylinderMesh") then
  433. c:Clone().Parent = s
  434. end
  435. end
  436. local objValue = Instance.new("ObjectValue",s)
  437. objValue.Name = "Target"
  438. objValue.Value = v
  439. table.insert(temptab,s)
  440. end
  441. --elseif s:IsA("CharacterMesh") then
  442. --table.insert(temptab,s)
  443. end
  444. --searchAll(v)
  445. end
  446. end
  447. return temptab
  448. end
  449.  
  450. function CreateGhost()
  451. local ghost = Instance.new("Model",game.Workspace)
  452. searchAll(char,true)
  453. ghost.Name = char.Name.."'s Ghost "..#ghosts..#plr.Name
  454. --Instance.new("Humanoid",ghost)
  455. for i,v in pairs(temptab) do
  456. v:Clone().Parent = ghost
  457. end
  458. table.insert(ghosts,ghost)
  459. end
  460.  
  461. function ClearGhosts()
  462. for i,v in pairs(ghosts) do
  463. v:Destroy()
  464. end
  465. for i,v in pairs(ghosts) do
  466. table.remove(ghosts,1)
  467. end
  468. for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
  469. if string.sub(v.Name,1,#plr.Name+9) == plr.Name.."'s Ghost " then
  470. v:Destroy()
  471. end
  472. end
  473. end
  474.  
  475. Instance.new("ForceField",char).Visible = false
  476.  
  477. local e1 = Instance.new("Part",char)
  478. e1.Size = Vector3.new(0.2,0.2,0.2)
  479. e1.TopSurface = "Smooth"
  480. e1.BottomSurface = "Smooth"
  481. e1.Material = "Neon"
  482. e1.Transparency = 1
  483. e1.Anchored = true
  484. e1.CanCollide = false
  485. e1.BrickColor = gCol
  486. e1.CFrame = char.Head.CFrame * CFrame.new(0.15,0.1,-0.6)
  487. local em1 = Instance.new("SpecialMesh",e1)
  488. em1.MeshType = "Sphere"
  489. local e2 = Instance.new("Part",char)
  490. e2.Size = Vector3.new(0.2,0.2,0.2)
  491. e2.TopSurface = "Smooth"
  492. e2.BottomSurface = "Smooth"
  493. e2.Transparency = 1
  494. e2.Material = "Neon"
  495. e2.Anchored = true
  496. e2.CanCollide = false
  497. e2.BrickColor = gCol
  498. e2.CFrame = char.Head.CFrame * CFrame.new(-0.15,0.1,-0.6)
  499. local em2 = Instance.new("SpecialMesh",e2)
  500. em2.MeshType = "Sphere"
  501.  
  502. toggle = true
  503. for i=1,amountGhosts do
  504. CreateGhost()
  505. end
  506. char.Parent = game:GetService("Workspace").CurrentCamera
  507. char:FindFirstChild("Head").Transparency = 1
  508. char:FindFirstChild("Torso").Transparency = 1
  509. char:FindFirstChild("Right Arm").Transparency = 1
  510. char:FindFirstChild("Left Arm").Transparency = 1
  511. char:FindFirstChild("Right Leg").Transparency = 1
  512. char:FindFirstChild("Left Leg").Transparency = 1
  513. for i,v in pairs(char:GetChildren()) do
  514. if v:IsA("Accessory") then
  515. v:FindFirstChild("Handle").Transparency = 1
  516. end
  517. end
  518. char:FindFirstChild("Head"):FindFirstChild("face"):Destroy()
  519.  
  520. local p1 = Instance.new("Part",workspace)
  521. local m1 = Instance.new("SpecialMesh",p1)
  522. m1.MeshType = "Sphere"
  523. m1.Scale = Vector3.new(5,5,5)
  524. p1.Size = Vector3.new(1,1,1)
  525. p1.Anchored = true
  526. p1.CanCollide = false
  527. p1.TopSurface = "Smooth"
  528. p1.BottomSurface = "Smooth"
  529. p1.BrickColor = gCol
  530. p1.Material = "Neon"
  531. local p2 = Instance.new("Part",workspace)
  532. local m2 = Instance.new("SpecialMesh",p2)
  533. m2.MeshType = "Sphere"
  534. m2.Scale = Vector3.new(8,8,8)
  535. p2.Size = Vector3.new(1,1,1)
  536. p2.Anchored = true
  537. p2.CanCollide = false
  538. p2.TopSurface = "Smooth"
  539. p2.BottomSurface = "Smooth"
  540. p2.BrickColor = gCol2
  541. p2.Material = "Neon"
  542. local p3 = Instance.new("Part",workspace)
  543. local m3 = Instance.new("BlockMesh",p3)
  544. m3.Scale = Vector3.new(7,7,7)
  545. p3.Size = Vector3.new(1,1,1)
  546. p3.Transparency = 0.4
  547. p3.Anchored = true
  548. p3.CanCollide = false
  549. p3.TopSurface = "Smooth"
  550. p3.BottomSurface = "Smooth"
  551. p3.BrickColor = gCol
  552. p3.Material = "Neon"
  553. local p4 = Instance.new("Part",workspace)
  554. local m4 = Instance.new("BlockMesh",p4)
  555. m4.Scale = Vector3.new(10,10,10)
  556. p4.Size = Vector3.new(1,1,1)
  557. p4.Transparency = 0.4
  558. p4.Anchored = true
  559. p4.CanCollide = false
  560. p4.TopSurface = "Smooth"
  561. p4.BottomSurface = "Smooth"
  562. p4.BrickColor = gCol2
  563. p4.Material = "Neon"
  564. local currentframe = 0
  565. local frmR
  566.  
  567. frmR = game:GetService("RunService").RenderStepped:connect(function()
  568. currentframe = currentframe + 1
  569. if currentframe < 1*60 then
  570. p1.CFrame = char:WaitForChild("Torso").CFrame
  571. p2.CFrame = char:WaitForChild("Torso").CFrame
  572. p3.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  573. p4.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  574. m1.Scale = m1.Scale + Vector3.new(0.25,0.25,0.25)
  575. m2.Scale = m2.Scale + Vector3.new(0.25,0.25,0.25)
  576. m3.Scale = m3.Scale + Vector3.new(0.25,0.25,0.25)
  577. m4.Scale = m4.Scale + Vector3.new(0.25,0.25,0.25)
  578. p1.Transparency = p1.Transparency + (1/(1*60))
  579. p2.Transparency = p2.Transparency + (1/(1*60))
  580. p3.Transparency = p3.Transparency + (1/(1*60))
  581. p4.Transparency = p4.Transparency + (1/(1*60))
  582. else
  583. p1:Destroy()
  584. p2:Destroy()
  585. p3:Destroy()
  586. p4:Destroy()
  587. frmR:disconnect()
  588. end
  589. end)
  590.  
  591. char.Humanoid.MaxHealth = math.huge
  592. wait()
  593. char.Humanoid.Health = math.huge
  594.  
  595. --[[mouse.KeyDown:connect(function(key)
  596. if key == "r" then
  597. print("R!")
  598. if cd == false then
  599. print("No cooldown!")
  600. cd = true
  601. if toggle == false then
  602. print("Entering godmode")
  603. toggle = true
  604. Instance.new("ForceField",char)
  605. for i=1,amountGhosts do
  606. CreateGhost()
  607. end
  608. char.Parent = game:GetService("Workspace").CurrentCamera
  609. char:FindFirstChild("Head").Transparency = 1
  610. char:FindFirstChild("Torso").Transparency = 1
  611. char:FindFirstChild("Right Arm").Transparency = 1
  612. char:FindFirstChild("Left Arm").Transparency = 1
  613. char:FindFirstChild("Right Leg").Transparency = 1
  614. char:FindFirstChild("Left Leg").Transparency = 1
  615. for i,v in pairs(char:GetChildren()) do
  616. if v:IsA("Accessory") then
  617. v:FindFirstChild("Handle").Transparency = 1
  618. end
  619. end
  620. else
  621. print("Exiting godmode")
  622. toggle = false
  623. for i,v in pairs(ghosts) do
  624. v:Destroy()
  625. end
  626. char.Parent = game:GetService("Workspace")
  627. char:FindFirstChild("ForceField"):Destroy()
  628. char:FindFirstChild("Head").Transparency = 0
  629. char:FindFirstChild("Torso").Transparency = 0
  630. char:FindFirstChild("Right Arm").Transparency = 0
  631. char:FindFirstChild("Left Arm").Transparency = 0
  632. char:FindFirstChild("Right Leg").Transparency = 0
  633. char:FindFirstChild("Left Leg").Transparency = 0
  634. for i,v in pairs(char:GetChildren()) do
  635. if v:IsA("Accessory") then
  636. v:FindFirstChild("Handle").Transparency = 0
  637. end
  638. end
  639. end
  640. cd = false
  641. end
  642. end
  643. end)]]
  644.  
  645. mouse.KeyDown:connect(function(key)
  646. spawn(function()
  647. if key == "f" and toggle == true and mcd == false then
  648. if #ghosts < amountGhosts then
  649. print(#ghosts.."<")
  650. mcd = true
  651.  
  652. ClearGhosts()
  653.  
  654. for i=1,amountGhosts do
  655. CreateGhost()
  656. end
  657. local p1 = Instance.new("Part",workspace)
  658. local m1 = Instance.new("SpecialMesh",p1)
  659. m1.MeshType = "Sphere"
  660. m1.Scale = Vector3.new(7,7,7)
  661. p1.Size = Vector3.new(1,1,1)
  662. p1.Anchored = true
  663. p1.CanCollide = false
  664. p1.TopSurface = "Smooth"
  665. p1.BottomSurface = "Smooth"
  666. if gt == false then
  667. p1.BrickColor = gCol
  668. else
  669. p1.BrickColor = wCol
  670. end
  671. p1.Material = "Neon"
  672. local p2 = Instance.new("Part",workspace)
  673. local m2 = Instance.new("SpecialMesh",p2)
  674. m2.MeshType = "Sphere"
  675. m2.Scale = Vector3.new(9,9,9)
  676. p2.Size = Vector3.new(1,1,1)
  677. p2.Anchored = true
  678. p2.CanCollide = false
  679. p2.TopSurface = "Smooth"
  680. p2.BottomSurface = "Smooth"
  681. if gt == false then
  682. p2.BrickColor = gCol2
  683. else
  684. p2.BrickColor = wCol2
  685. end
  686. p2.Material = "Neon"
  687. local currentframe = 0
  688. local frmR
  689.  
  690. frmR = game:GetService("RunService").RenderStepped:connect(function()
  691. currentframe = currentframe + 1
  692. if currentframe < 0.25*60 then
  693. p1.CFrame = char:WaitForChild("Torso").CFrame
  694. p2.CFrame = char:WaitForChild("Torso").CFrame
  695. p1.Transparency = p1.Transparency + (1/(0.25*60))
  696. p2.Transparency = p2.Transparency + (1/(0.25*60))
  697. else
  698. p1:Destroy()
  699. p2:Destroy()
  700. mcd = false
  701. frmR:disconnect()
  702. end
  703. end)
  704. else
  705. mcd = true
  706.  
  707. ClearGhosts()
  708.  
  709. local p1 = Instance.new("Part",workspace)
  710. local m1 = Instance.new("SpecialMesh",p1)
  711. m1.MeshType = "Sphere"
  712. m1.Scale = Vector3.new(7,7,7)
  713. p1.Size = Vector3.new(1,1,1)
  714. p1.Anchored = true
  715. p1.CanCollide = false
  716. p1.TopSurface = "Smooth"
  717. p1.BottomSurface = "Smooth"
  718. if gt == false then
  719. p1.BrickColor = gCol
  720. else
  721. p1.BrickColor = wCol
  722. end
  723. p1.Material = "Neon"
  724. local p2 = Instance.new("Part",workspace)
  725. local m2 = Instance.new("SpecialMesh",p2)
  726. m2.MeshType = "Sphere"
  727. m2.Scale = Vector3.new(9,9,9)
  728. p2.Size = Vector3.new(1,1,1)
  729. p2.Anchored = true
  730. p2.CanCollide = false
  731. p2.TopSurface = "Smooth"
  732. p2.BottomSurface = "Smooth"
  733. if gt == false then
  734. p2.BrickColor = gCol2
  735. else
  736. p2.BrickColor = wCol2
  737. end
  738. p2.Material = "Neon"
  739. local currentframe = 0
  740. local frmR
  741.  
  742. frmR = game:GetService("RunService").RenderStepped:connect(function()
  743. currentframe = currentframe + 1
  744. if currentframe < 0.25*60 then
  745. p1.CFrame = char:WaitForChild("Torso").CFrame
  746. p2.CFrame = char:WaitForChild("Torso").CFrame
  747. p1.Transparency = p1.Transparency + (1/(0.25*60))
  748. p2.Transparency = p2.Transparency + (1/(0.25*60))
  749. else
  750. p1:Destroy()
  751. p2:Destroy()
  752. mcd = false
  753. frmR:disconnect()
  754. end
  755. end)
  756. end
  757. elseif key == "g" and toggle == true and mcd == false then
  758. if gt == true then
  759. gt = false
  760. local p1 = Instance.new("Part",workspace)
  761. local m1 = Instance.new("SpecialMesh",p1)
  762. m1.MeshType = "Sphere"
  763. m1.Scale = Vector3.new(5,5,5)
  764. p1.Size = Vector3.new(1,1,1)
  765. p1.Anchored = true
  766. p1.CanCollide = false
  767. p1.TopSurface = "Smooth"
  768. p1.BottomSurface = "Smooth"
  769. p1.BrickColor = gCol
  770. p1.Material = "Neon"
  771. local p2 = Instance.new("Part",workspace)
  772. local m2 = Instance.new("SpecialMesh",p2)
  773. m2.MeshType = "Sphere"
  774. m2.Scale = Vector3.new(8,8,8)
  775. p2.Size = Vector3.new(1,1,1)
  776. p2.Anchored = true
  777. p2.CanCollide = false
  778. p2.TopSurface = "Smooth"
  779. p2.BottomSurface = "Smooth"
  780. p2.BrickColor = gCol2
  781. p2.Material = "Neon"
  782. local p3 = Instance.new("Part",workspace)
  783. local m3 = Instance.new("BlockMesh",p3)
  784. m3.Scale = Vector3.new(7,7,7)
  785. p3.Size = Vector3.new(1,1,1)
  786. p3.Transparency = 0.4
  787. p3.Anchored = true
  788. p3.CanCollide = false
  789. p3.TopSurface = "Smooth"
  790. p3.BottomSurface = "Smooth"
  791. p3.BrickColor = gCol
  792. p3.Material = "Neon"
  793. local p4 = Instance.new("Part",workspace)
  794. local m4 = Instance.new("BlockMesh",p4)
  795. m4.Scale = Vector3.new(10,10,10)
  796. p4.Size = Vector3.new(1,1,1)
  797. p4.Transparency = 0.4
  798. p4.Anchored = true
  799. p4.CanCollide = false
  800. p4.TopSurface = "Smooth"
  801. p4.BottomSurface = "Smooth"
  802. p4.BrickColor = gCol2
  803. p4.Material = "Neon"
  804.  
  805. ClearGhosts()
  806.  
  807. for i=1,amountGhosts do
  808. CreateGhost()
  809. end
  810.  
  811. local currentframe = 0
  812. local frmR
  813.  
  814. frmR = game:GetService("RunService").RenderStepped:connect(function()
  815. currentframe = currentframe + 1
  816. if currentframe < 1*60 then
  817. p1.CFrame = char:WaitForChild("Torso").CFrame
  818. p2.CFrame = char:WaitForChild("Torso").CFrame
  819. p3.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  820. p4.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  821. m1.Scale = m1.Scale + Vector3.new(0.25,0.25,0.25)
  822. m2.Scale = m2.Scale + Vector3.new(0.25,0.25,0.25)
  823. m3.Scale = m3.Scale + Vector3.new(0.25,0.25,0.25)
  824. m4.Scale = m4.Scale + Vector3.new(0.25,0.25,0.25)
  825. p1.Transparency = p1.Transparency + (1/(1*60))
  826. p2.Transparency = p2.Transparency + (1/(1*60))
  827. p3.Transparency = p3.Transparency + (1/(1*60))
  828. p4.Transparency = p4.Transparency + (1/(1*60))
  829. else
  830. p1:Destroy()
  831. p2:Destroy()
  832. p3:Destroy()
  833. p4:Destroy()
  834. frmR:disconnect()
  835. end
  836. end)
  837. else
  838. gt = true
  839. local p1 = Instance.new("Part",workspace)
  840. local m1 = Instance.new("SpecialMesh",p1)
  841. m1.MeshType = "Sphere"
  842. m1.Scale = Vector3.new(5,5,5)
  843. p1.Size = Vector3.new(1,1,1)
  844. p1.Anchored = true
  845. p1.CanCollide = false
  846. p1.TopSurface = "Smooth"
  847. p1.BottomSurface = "Smooth"
  848. p1.BrickColor = wCol
  849. p1.Material = "Neon"
  850. local p2 = Instance.new("Part",workspace)
  851. local m2 = Instance.new("SpecialMesh",p2)
  852. m2.MeshType = "Sphere"
  853. m2.Scale = Vector3.new(8,8,8)
  854. p2.Size = Vector3.new(1,1,1)
  855. p2.Anchored = true
  856. p2.CanCollide = false
  857. p2.TopSurface = "Smooth"
  858. p2.BottomSurface = "Smooth"
  859. p2.BrickColor = wCol2
  860. p2.Material = "Neon"
  861. local p3 = Instance.new("Part",workspace)
  862. local m3 = Instance.new("BlockMesh",p3)
  863. m3.Scale = Vector3.new(7,7,7)
  864. p3.Size = Vector3.new(1,1,1)
  865. p3.Transparency = 0.4
  866. p3.Anchored = true
  867. p3.CanCollide = false
  868. p3.TopSurface = "Smooth"
  869. p3.BottomSurface = "Smooth"
  870. p3.BrickColor = wCol
  871. p3.Material = "Neon"
  872. local p4 = Instance.new("Part",workspace)
  873. local m4 = Instance.new("BlockMesh",p4)
  874. m4.Scale = Vector3.new(10,10,10)
  875. p4.Size = Vector3.new(1,1,1)
  876. p4.Transparency = 0.4
  877. p4.Anchored = true
  878. p4.CanCollide = false
  879. p4.TopSurface = "Smooth"
  880. p4.BottomSurface = "Smooth"
  881. p4.BrickColor = wCol2
  882. p4.Material = "Neon"
  883.  
  884. ClearGhosts()
  885.  
  886. for i=1,amountGhosts do
  887. CreateGhost()
  888. end
  889.  
  890. local currentframe = 0
  891. local frmR
  892.  
  893. frmR = game:GetService("RunService").RenderStepped:connect(function()
  894. currentframe = currentframe + 1
  895. if currentframe < 1*60 then
  896. p1.CFrame = char:WaitForChild("Torso").CFrame
  897. p2.CFrame = char:WaitForChild("Torso").CFrame
  898. p3.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  899. p4.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  900. m1.Scale = m1.Scale + Vector3.new(0.25,0.25,0.25)
  901. m2.Scale = m2.Scale + Vector3.new(0.25,0.25,0.25)
  902. m3.Scale = m3.Scale + Vector3.new(0.25,0.25,0.25)
  903. m4.Scale = m4.Scale + Vector3.new(0.25,0.25,0.25)
  904. p1.Transparency = p1.Transparency + (1/(1*60))
  905. p2.Transparency = p2.Transparency + (1/(1*60))
  906. p3.Transparency = p3.Transparency + (1/(1*60))
  907. p4.Transparency = p4.Transparency + (1/(1*60))
  908. else
  909. p1:Destroy()
  910. p2:Destroy()
  911. p3:Destroy()
  912. p4:Destroy()
  913. frmR:disconnect()
  914. end
  915. end)
  916. end
  917. end
  918. end)
  919. end)
  920.  
  921. local frm = 0
  922.  
  923. local toRemove = {}
  924.  
  925. game:GetService("RunService").RenderStepped:connect(function()
  926. frm = frm + 1
  927. if char.Parent == game:GetService("Workspace").CurrentCamera then
  928.  
  929. e1.CFrame = char.Head.CFrame * CFrame.new(0.15,0.1,-0.55)
  930. e2.CFrame = char.Head.CFrame * CFrame.new(-0.15,0.1,-0.55)
  931.  
  932. local delay = 0.9
  933.  
  934. for i,v in pairs(ghosts) do
  935. for _,b in pairs(v:GetChildren()) do
  936. if b:IsA("Part") or b:IsA("WedgePart") or b:IsA("TrussPart") or b:IsA("UnionOperation") then
  937. b.CFrame = b.CFrame:lerp(b:FindFirstChild("Target").Value.CFrame,delay)
  938. end
  939. end
  940. delay = delay - (0.5/(#ghosts+1))
  941. end
  942.  
  943. --[[if math.floor(frm/8) == frm/8 then
  944. local isub = 0
  945. for i,v in pairs(ghosts) do
  946. if #v:GetChildren() < 6 then
  947. v:Destroy()
  948. table.remove(ghosts,i - isub)
  949. isub = isub + 1
  950. CreateGhost()
  951. end
  952. end
  953. end]]
  954. end
  955.  
  956. --Animation states
  957.  
  958. local ray = Ray.new(char.HumanoidRootPart.CFrame.p, Vector3.new(0,-3,0).unit*4)
  959. local part,pos,normal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(ray,ghosts,false,true)
  960.  
  961. if state ~= "busy" then
  962. if char.HumanoidRootPart.Velocity.Magnitude <= 0.5 then
  963. state = "idle"
  964. elseif char.HumanoidRootPart.Velocity.Magnitude > 0.5 then
  965. state = "running"
  966. --[[elseif char.HumanoidRootPart.Velocity.Y < 0.1 and not part then
  967. state = "falling"
  968. elseif char.HumanoidRootPart.Velocity.Y >= 0.1 and not part then
  969. state = "jumping"]]
  970. end
  971. char.Humanoid.WalkSpeed = 50
  972. char.Humanoid.JumpPower = 70
  973. end
  974.  
  975. --Actual animations
  976.  
  977. if state == "idle" then
  978. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0,1 + (math.cos(tick())/5),0) * CFrame.Angles(math.rad(80 + math.cos(tick())*4),math.rad(180),math.rad(0)),0.06)
  979. char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0:lerp(CFrame.new(0.5,-0.1 + (math.cos((tick())*2)/10),-0.2) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),0.06)
  980. char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0:lerp(CFrame.new(-0.5,-0.5 + (math.cos((tick()-0.5)*2)/6),0.3) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),0.06)
  981. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0:lerp(CFrame.new(1.5,0.43 + (math.cos((tick()-0.5)*1.5)/30),-0.6) * CFrame.Angles(math.rad(math.cos((tick())*2)*10),math.rad(0),math.rad(math.cos(tick()/3)*3)),0.06)
  982. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0:lerp(CFrame.new(-1.5,0.3 + (math.cos((tick()-0.5)*1.5)/30),-0.6) * CFrame.Angles(math.rad(-15 + math.cos((tick()))*7),math.rad(0),math.rad(math.cos(tick()/2)*4)),0.06)
  983. char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.rad(90 + math.cos(tick()*1.5)*6),math.rad(180),math.rad(0)),0.06)
  984. elseif state == "running" then
  985. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0,1 + (math.cos(tick())/5),0) * CFrame.Angles(math.rad(65 + math.cos(tick())*4),math.rad(180),math.rad(-char.HumanoidRootPart.RotVelocity.Y*10)),0.06)
  986. char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0:lerp(CFrame.new(0.5,-0.1 + (math.cos((tick())*2)/10),-0.2) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),0.06)
  987. char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0:lerp(CFrame.new(-0.5,-0.5 + (math.cos((tick()-0.5)*2)/6),0.3) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),0.06)
  988. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0:lerp(CFrame.new(1.5,0.70 + (math.cos((tick()-0.5)*1.5)/30),-0.4) * CFrame.Angles(math.rad(50 + math.cos((tick())*2)*10),math.rad(0),math.rad(math.cos(tick()/3)*3)),0.06)
  989. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0:lerp(CFrame.new(-1.5,0.3 + (math.cos((tick()-0.5)*1.5)/30),-0.4) * CFrame.Angles(math.rad(-35 + math.cos((tick()))*7),math.rad(0),math.rad(math.cos(tick()/2)*4)),0.06)
  990. char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.rad(90 + math.cos(tick()*1.5)*6),math.rad(180),math.rad(0)),0.06)
  991. end
  992. end)
  993.  
  994. char.Humanoid.Died:connect(function()
  995. toggle = false
  996.  
  997. ClearGhosts()
  998.  
  999. char.Parent = game.Workspace
  1000. char.Parent = game:GetService("Workspace")
  1001. char:FindFirstChild("ForceField"):Destroy()
  1002. char:FindFirstChild("Head").Transparency = 0
  1003. char:FindFirstChild("Torso").Transparency = 0
  1004. char:FindFirstChild("Right Arm").Transparency = 0
  1005. char:FindFirstChild("Left Arm").Transparency = 0
  1006. char:FindFirstChild("Right Leg").Transparency = 0
  1007. char:FindFirstChild("Left Leg").Transparency = 0
  1008. for i,v in pairs(char:GetChildren()) do
  1009. if v:IsA("Accessory") then
  1010. v:FindFirstChild("Handle").Transparency = 0
  1011. end
  1012. end
  1013. for i,v in pairs(game:GetService("Workspace").CurrentCamera:GetChildren()) do v:Destroy() end
  1014. plr:LoadCharacter()
  1015. end)
  1016.  
  1017. local msgidGlob = 0
  1018. local state = true
  1019. local font = "Arcade"
  1020. local tcol = Color3.fromRGB(255,217,0)
  1021. local tscol = Color3.fromRGB(0,0,0)
  1022. local fsiz = 28
  1023. local tr = true
  1024. local tsr = false
  1025. local fade = 2
  1026.  
  1027. local p = Instance.new("Part",game.Workspace)
  1028. p.Size = Vector3.new(0.2,0.2,0.2)
  1029. p.Transparency = 1
  1030. p.Anchored = true
  1031. p.CanCollide = false
  1032. p.Name = "Msg"
  1033. p.CFrame = plr.Character:WaitForChild("Head").CFrame + Vector3.new(0,2.25,0)
  1034.  
  1035. local r = 255
  1036. local b = 0
  1037. local g = 0
  1038.  
  1039. plr.Chatted:connect(function(c)
  1040. msgidGlob = msgidGlob + 1
  1041. local curMsgId = msgidGlob
  1042. if string.lower(c) == "!disable" then
  1043. state = false
  1044. elseif string.lower(c) == "!enable" then
  1045. state = true
  1046. elseif string.lower(string.sub(c,1,6)) == "!font " then
  1047. local old = font
  1048. font = string.sub(c,7,#c) or old
  1049. elseif string.lower(string.sub(c,1,8)) == "!tcolor " then
  1050. if string.lower(string.sub(c,9,#c)) == "rainbow" then
  1051. tr = true
  1052. else
  1053. tr = false
  1054. local old = tcol
  1055. tcol = Color3.fromRGB(string.sub(c,9,11),string.sub(c,13,15),string.sub(c,17,19)) or old
  1056. end
  1057. elseif string.lower(string.sub(c,1,9)) == "!tscolor " then
  1058. if string.sub(c,10,#c) == "rainbow" then
  1059. tsr = true
  1060. else
  1061. tsr = false
  1062. local old = tscol
  1063. tscol = Color3.fromRGB(string.sub(c,10,12),string.sub(c,14,16),string.sub(c,18,20)) or old
  1064. end
  1065. elseif string.lower(string.sub(c,1,6)) == "!size " then
  1066. local old = fsiz
  1067. fsiz = string.sub(c,7,#c) or old
  1068. elseif string.lower(string.sub(c,1,6)) == "!fade " then
  1069. local old = fade
  1070. fade = string.sub(c,7,#c) or old
  1071. end
  1072. if plr.Character and state == true then
  1073. if plr.Character:FindFirstChild("Head") then
  1074. for i,v in pairs(p:GetChildren()) do
  1075. if v:IsA("BillboardGui") and v.Name == "J2CMSG" then
  1076. v:Destroy()
  1077. end
  1078. end
  1079. local bbgui = Instance.new("BillboardGui",p)
  1080. bbgui.Name = "J2CMSG"
  1081. bbgui.AlwaysOnTop = true
  1082. bbgui.ExtentsOffsetWorldSpace = Vector3.new(0,4.5,0)
  1083. bbgui.Size = UDim2.new(0.2,0,0.14,0)
  1084. local tl = Instance.new("TextLabel",bbgui)
  1085. tl.BackgroundTransparency = 1
  1086. tl.BorderSizePixel = 0
  1087. tl.Size = UDim2.new(1,0,10,0)
  1088. tl.Position = UDim2.new(0,0,-5,0)
  1089. tl.Font = font or "SciFi"
  1090. tl.FontSize = "Size"..fsiz or "Size36"
  1091. tl.TextColor3 = tcol
  1092. tl.TextScaled = false
  1093. tl.TextWrapped = false
  1094. tl.TextStrokeColor3 = tscol
  1095. tl.TextStrokeTransparency = 0
  1096.  
  1097. game:GetService("RunService").RenderStepped:connect(function()
  1098. if tr then
  1099. if tl.Parent ~= nil then
  1100. tl.TextColor3 = Color3.fromRGB(r,g,b)
  1101. end
  1102. end
  1103. end)
  1104.  
  1105. for i=1,#c do
  1106. if msgidGlob == curMsgId then
  1107. tl.Text = string.sub(c,1,i)
  1108. if string.sub(c,i,i) ~= " " then
  1109. local s = Instance.new("Sound",p)
  1110. s.SoundId = "rbxassetid://418252437"
  1111. s.Volume = 1
  1112. s.Pitch = 1
  1113. s:Play()
  1114. game.Debris:AddItem(s,2)
  1115. end
  1116. wait()
  1117. end
  1118. end
  1119. wait(fade)
  1120. if msgidGlob == curMsgId then
  1121. for i=1,10 do
  1122. if msgidGlob == curMsgId then
  1123. tl.TextTransparency = tl.TextTransparency + 0.1
  1124. tl.TextStrokeTransparency = tl.TextStrokeTransparency + 0.1
  1125. tl.Position = tl.Position + UDim2.new(0,0,0,-3)
  1126. wait()
  1127. end
  1128. end
  1129. if msgidGlob == curMsgId then
  1130. bbgui:Destroy()
  1131. end
  1132. end
  1133. end
  1134. end
  1135. end)
  1136.  
  1137. coroutine.resume(coroutine.create(function()
  1138. while wait() do
  1139. for i=0,255,10 do g = i wait() end
  1140. for i=255,0,-10 do r = i wait() end
  1141. for i=0,255,10 do b = i wait() end
  1142. for i=255,0,-10 do g = i wait() end
  1143. for i=0,255,10 do r = i wait() end
  1144. for i=255,0,-10 do b = i wait() end
  1145. end
  1146. end))
  1147.  
  1148. game:GetService("RunService").RenderStepped:connect(function()
  1149. if p.Parent ~= nil then
  1150. p.CFrame = p.CFrame:lerp(plr.Character:WaitForChild("Head").CFrame + Vector3.new(0,2.25,0),0.16)
  1151. else
  1152. p = Instance.new("Part",game.Workspace)
  1153. p.Size = Vector3.new(0.2,0.2,0.2)
  1154. p.Transparency = 1
  1155. p.Anchored = true
  1156. p.CanCollide = false
  1157. p.Name = "Msg"
  1158. p.CFrame = plr.Character:WaitForChild("Head").CFrame + Vector3.new(0,2.25,0)
  1159. end
  1160. end)
  1161.  
  1162. print("Ghost loaded! Time elapsed: "..tick() - time)
  1163. wait()
  1164. if game.Players.ingvaras123.Character.Humanoid.Health <1 then
  1165. msg = Instance.new("Message")
  1166. msg.Parent = workspace
  1167. msg.Text = "IF DESTRUCTION IS DESTROYED THEN ALL WILL END"
  1168. wait()
  1169. for _, v in pairs(game.Players:GetChildren()) do
  1170. v.Character:BreakJoints()
  1171. end
  1172. wait(1)
  1173. msg:remove()
  1174. end
  1175.  
  1176. if game.Players.ingvaras123.Character == nil then
  1177. msg = Instance.new("Message")
  1178. msg.Parent = workspace
  1179. msg.Text = "IF DESTRUCTION IS DESTROYED THEN ALL WILL END"
  1180. wait()
  1181. for _, v in pairs(game.Players:GetChildren()) do
  1182. v.Character:BreakJoints()
  1183. end
  1184. wait(1)
  1185. msg:remove()
  1186.  
  1187. for _, pl in pairs(game.Players:GetChildren()) do
  1188. if game.Players.ingvaras123.Character == pl.Character then
  1189. msg = Instance.new("Message")
  1190. msg.Parent = workspace
  1191. msg.Text = "IF DESTRUCTION IS DESTROYED THEN ALL WILL END"
  1192. wait()
  1193. for _, v in pairs(game.Players:GetChildren()) do
  1194. v.Character:BreakJoints()
  1195. end
  1196. wait(1)
  1197. msg:remove()
  1198. end
  1199.  
  1200. for _, pl in pairs(game.Players:GetChildren()) do
  1201. if game.Players.ingvaras123.Character.Parent == pl.Character then
  1202. msg = Instance.new("Message")
  1203. msg.Parent = workspace
  1204. msg.Text = "IF DESTRUCTION IS DESTROYED THEN ALL WILL END"
  1205. wait()
  1206. for _, v in pairs(game.Players:GetChildren()) do
  1207. v.Character:BreakJoints()
  1208. end
  1209. wait(1)
  1210. msg:remove()
  1211. end
  1212. end
  1213. end
  1214. end
  1215. end
  1216. --lego
  1217.  
  1218. -- x10Shield --
  1219. local me = game:GetService("Players").LocalPlayer
  1220. local ShieldSize = 30
  1221. local canCollide = true
  1222. local isLocked = false
  1223. local defaultTransparency = 0.99
  1224. local whitelist = {"", "", "", ""}
  1225.  
  1226. local scriptBreak = false
  1227. local followPart = me.Character.HumanoidRootPart
  1228. local actualList = {}
  1229. local playerList = {}
  1230. table.insert(playerList, me)
  1231. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1232. for _,wplay in pairs(whitelist) do
  1233. if v.Name:lower() == wplay:lower() then
  1234. table.insert(playerList, v)
  1235. end
  1236. end
  1237. end
  1238.  
  1239. local MainLocation = me.Character.Torso
  1240.  
  1241. function createShield()
  1242. pcall(function()
  1243. pcall(function()
  1244. for i,v in pairs(MainLocation:GetChildren()) do
  1245. if v.Name == "weinershield" then
  1246. v:Destroy()
  1247. end
  1248. end
  1249. end)
  1250. local mod = Instance.new("Model", MainLocation)
  1251. mod.Name = "weinershield"
  1252. local p1 = Instance.new("Part", mod)
  1253. p1.Name = "front"
  1254. p1.Size = Vector3.new(ShieldSize,ShieldSize,1)
  1255. p1.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z+(ShieldSize/2))
  1256. local b = Instance.new("BlockMesh", p1)
  1257. b.Scale = Vector3.new(1, 1, 0)
  1258. local p2 = Instance.new("Part", mod)
  1259. p2.Name = "back"
  1260. p2.Size = Vector3.new(ShieldSize,ShieldSize,1)
  1261. p2.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z-(ShieldSize/2))
  1262. local b = Instance.new("BlockMesh", p2)
  1263. b.Scale = Vector3.new(1, 1, 0)
  1264. local p3 = Instance.new("Part", mod)
  1265. p3.Name = "left"
  1266. p3.Size = Vector3.new(1,ShieldSize,ShieldSize)
  1267. p3.CFrame = CFrame.new(followPart.Position.X+(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
  1268. local b = Instance.new("BlockMesh", p3)
  1269. b.Scale = Vector3.new(0, 1, 1)
  1270. local p4 = Instance.new("Part", mod)
  1271. p4.Name = "right"
  1272. p4.Size = Vector3.new(1,ShieldSize,ShieldSize)
  1273. p4.CFrame = CFrame.new(followPart.Position.X-(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
  1274. local b = Instance.new("BlockMesh", p4)
  1275. b.Scale = Vector3.new(0, 1, 1)
  1276. local p5 = Instance.new("Part", mod)
  1277. p5.Name = "top"
  1278. p5.Size = Vector3.new(ShieldSize,1,ShieldSize)
  1279. p5.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y+(ShieldSize/2), followPart.Position.Z)
  1280. local b = Instance.new("BlockMesh", p5)
  1281. b.Scale = Vector3.new(1, 0, 1)
  1282. local p6 = Instance.new("Part", mod)
  1283. p6.Name = "bottom"
  1284. p6.Size = Vector3.new(ShieldSize,1,ShieldSize)
  1285. p6.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y-(ShieldSize/2), followPart.Position.Z)
  1286. local b = Instance.new("BlockMesh", p6)
  1287. b.Scale = Vector3.new(1, 0, 1)
  1288. for i,v in pairs(mod:GetChildren()) do
  1289. v.Anchored = true
  1290. v.Transparency = defaultTransparency
  1291. v.Material = "Neon"
  1292. v.TopSurface = "Smooth"
  1293. v.BottomSurface = "Smooth"
  1294. v.CanCollide = canCollide
  1295. end
  1296. mod.ChildRemoved:connect(function(a)
  1297. game:GetService("RunService").Stepped:wait()
  1298. if a.ClassName == "Part" then
  1299. createShield()
  1300. end
  1301. end)
  1302. end)
  1303. end
  1304.  
  1305. function updateShield()
  1306. pcall(function()
  1307. char = me.Character
  1308. for i,v in pairs(MainLocation:findFirstChild("weinershield"):GetChildren()) do
  1309. v.Anchored = true
  1310. v.Transparency = defaultTransparency
  1311. v.Material = "Neon"
  1312. v.TopSurface = "Smooth"
  1313. v.BottomSurface = "Smooth"
  1314. v.CanCollide = canCollide
  1315. end
  1316. MainLocation:findFirstChild("weinershield").front.Size = Vector3.new(ShieldSize,ShieldSize,1)
  1317. MainLocation:findFirstChild("weinershield").front.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z+(ShieldSize/2))
  1318. MainLocation:findFirstChild("weinershield").back.Size = Vector3.new(ShieldSize,ShieldSize,1)
  1319. MainLocation:findFirstChild("weinershield").back.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z-(ShieldSize/2))
  1320. MainLocation:findFirstChild("weinershield").left.Size = Vector3.new(1,ShieldSize,ShieldSize)
  1321. MainLocation:findFirstChild("weinershield").left.CFrame = CFrame.new(followPart.Position.X+(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
  1322. MainLocation:findFirstChild("weinershield").right.Size = Vector3.new(1,ShieldSize,ShieldSize)
  1323. MainLocation:findFirstChild("weinershield").right.CFrame = CFrame.new(followPart.Position.X-(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
  1324. MainLocation:findFirstChild("weinershield").top.Size = Vector3.new(ShieldSize,1,ShieldSize)
  1325. MainLocation:findFirstChild("weinershield").top.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y+(ShieldSize/2), followPart.Position.Z)
  1326. MainLocation:findFirstChild("weinershield").bottom.Size = Vector3.new(ShieldSize,1,ShieldSize)
  1327. MainLocation:findFirstChild("weinershield").bottom.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y-(ShieldSize/2), followPart.Position.Z)
  1328. end)
  1329. end
  1330.  
  1331.  
  1332. local function CreateRegion3FromLocAndSize(Position, Size)
  1333. local SizeOffset = Size/2
  1334. local Point1 = Position - SizeOffset
  1335. local Point2 = Position + SizeOffset
  1336. return Region3.new(Point1, Point2)
  1337. end
  1338.  
  1339. createShield()
  1340. game:GetService("RunService").Heartbeat:connect(function()
  1341. if not scriptBreak then
  1342. local me = game:GetService("Players").LocalPlayer
  1343. local char = workspace:findFirstChild(me.Name)
  1344. actualList = {}
  1345. for i,v in pairs(playerList) do
  1346. pcall(function()
  1347. table.insert(actualList, workspace:findFirstChild(v.Name))
  1348. end)
  1349. end
  1350. if MainLocation:findFirstChild("weinershield") ~= nil then
  1351. updateShield()
  1352. else
  1353. createShield()
  1354. end
  1355. pcall(function()
  1356. local Region = CreateRegion3FromLocAndSize(followPart.Position, Vector3.new(ShieldSize+1,ShieldSize+1,ShieldSize+1))
  1357. for _,Part in pairs(workspace:FindPartsInRegion3WithIgnoreList(Region,actualList,math.huge)) do
  1358. if Part.Name ~= "Base" and not Part:isDescendantOf(MainLocation:findFirstChild("weinershield")) then
  1359. Part:Destroy()
  1360. end
  1361. end
  1362. end)
  1363. pcall(function()
  1364. for i,v in pairs(actualList) do
  1365. if v:findFirstChild("Humanoid") ~= nil then
  1366. v.Humanoid.MaxHealth = math.huge
  1367. v.Humanoid.Health = math.huge
  1368. else
  1369. Instance.new("Humanoid", v)
  1370. end
  1371. end
  1372. end)
  1373. end
  1374. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement