Advertisement
ItzInfern

magic guy

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