Advertisement
lafur

Untitled

Sep 3rd, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.74 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end ----Made by tyefoodmania---
  6. ----Credits go to trollmon123 for helping make this---
  7. ----love you all---
  8. local Player = game.Players.localPlayer
  9. local Character = Player.Character
  10. local Humanoid = Character.Humanoid
  11. local Mouse = Player:GetMouse()
  12. local LeftArm = Character["Left Arm"]
  13. local RightArm = Character["Right Arm"]
  14. local LeftLeg = Character["Left Leg"]
  15. local RightLeg = Character["Right Leg"]
  16. local Head = Character.Head
  17. local Torso = Character.Torso
  18. local Camera = game.Workspace.CurrentCamera
  19. local RootPart = Character.HumanoidRootPart
  20. local RootJoint = RootPart.RootJoint
  21. local Pause = false
  22. local attack = false
  23. local LOL = false
  24. local Anim = 'Idle'
  25. local attacktype = 1
  26. local delays = false
  27. local play = true
  28. local targetted = nil
  29. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  30. local velocity = RootPart.Velocity.y
  31. local sine = 0
  32. local change = 1
  33. local doe = 0
  34. local Create = LoadLibrary("RbxUtility").Create
  35. for i,v in pairs(Character:children()) do
  36. if v:IsA("Hat") then
  37. v:Destroy()
  38. end
  39. end
  40. for i,v in pairs(Character:children()) do
  41. if v:IsA("Accessory") then
  42. v:Destroy()
  43. end
  44. end
  45. for i,v in pairs(Character:children()) do
  46. if v:IsA("Clothing") then
  47. v:Destroy()
  48. end
  49. end
  50. for i,v in pairs(Character:children()) do
  51. if v:IsA("Accoutrement") then
  52. v:Destroy()
  53. end
  54. end
  55. local Shirt = Instance.new("Shirt",Character)
  56. local Pants = Instance.new("Pants",Character)
  57. Head.face.Texture = "rbxassetid://403828505"
  58. local Hat = Instance.new("Part",Character)
  59. Hat.Size = Vector3.new(1,1,1)
  60. Hat.CanCollide = false
  61. Hat.BrickColor = BrickColor.new("Really black")
  62. local Hat2 = Instance.new("SpecialMesh",Hat)
  63. Hat2.MeshId = "rbxassetid://922015392"
  64. Hat2.TextureId = "rbxassetid://922016290"
  65. Hat2.Scale = Vector3.new(0.08,0.08,0.08)
  66. local Hat3 = Instance.new("Weld",Hat)
  67. Hat3.Part0 = Head
  68. Hat3.Part1 = Hat
  69. Hat3.C0 = CFrame.new(-0.1,1,0)*CFrame.Angles(0,0,0.4)
  70. Shirt.ShirtTemplate = "rbxassetid://578666808"
  71. Pants.PantsTemplate = "rbxassetid://578667800"
  72. local M = Instance.new("Sound",Torso)
  73. M.SoundId = "rbxassetid://538732827"
  74. M.Looped = true
  75. M.Volume = 0.5
  76. M.Pitch = 1
  77. M:play()
  78. Humanoid.WalkSpeed = 25
  79. Humanoid.Animator.Parent = nil
  80. Character.Animate.Parent = nil
  81.  
  82. local newMotor = function(part0, part1, c0, c1)
  83. local w = Create('Motor'){
  84. Parent = part0,
  85. Part0 = part0,
  86. Part1 = part1,
  87. C0 = c0,
  88. C1 = c1,
  89. }
  90. return w
  91. end
  92. function clerp(a, b, t)
  93. return a:lerp(b, t)
  94. end
  95.  
  96. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  97. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  98.  
  99. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  100. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  101. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  102. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  103. RootJoint.C1 = CFrame.new(0, 0, 0)
  104. RootJoint.C0 = CFrame.new(0, 0, 0)
  105. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  106. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  107.  
  108. local rarmc1 = RW.C1
  109. local larmc1 = LW.C1
  110. local rlegc1 = RH.C1
  111. local llegc1 = LH.C1
  112.  
  113. local resetc1 = false
  114.  
  115. function PlayAnimationFromTable(table, speed, bool)
  116. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  117. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  118. RW.C0 = clerp(RW.C0, table[3], speed)
  119. LW.C0 = clerp(LW.C0, table[4], speed)
  120. RH.C0 = clerp(RH.C0, table[5], speed)
  121. LH.C0 = clerp(LH.C0, table[6], speed)
  122. if bool == true then
  123. if resetc1 == false then
  124. resetc1 = true
  125. RootJoint.C1 = RootJoint.C1
  126. Torso.Neck.C1 = Torso.Neck.C1
  127. RW.C1 = rarmc1
  128. LW.C1 = larmc1
  129. RH.C1 = rlegc1
  130. LH.C1 = llegc1
  131. end
  132. end
  133. end
  134.  
  135. ArtificialHB = Create("BindableEvent", script){
  136. Parent = script,
  137. Name = "Heartbeat",
  138. }
  139.  
  140. script:WaitForChild("Heartbeat")
  141.  
  142. frame = 1 / 30
  143. tf = 0
  144. allowframeloss = false
  145. tossremainder = false
  146. lastframe = tick()
  147. script.Heartbeat:Fire()
  148.  
  149. game:GetService("RunService").Heartbeat:connect(function(s, p)
  150. tf = tf + s
  151. if tf >= frame then
  152. if allowframeloss then
  153. script.Heartbeat:Fire()
  154. lastframe = tick()
  155. else
  156. for i = 1, math.floor(tf / frame) do
  157. script.Heartbeat:Fire()
  158. end
  159. lastframe = tick()
  160. end
  161. if tossremainder then
  162. tf = 0
  163. else
  164. tf = tf - frame * math.floor(tf / frame)
  165. end
  166. end
  167. end)
  168.  
  169. function swait(num)
  170. if num == 0 or num == nil then
  171. ArtificialHB.Event:wait()
  172. else
  173. for i = 0, num do
  174. ArtificialHB.Event:wait()
  175. end
  176. end
  177. end
  178. function Hit1()
  179. if not D then D = true
  180. Pause = true
  181. for i = 0,0.5,0.1 do
  182. swait()
  183. PlayAnimationFromTable({
  184. CFrame.new(0,0,0) * CFrame.new(0, 0, 0.2) * CFrame.Angles(0, -0.3, 0),
  185. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  186. CFrame.new(1.9,0.5,0.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,1),
  187. CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
  188. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  189. CFrame.new(-0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, -0.1),
  190. }, .5, false)
  191. end
  192. local Grab = Instance.new("Part",RightArm)
  193. Grab.Size = Vector3.new(1,1,1)
  194. Grab.CanCollide = false
  195. Grab.BrickColor = BrickColor.new("Deep orange")
  196. Grab.Transparency = math.huge
  197. local Grabo = Instance.new("Weld",Grab)
  198. Grabo.Part0 = RightArm
  199. Grabo.Part1 = Grab
  200. Grabo.C0 = CFrame.new(0,-1.1,0)
  201. local RA = Instance.new("Part",RightArm)
  202. RA.Size = Vector3.new(1.1,2.1,1.1)
  203. RA.BrickColor = BrickColor.new("New Yeller")
  204. RA.Material = "Neon"
  205. RA.Transparency = 0
  206. local RA2 = Instance.new("Weld",RA)
  207. RA2.Part0 = RightArm
  208. RA2.Part1 = RA
  209. RA2.C0 = CFrame.new(0,0,0)
  210. local Sou = Instance.new("Sound",Torso)
  211. Sou.SoundId = "rbxassetid://727821717"
  212. Sou.Pitch = 1
  213. Sou.Looped = false
  214. Sou.Volume = 1
  215. Sou:play()
  216. coroutine.resume(coroutine.create(function()
  217. for i = 1,2 do
  218. for i = 1,5 do
  219. RA.Transparency = RA.Transparency + 0.1
  220. game:GetService("RunService").RenderStepped:wait()
  221. end
  222. wait(0.1)
  223. for i = 1,5 do
  224. RA.Transparency = RA.Transparency - 0.1
  225. game:GetService("RunService").RenderStepped:wait()
  226. end
  227. game:GetService("RunService").RenderStepped:wait()
  228. end
  229. for i = 1,10 do
  230. RA.Transparency = RA.Transparency + 0.1
  231. game:GetService("RunService").RenderStepped:wait()
  232. end
  233. RA:remove()
  234. end))
  235. local SFXZ = Instance.new("Sound",Torso)
  236. SFXZ.SoundId = "rbxassetid://169259383"
  237. SFXZ.Volume = 1
  238. SFXZ.Pitch = 1.5
  239. SFXZ.Looped = false
  240. wait(0.01)
  241. SFXZ:Play()
  242. Grab.Touched:connect(function(hit)
  243. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
  244. Grab:remove()
  245. hit.Parent.Humanoid:TakeDamage(13)
  246. local SFXZ = Instance.new("Sound",Torso)
  247. SFXZ.SoundId = "rbxassetid://743886825"
  248. SFXZ.Volume = 1
  249. SFXZ.Pitch = 1
  250. SFXZ.Looped = false
  251. wait(0.01)
  252. SFXZ:Play()
  253. local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
  254. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  255. Fl.velocity = Torso.CFrame.lookVector*33
  256. wait(0.05)
  257. Fl:remove()
  258. end
  259. end)
  260. for i = 0,1,0.1 do
  261. swait()
  262. PlayAnimationFromTable({
  263. CFrame.new(0,0,0) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0, 0.6, 0),
  264. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.2, 0),
  265. CFrame.new(1.7,0.5,-0.6) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0.4),
  266. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(1.2, 0, 0),
  267. CFrame.new(0.6,-1.8,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1),
  268. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,-0.1),
  269. }, .5, false)
  270. end
  271. Grab:remove()
  272. Pause = false
  273. wait(0.2)
  274. D = false
  275. end
  276. end
  277. function Hit2()
  278. if not D then D = true
  279. Pause = true
  280. for i = 0,0.5,0.1 do
  281. swait()
  282. PlayAnimationFromTable({
  283. CFrame.new(0,0,0) * CFrame.new(0, 0, 0.2) * CFrame.Angles(0, 0.3, 0),
  284. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  285. CFrame.new(1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0),
  286. CFrame.new(-1.9,0.5,0.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -1),
  287. CFrame.new(0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1),
  288. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
  289. }, .5, false)
  290. end
  291. local Grab = Instance.new("Part",RightArm)
  292. Grab.Size = Vector3.new(1,1,1)
  293. Grab.CanCollide = false
  294. Grab.BrickColor = BrickColor.new("Deep orange")
  295. Grab.Transparency = math.huge
  296. local Grabo = Instance.new("Weld",Grab)
  297. Grabo.Part0 = LeftArm
  298. Grabo.Part1 = Grab
  299. Grabo.C0 = CFrame.new(0,-1.1,0)
  300. local LA = Instance.new("Part",LeftArm)
  301. LA.Size = Vector3.new(1.1,2.1,1.1)
  302. LA.BrickColor = BrickColor.new("New Yeller")
  303. LA.Material = "Neon"
  304. LA.Transparency = 0
  305. local LA2 = Instance.new("Weld",LA)
  306. LA2.Part0 = LeftArm
  307. LA2.Part1 = LA
  308. LA2.C0 = CFrame.new(0,0,0)
  309. local Sou = Instance.new("Sound",Torso)
  310. Sou.SoundId = "rbxassetid://727821717"
  311. Sou.Pitch = 1
  312. Sou.Looped = false
  313. Sou.Volume = 1
  314. Sou:play()
  315. coroutine.resume(coroutine.create(function()
  316. for i = 1,2 do
  317. for i = 1,5 do
  318. LA.Transparency = LA.Transparency + 0.1
  319. game:GetService("RunService").RenderStepped:wait()
  320. end
  321. wait(0.1)
  322. for i = 1,5 do
  323. LA.Transparency = LA.Transparency - 0.1
  324. game:GetService("RunService").RenderStepped:wait()
  325. end
  326. game:GetService("RunService").RenderStepped:wait()
  327. end
  328. for i = 1,10 do
  329. LA.Transparency = LA.Transparency + 0.1
  330. game:GetService("RunService").RenderStepped:wait()
  331. end
  332. LA:remove()
  333. end))
  334. local SFXZ = Instance.new("Sound",Torso)
  335. SFXZ.SoundId = "rbxassetid://169259383"
  336. SFXZ.Volume = 1
  337. SFXZ.Pitch = 1.5
  338. SFXZ.Looped = false
  339. wait(0.01)
  340. SFXZ:Play()
  341. Grab.Touched:connect(function(hit)
  342. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
  343. Grab:remove()
  344. hit.Parent.Humanoid:TakeDamage(13)
  345. local SFXZ = Instance.new("Sound",Torso)
  346. SFXZ.SoundId = "rbxassetid://743886825"
  347. SFXZ.Volume = 1
  348. SFXZ.Pitch = 1
  349. SFXZ.Looped = false
  350. wait(0.01)
  351. SFXZ:Play()
  352. local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
  353. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  354. Fl.velocity = Torso.CFrame.lookVector*33
  355. wait(0.05)
  356. Fl:remove()
  357. end
  358. end)
  359. for i = 0,1,0.1 do
  360. swait()
  361. PlayAnimationFromTable({
  362. CFrame.new(0,0,0) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0, -0.6, 0),
  363. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.2, 0),
  364. CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2,0,0.4),
  365. CFrame.new(-1.7,0.5,-0.6) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -0.4),
  366. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  367. CFrame.new(-0.6,-1.8,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3,0,-0.1),
  368. }, .5, false)
  369. end
  370. Grab:remove()
  371. Pause = false
  372. wait(0.2)
  373. D = false
  374. end
  375. end
  376. function Torn()
  377. if not D then D = true
  378. Pause = true
  379. for i = 0,1.2,0.1 do
  380. swait()
  381. PlayAnimationFromTable({
  382. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  383. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  384. CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  385. CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
  386. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  387. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  388. }, .5, false)
  389. end
  390. for i = 0,3,0.1 do
  391. swait()
  392. PlayAnimationFromTable({
  393. CFrame.new(0,0,0) * CFrame.new(0, -0.7, 0) * CFrame.Angles(0, 0, 0),
  394. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  395. CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  396. CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
  397. CFrame.new(0.5,-1.8,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.9, 0, 0),
  398. CFrame.new(-0.5,-1.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0),
  399. }, .1, false)
  400. end
  401. local RA = Instance.new("Part",RightArm)
  402. RA.Size = Vector3.new(1.1,2.1,1.1)
  403. RA.BrickColor = BrickColor.new("New Yeller")
  404. RA.Material = "Neon"
  405. RA.Transparency = 0
  406. local RA2 = Instance.new("Weld",RA)
  407. RA2.Part0 = RightLeg
  408. RA2.Part1 = RA
  409. RA2.C0 = CFrame.new(0,0,0)
  410. local E = Instance.new("Sound",Torso)
  411. E.SoundId = "rbxassetid://727821717"
  412. E.Volume = 112
  413. E.Pitch = 1
  414. E.Looped = false
  415. E:play()
  416. for i = 1,2 do ----15
  417. for i = 1,5 do
  418. RA.Transparency = RA.Transparency + 0.1
  419. game:GetService("RunService").RenderStepped:wait()
  420. end
  421. wait(0.1)
  422. for i = 1,5 do
  423. RA.Transparency = RA.Transparency - 0.1
  424. game:GetService("RunService").RenderStepped:wait()
  425. end
  426. end
  427. for i = 1,10 do
  428. RA.Transparency = RA.Transparency + 0.1
  429. game:GetService("RunService").RenderStepped:wait()
  430. end
  431. for i = 0,1.1,0.1 do
  432. swait()
  433. PlayAnimationFromTable({
  434. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  435. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  436. CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  437. CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
  438. CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
  439. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  440. }, .5, false)
  441. end
  442. ---
  443. local To = Instance.new("Part",Torso)
  444. To.Size = Vector3.new(10,10,10)
  445. To.BrickColor = BrickColor.new("New Yeller")
  446. To.Transparency = 0
  447. To.CanCollide = false
  448. To.CFrame = Torso.CFrame*CFrame.new(0,0,0)
  449. coroutine.resume(coroutine.create(function()
  450. for i = 1,26 do
  451. local Ef = Instance.new("Part",Torso)
  452. Ef.Size = Vector3.new(1,1,1)
  453. Ef.Anchored = true
  454. Ef.CanCollide = false
  455. Ef.BrickColor = BrickColor.new("New Yeller")
  456. Ef.CFrame = To.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
  457. local Ef2 = Instance.new("SpecialMesh",Ef)
  458. Ef2.MeshId = "rbxassetid://3270017"
  459. Ef2.Scale = Vector3.new(1,1,0.01)
  460. coroutine.resume(coroutine.create(function()
  461. for i = 1,300 do
  462. Ef2.Scale = Ef2.Scale + Vector3.new(1,1,0.1)
  463. Ef.Transparency = Ef.Transparency + 0.005
  464. game:GetService("RunService").RenderStepped:wait()
  465. end
  466. Ef:remove()
  467. end))
  468. wait(0.3)
  469. end
  470. end))
  471. To.Touched:connect(function(hit)
  472. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
  473. if not ZC then ZC = true
  474. hit.Parent.Humanoid:TakeDamage(20)
  475. local FlyIn = Instance.new("BodyPosition",hit.Parent.Torso)
  476. FlyIn.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  477. FlyIn.Position = Torso.Position
  478. wait(0.3)
  479. FlyIn:remove()
  480. ZC = false
  481. end
  482. end
  483. end)
  484. local To2 = Instance.new("SpecialMesh",To)
  485. To2.MeshId = "http://www.roblox.com/asset/?id=1051557"
  486. To2.Scale = Vector3.new(6,6,6)
  487. local Spa = Instance.new("ParticleEmitter",To)
  488. Spa.Texture = "rbxassetid://569507414"
  489. Spa.Size = NumberSequence.new(0.8,0.2)
  490. Spa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0))
  491. Spa.Lifetime = NumberRange.new(1,2)
  492. Spa.Rate = 99
  493. Spa.Transparency = NumberSequence.new(0.5,0.6)
  494. Spa.LightEmission = 0.75
  495. Spa.Speed = NumberRange.new(2)
  496. Spa.Acceleration = Vector3.new(0, 0, 0)
  497. Spa.VelocitySpread = 1212
  498. coroutine.resume(coroutine.create(function()
  499. for i = 1,300 do
  500. To.CFrame = Torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1,0)
  501. To.Transparency = To.Transparency + 0.00009
  502. To2.Scale = To2.Scale + Vector3.new(0.05,0.05,0.05)
  503. game:GetService("RunService").RenderStepped:wait()
  504. end
  505. To:remove()
  506. end))
  507. for i = 1,28 do
  508. for i = 0,0.1,0.1 do
  509. swait()
  510. PlayAnimationFromTable({
  511. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0),
  512. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  513. CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  514. CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
  515. CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
  516. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  517. }, .5, false)
  518. end
  519. for i = 0,0.1,0.1 do
  520. swait()
  521. PlayAnimationFromTable({
  522. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -3, 0),
  523. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  524. CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  525. CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
  526. CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
  527. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  528. }, .5, false)
  529. end
  530. for i = 0,0.1,0.1 do
  531. swait()
  532. PlayAnimationFromTable({
  533. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -4, 0),
  534. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  535. CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  536. CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
  537. CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
  538. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  539. }, .5, false)
  540. end
  541. for i = 0,0.1,0.1 do
  542. swait()
  543. PlayAnimationFromTable({
  544. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -5, 0),
  545. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  546. CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  547. CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
  548. CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
  549. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  550. }, .5, false)
  551. end
  552. game:GetService("RunService").RenderStepped:wait()
  553. end
  554. Pause = false
  555. To:remove()
  556. ---
  557. wait(1)
  558. D = false
  559. end
  560. end
  561. function Zoom()
  562. if not D then D = true
  563. Pause = true
  564. Character.Humanoid.WalkSpeed = 0
  565. for i = 0,1.2,0.1 do
  566. swait()
  567. PlayAnimationFromTable({
  568. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.55, 0),
  569. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.15, 0),
  570. CFrame.new(0.45,0.5,-1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(0,-0.5,-1.55),
  571. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0),
  572. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  573. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
  574. }, .5, false)
  575. end
  576. local RA = Instance.new("Part",RightArm)
  577. RA.Size = Vector3.new(1.1,2.1,1.1)
  578. RA.BrickColor = BrickColor.new("New Yeller")
  579. RA.Material = "Neon"
  580. RA.Transparency = 0
  581. local RA2 = Instance.new("Weld",RA)
  582. RA2.Part0 = RightArm
  583. RA2.Part1 = RA
  584. RA2.C0 = CFrame.new(0,0,0)
  585. local E = Instance.new("Sound",Torso)
  586. E.SoundId = "rbxassetid://727821717"
  587. E.Volume = 112
  588. E.Pitch = 1
  589. E.Looped = false
  590. E:play()
  591. for i = 1,2 do ----15
  592. for i = 1,5 do
  593. RA.Transparency = RA.Transparency + 0.1
  594. game:GetService("RunService").RenderStepped:wait()
  595. end
  596. wait(0.1)
  597. for i = 1,5 do
  598. RA.Transparency = RA.Transparency - 0.1
  599. game:GetService("RunService").RenderStepped:wait()
  600. end
  601. end
  602. for i = 1,10 do
  603. RA.Transparency = RA.Transparency + 0.1
  604. game:GetService("RunService").RenderStepped:wait()
  605. end
  606. RightArm.Transparency = 1
  607. local owo = Instance.new("Model",Torso)
  608. Instance.new("Humanoid",owo)
  609. Shirt:Clone().Parent = owo
  610. local R = Instance.new("Part",owo)
  611. R.Size = Vector3.new(1,2,1)
  612. R.TopSurface = 0
  613. R.BottomSurface = 0
  614. R.Name = 'Right Arm'
  615. R.BrickColor = RightArm.BrickColor
  616. R.CanCollide = false
  617. R.Anchored = true
  618. R.CFrame = RightArm.CFrame*CFrame.new(0,0,0)
  619. R.Touched:connect(function(hit)
  620. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
  621. if not ZZ then ZZ = true
  622. hit.Parent.Humanoid:TakeDamage(40)
  623. hit.Parent.Humanoid.Sit = true
  624. local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
  625. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  626. Fl.velocity = RootPart.CFrame.lookVector*130
  627. wait(0.1)
  628. Fl:remove()
  629. wait(0.00001)
  630. ZZ = false
  631. end
  632. end
  633. end)
  634. coroutine.resume(coroutine.create(function()
  635. for i = 1,20 do
  636. R.Size = R.Size + Vector3.new(0,0.8,0)
  637. R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.5,0)
  638. game:GetService("RunService").RenderStepped:wait()
  639. end
  640. end))
  641. for i = 0,1,0.1 do
  642. swait()
  643. PlayAnimationFromTable({
  644. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.5, 0),
  645. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.2, 0),
  646. CFrame.new(1.95,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  647. CFrame.new(-1.5,0,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.7, 0, 0),
  648. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  649. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1)
  650. }, .5, false)
  651. end
  652. wait(1)
  653. for i = 1,20 do
  654. R.Size = R.Size - Vector3.new(0,0.8,0)
  655. R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.75,0)
  656. game:GetService("RunService").RenderStepped:wait()
  657. end
  658. RightArm.Transparency = 0
  659. R:remove()
  660. Pause = false
  661. Character.Humanoid.WalkSpeed = 25
  662. wait(1)
  663. D = false
  664. end
  665. end
  666. function Baby()
  667. if not D then D = true
  668. Pause = true
  669. for i = 0,1.2,0.1 do
  670. swait()
  671. PlayAnimationFromTable({
  672. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  673. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  674. CFrame.new(1.5,1,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(2.8,0,0),
  675. CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
  676. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  677. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
  678. }, .5, false)
  679. end
  680. wait(0.5)
  681. local Ba = Instance.new("Sound",Torso)
  682. Ba.SoundId = "rbxassetid://1037853116"
  683. Ba.Volume = math.huge
  684. Ba.Pitch = 1
  685. Ba.Looped = false
  686. Ba:play()
  687. for i = 0,1.2,0.1 do
  688. swait()
  689. PlayAnimationFromTable({
  690. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  691. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  692. CFrame.new(1.5,1,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(2.4,0,0),
  693. CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
  694. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  695. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
  696. }, .5, false)
  697. end
  698. wait(0.8)
  699. Pause = false
  700. wait(0.5)
  701. D = false
  702. end
  703. end
  704.  
  705. function Breathe()
  706. if not DZ then DZ = true
  707. Pause = true
  708. Character.Humanoid.WalkSpeed = 0
  709. for i = 0,3,0.1 do
  710. swait()
  711. PlayAnimationFromTable({
  712. CFrame.new(0,0.01,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0),
  713. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.1, 0, 0),
  714. CFrame.new(1.5,0,0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3,0,0),
  715. CFrame.new(-1.5,0,0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0),
  716. CFrame.new(0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1),
  717. CFrame.new(-0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, -0.1),
  718. }, .5, false)
  719. end
  720. local P = Instance.new("Part",Character)
  721. P.Size = Vector3.new(0.1,0.1,0.1)
  722. P.Anchored = true
  723. P.Transparency = math.huge
  724. P.CanCollide = false
  725. P.CFrame = Head.CFrame*CFrame.new(0,-0.1,-1.9)
  726. local FlA = Instance.new("ParticleEmitter",P)
  727. FlA.Texture = "rbxassetid://833874434"
  728. FlA.Size = NumberSequence.new(0.7,0.1)
  729. FlA.EmissionDirection = "Back"
  730. FlA.Rotation = NumberRange.new(-100, 100)
  731. FlA.RotSpeed = NumberRange.new(-100, 100)
  732. FlA.Transparency = NumberSequence.new(0,1)
  733. FlA.Drag = 4
  734. FlA.Lifetime = NumberRange.new(0.5)
  735. FlA.Rate = 1111
  736. wait(2)
  737. FlA.Enabled = false
  738. wait(1)
  739. P:remove()
  740. for i = 0,3,0.1 do
  741. swait()
  742. PlayAnimationFromTable({
  743. CFrame.new(0,0.01,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  744. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0),
  745. CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3,0,0),
  746. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0),
  747. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  748. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
  749. }, .5, false)
  750. end
  751. local RA = Instance.new("Part",RightArm)
  752. RA.Size = Vector3.new(1.1,2.1,1.1)
  753. RA.BrickColor = BrickColor.new("New Yeller")
  754. RA.Material = "Neon"
  755. RA.Transparency = 0
  756. local RA2 = Instance.new("Weld",RA)
  757. RA2.Part0 = RightArm
  758. RA2.Part1 = RA
  759. RA2.C0 = CFrame.new(0,0,0)
  760. local LA = Instance.new("Part",LeftArm)
  761. LA.Size = Vector3.new(1.1,2.1,1.1)
  762. LA.BrickColor = BrickColor.new("New Yeller")
  763. LA.Material = "Neon"
  764. LA.Transparency = 0
  765. local LA2 = Instance.new("Weld",LA)
  766. LA2.Part0 = LeftArm
  767. LA2.Part1 = LA
  768. LA2.C0 = CFrame.new(0,0,0)
  769. local AZZ = Instance.new("ParticleEmitter",LA)
  770. AZZ.Texture = "rbxassetid://998225956"
  771. AZZ.EmissionDirection = "Top"
  772. AZZ.Rotation = NumberRange.new(-100, 100)
  773. AZZ.Size = NumberSequence.new(1)
  774. AZZ.Lifetime = NumberRange.new(0.8,1)
  775. AZZ.Rate = 50
  776. AZZ.Speed = NumberRange.new(0.3)
  777. AZZ.LightEmission = 1
  778. AZZ.VelocitySpread = 100
  779. local LAZZ = Instance.new("ParticleEmitter",RA)
  780. LAZZ.Texture = "rbxassetid://998225956"
  781. LAZZ.EmissionDirection = "Top"
  782. LAZZ.Rotation = NumberRange.new(-100, 100)
  783. LAZZ.Size = NumberSequence.new(1)
  784. LAZZ.Lifetime = NumberRange.new(0.8,1)
  785. LAZZ.Rate = 50
  786. LAZZ.Speed = NumberRange.new(0.3)
  787. LAZZ.LightEmission = 1
  788. LAZZ.VelocitySpread = 100
  789. local Spa = Instance.new("ParticleEmitter",RA)
  790. Spa.Texture = "rbxassetid://569507414"
  791. Spa.Size = NumberSequence.new(0.8,0.2)
  792. Spa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0))
  793. Spa.Lifetime = NumberRange.new(1,2)
  794. Spa.Rate = 99
  795. Spa.Transparency = NumberSequence.new(0.5,0.6)
  796. Spa.LightEmission = 0.75
  797. Spa.Speed = NumberRange.new(2)
  798. Spa.Acceleration = Vector3.new(0, 0, 0)
  799. Spa.VelocitySpread = 1212
  800. local Rpa = Instance.new("ParticleEmitter",LA)
  801. Rpa.Texture = "rbxassetid://569507414"
  802. Rpa.Size = NumberSequence.new(0.8,0.2)
  803. Rpa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0))
  804. Rpa.EmissionDirection = "Top"
  805. Rpa.Lifetime = NumberRange.new(1,2)
  806. Rpa.Rate = 99
  807. Rpa.Transparency = NumberSequence.new(0.5,0.6)
  808. Rpa.LightEmission = 0.75
  809. Rpa.Speed = NumberRange.new(2)
  810. Rpa.Acceleration = Vector3.new(0, 0, 0)
  811. Rpa.VelocitySpread = 1212
  812. for i = 1,5 do ----15
  813. local E = Instance.new("Sound",Torso)
  814. E.SoundId = "rbxassetid://186130717"
  815. E.Volume = 1
  816. E.Pitch = 1
  817. E.Looped = false
  818. local E1 = Instance.new("Sound",Torso)
  819. E1.SoundId = "rbxassetid://727821717"
  820. E1.Volume = 0.1
  821. E1.Pitch = 1
  822. E1.Looped = false
  823. E1:play()
  824. E:play()
  825. for i = 1,5 do
  826. RA.Transparency = RA.Transparency + 0.1
  827. LA.Transparency = LA.Transparency + 0.1
  828. game:GetService("RunService").RenderStepped:wait()
  829. end
  830. wait(0.1)
  831. for i = 1,5 do
  832. RA.Transparency = RA.Transparency - 0.1
  833. LA.Transparency = LA.Transparency - 0.1
  834. game:GetService("RunService").RenderStepped:wait()
  835. end
  836. wait(0.1)
  837. for i = 1,9 do
  838. RA.Transparency = RA.Transparency + 0.1
  839. LA.Transparency = LA.Transparency + 0.1
  840. game:GetService("RunService").RenderStepped:wait()
  841. end
  842. wait(0.1)
  843. for i = 1,9 do
  844. RA.Transparency = RA.Transparency - 0.1
  845. LA.Transparency = LA.Transparency - 0.1
  846. game:GetService("RunService").RenderStepped:wait()
  847. end
  848. game:GetService("RunService").RenderStepped:wait()
  849. end
  850. Rpa.Enabled = false
  851. Spa.Enabled = false
  852. LAZZ.Enabled = false
  853. AZZ.Enabled = false
  854. local FlA = Instance.new("ParticleEmitter",LeftArm)
  855. FlA.Texture = "rbxassetid://313742348"
  856. FlA.Size = NumberSequence.new(0.7)
  857. FlA.Transparency = NumberSequence.new(0)
  858. FlA.Lifetime = NumberRange.new(0.4)
  859. FlA.Rate = 20
  860. FlA.Rotation = NumberRange.new(-100, 100)
  861. FlA.Speed = NumberRange.new(0)
  862. FlA.LockedToPart = true
  863. local LP = Instance.new("ParticleEmitter",LeftArm)
  864. LP.Texture = "rbxassetid://1298571523"
  865. LP.Transparency = NumberSequence.new(0,1)
  866. LP.Size = NumberSequence.new(0.06)
  867. LP.Color = ColorSequence.new(Color3.fromRGB(255,255,0))
  868. LP.Lifetime = NumberRange.new(1.5)
  869. LP.Rate = 4000
  870. LP.ZOffset = 1
  871. LP.VelocitySpread = 35
  872. LP.Speed = NumberRange.new(0.3)
  873. LP.LightEmission = 1
  874. LP.LightInfluence = 1
  875. LP.LockedToPart = true
  876. local ZXA = Instance.new("ParticleEmitter",RightArm)
  877. ZXA.Texture = "rbxassetid://313742348"
  878. ZXA.Size = NumberSequence.new(0.7)
  879. ZXA.Transparency = NumberSequence.new(0)
  880. ZXA.Lifetime = NumberRange.new(0.4)
  881. ZXA.Rate = 20
  882. ZXA.Rotation = NumberRange.new(-100, 100)
  883. ZXA.Speed = NumberRange.new(0)
  884. ZXA.LockedToPart = true
  885. local LLP = Instance.new("ParticleEmitter",RightArm)
  886. LLP.Texture = "rbxassetid://1298571523"
  887. LLP.Transparency = NumberSequence.new(0,1)
  888. LLP.Size = NumberSequence.new(0.06)
  889. LLP.Color = ColorSequence.new(Color3.fromRGB(255,255,0))
  890. LLP.Lifetime = NumberRange.new(1.5)
  891. LLP.Rate = 4000
  892. LLP.ZOffset = 1
  893. LLP.VelocitySpread = 35
  894. LLP.Speed = NumberRange.new(0.3)
  895. LLP.LightEmission = 1
  896. LLP.LightInfluence = 1
  897. LLP.LockedToPart = true
  898. Character.Humanoid.WalkSpeed = 25
  899. wait(1)
  900. Pause = false
  901. for i = 1,11 do
  902. RA.Transparency = RA.Transparency + 0.1
  903. LA.Transparency = LA.Transparency + 0.1
  904. game:GetService("RunService").RenderStepped:wait()
  905. end
  906. LA:remove()
  907. RA:remove()
  908. Humanoid.MaxHealth = 400
  909. wait(0.01)
  910. Humanoid.Health = 500
  911. Mouse.KeyDown:connect(function(key)
  912. if key == "e" then
  913. Zoom()
  914. end
  915. if key == "r" then
  916. Torn()
  917. end
  918. end)
  919. Mouse.Button1Down:connect(function()
  920. if attack == false and attacktype == 1 then
  921. Hit1()
  922. attacktype = 2
  923. elseif attack == false and attacktype == 2 then
  924. Hit2()
  925. attacktype = 1
  926. end
  927. end)
  928. wait(12412412)
  929. DZ = false
  930. end
  931. end
  932. Mouse.KeyDown:connect(function(key)
  933. if key == "m" then
  934. Baby()
  935. end
  936. if key == "z" then
  937. Breathe()
  938. end
  939. end)
  940.  
  941. New = function(Object, Parent, Name, Data)
  942. local Object = Instance.new(Object)
  943. for Index, Value in pairs(Data or {}) do
  944. Object[Index] = Value
  945. end
  946. Object.Parent = Parent
  947. Object.Name = Name
  948. return Object
  949. end
  950. function rayCast(Position, Direction, Range, Ignore)
  951. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  952. end
  953.  
  954.  
  955.  
  956.  
  957. coroutine.wrap(function()
  958. while 1 do
  959. swait()
  960. if doe <= 360 then
  961. doe = doe + 2
  962. else
  963. doe = 0
  964. end
  965. end
  966. end)()
  967. while true do
  968. swait()
  969. for i, v in pairs(Character:GetChildren()) do
  970. if v:IsA("Part") then
  971. v.Material = "SmoothPlastic"
  972. elseif v:IsA("Accessory") then
  973. v:WaitForChild("Handle").Material = "SmoothPlastic"
  974. end
  975. end
  976.  
  977. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  978. velocity = RootPart.Velocity.y
  979. sine = sine + change
  980. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  981. if RootPart.Velocity.y > 1 and hit == nil then
  982. Anim = "Jump"
  983. if Pause == false then
  984. PlayAnimationFromTable({
  985. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  986. CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  987. CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  988. CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  989. CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  990. CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  991. }, .3, false)
  992. end
  993. elseif RootPart.Velocity.y < -1 and hit == nil then
  994. Anim = "Fall"
  995. if Pause == false then
  996. PlayAnimationFromTable({
  997. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  998. CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  999. CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1000. CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1001. CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1002. CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1003. }, .3, false)
  1004. end
  1005. elseif Torsovelocity < 1 and hit ~= nil then
  1006. Anim = "Idle"
  1007. if Pause == false then
  1008. change = 1
  1009. PlayAnimationFromTable({
  1010. CFrame.new(0,0,0) * CFrame.new(0, 0-.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0),
  1011. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0-.08*math.sin(tick()*2),0,0)*CFrame.Angles(-0.2, 0, 0),
  1012. CFrame.new(1.1,1,-0.8) * CFrame.new(0, 0-.08*math.sin(tick()*2), 0) * CFrame.Angles(3.1,0,-0.4),
  1013. CFrame.new(-1.5,0,0) * CFrame.new(0, 0-.08*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0),
  1014. CFrame.new(0.6,-2,0) * CFrame.new(0, 0+.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0.1),
  1015. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0+.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, -0.1),
  1016. }, .3, false)
  1017. end
  1018. elseif Torsovelocity > 2 and hit ~= nil then
  1019. Anim = "Walk"
  1020. if Pause == false then
  1021. PlayAnimationFromTable({
  1022. CFrame.new(0,0,0) * CFrame.new(0,0,0)*CFrame.Angles(-0.3,0-.1*math.sin(tick()*9),0+RootPart.RotVelocity.Y/29),
  1023. CFrame.new(0,1.5,0) * CFrame.new(0,0,0) * CFrame.Angles(0,0,0)*CFrame.Angles(-0.3, 0, 0),
  1024. CFrame.new(1.1,1,-0.8) * CFrame.new(0,0,0) * CFrame.Angles(3.1,0,-0.4),
  1025. CFrame.new(-1.5,0,0) * CFrame.new(0,0,0+.5 * math.cos((sine) / 3.5))*CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 3.5)),0,0),
  1026. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 3.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 3.5)), 0, 0-RootPart.RotVelocity.Y/33),
  1027. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 3.5)) * CFrame.Angles(math.rad(0 + 60 * math.cos((sine) / 3.5)), 0, 0-RootPart.RotVelocity.Y/33),
  1028. }, .3, false)
  1029. end
  1030. end
  1031. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement