asdasdaaa11

e.e

Jan 21st, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.26 KB | None | 0 0
  1. --lol why do you have this
  2.  
  3. --anyway, this script is called ender
  4. --and its by yeox769
  5. --at least give some credit, will ya?
  6.  
  7.  
  8. musicOn = true
  9.  
  10. Me = game.Players.LocalPlayer
  11. player = Me
  12. char = Me.Character
  13. chara = char
  14. larm = char["Left Arm"]
  15. rarm = char["Right Arm"]
  16. lleg = char["Left Leg"]
  17. rleg = char["Right Leg"]
  18. torso = char.Torso
  19. hed = char.Head
  20. mouse = player:GetMouse()
  21. lght = game.Lighting
  22. lichtact = false
  23. moosicact = false
  24. gotsagofest = true
  25. chara.Humanoid.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  26. chara.Humanoid.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  27.  
  28.  
  29.  
  30. wait(2.5)
  31.  
  32. chara.Humanoid.WalkSpeed = 10
  33. chara.Humanoid.JumpPower = 40
  34. local naeeym = Instance.new("BillboardGui",chara)
  35. naeeym.Size = UDim2.new(0,100,0,40)
  36. naeeym.StudsOffset = Vector3.new(0,2,0)
  37. naeeym.Adornee = chara.Head
  38. local tecks = Instance.new("TextLabel",naeeym)
  39. tecks.BackgroundTransparency = 1
  40. tecks.BorderSizePixel = 0
  41. tecks.Text = ""
  42. tecks.Font = "Bodoni"
  43. tecks.FontSize = "Size36"
  44. tecks.TextStrokeTransparency = 0.5
  45. tecks.TextColor3 = Color3.new(0,0,0)
  46. rrer = BrickColor.new("Really red")
  47. tecks.TextStrokeColor3 = rrer.Color
  48. tecks.Size = UDim2.new(1,0,0.5,0)
  49. local licht = Instance.new("PointLight",chara.Torso)
  50. licht.Color = tecks.TextStrokeColor3
  51. licht.Range = 60
  52. licht.Brightness = 1
  53. licht.Enabled = false
  54.  
  55.  
  56. ------------------------------- Player -------------------------------------------------------------------
  57. local z = Instance.new("Sound",char)
  58. z.Looped = true
  59. z.SoundId = "rbxassetid://167161785"
  60. z.Volume = 2.25
  61. if musicOn then
  62. z:Play()
  63. end
  64.  
  65. Mouse = player:GetMouse()
  66.  
  67. local l = Instance.new("ColorCorrectionEffect",game.Lighting)
  68.  
  69. for i,v in pairs(chara:children()) do
  70. if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
  71. v:Destroy()
  72. end
  73. end
  74. char.Head.face:Destroy()
  75.  
  76. char["Body Colors"].HeadColor, char["Body Colors"].LeftArmColor, char["Body Colors"].LeftLegColor, char["Body Colors"].RightArmColor, char["Body Colors"].RightLegColor, char["Body Colors"].TorsoColor = BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Really black")
  77. local Orbd = Instance.new("Part", char)
  78. Orbd.Name = "Orbd"
  79. Orbd.Shape = Enum.PartType.Ball
  80. Orbd.CanCollide = false
  81. Orbd.BrickColor = BrickColor.new("Really red")
  82. Orbd.Transparency = 0
  83. Orbd.Material = "Neon"
  84. Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
  85. Orbd.TopSurface = Enum.SurfaceType.Smooth
  86. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  87. local Weld = Instance.new("Weld", Orbd)
  88. Weld.Part0 = char.Head
  89. Weld.Part1 = Orbd
  90. Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
  91. local glov = Instance.new("PointLight", Orbd)
  92. glov.Brightness = 0.25
  93. glov.Range = 20
  94. glov.Color = Color3.new(255, 0, 0)
  95. local Orbvc = Instance.new("Part", char)
  96. Orbvc.Name = "Orbvc"
  97. Orbvc.Shape = Enum.PartType.Ball
  98. Orbvc.CanCollide = false
  99. Orbvc.BrickColor = BrickColor.new("Really red")
  100. Orbvc.Transparency = 0
  101. Orbvc.Material = "Neon"
  102. Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
  103. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  104. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  105. local Weld = Instance.new("Weld", Orbvc)
  106. Weld.Part0 = char.Head
  107. Weld.Part1 = Orbvc
  108. Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
  109. local glo = Instance.new("PointLight", Orbvc)
  110. glo.Brightness = 0.25
  111. glo.Range = 20
  112. glo.Color = Color3.new(255, 0, 0)
  113.  
  114. local IsFreeFalling = false
  115. local SpinPart = Instance.new('Part')
  116. SpinPart.Transparency = 1
  117. SpinPart.Size = Vector3.new(25,1,25)
  118. SpinPart.CanCollide = false
  119. SpinPart.FormFactor = 'Custom'
  120. local FX = Instance.new('ParticleEmitter',SpinPart)
  121. FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Really black").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Black").Color, 0)}), NumberSequence.new(0.25), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://132883219",-0.1
  122. local FX = Instance.new('ParticleEmitter',SpinPart)
  123. FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Really black").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Black").Color, 0)}), NumberSequence.new(0.25), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://132883219",0.1
  124. do
  125. local tspin = Instance.new('BodyAngularVelocity')
  126. tspin.angularvelocity = Vector3.new(0,1,0)
  127. tspin.maxTorque =Vector3.new(math.huge,math.huge,math.huge)
  128. tspin.Parent = SpinPart
  129. end
  130. local SpinPos = Instance.new('BodyPosition')
  131. SpinPos.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  132. SpinPos.Parent = SpinPart
  133.  
  134. function Equipped()
  135. IsEquipped = true
  136. local MyTorso = char.Torso
  137. if MyTorso then
  138. spawn(function()
  139. local startTime = tick()
  140. SpinPart.CFrame = CFrame.new(MyTorso.CFrame.p+Vector3.new(0,-2.8,0))
  141. SpinPart.Parent = MyTorso
  142. local fadeIn = true
  143. while IsEquipped do
  144. if not IsFreeFalling then
  145. SpinPos.position = MyTorso.CFrame.p+Vector3.new(0,-2.8,0)
  146. end
  147. wait()
  148. end
  149. SpinPart.Parent = nil
  150.  
  151. end)
  152. end
  153. end
  154.  
  155.  
  156. wait(0.01)
  157. Equipped()
  158.  
  159.  
  160. function start()
  161. print("Darkness falls across the battlefield...")
  162. wait()
  163. print("----------------------------------------")
  164. wait()
  165. print(" - Ender booted up. -")
  166. wait()
  167. print("- Ender written by yeox769. -")
  168. i = 0
  169. while i<1 do
  170. wait()
  171. i = i + 0.01
  172. l.Contrast,l.Saturation,l.Brightness = l.Contrast + 0.02, l.Saturation - 0.0075, l.Brightness + 0.00375
  173. l.TintColor = Color3.new(1,1-i,1-i)
  174. end
  175. end
  176.  
  177. delay(0,start)
  178.  
  179. TC = chara.HumanoidRootPart.RootJoint
  180. HC = chara.Torso.Neck
  181. RAC = chara.Torso["Right Shoulder"]
  182. LAC = chara.Torso["Left Shoulder"]
  183. RLC = chara.Torso["Right Hip"]
  184. LLC = chara.Torso["Left Hip"]
  185. TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  186. HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  187. RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  188. LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  189. RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  190. LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  191. RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  192. LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  193. RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  194. LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  195. RW = Instance.new("Weld",HC.Parent)
  196. RW.Part1 = HC.Parent
  197. RW.Part0 = chara["Right Arm"]
  198. RW.C0 = RWF
  199. LW = Instance.new("Weld",HC.Parent)
  200. LW.Part1 = HC.Parent
  201. LW.Part0 = chara["Left Arm"]
  202. LW.C0 = LWF
  203. RLW = nil
  204. LLW = nil
  205.  
  206.  
  207. function clerp(a,b,c)
  208. return a:lerp(b,c)
  209. end
  210.  
  211. TC.C0 = TCF
  212. HC.C0 = HCF
  213. RW.C0 = RWF
  214. LW.C0 = LWF
  215.  
  216. --Idle Clerp--
  217. ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(10))
  218. IHCF = HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-10))
  219. IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2))
  220. ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
  221.  
  222. TC.C0 = ITCF
  223. HC.C0 = IHCF
  224. RW.C0 = IRWF
  225. LW.C0 = ILWF
  226.  
  227.  
  228.  
  229.  
  230.  
  231. New = function(Object, Parent, Name, Data)
  232. local Object = Instance.new(Object)
  233. for Index, Value in pairs(Data or {}) do
  234. Object[Index] = Value
  235. end
  236. Object.Parent = Parent
  237. Object.Name = Name
  238. return Object
  239. end
  240.  
  241. function ScatterEff(part)
  242. local eff1 = Instance.new("ParticleEmitter",part)
  243. eff1.Size = NumberSequence.new(.1)
  244. eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)})
  245. eff1.LightEmission = 1
  246. eff1.Lifetime = NumberRange.new(1)
  247. eff1.Speed = NumberRange.new(1)
  248. eff1.Rate = 100
  249. eff1.VelocitySpread = 10000
  250. eff1.Texture = "rbxassetid://347504241"
  251. eff1.Color = ColorSequence.new(Color3.new(1,0,0))
  252. local eff2 = Instance.new("ParticleEmitter",part)
  253. eff2.Size = NumberSequence.new(.1)
  254. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)})
  255. eff2.LightEmission = 1
  256. eff2.Lifetime = NumberRange.new(1)
  257. eff2.Speed = NumberRange.new(1)
  258. eff2.Rate = 100
  259. eff2.VelocitySpread = 10000
  260. eff2.Texture = "rbxassetid://347504259"
  261. eff2.Color = ColorSequence.new(Color3.new(1,0,0))
  262. end
  263.  
  264. function BurningEff(part)
  265. local eff1 = Instance.new("ParticleEmitter",part)
  266. eff1.Size = NumberSequence.new(.1)
  267. eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
  268. eff1.LightEmission = 1
  269. eff1.Lifetime = NumberRange.new(1)
  270. eff1.Speed = NumberRange.new(0)
  271. eff1.Rate = 100
  272. eff1.Texture = "rbxassetid://347504241"
  273. eff1.Acceleration = Vector3.new(0,10,0)
  274. eff1.Color = ColorSequence.new(Color3.new(1,0,0))
  275. local eff2 = Instance.new("ParticleEmitter",part)
  276. eff2.Size = NumberSequence.new(.1)
  277. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
  278. eff2.LightEmission = 1
  279. eff2.Lifetime = NumberRange.new(1)
  280. eff2.Speed = NumberRange.new(0)
  281. eff2.Rate = 100
  282. eff2.Texture = "rbxassetid://347504259"
  283. eff2.Acceleration = Vector3.new(0,10,0)
  284. eff2.Color = ColorSequence.new(Color3.new(1,0,0))
  285. local eff3 = Instance.new("ParticleEmitter",part)
  286. eff3.Size = NumberSequence.new(1)
  287. eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  288. eff3.LightEmission = 1
  289. eff3.Lifetime = NumberRange.new(1)
  290. eff3.Speed = NumberRange.new(0)
  291. eff3.Rate = 100
  292. eff3.Texture = "rbxasset://textures/particles/fire_main.dds"
  293. eff3.Acceleration = Vector3.new(0,10,0)
  294. eff3.Color = ColorSequence.new(Color3.new(1,0,0))
  295. end
  296.  
  297.  
  298.  
  299. slashsnd = New("Sound",chara.Torso,"Slash",{SoundId = "rbxassetid://28144425",PlaybackSpeed = .7,Volume = 5})
  300. hitsnd = New("Sound",chara.Torso,"Hit",{SoundId = "rbxassetid://429400881",PlaybackSpeed = .7,Volume = 5})
  301. telesnd = New("Sound",chara.Torso,"Tele",{SoundId = "rbxassetid://2767090",PlaybackSpeed = .7,Volume = 5})
  302. burnsnd = New("Sound",chara.Torso,"Burn",{SoundId = "rbxassetid://32791565",PlaybackSpeed = .7,Volume = 5})
  303. music1 = New("Sound",chara.Torso,"Music1",{SoundId = "rbxassetid://151038517",PlaybackSpeed = .5,Volume = 10,Looped = true})
  304. music2 = New("Sound",chara.Torso,"Music2",{SoundId = "rbxassetid://11984351",PlaybackSpeed = .2,Volume = 5,Looped = true})
  305. deathmus = New("Sound",chara.Torso,"DeathMus",{SoundId = "rbxassetid://19094700",PlaybackSpeed = .5,Volume = 5,Looped = true})
  306. deathex = New("Sound",chara.Torso,"DeathEx",{SoundId = "rbxassetid://11984351",PlaybackSpeed = 1,Volume = 5})
  307.  
  308.  
  309.  
  310.  
  311.  
  312. --Soul Steal--
  313. function SoulSteal(pos)
  314. local soulst = coroutine.wrap(function()
  315. local soul = Instance.new("Part",chara)
  316. soul.Size = Vector3.new(0,0,0)
  317. soul.CanCollide = false
  318. soul.Anchored = false
  319. soul.Position = pos
  320. soul.CFrame = CFrame.new(pos.X,pos.Y,pos.Z)
  321. soul.Transparency = 1
  322. local ptc = Instance.new("ParticleEmitter",soul)
  323. ptc.Texture = "http://www.roblox.com/asset/?id=413366101"
  324. ptc.Size = NumberSequence.new(.5)
  325. ptc.LockedToPart = true
  326. ptc.Speed = NumberRange.new(0)
  327. ptc.Lifetime = NumberRange.new(9999)
  328. local bodpos = Instance.new("BodyPosition",soul)
  329. bodpos.Position = pos
  330. wait(2)
  331. soul.Touched:connect(function(hit)
  332. if hit.Parent == chara then
  333. soul:Destroy()
  334. end
  335. end)
  336. while soul do
  337. wait(.1)
  338. bodpos.Position = chara.Torso.Position
  339. end
  340. end)
  341. soulst()
  342. end
  343.  
  344. --Death of a Mortal--
  345. function KillMortal(hitdude)
  346. local torsy = nil
  347. if hitdude:FindFirstChild("Torso")~=nil then
  348. torsy = hitdude.Torso
  349. elseif hitdude:FindFirstChild("UpperTorso")~=nil then
  350. torsy = hitdude.UpperTorso
  351. end
  352. local val = Instance.new("ObjectValue",hitdude)
  353. val.Name = "HasBeenHit"
  354. hitdude:BreakJoints()
  355. hitdude.Humanoid:Destroy()
  356. SoulSteal(torsy.Position)
  357. local chi = hitdude:GetChildren()
  358. for i = 1, #chi do
  359. if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
  360. local bodpos = Instance.new("BodyPosition",chi[i])
  361. bodpos.Position = chi[i].Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  362. ScatterEff(chi[i])
  363. chi[i].BrickColor = BrickColor.new("Really black")
  364. end
  365. end
  366. for i = 1, 4 do
  367. for i = 1, #chi do
  368. if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
  369. chi[i].Transparency = chi[i].Transparency + .25
  370. wait(.01)
  371. end
  372. end
  373. end
  374. for i = 1, #chi do
  375. if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
  376. chi[i]:Destroy()
  377. end
  378. end
  379. end
  380.  
  381.  
  382. function Teleport(pos)
  383. telesnd:Play()
  384. local ch = chara:GetChildren()
  385. for i = 1, #ch do
  386. if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then
  387. local trace = Instance.new("Part",game.Workspace)
  388. trace.Size = ch[i].Size
  389. trace.Material = "Neon"
  390. trace.BrickColor = BrickColor.new("Really black")
  391. trace.Transparency = .3
  392. trace.CanCollide = false
  393. trace.Anchored = true
  394. trace.CFrame = ch[i].CFrame
  395. if ch[i].Name == "Head" then
  396. mehs = Instance.new("CylinderMesh",trace)
  397. mehs.Scale = Vector3.new(1.25,1.25,1.25)
  398. end
  399. tracedisappear = coroutine.wrap(function()
  400. wait(1)
  401. for i = 1, 7 do
  402. wait(.1)
  403. trace.Transparency = trace.Transparency + .1
  404. end
  405. trace:Destroy()
  406. end)
  407. tracedisappear()
  408. end
  409. end
  410. chara.Torso.CFrame = CFrame.new(pos.X,pos.Y,pos.Z)
  411. end
  412.  
  413.  
  414. function Grab(mouse)
  415. local hit = mouse.Target
  416. if hit ~= nil then
  417. if hit.Parent:FindFirstChild("Humanoid")~=nil then
  418. local torsy = nil
  419. if hit.Parent:FindFirstChild("Torso")~=nil then
  420. torsy = hit.Parent.Torso
  421. elseif hit.Parent:FindFirstChild("UpperTorso")~=nil then
  422. torsy = hit.Parent.UpperTorso
  423. end
  424. local bodpos = Instance.new("BodyPosition",torsy)
  425. bodpos.Position = torsy.Position
  426. wait(1)
  427. burnsnd:Play()
  428. hit.Parent.Humanoid.MaxHealth = 100
  429. bodpos.Position = bodpos.Position + Vector3.new(0,4,0)
  430. for i = 1, 10 do
  431. wait(.1)
  432. BurningEff(torsy)
  433. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
  434. end
  435. KillMortal(hit.Parent)
  436. end
  437. else end
  438. end
  439.  
  440.  
  441. function onKeyDown(key)
  442. if key == "z" then
  443. Teleport(Mouse.Hit.p + Vector3.new(0,2,0))
  444. elseif key == "x" then
  445. Grab(Mouse)
  446. end
  447. end
  448.  
  449. --Mouse Functions--
  450. Mouse = player:GetMouse()
  451. if Mouse then
  452. Mouse.KeyDown:connect(onKeyDown)
  453. end
  454.  
  455. while true do
  456. wait(.01)
  457. chance = math.random(0,100)
  458. if chance < 10 then
  459. sel = math.random(1,3)
  460. if sel == 1 then
  461. tecks.Text = "Demonic Crust"
  462. elseif sel == 2 then
  463. tecks.Text = "Defimic Chust"
  464. elseif sel == 3 then
  465. tecks.Text = "Deatgb Crtug"
  466. end
  467. else tecks.Text = "Annonymous"
  468. if chara.Humanoid.Health > 0 then
  469. chara.Humanoid.MaxHealth = math.huge
  470. chara.Humanoid.Health = math.huge
  471. end
  472. if game.Lighting:FindFirstChild("ColorCorrection") == nil then
  473. local l = Instance.new("ColorCorrectionEffect",game.Lighting)
  474. l.Contrast,l.Saturation,l.Brightness = 2, -0.75, 0.375
  475. l.TintColor = Color3.new(1,0,0)
  476. end
  477. tecks.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  478. end
  479. end
Add Comment
Please, Sign In to add comment