Advertisement
zed_isJayTheLionJR

new immortal one v1

Jun 18th, 2018
185
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 = "The Immortal god"
  69.  
  70. hed.face.Texture = "http://www.roblox.com/asset/?id=0"
  71. hed.Transparency = 1
  72. rleg.Transparency = 1
  73. rarm.Transparency = 1
  74. larm.Transparency = 1
  75. lleg.Transparency = 1
  76. tors.Transparency = 1
  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("Smokey grey").Color
  85.  
  86. local prth = Instance.new("Part",Character)
  87. prth.Size = vt(1.25,1.25,1.25)
  88. prth.CanCollide = false
  89. prth.Material = "Neon"
  90. prth.Transparency = 0.5
  91. prth.BrickColor = bc("Smokey grey")
  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(2.1,2.1,1.1)
  98. prtrm.CanCollide = false
  99. prtrm.Transparency = 0.5
  100. prtrm.Material = "Neon"
  101. prtrm.BrickColor = bc("Smokey grey")
  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(1.1,2.1,1.1)
  108. prtr.CanCollide = false
  109. prtr.Transparency = 0.5
  110. prtr.Material = "Neon"
  111. prtr.BrickColor = bc("Smokey grey")
  112. local prtrl = Instance.new("Part",Character)
  113. prtrl.Size = vt(1.1,2.1,1.1)
  114. prtrl.CanCollide = false
  115. prtrl.Transparency = 0.5
  116. prtrl.Material = "Neon"
  117. prtrl.BrickColor = bc("Smokey grey")
  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(1.1,2.1,1.1)
  139. prtr2.CanCollide = false
  140. prtr2.Transparency = 0.5
  141. prtr2.Material = "Neon"
  142. prtr2.BrickColor = bc("Deep orange")
  143. local prtrl2 = Instance.new("Part",Character)
  144. prtrl2.Size = vt(1.1,2.1,1.1)
  145. prtrl2.CanCollide = false
  146. prtrl2.Transparency = 0.5
  147. prtrl2.Material = "Neon"
  148. prtrl2.BrickColor = bc("Smokey grey")
  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("Smokey grey")
  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("Smokey grey")
  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("Smokey grey")
  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. plr = game.Players.LocalPlayer
  362. mouse = plr:GetMouse()
  363. part = nil
  364. bp = nil
  365. particles = nil
  366. function clerp(a,b,c,d)
  367. for i = 0,d,.01 do
  368. a.CFrame = CFrame.new(b:lerp(c,i))
  369. wait()
  370. end
  371. end
  372. function slerp(a2,b2,c2,d2)
  373. for i2 = 0,d2,.01 do
  374. a2.CFrame = CFrame.new(b2:lerp(c2,i2))
  375. wait()
  376. end
  377. end
  378. mouse.KeyDown:connect(function(key)
  379. if key == "e" and plr.Character.Parent == workspace then
  380. plr.Character.Parent = workspace.Camera
  381. plr.Character.Archivable = true
  382. Instance.new("ForceField",plr.Character).Visible = false
  383. for y,t in pairs(plr.Character:GetChildren()) do
  384. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  385. t.Transparency = 0.5
  386. if t.Name == "Head" and t:FindFirstChild("face") then
  387. t.face.Transparency = 1
  388. end
  389. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  390. t.Handle.Transparency = 1
  391. end
  392. end
  393. elseif key == "z" and plr.Character.Parent == workspace.Camera and part == nil then
  394. plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mouse.hit.p.X,mouse.hit.p.Y+1.5,mouse.hit.p.Z),plr.Character.Torso.CFrame.p)
  395. elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then
  396. if plr.Character.Torso.Anchored == true then
  397. for y,t in pairs(plr.Character:GetChildren()) do
  398. if t:IsA("Part") then
  399. t.Anchored = false
  400. end
  401. end
  402. else
  403. for y,t in pairs(plr.Character:GetChildren()) do
  404. if t:IsA("Part") then
  405. t.Anchored = true
  406. end
  407. end
  408. end
  409. elseif key == "c" and plr.Character.Parent == workspace.Camera and part ~= nil then
  410. local clone = part:Clone()
  411. clone.Parent = workspace
  412. clone.Anchored = false
  413. clone:ClearAllChildren()
  414. clone.CanCollide = true
  415. bp.Parent = clone
  416. particles.Parent = clone
  417. if part.Parent:FindFirstChildOfClass("Humanoid") then
  418. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
  419. end
  420. part:Destroy()
  421. part = clone
  422. elseif key == "t" and plr.Character.Parent == workspace.Camera and part == nil then
  423. plr.Character.Parent = workspace
  424. plr.Character.Archivable = false
  425. plr.Character:FindFirstChildOfClass("ForceField"):Remove()
  426. for y,t in pairs(plr.Character:GetChildren()) do
  427. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  428. t.Transparency = 0
  429. if t.Name == "Head" and t:FindFirstChild("face") then
  430. t.face.Transparency = 0
  431. end
  432. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  433. t.Handle.Transparency = 0
  434. end
  435. end
  436. end
  437. end)
  438. mouse.Button1Down:connect(function()
  439. if plr.Character.Parent == workspace.Camera then
  440. if mouse ~= nil then
  441. if mouse.Target ~= nil then
  442. part = mouse.Target
  443. bp = Instance.new("BodyPosition",part)
  444. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  445. bp.Position = part.Position
  446. particles = Instance.new("ParticleEmitter",part)
  447. particles.Color = ColorSequence.new(Color3.new(255, 255, 255))
  448. particles.Size = NumberSequence.new(20)
  449. particles.Texture = "rbxassetid://522606102"
  450. particles.VelocitySpread = 360
  451. particles.Speed = NumberRange.new(0)
  452. particles.RotSpeed = NumberRange.new(0)
  453. particles.Rotation = NumberRange.new(0)
  454. particles.Rate = 250
  455. particles.Lifetime = NumberRange.new(1.5, 3.75)
  456. particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)})
  457. dwn = true
  458. end
  459. end
  460. while dwn == true do
  461. wait()
  462. bp.Position = mouse.hit.p
  463. if part then
  464. if part.Parent:FindFirstChildOfClass("Humanoid") then
  465. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  466. end
  467. end
  468. end
  469. end
  470. end)
  471. mouse.Button1Up:connect(function()
  472. dwn = false
  473. if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end
  474. if bp then bp:Destroy() end
  475. if particles then particles:Destroy() end
  476. end)
  477. base = Instance.new("ScreenGui",plr.PlayerGui)
  478. bbg = Instance.new("BillboardGui",plr.Character.Head)
  479. bbg.Size = UDim2.new(0,200,0,50)
  480. bbg.StudsOffset = Vector3.new(0,3,0)
  481. bbgTl = Instance.new("TextLabel",bbg)
  482. bbgTl.BackgroundTransparency = 1
  483. bbgTl.Size = UDim2.new(10,0,1,0)
  484. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  485. bbgTl.Font = "Code"
  486. bbgTl.Text = " "
  487. bbgTl.TextSize = 70
  488. bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
  489. bbgTl.TextColor3 = Color3.new(201,201,201)
  490. bbgTl.TextStrokeTransparency = 0
  491. bbgTl.TextWrapped = true
  492. plr.Chatted:connect(function(msg)
  493. bbgTl.Text = msg
  494. wait(5)
  495. if bbgTl.Text == msg then
  496. bbgTl.Text = " "
  497. end
  498. end)
  499. touchCounter = 0
  500. while wait() do
  501. if plr.Character.Parent == workspace.Camera then
  502. local c = plr.Character:Clone()
  503. c:MakeJoints()
  504. for y,t in pairs(c:GetChildren()) do
  505. if t:IsA("Part") then
  506. t.CanCollide = false
  507. t.Anchored = true
  508. t.Transparency = 0.8
  509. t.TopSurface = "Smooth"
  510. t.BottomSurface = "Smooth"
  511. t.RightSurface = "Smooth"
  512. t.LeftSurface = "Smooth"
  513. t.FrontSurface = "Smooth"
  514. t.BackSurface = "Smooth"
  515. t.BrickColor = BrickColor.new("grey")
  516. if t.Name == "Head" and t:FindFirstChild("face") then
  517. t.face:Remove()
  518. elseif t.Name == "Torso" and t:FindFirstChild("roblox") then
  519. t.roblox:Remove()
  520. elseif t.Name == "HumanoidRootPart" then
  521. t:Remove()
  522. end
  523. else
  524. t:Remove()
  525. end
  526. end
  527. c.Parent = workspace
  528. game.Debris:AddItem(c,.05)
  529. end
  530. end
  531.  
  532. wait()
  533. script.Name = "_.:| E-Shield |:._"
  534. --script.Parent = _EShield_
  535. local LocalPlayer = game:service'Players'.LocalPlayer
  536. local b, Platform = nil
  537. local PlayerOnly = false
  538. local Touched = {}
  539. local Mouse = LocalPlayer:GetMouse()
  540. local ShiftDown, CtrlDown, MouseDown, Mouse2Down, MouseDeb, Mouse2Tick = false, false, false, false, false, 0
  541.  
  542. function Create()
  543. if b then pcall(function() b:Destroy() end) end
  544. if Platform then pcall(function() Platform:Destroy() end) end
  545. local t = LocalPlayer.Character:FindFirstChild("Torso")
  546. local posit = Vector3.new(0, 50, 0)
  547. if t then posit = t.Position end
  548. Platform = Instance.new("Part")
  549. Platform.formFactor = "Custom"
  550. Platform.Size = Vector3.new(10, 1, 10)
  551. Platform.Transparency = 1
  552. Platform.Anchored = true
  553. Platform.CanCollide = true
  554. b = Instance.new("Part", game:service'Workspace')
  555. b.Position = posit
  556. b.Shape = "Block"
  557. b.Transparency = 1
  558. b.Anchored = true
  559. b.Reflectance = 0
  560. b.Size = Mouse2Down and Vector3.new(4, 4, 4) or Vector3.new(4, 4, 4)
  561. b.Color = Mouse2Down and Color3.new(1, 0, 0) or Color3.new(0, 0, 1)
  562. b.TopSurface = "Smooth"
  563. b.BottomSurface = "Smooth"
  564. b.Locked = true
  565. b.CanCollide = false
  566. b.Changed:connect(function(w)
  567. if w == "Parent" then
  568. Create()
  569. end
  570. end)
  571. b.Touched:connect(function(obj)
  572. if obj.Name ~= "WillNotBeRemoved" and not TouchedStatus(obj) and not obj:IsDescendantOf(LocalPlayer.Character) and not obj:IsDescendantOf(game:service'Workspace'.CurrentCamera) and obj.Name ~= "Base" and obj.className == "Part" then
  573. table.insert(Touched, obj)
  574. if PlayerOnly then
  575. if GetPlayer(obj) then
  576. Destroying(obj)
  577. end
  578. else
  579. Destroying(obj)
  580. end
  581. end
  582. end)
  583. end
  584.  
  585. function GetRecursiveChildren(Parent)
  586. local ret = {}
  587. for i, v in pairs(Parent:GetChildren()) do
  588. if #v:GetChildren() > 0 then
  589. local childs = GetRecursiveChildren(v)
  590. for i1, v1 in pairs(childs) do
  591. ret[#ret + 1] = v1
  592. end
  593. end
  594. ret[#ret + 1] = v
  595. end
  596. return ret
  597. end
  598.  
  599. function GetPlayer(Target)
  600. for _,v in pairs(game:service'Players':GetPlayers()) do
  601. if v.Character ~= nil and Target:IsDescendantOf(v.Character) then
  602. return v
  603. end
  604. end
  605. return nil
  606. end
  607.  
  608. function TouchedStatus(Target)
  609. for _,v in pairs(Touched) do
  610. if v == Target then
  611. return true
  612. end
  613. end
  614. return false
  615. end
  616.  
  617. function Destroying(obj)
  618. local ran, err = coroutine.resume(coroutine.create(function()
  619. if not Mouse2Down then
  620. obj:BreakJoints()
  621. obj.CanCollide = false
  622. obj.Anchored = false
  623. obj.formFactor = "Custom"
  624. obj.Size = obj.Size * Vector3.new(math.random(), math.random(), math.random())
  625. local bp = Instance.new("BodyPosition")
  626. bp.maxForce = Vector3.new(1/0,1/0,1/0)
  627. bp.Parent = obj
  628. local X, Y, Z = nil, nil, nil
  629. coroutine.wrap(function()
  630. while obj and obj.Parent do
  631. X, Y, Z = math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)
  632. wait(0.3)
  633. end
  634. end)()
  635. coroutine.wrap(function()
  636. while obj and obj.Parent do
  637. bp.position = LocalPlayer.Character.Torso.Position + Vector3.new(X, Y, Z)
  638. wait()
  639. end
  640. end)()
  641. coroutine.wrap(function()
  642. local transp = 0
  643. for i = 1, 50 do
  644. transp = transp + 0.02
  645. obj.Transparency = transp
  646. wait(0.05)
  647. end
  648. game:service'Debris':AddItem(obj, 0)
  649. end)()
  650. elseif Mouse2Down then
  651. local selbox = Instance.new("SelectionBox", obj)
  652. selbox.Adornee = obj
  653. selbox.Color = BrickColor.new("Really red")
  654. selbox.Transparency = 0
  655. wait(2)
  656. coroutine.wrap(function()
  657. local transp = 0
  658. local Size, Position = obj.Size, obj.Position
  659. local brickTable = {}
  660. game:service'Debris':AddItem(obj, 0)
  661. for i = 1, math.random(2, 4) do
  662. local x, y, z = math.random(), math.random(), math.random()
  663. local Brick = Instance.new("Part")
  664. Brick.Name = "WillNotBeRemoved"
  665. Brick.Parent = game:service'Workspace'
  666. Brick.BrickColor = BrickColor.new("White")
  667. Brick.Size = Size * Vector3.new(x, y, z)
  668. Brick.CFrame = CFrame.new(Position) * CFrame.Angles( x * 180, y * 180, z * 180)
  669. Brick.Locked = true
  670. Brick.Anchored = false
  671. Brick.CanCollide = false
  672. local Selection = Instance.new("SelectionBox", Brick)
  673. Selection.Adornee = Brick
  674. Selection.Color = BrickColor.new("White")
  675. Selection.Transparency = 0
  676. local BodyVelo = Instance.new("BodyVelocity", Brick)
  677. BodyVelo.maxForce = Vector3.new(1/0, 1/0, 1/0)
  678. BodyVelo.velocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  679. brickTable[#brickTable + 1] = {Brick, Selection}
  680. end
  681. for i = 1, 50 do
  682. transp = transp + 0.02
  683. for i1, v in pairs(brickTable) do
  684. v[1].Transparency = transp
  685. v[2].Transparency = transp
  686. end
  687. wait(0.05)
  688. end
  689. --for i, v in pairs(brickTable) do game:service'Debris':AddItem(v[1], 0) game:service'Debris':AddItem(v[2], 0) end
  690. end)()
  691. end
  692. end))
  693. if not ran then print(".:| EShield |:. " .. err) end
  694. end
  695.  
  696. Create()
  697.  
  698. Mouse.Button1Down:connect(function()
  699. MouseDown = true
  700. end)
  701.  
  702. Mouse.Button1Up:connect(function()
  703. MouseDown = false
  704. end)
  705.  
  706. Mouse.KeyDown:connect(function(key)
  707. local key = type(key) == "string" and key:lower() or ""
  708. if key == "r" then
  709. print = function() end
  710. script:Destroy()
  711. for i, v in pairs(getfenv()) do pcall(function() v:Destroy() end) getfenv()[i] = nil end
  712. end
  713. end)
  714.  
  715. Mouse.Button2Down:connect(function()
  716. if not Mouse2Down then
  717. Mouse2Tick = tick()
  718. Mouse2Down = true
  719. coroutine.wrap(function()
  720. for i = 1.1, 0, -0.1 do if Mouse2Down then b.Color = Color3.new(0, 0, i) end wait(0.01) end
  721. for i = 0, 1.1, 0.1 do if Mouse2Down then b.Color = Color3.new(i, 0, 0) end wait(0.01) end
  722. end)()
  723. coroutine.wrap(function()
  724. for i = 15, 25 do if Mouse2Down then b.Size = Vector3.new(i, i, i) b.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position) end wait(0.05) end
  725. end)()
  726. end
  727. end)
  728.  
  729. Mouse.Button2Up:connect(function()
  730. if Mouse2Down then
  731. if math.floor(tick() - Mouse2Tick) > 1 then
  732. Mouse2Down = false
  733. coroutine.wrap(function()
  734. for i = 1.1, 0, -0.1 do if not Mouse2Down then b.Color = Color3.new(i, 0, 0) end wait(0.01) end
  735. for i = 0, 1.1, 0.1 do if not Mouse2Down then b.Color = Color3.new(0, 0, i) end wait(0.01) end
  736. end)()
  737. coroutine.wrap(function()
  738. for i = 25, 15, -1 do if not Mouse2Down then b.Size = Vector3.new(i, i, i) b.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position) end wait(0.05) end
  739. end)()
  740. end
  741. end
  742. end)
  743.  
  744. Mouse.KeyDown:connect(function(key)
  745. if key == "0" then
  746. ShiftDown = true
  747. elseif key == "1" or key == "2" then
  748. CtrlDown = true
  749. end
  750. end)
  751.  
  752. Mouse.KeyUp:connect(function(key)
  753. if key == "0" then
  754. ShiftDown = false
  755. elseif key == "1" or key == "2" then
  756. CtrlDown = false
  757. end
  758. end)
  759.  
  760. coroutine.wrap(function()
  761. while wait(0.05) do
  762. for i = 0.2, 0.8, 0.1 do
  763. b.Transparency = i
  764. wait(0.05)
  765. end
  766. for i = 0.7, 0.1, -0.1 do
  767. b.Transparency = i
  768. wait(0.05)
  769. end
  770. end
  771. end)()
  772.  
  773. game:service'RunService'.Stepped:connect(function()
  774. coroutine.resume(coroutine.create(function()
  775. b.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position)
  776. end))
  777. coroutine.resume(coroutine.create(function()
  778. for i, v in pairs(Touched) do
  779. if v.Parent == nil or v == nil then
  780. table.remove(Touched, i)
  781. end
  782. end
  783. end))
  784. coroutine.resume(coroutine.create(function()
  785. local Height = LocalPlayer.Character.Torso.CFrame.y - 3.5
  786. if ShiftDown then
  787. Height = Height - 0.25
  788. if CtrlDown then
  789. Height = Height - 0.75
  790. end
  791. end
  792. local TargetCFrame = LocalPlayer.Character.Torso.CFrame
  793. local TargetAngle = LocalPlayer.Character.Torso.CFrame.lookVector
  794. Platform.Parent = game:service'Workspace'.CurrentCamera
  795. Platform.CFrame = CFrame.new(TargetCFrame.x, Height, TargetCFrame.z)
  796. Platform.CanCollide = true
  797. LocalPlayer.Character.Torso.CFrame = TargetCFrame * CFrame.new(0, -(TargetCFrame.y) + Height + 3.5, 0)
  798. end))
  799. coroutine.resume(coroutine.create(function()
  800. if LocalPlayer.Parent ~= nil then
  801. for i, v in pairs(GetRecursiveChildren(LocalPlayer.Character)) do
  802. if v.className == "Part" then v.CanCollide = false end
  803. end
  804. end
  805. end))
  806. coroutine.resume(coroutine.create(function()
  807. if MouseDown and not MouseDeb and not Mouse2Down then
  808. MouseDeb = true
  809. coroutine.wrap(function() wait(1) MouseDeb = false end)()
  810. local dist = Instance.new("Part")
  811. dist.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position)
  812. dist.formFactor = "Custom"
  813. dist.Shape = "Ball"
  814. dist.Name = "WillNotBeRemoved"
  815. dist.Transparency = 0
  816. dist.Reflectance = 0.1
  817. dist.Size = Vector3.new(10, 10, 10)
  818. dist.BrickColor = BrickColor.new("New Yeller")
  819. dist.TopSurface = "Smooth"
  820. dist.Anchored = true
  821. dist.BottomSurface = "Smooth"
  822. dist.Locked = true
  823. dist.CanCollide = false
  824. dist.Parent = game:service'Workspace'
  825. dist.Touched:connect(function(obj)
  826. coroutine.resume(coroutine.create(function()
  827. local Player = GetPlayer(obj)
  828. if Player and Player ~= LocalPlayer and Player.Character and Player.Character:FindFirstChild("Torso") then
  829. local BV = Instance.new("BodyVelocity", Player.Character.Torso)
  830. BV.maxForce = Vector3.new(1/0, 1/0, 1/0)
  831. BV.velocity = ((LocalPlayer.Character.Torso.Position - Player.Character.Torso.Position).unit * -50)
  832. game:service'Debris':AddItem(BV, 1)
  833. elseif not Player and obj ~= b and obj.Name ~= "Base" and not obj:IsDescendantOf(game:service'Workspace'.CurrentCamera) then
  834. obj:BreakJoints()
  835. obj.Anchored = false
  836. obj.CanCollide = false
  837. local BV = Instance.new("BodyVelocity", obj)
  838. BV.maxForce = Vector3.new(1/0, 1/0, 1/0)
  839. BV.velocity = ((LocalPlayer.Character.Torso.Position - obj.Position).unit * -50)
  840. game:service'Debris':AddItem(BV, 1)
  841. end
  842. end))
  843. end)
  844. coroutine.wrap(function()
  845. for i = 1, 100 do
  846. dist.Transparency = dist.Transparency + 0.01
  847. dist.Size = dist.Size + Vector3.new(1, 1, 1)
  848. dist.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position)
  849. wait()
  850. end
  851. game:service'Debris':AddItem(dist, 0)
  852. end)()
  853. end
  854. end))
  855. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement