Advertisement
Guest User

Untitled

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