Advertisement
ghostteen14

Untitled

Feb 19th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.77 KB | None | 0 0
  1. -- This script has convert to FE by who i don't know?
  2.  
  3. -----------------------------------------------------
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("FE Compatibility code by Mokiros | Showcase by Bacon Hair!")
  9. local rp = RealPlayer
  10. script.Parent = rp.Character
  11.  
  12. --RemoteEvent for communicating
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15.  
  16. --Fake event to make stuff like Mouse.KeyDown work
  17. local function fakeEvent()
  18. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19. t.connect = t.Connect
  20. return t
  21. end
  22.  
  23. --Creating fake input objects with fake variables
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28. end}
  29. --Merged 2 functions into one by checking amount of arguments
  30. CAS.UnbindAction = CAS.BindAction
  31.  
  32. --This function will trigger the events that have been :Connect()'ed
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent then
  36. for _,f in pairs(t.Functions) do
  37. f(...)
  38. end
  39. end
  40. end
  41. m.TrigEvent = te
  42. UIS.TrigEvent = te
  43.  
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=rp then return end
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. if not io.isMouse then
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67.  
  68. local Mouse = Player:GetMouse()
  69. local UIS = game:GetService("UserInputService")
  70. local input = function(io,a)
  71. if a then return end
  72. --Since InputObject is a client-side instance, we create and pass table instead
  73. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  74. end
  75. UIS.InputBegan:Connect(input)
  76. UIS.InputEnded:Connect(input)
  77.  
  78. local h,t
  79. --Give the server mouse data 30 times every second, but only if the values changed
  80. --If player is not moving their mouse, client won't fire events
  81. while wait(1/30) do
  82. if h~=Mouse.Hit or t~=Mouse.Target then
  83. h,t=Mouse.Hit,Mouse.Target
  84. Event:FireServer({isMouse=true,Target=t,Hit=h})
  85. end
  86. end]==],Player.Character)
  87.  
  88. ----Sandboxed game object that allows the usage of client-side methods and services
  89. --Real game object
  90. local _rg = game
  91.  
  92. --Metatable for fake service
  93. local fsmt = {
  94. __index = function(self,k)
  95. local s = rawget(self,"_RealService")
  96. if s then return s[k] end
  97. end,
  98. __newindex = function(self,k,v)
  99. local s = rawget(self,"_RealService")
  100. if s then s[k]=v end
  101. end,
  102. __call = function(self,...)
  103. local s = rawget(self,"_RealService")
  104. if s then return s(...) end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return self[s]
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. }
  123. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124. g.service = g.GetService
  125.  
  126. g.RunService = FakeService({
  127. RenderStepped = _rg:GetService("RunService").Heartbeat,
  128. BindToRenderStep = function(self,name,_,fun)
  129.  
  130. end,
  131. UnbindFromRenderStep = function(self,name)
  132. self._btrs[name]:Disconnect()
  133. end,
  134. },"RunService")
  135.  
  136. setmetatable(g,{
  137. __index=function(self,s)
  138. return _rg:GetService(s) or typeof(_rg[s])=="function"
  139. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  140. end,
  141. __newindex = fsmt.__newindex,
  142. __call = fsmt.__call
  143. })
  144. --Changing owner to fake player object to support owner:GetMouse()
  145. game,owner = g,g.Players.LocalPlayer
  146. end
  147. wait(0.6)
  148. --[[
  149. by Yourfirstnightmare-Dre#2941
  150. Created with my animation rig,
  151. Abanonded project got bored not much to do
  152. ]]--
  153. script.Parent=nil
  154. local p = game.Players.LocalPlayer
  155. local char = p.Character
  156. local mouse = p:GetMouse()
  157. local larm = char["Left Arm"]
  158. local rarm = char["Right Arm"]
  159. local lleg = char["Left Leg"]
  160. local rleg = char["Right Leg"]
  161. local euler=CFrame.fromEulerAnglesXYZ
  162. local hed = char.Head
  163. local torso = char.Torso
  164. local hum = char.Humanoid
  165. local root = char.HumanoidRootPart
  166. local walking = true
  167. local idle = true
  168. local rs = game:GetService("RunService").RenderStepped
  169. local new = Instance.new
  170. local v3 = Vector3.new
  171. local ns = NumberSequence.new
  172. local taunting = false
  173. local nr = NumberRange.new
  174. local bc = BrickColor.new
  175. local cf = CFrame.new
  176. local cfa = CFrame.Angles
  177. local rad = math.rad
  178. hum.Name = "1314____"
  179. hum.MaxHealth = math.huge
  180. hum.Health=math.huge
  181. local touchdb=false
  182. sine = 0
  183. for i,v in pairs(char:GetChildren()) do
  184. if v:IsA("BodyColors") then
  185. v.HeadColor = bc("Really black")
  186. v.RightArmColor = bc("Really black")
  187. v.LeftArmColor=bc("Really black")
  188. v.TorsoColor=bc("Really black")
  189. v.RightLegColor = bc("Really black")
  190. v.LeftLegColor=bc("Really black")
  191. end
  192. end
  193. function NoOutline(Part)
  194. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  195. end
  196. db=game:GetService('Debris')
  197. function Debris(item,timer)
  198. db:AddItem(item,timer)
  199. end
  200. for i,v in pairs(char:GetChildren()) do
  201. if v.ClassName == "Accessory" or v:IsA("ShirtGraphic") then
  202. v:Destroy()
  203. end
  204. end
  205. hed.Transparency = 1
  206. function Lerp(a,b,c)
  207. return a:lerp(b,c)
  208. end
  209. if char:findFirstChild("Shirt") and char:findFirstChild("Pants") then
  210. char.Shirt.ShirtTemplate = "rbxassetid://135561529"
  211. char.Pants.PantsTemplate = "rbxassetid://135562232"
  212. end
  213. ----------------------------------------------------Sounds?
  214. local swosh = Instance.new("Sound",torso)
  215. swosh.SoundId= "rbxassetid://877471479"
  216. local slash=Instance.new("Sound",torso)
  217. slash.SoundId= "rbxassetid://153092274"
  218. local exp=Instance.new("Sound",torso)
  219. exp.SoundId= "rbxassetid://142070127"
  220. local squish=Instance.new("Sound",torso)
  221. squish.SoundId= "rbxassetid://935843979"
  222. local summon=Instance.new("Sound",torso)
  223. summon.SoundId= "rbxassetid://429459101"
  224. local theworld=Instance.new("Sound",torso)
  225. theworld.SoundId= "rbxassetid://616576400"
  226. ----------------------------------------------------
  227. New = function(Object, Parent, Name, Data)
  228. local Object = Instance.new(Object)
  229. for Index, Value in pairs(Data or {}) do
  230. Object[Index] = Value
  231. end
  232. Object.Parent = Parent
  233. Object.Name = Name
  234. return Object
  235. end
  236. 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),})
  237. 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,})
  238. 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),})
  239. local Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=1007442229",})
  240. 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),})
  241. 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),})
  242. local Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(2, 2, 2),MeshId = "http://www.roblox.com/asset/?id=1185246",MeshType = Enum.MeshType.FileMesh,})
  243. 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),})
  244. 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),})
  245. local Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=1007442229",})
  246. 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),})
  247. local particleemitter = Instance.new("ParticleEmitter",torso)
  248. particleemitter.Texture = "rbxassetid://930754411"
  249. particleemitter.Rate = 1
  250. particleemitter.VelocitySpread = 35
  251. particleemitter.Enabled=false
  252. local headw=Instance.new("Weld",Skull)
  253. local grabpart=Instance.new("Part",char)
  254. grabpart.Size = Vector3.new(1,1,4)
  255. grabpart.Transparency=1
  256. grabpart.CanCollide=false
  257. local wel=Instance.new("Weld",grabpart)
  258. wel.Part0=grabpart
  259. wel.Part1=rarm
  260. local dh=Instance.new("SpecialMesh",grabpart)
  261. dh.MeshId="http://www.roblox.com/asset/?id=12221720"
  262. dh.TextureId="http://www.roblox.com/asset/?id=12224218"
  263. dh.VertexColor=Vector3.new(0,0,0)
  264. wel.C0=CFrame.new(1,0,-1.5)*CFrame.Angles(rad(90),rad(180),rad(90))
  265. for i,v in pairs(Skull:GetChildren()) do
  266. if v:IsA("BasePart") then v.Anchored = false
  267. end
  268. end
  269. headw.Part0=Skull
  270. headw.Part1=hed
  271. local fxFolder={}
  272. local fxtab={
  273. blockeffect={
  274. blockfx = function(cf,tim,s1,s2,s3)
  275. local block=Instance.new("Part",char)
  276. table.insert(fxFolder,block)
  277. NoOutline(block)
  278. block.BrickColor = BrickColor.new("Really black")
  279. block.Transparency = .6
  280. block.Size = Vector3.new(s1,s2,s3)
  281. block.Anchored = true
  282. block.CanCollide = false
  283. block.CFrame = cf
  284. Debris(block,tim)
  285. end}
  286. }
  287. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  288. local wld = Instance.new("Weld", wp1)
  289. wld.Part0 = wp0
  290. wld.Part1 = wp1
  291. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  292. return wld
  293. end
  294. local larmweld=newWeld(torso,larm, -1.5, 0.5, 0)
  295. larmweld.C1 = CFrame.new(0, 0.5, 0)
  296. local rarmweld=newWeld(torso, rarm, 1.5, 0.5, 0)
  297. rarmweld.C1 = CFrame.new(0, 0.5, 0)
  298. local hedweld=newWeld(torso, hed, 0, 1.5, 0)
  299. local llegweld=newWeld(root, lleg, -0.5, -1, 0)
  300. llegweld.C1 = CFrame.new(0, 1, 0)
  301. local rlegweld=newWeld(root, rleg, 0.5, -1, 0)
  302. rlegweld.C1 = CFrame.new(0, 1 ,0)
  303. local torweld=newWeld(root, torso, 0, -1, 0)
  304. torweld.C1 = CFrame.new(0, -1, 0)
  305. function _IterateLerp(matrices,LerpIncrement)
  306. hedweld.C0 = Lerp(hedweld.C0,matrices[1],LerpIncrement);
  307. torweld.C0 = Lerp(torweld.C0,matrices[2],LerpIncrement);
  308. rarmweld.C0 = Lerp(rarmweld.C0,matrices[3],LerpIncrement);
  309. larmweld.C0 = Lerp(larmweld.C0,matrices[4],LerpIncrement);
  310. rlegweld.C0 = Lerp(rlegweld.C0,matrices[5],LerpIncrement);
  311. llegweld.C0 = Lerp(llegweld.C0,matrices[6],LerpIncrement);
  312. end;
  313. local function root0switch()
  314. rlegweld.Part0 = root
  315. llegweld.Part0 = root
  316. end
  317. local function torso0switch()
  318. rlegweld.Part0 = torso
  319. llegweld.Part0 = torso
  320. end
  321. local falling = false
  322. local jmp = false
  323. hum.StateChanged:connect(function(z,state)
  324. if state == Enum.HumanoidStateType.Freefall then
  325. falling = true
  326. taunting=false
  327. else
  328. falling = false
  329. end
  330. end)
  331. function spikefx(pos)
  332. local fxtab={}
  333. local wrap=coroutine.wrap(function()
  334. for i=1,10 do
  335. wait()
  336. local p=Instance.new("Part",workspace)
  337. local m=Instance.new("SpecialMesh",p)
  338. m.MeshType="Sphere"
  339. p.CFrame=pos
  340. m.Scale=v3(1.7,0.3,0.2)
  341. p.Material="Neon"
  342. Debris(p,.5)
  343. table.insert(fxtab,m)
  344. table.insert(fxtab,p)
  345. p.BrickColor=BrickColor.new("Black")
  346. p.CanCollide=false
  347. p.Anchored=true
  348. 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)))
  349. for _,v in pairs(fxtab) do
  350. if v:IsA("SpecialMesh") then
  351. v.Scale = v.Scale+Vector3.new(.4,0,0)
  352. else
  353. v.Transparency = v.Transparency+.1
  354. end
  355. end
  356. end
  357. end);wrap()
  358. end
  359. rs:connect(function()
  360. sine=sine+1
  361. local movevelocity=(root.Velocity*v3(1,0,1)).Magnitude
  362. if movevelocity <1 and idle and not taunting then
  363. if idle then
  364. _IterateLerp({
  365. 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 ),
  366. 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),
  367. 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 ),
  368. 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),
  369. 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 ),
  370. 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 ),
  371. },.1)
  372. end
  373. end
  374. if falling and idle then
  375. _IterateLerp({
  376. CFrame.new( 0, 1.46811366, 0.175658226, 1, 0, 0, 0, 0.936247647, -0.351312846, 0, 0.351316303, 0.936256826 ),
  377. CFrame.new( 0, -0.999990225, 0, 1, 0, 0, 0, 0.999990225, 0, 0, 0, 1 ),
  378. CFrame.new( 1.43505383, 0.746422827, 0, 0.870108187, -0.492860764, 0, 0.492855906, 0.870099664, 0, 0, 0, 1 ),
  379. CFrame.new( -1.46059692, 0.69454664, 0, 0.921192586, 0.389106899, 0, -0.389103055, 0.921183467, 0, 0, 0, 1 ),
  380. CFrame.new( 0.506626964, -1.08112538, 0, 0.986746132, -0.162271619, 0, 0.162270024, 0.986736417, 0, 0, 0, 1 ),
  381. CFrame.new( -0.504866421, -1.06957817, 0, 0.990267456, 0.139177516, 0, -0.13917613, 0.99025774, 0, 0, 0, 1 ),
  382. },.2)
  383. end
  384. if movevelocity >1 and walking and not jmp and not falling then
  385. taunting=false
  386. if walking then
  387. _IterateLerp({
  388. 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 ),
  389. 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),
  390. 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),
  391. 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),
  392. 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),
  393. 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)
  394. },.1)
  395. end
  396. end
  397. for _,fx in pairs(fxFolder) do
  398. fx.CFrame = fx.CFrame*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  399. end
  400. end)
  401. function deathtouch()
  402. torso0switch()
  403. local deathdb=false
  404. local hb=rarm.Touched:connect(function(hit)
  405. if not hit:IsDescendantOf(char) then
  406. if deathdb then return end
  407. deathdb=true
  408. if hit.Parent then
  409. for i,v in pairs(hit.Parent:GetChildren()) do
  410. if v:IsA("BasePart") and v.Name ~= "Handle" and v.Size.x<200 then
  411. v:BreakJoints()
  412. exp:Play()
  413. local bv=Instance.new("BodyVelocity",v)
  414. bv.Velocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  415. bv.MaxForce = Vector3.new(100000,100000,100000)
  416. v.BrickColor = BrickColor.new("Really black")
  417. v.Anchored = false
  418. Debris(v,10)
  419. end
  420. end
  421. end
  422. end
  423. end)
  424. for i=1, 10 do
  425. rs:wait(1)
  426. fxtab.blockeffect.blockfx(rarm.CFrame*CFrame.new(0,-2,0),1,1.5,1.5,1.5)
  427. _IterateLerp({
  428. 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 ),
  429. 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 ),
  430. 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 ),
  431. 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 ),
  432. 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 ),
  433. 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 )
  434. },0.25 )
  435. end
  436. wait(.2)
  437. for i=1,7 do
  438. rs:wait(1)
  439. _IterateLerp({
  440. 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 ),
  441. CFrame.new( 0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 )*CFrame.Angles(rad(0),0,0),
  442. 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 ),
  443. 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 ),
  444. 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 ),
  445. 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 ),
  446. },.25)
  447. end
  448. hb:Disconnect()
  449. root0switch()
  450. end
  451. function chargeslash()
  452. torso0switch()
  453. for i=1,7 do
  454. wait()
  455. _IterateLerp({
  456. CFrame.new( -0.0545110703, 1.56173253, 0, 0.995324731, -0.0965852737, 0, 0.096584335, 0.995314956, 0, 0, 0, 1 ),
  457. CFrame.new( 0, -0.999990225, 0, 1, 0, 0, 0, 0.999990225, 0, 0, 0, 1 ),
  458. 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 ),
  459. 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 ),
  460. CFrame.new( 0.501660109, -1.04070473, 0, 0.996679068, -0.0814296976, 0, 0.0814289004, 0.996669233, 0, 0, 0, 1 ),
  461. CFrame.new( -0.500845671, -1.0290556, 0, 0.998308957, 0.0581314489, 0, -0.058130879, 0.998299122, 0, 0, 0, 1 ),
  462. },.4)
  463. end
  464. for i=1,10 do
  465. wait()
  466. grabpart.Transparency=grabpart.Transparency-0.1
  467. end
  468. for i=1,7 do
  469. wait()
  470. _IterateLerp({
  471. 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 ),
  472. CFrame.new( 0, -0.999990225, 0, 0.613908231, 0, -0.789377391, 0, 0.999990225, 0, 0.789377391, 0, 0.613908231 ),
  473. 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 ),
  474. 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 ),
  475. CFrame.new( 0.501660109, -1.04070473, 9.57399607e-07, 0.996679008, -0.0814296901, 0, 0.0814289004, 0.996669233, 0, 0, 3.7252903e-09, 1 ),
  476. CFrame.new( -0.500845671, -1.0290556, 4.76837158e-07, 0.998309016, 0.0581314489, 0, -0.058130879, 0.998299122, 0, 0, 0, 1 ),
  477. },.4)
  478. end
  479. swosh:Play()
  480. local bvol=Instance.new("BodyVelocity",torso)
  481. bvol.P = 100000
  482. bvol.MaxForce=Vector3.new(bvol.P,0,bvol.P)
  483. bvol.Velocity = root.CFrame.lookVector*100
  484. Debris(bvol,.2)
  485. local chopdb=false
  486. local hb=grabpart.Touched:connect(function(hit)
  487. if chopdb==true then return end
  488. if hit.Parent:findFirstChild("Head") and hit.Parent:FindFirstChildOfClass("Humanoid") and not hit:IsDescendantOf(char) then
  489. local tors = hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso") if tors then
  490. chopdb=true
  491. local hmu=hit.Parent:FindFirstChildOfClass("Humanoid")
  492. spikefx(tors.CFrame)
  493. slash:Play()
  494. for i,v in pairs(hit.Parent:GetChildren()) do
  495. if v:IsA("BasePart") and v.Name ~= "Handle" and v.Size.x<200 then
  496. v:BreakJoints()
  497. local bv=Instance.new("BodyVelocity",v)
  498. bv.Velocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  499. bv.MaxForce = Vector3.new(100000,100000,100000)
  500. v.BrickColor = BrickColor.new("Really black")
  501. v.Anchored = false
  502. Debris(v,10)
  503. end
  504. end
  505. end
  506. end
  507. end)
  508. for i=1,7 do
  509. wait()
  510. _IterateLerp({
  511. CFrame.new( -0.0102410316, 1.56405377, 0, 0.999967575, -0.00804331806, 0, 0.00804324076, 0.99995786, 0, 0, 0, 0.99999994 ),
  512. CFrame.new( 0, -0.999990225, 0, 0.309218496, 0, 0.950990975, 0, 0.999990225, 0, -0.950990975, 0, 0.309218496 ),
  513. 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 ),
  514. 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 ),
  515. CFrame.new( 0.501660109, -1.04070473, 0, 0.996679008, -0.0814296901, 0, 0.0814289004, 0.996669233, 0, -2.98023224e-08, 0, 0.99999994 ),
  516. CFrame.new( -0.500846148, -1.0290556, 0, 0.998308837, 0.0581314452, 0, -0.058130879, 0.998299122, 0, 0, 0, 0.99999994 ),
  517. },.4)
  518. end
  519. hb:Disconnect()
  520. for i=1,10 do
  521. wait()
  522. grabpart.Transparency=grabpart.Transparency+0.1
  523. end
  524. end
  525. function darkheart()
  526. torso0switch()
  527. summon:Play()
  528. for i=1,25 do
  529. wait()
  530. _IterateLerp({
  531. CFrame.new( 0, 1.48561454, 0.119072914, 1, 0, 0, 0, 0.971229255, -0.238146394, 0, 0.238146394, 0.971229255 ),
  532. CFrame.new( 0, -2.62504315, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 ),
  533. 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 ),
  534. 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 ),
  535. CFrame.new( 0.5, -0.950745523, -0.529396296, 1, 0, 8.8817842e-16, 0, 0.204137847, 0.978942096, 0, -0.978942156, 0.204137862 ),
  536. CFrame.new( -0.5, -0.341685951, -0.633748055, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 1 ),
  537. },.1)
  538. end
  539. wait(.2)
  540. local inc=-3
  541. local swordtab={}
  542. for i=1,45 do
  543. wait()
  544. local dark=Instance.new("Part",char)
  545. dark.Size = Vector3.new(2,2,9)
  546. dark.Transparency=1
  547. dark.CanCollide=false
  548. dark.Anchored = true
  549. table.insert(swordtab,dark)
  550. local dh=Instance.new("SpecialMesh",dark)
  551. dh.MeshId="http://www.roblox.com/asset/?id=12221720"
  552. dh.TextureId="http://www.roblox.com/asset/?id=12224218"
  553. dh.VertexColor=Vector3.new(0,0,0)
  554. dh.Scale=v3(2,2,2)
  555. dark.CFrame=root.CFrame*CFrame.new(0,-4,inc)*CFrame.Angles(rad(-90),rad(math.random(-45,45)),0)
  556. local wrap=coroutine.wrap(function()
  557. for i=1,10 do
  558. wait()
  559. dark.Transparency=dark.Transparency-.1
  560. dark.CFrame=dark.CFrame*CFrame.new(0,0,.45)
  561. end
  562. end);wrap()
  563. local sq=false
  564. dark.Touched:connect(function(hit)
  565. if hit and hit.Parent and hit.Parent:findFirstChildOfClass("Humanoid") and not hit:isDescendantOf(char) then
  566. if sq then return end
  567. local tors = hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso")
  568. if tors then
  569. sq=true
  570. squish:Play()
  571. spikefx(tors.CFrame)
  572. for i,v in pairs(hit.Parent:GetChildren()) do
  573. if v:IsA("BasePart") and v.Name ~= "Handle" and v.Size.x<100 then
  574. v:BreakJoints()
  575. local bv=Instance.new("BodyVelocity",v)
  576. bv.Velocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  577. bv.MaxForce = Vector3.new(100000,100000,100000)
  578. v.BrickColor = BrickColor.new("Really black")
  579. v.Anchored = false
  580. Debris(v,10)
  581. end
  582. end
  583. end
  584. end
  585. end)
  586. inc=inc-1
  587. end
  588. for _,v in pairs(swordtab) do
  589. Debris(v,.4)
  590. local wrap=coroutine.wrap(function()
  591. for i=1,10 do
  592. wait()
  593. v.Transparency = v.Transparency+.1
  594. v.CFrame = v.CFrame*CFrame.new(0,0,-.45)
  595. end
  596. end);wrap()
  597. end
  598. end
  599. function zaworld()
  600. torso0switch()
  601. particleemitter.Enabled=true
  602. taunting = true
  603. theworld:Play()
  604. for i=1,7 do
  605. wait()
  606. _IterateLerp({
  607. CFrame.new( 0, 1.50000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 ),
  608. CFrame.new( 0, -0.948942542, -0.315449059, 1, 0, 0, 0, 0.948942542, -0.315449059, 0, 0.315449059, 0.948942542 ),
  609. 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 ),
  610. 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 ),
  611. 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 ),
  612. 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 ),
  613. },.35)
  614. end
  615. end
  616. mouse.KeyDown:connect(function(k)
  617. if k=="z" then
  618. if touchdb then return end
  619. touchdb=true
  620. zaworld()
  621. repeat wait(.7)
  622. until not taunting
  623. root0switch()
  624. particleemitter.Enabled=false
  625. touchdb=false
  626. elseif k=="e" then
  627. if touchdb then return end
  628. touchdb=true
  629. walking=false
  630. idle = false
  631. deathtouch()
  632. walking=true
  633. idle=true
  634. touchdb=false
  635. elseif k=="f" then
  636. if touchdb then return end
  637. touchdb=true
  638. walking=false
  639. idle = false
  640. chargeslash()
  641. walking=true
  642. idle=true
  643. wait(.4)
  644. root0switch()
  645. touchdb=false
  646. elseif k=="r" then
  647. if touchdb then return end
  648. touchdb=true
  649. walking=false
  650. idle = false
  651. darkheart()
  652. walking=true
  653. idle=true
  654. wait(.4)
  655. root0switch()
  656. touchdb=false
  657. end
  658. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement