Advertisement
guestdeznutz

Untitled

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