Advertisement
dsniper

Untitled

Jun 14th, 2017
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.40 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 = "Sawyerqqqqq The Devil Cat"
  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 = 4
  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. --//Torso\\--
  309. local torsmesh = Instance.new("CharacterMesh", char)
  310. torsmesh.BodyPart = "Torso"
  311. torsmesh.MeshId = "48112070"
  312.  
  313. --Soul Steal--
  314. function SoulSteal(pos)
  315. local soulst = coroutine.wrap(function()
  316. local soul = Instance.new("Part",chara)
  317. soul.Size = Vector3.new(0,0,0)
  318. soul.CanCollide = false
  319. soul.Anchored = false
  320. soul.Position = pos
  321. soul.CFrame = CFrame.new(pos.X,pos.Y,pos.Z)
  322. soul.Transparency = 1
  323. local ptc = Instance.new("ParticleEmitter",soul)
  324. ptc.Texture = "http://www.roblox.com/asset/?id=413366101"
  325. ptc.Size = NumberSequence.new(.5)
  326. ptc.LockedToPart = true
  327. ptc.Speed = NumberRange.new(0)
  328. ptc.Lifetime = NumberRange.new(9999)
  329. local bodpos = Instance.new("BodyPosition",soul)
  330. bodpos.Position = pos
  331. wait(2)
  332. soul.Touched:connect(function(hit)
  333. if hit.Parent == chara then
  334. soul:Destroy()
  335. end
  336. end)
  337. while soul do
  338. wait(.1)
  339. bodpos.Position = chara.Torso.Position
  340. end
  341. end)
  342. soulst()
  343. end
  344.  
  345. --Death of a Mortal--
  346. function KillMortal(hitdude)
  347. local torsy = nil
  348. if hitdude:FindFirstChild("Torso")~=nil then
  349. torsy = hitdude.Torso
  350. elseif hitdude:FindFirstChild("UpperTorso")~=nil then
  351. torsy = hitdude.UpperTorso
  352. end
  353. local val = Instance.new("ObjectValue",hitdude)
  354. val.Name = "HasBeenHit"
  355. hitdude:BreakJoints()
  356. hitdude.Humanoid:Destroy()
  357. SoulSteal(torsy.Position)
  358. local chi = hitdude:GetChildren()
  359. for i = 1, #chi do
  360. if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
  361. local bodpos = Instance.new("BodyPosition",chi[i])
  362. bodpos.Position = chi[i].Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  363. ScatterEff(chi[i])
  364. chi[i].BrickColor = BrickColor.new("Really black")
  365. end
  366. end
  367. for i = 1, 4 do
  368. for i = 1, #chi do
  369. if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
  370. chi[i].Transparency = chi[i].Transparency + .25
  371. wait(.01)
  372. end
  373. end
  374. end
  375. for i = 1, #chi do
  376. if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
  377. chi[i]:Destroy()
  378. end
  379. end
  380. end
  381.  
  382.  
  383. function Teleport(pos)
  384. telesnd:Play()
  385. local ch = chara:GetChildren()
  386. for i = 1, #ch do
  387. if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then
  388. local trace = Instance.new("Part",game.Workspace)
  389. trace.Size = ch[i].Size
  390. trace.Material = "Neon"
  391. trace.BrickColor = BrickColor.new("Really black")
  392. trace.Transparency = .3
  393. trace.CanCollide = false
  394. trace.Anchored = true
  395. trace.CFrame = ch[i].CFrame
  396. if ch[i].Name == "Head" then
  397. mehs = Instance.new("CylinderMesh",trace)
  398. mehs.Scale = Vector3.new(1.25,1.25,1.25)
  399. end
  400. tracedisappear = coroutine.wrap(function()
  401. wait(1)
  402. for i = 1, 7 do
  403. wait(.1)
  404. trace.Transparency = trace.Transparency + .1
  405. end
  406. trace:Destroy()
  407. end)
  408. tracedisappear()
  409. end
  410. end
  411. chara.Torso.CFrame = CFrame.new(pos.X,pos.Y,pos.Z)
  412. end
  413.  
  414.  
  415. function Grab(mouse)
  416. local hit = mouse.Target
  417. if hit ~= nil then
  418. if hit.Parent:FindFirstChild("Humanoid")~=nil then
  419. local torsy = nil
  420. if hit.Parent:FindFirstChild("Torso")~=nil then
  421. torsy = hit.Parent.Torso
  422. elseif hit.Parent:FindFirstChild("UpperTorso")~=nil then
  423. torsy = hit.Parent.UpperTorso
  424. end
  425. local bodpos = Instance.new("BodyPosition",torsy)
  426. bodpos.Position = torsy.Position
  427. wait(1)
  428. burnsnd:Play()
  429. hit.Parent.Humanoid.MaxHealth = 100
  430. bodpos.Position = bodpos.Position + Vector3.new(0,4,0)
  431. for i = 1, 10 do
  432. wait(.1)
  433. BurningEff(torsy)
  434. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
  435. end
  436. KillMortal(hit.Parent)
  437. end
  438. else end
  439. end
  440.  
  441.  
  442. function onKeyDown(key)
  443. if key == "z" then
  444. Teleport(Mouse.Hit.p + Vector3.new(0,2,0))
  445. elseif key == "x" then
  446. Grab(Mouse)
  447. end
  448. end
  449.  
  450. --Mouse Functions--
  451. Mouse = player:GetMouse()
  452. if Mouse then
  453. Mouse.KeyDown:connect(onKeyDown)
  454. end
  455.  
  456. while true do
  457. wait(.01)
  458. chance = math.random(0,100)
  459. if chance < 10 then
  460. sel = math.random(1,3)
  461. if sel == 1 then
  462. tecks.Text = "Demonic Crust"
  463. elseif sel == 2 then
  464. tecks.Text = "Defimic Chust"
  465. elseif sel == 3 then
  466. tecks.Text = "Deatgb Crtug"
  467. end
  468. else tecks.Text = "Demonic Crust"
  469. if chara.Humanoid.Health > 0 then
  470. chara.Humanoid.MaxHealth = math.huge
  471. chara.Humanoid.Health = math.huge
  472. end
  473. if game.Lighting:FindFirstChild("ColorCorrection") == nil then
  474. local l = Instance.new("ColorCorrectionEffect",game.Lighting)
  475. l.Contrast,l.Saturation,l.Brightness = 2, -0.75, 0.375
  476. l.TintColor = Color3.new(1,0,0)
  477. end
  478. tecks.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  479. end
  480. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement