Advertisement
sneakydodge123

god slayer

Jul 29th, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.49 KB | None | 0 0
  1.  
  2. --https://github.com/Mokiros/roblox-FE-compatibility
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,game,owner = owner,game
  5. local RealPlayer = Player
  6. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  7. wait(2)
  8. wait(0.6)
  9. --[[
  10. by Yourfirstnightmare-Dre#2941
  11. Created with my animation rig,
  12. Abanonded project got bored not much to do
  13. ]]--
  14. script.Parent=nil
  15. local p = game.Players.LocalPlayer
  16. local char = p.Character
  17. local mouse = p:GetMouse()
  18. local larm = char["Left Arm"]
  19. local rarm = char["Right Arm"]
  20. local lleg = char["Left Leg"]
  21. local rleg = char["Right Leg"]
  22. local euler=CFrame.fromEulerAnglesXYZ
  23. local hed = char.Head
  24. local torso = char.Torso
  25. local hum = char.Humanoid
  26. local root = char.HumanoidRootPart
  27. local walking = true
  28. local idle = true
  29. local rs = game:GetService("RunService").RenderStepped
  30. local new = Instance.new
  31. local v3 = Vector3.new
  32. local ns = NumberSequence.new
  33. local taunting = false
  34. local nr = NumberRange.new
  35. local bc = BrickColor.new
  36. local cf = CFrame.new
  37. local cfa = CFrame.Angles
  38. local rad = math.rad
  39. hum.Name = "1314____"
  40. hum.MaxHealth = math.huge
  41. hum.Health=math.huge
  42. local touchdb=false
  43. sine = 0
  44. for i,v in pairs(char:GetChildren()) do
  45. if v:IsA("BodyColors") then
  46. v.HeadColor = bc("Really black")
  47. v.RightArmColor = bc("Really black")
  48. v.LeftArmColor=bc("Really black")
  49. v.TorsoColor=bc("Really black")
  50. v.RightLegColor = bc("Really black")
  51. v.LeftLegColor=bc("Really black")
  52. end
  53. end
  54. function NoOutline(Part)
  55. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  56. end
  57. db=game:GetService('Debris')
  58. function Debris(item,timer)
  59. db:AddItem(item,timer)
  60. end
  61. for i,v in pairs(char:GetChildren()) do
  62. if v.ClassName == "Accessory" or v:IsA("ShirtGraphic") then
  63. v:Destroy()
  64. end
  65. end
  66. hed.Transparency = 1
  67. function Lerp(a,b,c)
  68. return a:lerp(b,c)
  69. end
  70. if char:findFirstChild("Shirt") and char:findFirstChild("Pants") then
  71. char.Shirt.ShirtTemplate = "rbxassetid://135561529"
  72. char.Pants.PantsTemplate = "rbxassetid://135562232"
  73. end
  74. ----------------------------------------------------Sounds?
  75. local swosh = Instance.new("Sound",torso)
  76. swosh.SoundId= "rbxassetid://877471479"
  77. local slash=Instance.new("Sound",torso)
  78. slash.SoundId= "rbxassetid://153092274"
  79. local exp=Instance.new("Sound",torso)
  80. exp.SoundId= "rbxassetid://142070127"
  81. local squish=Instance.new("Sound",torso)
  82. squish.SoundId= "rbxassetid://935843979"
  83. local summon=Instance.new("Sound",torso)
  84. summon.SoundId= "rbxassetid://429459101"
  85. local theworld=Instance.new("Sound",torso)
  86. theworld.SoundId= "rbxassetid://616576400"
  87. ----------------------------------------------------
  88. New = function(Object, Parent, Name, Data)
  89. local Object = Instance.new(Object)
  90. for Index, Value in pairs(Data or {}) do
  91. Object[Index] = Value
  92. end
  93. Object.Parent = Parent
  94. Object.Name = Name
  95. return Object
  96. end
  97. local Skull = New("Part",hed,"Skull",{BrickColor = BrickColor.new("Brick yellow"),Size = Vector3.new(2, 1.20000005, 2),CFrame = CFrame.new(19.0000038, 4.29999971, -15.0499935, -0.087155804, 0, -0.99619472, 0, 1, 0, 0.99619472, 0, -0.087155804),Color = Color3.new(0.843137, 0.772549, 0.603922),})
  98. local Mesh = New("SpecialMesh",Skull,"Mesh",{Scale = Vector3.new(3.20000005, 3.20000005, 3.20000005),MeshId = "http://www.roblox.com/asset/?id=6552202",TextureId = "http://www.roblox.com/asset/?id=6477494",MeshType = Enum.MeshType.FileMesh,})
  99. local Part = New("Part",Skull,"Part",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999565, 0.299999923, 0.0999998972),CFrame = CFrame.new(19.7027473, 4.34184599, -15.2829018, 0.0871568993, 0, -0.996194661, 0, 1, 0, 0.996194661, 0, 0.0871568993),})
  100. local Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=1007442229",})
  101. local Joint = New("Weld",Part,"Joint",{Part0 = Part,Part1 = Skull,C0 = CFrame.new(0.170772552, -0.0418462753, 0.720369339, 0.984807551, 0, -0.173649371, 0, 1, 0, 0.173649371, 0, 0.984807551),})
  102. local Part = New("Part",Skull,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,Size = Vector3.new(1, 1.19999981, 1),CFrame = CFrame.new(19.0784626, 4.20953131, -15.0668001, 0.0565838143, 0.0801356286, 0.995176673, -0.0452655554, 0.995954573, -0.0776245594, -0.997371256, -0.0406549312, 0.0599822886),Anchored = true,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  103. local Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(2, 2, 2),MeshId = "http://www.roblox.com/asset/?id=1185246",MeshType = Enum.MeshType.FileMesh,})
  104. local Joint = New("Weld",Part,"Joint",{Part0 = Part,Part1 = Skull,C0 = CFrame.new(-0.0252962112, 0.0831313133, -0.0840930939, -0.998507619, -0.0452655554, 0.030558195, -0.0474845134, 0.995954573, -0.0762873814, -0.0269813798, -0.0776245594, -0.996617556),})
  105. local Part = New("Part",Skull,"Part",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999565, 0.299999923, 0.0999998972),CFrame = CFrame.new(19.6312962, 4.3499999, -14.7103682, -0.342020988, 0, -0.939692318, 0, 1, 0, 0.939692318, 0, -0.342020988),})
  106. local Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=1007442229",})
  107. local Joint = New("Weld",Part,"Joint",{Part0 = Part,Part1 = Skull,C0 = CFrame.new(-0.103227615, -0.0500001907, 0.70938015, 0.965925634, 0, 0.258819848, 0, 1, 0, -0.258819848, 0, 0.965925634),})
  108. local particleemitter = Instance.new("ParticleEmitter",torso)
  109. particleemitter.Texture = "rbxassetid://930754411"
  110. particleemitter.Rate = 1
  111. particleemitter.VelocitySpread = 35
  112. particleemitter.Enabled=false
  113. local headw=Instance.new("Weld",Skull)
  114. local grabpart=Instance.new("Part",char)
  115. grabpart.Size = Vector3.new(1,1,4)
  116. grabpart.Transparency=1
  117. grabpart.CanCollide=false
  118. local wel=Instance.new("Weld",grabpart)
  119. wel.Part0=grabpart
  120. wel.Part1=rarm
  121. local dh=Instance.new("SpecialMesh",grabpart)
  122. dh.MeshId="http://www.roblox.com/asset/?id=12221720"
  123. dh.TextureId="http://www.roblox.com/asset/?id=12224218"
  124. dh.VertexColor=Vector3.new(0,0,0)
  125. wel.C0=CFrame.new(1,0,-1.5)*CFrame.Angles(rad(90),rad(180),rad(90))
  126. for i,v in pairs(Skull:GetChildren()) do
  127. if v:IsA("BasePart") then v.Anchored = false
  128. end
  129. end
  130. headw.Part0=Skull
  131. headw.Part1=hed
  132. local fxFolder={}
  133. local fxtab={
  134. blockeffect={
  135. blockfx = function(cf,tim,s1,s2,s3)
  136. local block=Instance.new("Part",char)
  137. table.insert(fxFolder,block)
  138. NoOutline(block)
  139. block.BrickColor = BrickColor.new("Really black")
  140. block.Transparency = .6
  141. block.Size = Vector3.new(s1,s2,s3)
  142. block.Anchored = true
  143. block.CanCollide = false
  144. block.CFrame = cf
  145. Debris(block,tim)
  146. end}
  147. }
  148. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  149. local wld = Instance.new("Weld", wp1)
  150. wld.Part0 = wp0
  151. wld.Part1 = wp1
  152. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  153. return wld
  154. end
  155. local larmweld=newWeld(torso,larm, -1.5, 0.5, 0)
  156. larmweld.C1 = CFrame.new(0, 0.5, 0)
  157. local rarmweld=newWeld(torso, rarm, 1.5, 0.5, 0)
  158. rarmweld.C1 = CFrame.new(0, 0.5, 0)
  159. local hedweld=newWeld(torso, hed, 0, 1.5, 0)
  160. local llegweld=newWeld(root, lleg, -0.5, -1, 0)
  161. llegweld.C1 = CFrame.new(0, 1, 0)
  162. local rlegweld=newWeld(root, rleg, 0.5, -1, 0)
  163. rlegweld.C1 = CFrame.new(0, 1 ,0)
  164. local torweld=newWeld(root, torso, 0, -1, 0)
  165. torweld.C1 = CFrame.new(0, -1, 0)
  166. function _IterateLerp(matrices,LerpIncrement)
  167. hedweld.C0 = Lerp(hedweld.C0,matrices[1],LerpIncrement);
  168. torweld.C0 = Lerp(torweld.C0,matrices[2],LerpIncrement);
  169. rarmweld.C0 = Lerp(rarmweld.C0,matrices[3],LerpIncrement);
  170. larmweld.C0 = Lerp(larmweld.C0,matrices[4],LerpIncrement);
  171. rlegweld.C0 = Lerp(rlegweld.C0,matrices[5],LerpIncrement);
  172. llegweld.C0 = Lerp(llegweld.C0,matrices[6],LerpIncrement);
  173. end;
  174. local function root0switch()
  175. rlegweld.Part0 = root
  176. llegweld.Part0 = root
  177. end
  178. local function torso0switch()
  179. rlegweld.Part0 = torso
  180. llegweld.Part0 = torso
  181. end
  182. local falling = false
  183. local jmp = false
  184. hum.StateChanged:connect(function(z,state)
  185. if state == Enum.HumanoidStateType.Freefall then
  186. falling = true
  187. taunting=false
  188. else
  189. falling = false
  190. end
  191. end)
  192. function spikefx(pos)
  193. local fxtab={}
  194. local wrap=coroutine.wrap(function()
  195. for i=1,10 do
  196. wait()
  197. local p=Instance.new("Part",workspace)
  198. local m=Instance.new("SpecialMesh",p)
  199. m.MeshType="Sphere"
  200. p.CFrame=pos
  201. m.Scale=v3(1.7,0.3,0.2)
  202. p.Material="Neon"
  203. Debris(p,.5)
  204. table.insert(fxtab,m)
  205. table.insert(fxtab,p)
  206. p.BrickColor=BrickColor.new("Black")
  207. p.CanCollide=false
  208. p.Anchored=true
  209. p.CFrame=p.CFrame*CFrame.new(math.random(-5,5),0,math.random(-5,5))*CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180)))
  210. for _,v in pairs(fxtab) do
  211. if v:IsA("SpecialMesh") then
  212. v.Scale = v.Scale+Vector3.new(.4,0,0)
  213. else
  214. v.Transparency = v.Transparency+.1
  215. end
  216. end
  217. end
  218. end);wrap()
  219. end
  220. rs:connect(function()
  221. sine=sine+1
  222. local movevelocity=(root.Velocity*v3(1,0,1)).Magnitude
  223. if movevelocity <1 and idle and not taunting then
  224. if idle then
  225. _IterateLerp({
  226. CFrame.new( 0.0816268921, 1.59128666, -0.102115631, 0.990605652, 0.133867279, 0.0279282276, -0.136749536, 0.969726801, 0.202310443, 0, -0.204229042, 0.978923142 ),
  227. CFrame.new( 0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 )*CFrame.new(0,.05*math.sin(sine/12),0)*CFrame.Angles(.03*math.sin(sine/12),0,0),
  228. CFrame.new( 1.48942029, 0.564742684+.1*math.sin(sine/12), 0.0792327747, 0.978836656, -0.135966524, -0.152944341, 0.12948513, 0.990236998, -0.0516153388, 0.158469126, 0.0307189636, 0.986885965 ),
  229. CFrame.new( -1.50521326, 0.566599131+.1*math.sin(sine/12), 0.0541087911, 0.99075222, 0.132517859, 0.0291410107, -0.123971015, 0.971393645, -0.202547595, -0.0551485643, 0.197061881, 0.978838801),
  230. CFrame.new( 0.502287865, -1.00783682, -0.047161147, 0.995418072, -0.0143518364, -0.0945355073, 0.0156736188, 0.999789238, 0.0132541945, 0.0943253636, -0.0146751851, 0.995433271 ),
  231. CFrame.new( -0.50474906, -1.02262139, -0.0649240464, 0.990501583, 0.0527384132, 0.126985222, -0.0452422909, 0.997098863, -0.0612106584, -0.129844978, 0.0548841506, 0.990014195 ),
  232. },.1)
  233. end
  234. end
  235. if falling and idle then
  236. _IterateLerp({
  237. CFrame.new( 0, 1.46811366, 0.175658226, 1, 0, 0, 0, 0.936247647, -0.351312846, 0, 0.351316303, 0.936256826 ),
  238. CFrame.new( 0, -0.999990225, 0, 1, 0, 0, 0, 0.999990225, 0, 0, 0, 1 ),
  239. CFrame.new( 1.43505383, 0.746422827, 0, 0.870108187, -0.492860764, 0, 0.492855906, 0.870099664, 0, 0, 0, 1 ),
  240. CFrame.new( -1.46059692, 0.69454664, 0, 0.921192586, 0.389106899, 0, -0.389103055, 0.921183467, 0, 0, 0, 1 ),
  241. CFrame.new( 0.506626964, -1.08112538, 0, 0.986746132, -0.162271619, 0, 0.162270024, 0.986736417, 0, 0, 0, 1 ),
  242. CFrame.new( -0.504866421, -1.06957817, 0, 0.990267456, 0.139177516, 0, -0.13917613, 0.99025774, 0, 0, 0, 1 ),
  243. },.2)
  244. end
  245. if movevelocity >1 and walking and not jmp and not falling then
  246. taunting=false
  247. if walking then
  248. _IterateLerp({
  249. CFrame.new( 0.0209884644, 1.4973774, 0.168071747, 0.999927104, 0.0119819818, -0.00150420656, -0.0120720444, 0.988607109, -0.150034994, -0.000310648698, 0.150042206, 0.988679588 ),
  250. CFrame.new( 0, -1+.1*math.sin(sine/8), 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 )*CFrame.Angles(6,rad(12*math.sin(sine/8)),0),
  251. CFrame.new( 1.48941588, 0.564742506, 0.07923612, 0.978836656, -0.160068884, -0.127502233, 0.12948513, 0.966909289, -0.219817966, 0.158469126, 0.198656261, 0.967172801 )*CFrame.Angles(rad(-45*math.sin(sine/8)),0,0),
  252. CFrame.new( -1.50521326, 0.566599131, 0.0541087911, 0.99075222, 0.132517859, 0.0291410107, -0.123971015, 0.971393645, -0.202547595, -0.0551485643, 0.197061881, 0.978838801)*CFrame.Angles(rad(45*math.sin(sine/8)),0,0),
  253. CFrame.new( 0.499892235, -1.00746632, -0.0195503682, 0.999869168, -0.0143518364, 0.00746365637, 0.0142403366, 0.999789238, 0.0147833973, -0.00767425448, -0.0146751851, 0.99986285 )*CFrame.Angles(rad(45*math.sin(sine/8)),0,0),
  254. CFrame.new( -0.500758886, -1.02675653, 0.00636120141, 0.998486161, 0.0527384132, -0.0156217664, -0.0535120256, 0.997098863, -0.0541301444, 0.0127217174, 0.0548841506, 0.998411775 )*CFrame.Angles(rad(-45*math.sin(sine/8)),0,0)
  255. },.1)
  256. end
  257. end
  258. for _,fx in pairs(fxFolder) do
  259. fx.CFrame = fx.CFrame*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  260. end
  261. end)
  262. function deathtouch()
  263. torso0switch()
  264. local deathdb=false
  265. local hb=rarm.Touched:connect(function(hit)
  266. if not hit:IsDescendantOf(char) then
  267. if deathdb then return end
  268. deathdb=true
  269. if hit.Parent then
  270. for i,v in pairs(hit.Parent:GetChildren()) do
  271. if v:IsA("BasePart") and v.Name ~= "Handle" and v.Size.x<200 then
  272. v:BreakJoints()
  273. exp:Play()
  274. local bv=Instance.new("BodyVelocity",v)
  275. bv.Velocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  276. bv.MaxForce = Vector3.new(100000,100000,100000)
  277. v.BrickColor = BrickColor.new("Really black")
  278. v.Anchored = false
  279. Debris(v,10)
  280. end
  281. end
  282. end
  283. end
  284. end)
  285. for i=1, 10 do
  286. rs:wait(1)
  287. fxtab.blockeffect.blockfx(rarm.CFrame*CFrame.new(0,-2,0),1,1.5,1.5,1.5)
  288. _IterateLerp({
  289. CFrame.new( -0.009729385738, 1.50443935, -0.0961799622, 0.258767962, 0.0345346108, -0.965322137, -0.0124208545, 0.999397218, 0.0324239396, 0.965859592, 0.00360014848, 0.259040236 ),
  290. CFrame.new( 0.320317775, -1.01938915, 0.0870335773, 0.17364949, -0.00954774767, 0.984761178, 3.65421684e-08, 0.999953091, 0.00969513413, -0.984807611, -0.00168353785, 0.173641086 ),
  291. CFrame.new( 1.3838644, 0.571409225, -0.176830292, -0.0357611366, -0.936706185, 0.348289967, 0.983349204, 0.0291584283, 0.17938672, -0.178188115, 0.348904669, 0.920063972 ),
  292. CFrame.new( -1.50522053, 0.56659919, 0.0541077442, 0.99075222, 0.121532187, 0.0603333004, -0.123971015, 0.991540074, 0.038461592, -0.0551485643, -0.0455854759, 0.99743706 ),
  293. CFrame.new( 0.600003242, -0.984540462, 0.0129966736, 0.984808087, 1.15483999e-07, -0.173646927, 0.013456177, 0.996993124, 0.076315023, 0.173124731, -0.0774922594, 0.98184669 ),
  294. CFrame.new( -0.600003242, -0.984540701, 0.0129947662, 0.98480773, -5.15952706e-07, 0.173649341, -0.0134561537, 0.996993005, 0.076316081, -0.173127204, -0.0774933025, 0.981846154 )
  295. },0.25 )
  296. end
  297. wait(.2)
  298. for i=1,7 do
  299. rs:wait(1)
  300. _IterateLerp({
  301. CFrame.new( 0.0816268921, 1.59128666, -0.102115631, 0.990605652, 0.133867279, 0.0279282276, -0.136749536, 0.969726801, 0.202310443, 0, -0.204229042, 0.978923142 ),
  302. CFrame.new( 0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 )*CFrame.Angles(rad(0),0,0),
  303. CFrame.new( 1.48942029, 0.564742684, 0.0792327747, 0.978836656, -0.135966524, -0.152944341, 0.12948513, 0.990236998, -0.0516153388, 0.158469126, 0.0307189636, 0.986885965 ),
  304. CFrame.new( -1.50522053, 0.56659919, 0.0541077442, 0.99075222, 0.121532187, 0.0603333004, -0.123971015, 0.991540074, 0.038461592, -0.0551485643, -0.0455854759, 0.99743706 ),
  305. CFrame.new( 0.502287865, -1.00783682, -0.047161147, 0.995418072, -0.0143518364, -0.0945355073, 0.0156736188, 0.999789238, 0.0132541945, 0.0943253636, -0.0146751851, 0.995433271 ),
  306. CFrame.new( -0.50474906, -1.02262139, -0.0649240464, 0.990501583, 0.0527384132, 0.126985222, -0.0452422909, 0.997098863, -0.0612106584, -0.129844978, 0.0548841506, 0.990014195 ),
  307. },.25)
  308. end
  309. hb:Disconnect()
  310. root0switch()
  311. end
  312. function chargeslash()
  313. torso0switch()
  314. for i=1,7 do
  315. wait()
  316. _IterateLerp({
  317. CFrame.new( -0.0545110703, 1.56173253, 0, 0.995324731, -0.0965852737, 0, 0.096584335, 0.995314956, 0, 0, 0, 1 ),
  318. CFrame.new( 0, -0.999990225, 0, 1, 0, 0, 0, 0.999990225, 0, 0, 0, 1 ),
  319. CFrame.new( 1.50836289, 0.612062991, 0.137458801, 0.845401824, -0.503801167, 0.177426338, -0.027605487, -0.372942358, -0.927433074, 0.533416927, 0.779163361, -0.329197079 ),
  320. CFrame.new( -1.49072063, 0.595651746, -0.00649094954, 0.98144269, 0.191755578, 0, -0.191313684, 0.979181051, 0.0677044615, 0.0129828351, -0.066448696, 0.9977054 ),
  321. CFrame.new( 0.501660109, -1.04070473, 0, 0.996679068, -0.0814296976, 0, 0.0814289004, 0.996669233, 0, 0, 0, 1 ),
  322. CFrame.new( -0.500845671, -1.0290556, 0, 0.998308957, 0.0581314489, 0, -0.058130879, 0.998299122, 0, 0, 0, 1 ),
  323. },.4)
  324. end
  325. for i=1,10 do
  326. wait()
  327. grabpart.Transparency=grabpart.Transparency-0.1
  328. end
  329. for i=1,7 do
  330. wait()
  331. _IterateLerp({
  332. CFrame.new( -0.0545101166, 1.56173253, 4.76837158e-07, 0.995324731, -0.0965852737, 0, 0.096584335, 0.995314956, 0, 2.98023224e-08, 3.7252903e-09, 1 ),
  333. CFrame.new( 0, -0.999990225, 0, 0.613908231, 0, -0.789377391, 0, 0.999990225, 0, 0.789377391, 0, 0.613908231 ),
  334. CFrame.new( 1.16525662, 0.474341065, 0.340542078, 0.159188718, -0.971173942, 0.177426353, -0.303049803, -0.219109237, -0.927433074, 0.939583898, 0.0938687325, -0.329197049 ),
  335. CFrame.new( -1.49072158, 0.595651746, -0.00649142265, 0.98144269, 0.191755563, 0, -0.191313684, 0.979181051, 0.0677044615, 0.0129828155, -0.0664486885, 0.99770534 ),
  336. CFrame.new( 0.501660109, -1.04070473, 9.57399607e-07, 0.996679008, -0.0814296901, 0, 0.0814289004, 0.996669233, 0, 0, 3.7252903e-09, 1 ),
  337. CFrame.new( -0.500845671, -1.0290556, 4.76837158e-07, 0.998309016, 0.0581314489, 0, -0.058130879, 0.998299122, 0, 0, 0, 1 ),
  338. },.4)
  339. end
  340. swosh:Play()
  341. local bvol=Instance.new("BodyVelocity",torso)
  342. bvol.P = 100000
  343. bvol.MaxForce=Vector3.new(bvol.P,0,bvol.P)
  344. bvol.Velocity = root.CFrame.lookVector*100
  345. Debris(bvol,.2)
  346. local chopdb=false
  347. local hb=grabpart.Touched:connect(function(hit)
  348. if chopdb==true then return end
  349. if hit.Parent:findFirstChild("Head") and hit.Parent:FindFirstChildOfClass("Humanoid") and not hit:IsDescendantOf(char) then
  350. local tors = hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso") if tors then
  351. chopdb=true
  352. local hmu=hit.Parent:FindFirstChildOfClass("Humanoid")
  353. spikefx(tors.CFrame)
  354. slash:Play()
  355. for i,v in pairs(hit.Parent:GetChildren()) do
  356. if v:IsA("BasePart") and v.Name ~= "Handle" and v.Size.x<200 then
  357. v:BreakJoints()
  358. local bv=Instance.new("BodyVelocity",v)
  359. bv.Velocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  360. bv.MaxForce = Vector3.new(100000,100000,100000)
  361. v.BrickColor = BrickColor.new("Really black")
  362. v.Anchored = false
  363. Debris(v,10)
  364. end
  365. end
  366. end
  367. end
  368. end)
  369. for i=1,7 do
  370. wait()
  371. _IterateLerp({
  372. CFrame.new( -0.0102410316, 1.56405377, 0, 0.999967575, -0.00804331806, 0, 0.00804324076, 0.99995786, 0, 0, 0, 0.99999994 ),
  373. CFrame.new( 0, -0.999990225, 0, 0.309218496, 0, 0.950990975, 0, 0.999990225, 0, -0.950990975, 0, 0.309218496 ),
  374. CFrame.new( 1.52410364, 0.600606143, 0.127127171, 0.843653738, -0.536326528, -0.0245404467, -0.0442715883, -0.0239421558, -0.998722672, 0.535059035, 0.843670845, -0.0439433567 ),
  375. CFrame.new( -1.48721159, 0.590926051, -0.0660021305, 0.974422932, 0.191755563, -0.117173016, -0.18186219, 0.979181051, 0.0900608823, 0.132004589, -0.0664486811, 0.989019334 ),
  376. CFrame.new( 0.501660109, -1.04070473, 0, 0.996679008, -0.0814296901, 0, 0.0814289004, 0.996669233, 0, -2.98023224e-08, 0, 0.99999994 ),
  377. CFrame.new( -0.500846148, -1.0290556, 0, 0.998308837, 0.0581314452, 0, -0.058130879, 0.998299122, 0, 0, 0, 0.99999994 ),
  378. },.4)
  379. end
  380. hb:Disconnect()
  381. for i=1,10 do
  382. wait()
  383. grabpart.Transparency=grabpart.Transparency+0.1
  384. end
  385. end
  386. function darkheart()
  387. torso0switch()
  388. summon:Play()
  389. for i=1,25 do
  390. wait()
  391. _IterateLerp({
  392. CFrame.new( 0, 1.48561454, 0.119072914, 1, 0, 0, 0, 0.971229255, -0.238146394, 0, 0.238146394, 0.971229255 ),
  393. CFrame.new( 0, -2.62504315, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 ),
  394. CFrame.new( 1.48118687, 0.432643533, 0.117988974, 0.962375402, -0.270894974, -0.0212016907, -0.134712949, -0.407902002, -0.903032839, 0.235978872, 0.871912777, -0.429047942 ),
  395. CFrame.new( -1.48679996, 0.458605587, 0.106357396, 0.973600924, 0.227957353, 0.0116878562, 0.082788907, -0.304944426, -0.948764861, -0.212713808, 0.924686074, -0.315766543 ),
  396. CFrame.new( 0.5, -0.950745523, -0.529396296, 1, 0, 8.8817842e-16, 0, 0.204137847, 0.978942096, 0, -0.978942156, 0.204137862 ),
  397. CFrame.new( -0.5, -0.341685951, -0.633748055, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 1 ),
  398. },.1)
  399. end
  400. wait(.2)
  401. local inc=-3
  402. local swordtab={}
  403. for i=1,45 do
  404. wait()
  405. local dark=Instance.new("Part",char)
  406. dark.Size = Vector3.new(2,2,9)
  407. dark.Transparency=1
  408. dark.CanCollide=false
  409. dark.Anchored = true
  410. table.insert(swordtab,dark)
  411. local dh=Instance.new("SpecialMesh",dark)
  412. dh.MeshId="http://www.roblox.com/asset/?id=12221720"
  413. dh.TextureId="http://www.roblox.com/asset/?id=12224218"
  414. dh.VertexColor=Vector3.new(0,0,0)
  415. dh.Scale=v3(2,2,2)
  416. dark.CFrame=root.CFrame*CFrame.new(0,-4,inc)*CFrame.Angles(rad(-90),rad(math.random(-45,45)),0)
  417. local wrap=coroutine.wrap(function()
  418. for i=1,10 do
  419. wait()
  420. dark.Transparency=dark.Transparency-.1
  421. dark.CFrame=dark.CFrame*CFrame.new(0,0,.45)
  422. end
  423. end);wrap()
  424. local sq=false
  425. dark.Touched:connect(function(hit)
  426. if hit and hit.Parent and hit.Parent:findFirstChildOfClass("Humanoid") and not hit:isDescendantOf(char) then
  427. if sq then return end
  428. local tors = hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso")
  429. if tors then
  430. sq=true
  431. squish:Play()
  432. spikefx(tors.CFrame)
  433. for i,v in pairs(hit.Parent:GetChildren()) do
  434. if v:IsA("BasePart") and v.Name ~= "Handle" and v.Size.x<100 then
  435. v:BreakJoints()
  436. local bv=Instance.new("BodyVelocity",v)
  437. bv.Velocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  438. bv.MaxForce = Vector3.new(100000,100000,100000)
  439. v.BrickColor = BrickColor.new("Really black")
  440. v.Anchored = false
  441. Debris(v,10)
  442. end
  443. end
  444. end
  445. end
  446. end)
  447. inc=inc-1
  448. end
  449. for _,v in pairs(swordtab) do
  450. Debris(v,.4)
  451. local wrap=coroutine.wrap(function()
  452. for i=1,10 do
  453. wait()
  454. v.Transparency = v.Transparency+.1
  455. v.CFrame = v.CFrame*CFrame.new(0,0,-.45)
  456. end
  457. end);wrap()
  458. end
  459. end
  460. function zaworld()
  461. torso0switch()
  462. particleemitter.Enabled=true
  463. taunting = true
  464. theworld:Play()
  465. for i=1,7 do
  466. wait()
  467. _IterateLerp({
  468. CFrame.new( 0, 1.50000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 ),
  469. CFrame.new( 0, -0.948942542, -0.315449059, 1, 0, 0, 0, 0.948942542, -0.315449059, 0, 0.315449059, 0.948942542 ),
  470. CFrame.new( 1.03333831, 0.803000212, 0.328895986, 0.666042447, 0.745147169, 0.0338109061, 0.505401671, -0.484157503, 0.714255333, 0.54859519, -0.458636403, -0.699068129 ),
  471. CFrame.new( -1.0756973, 0.83096379, 0.25872466, 0.65691328, -0.751839459, 0.0565877482, -0.589003384, -0.464883924, 0.661027908, -0.470680177, -0.467568457, -0.748224497 ),
  472. CFrame.new( 0.504901886, -1.06555462, 0.02408427, 0.990197122, -0.139677078, 0, 0.131108776, 0.929454803, 0.344853967, -0.0481681935, -0.341473401, 0.93865639 ),
  473. CFrame.new( -0.513496816, -1.10789347, 0.0409053266, 0.973007023, 0.230775401, 0, -0.215787053, 0.909812391, 0.354510069, 0.0818122104, -0.344940811, 0.935052276 ),
  474. },.35)
  475. end
  476. end
  477. mouse.KeyDown:connect(function(k)
  478. if k=="z" then
  479. if touchdb then return end
  480. touchdb=true
  481. zaworld()
  482. repeat wait(.7)
  483. until not taunting
  484. root0switch()
  485. particleemitter.Enabled=false
  486. touchdb=false
  487. elseif k=="e" then
  488. if touchdb then return end
  489. touchdb=true
  490. walking=false
  491. idle = false
  492. deathtouch()
  493. walking=true
  494. idle=true
  495. touchdb=false
  496. elseif k=="f" then
  497. if touchdb then return end
  498. touchdb=true
  499. walking=false
  500. idle = false
  501. chargeslash()
  502. walking=true
  503. idle=true
  504. wait(.4)
  505. root0switch()
  506. touchdb=false
  507. elseif k=="r" then
  508. if touchdb then return end
  509. touchdb=true
  510. walking=false
  511. idle = false
  512. darkheart()
  513. walking=true
  514. idle=true
  515. wait(.4)
  516. root0switch()
  517. touchdb=false
  518. end
  519. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement