Advertisement
DontAskme

somuch

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