Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.75 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.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153. wait(1)
  154. local plr = game.Players.LocalPlayer
  155. local char = plr.Character
  156. hum=char.Humanoid
  157. for i,v in pairs (char:GetChildren()) do
  158. if v.Name~="Humanoid" and v.ClassName~="Part" then
  159. v:Destroy()
  160. end
  161. end
  162.  
  163. for i,v in pairs (char:WaitForChild("Head"):GetChildren()) do
  164. if v.ClassName=="Sound" then
  165. v:Destroy()
  166. end
  167. end
  168. spawn(function()
  169. while wait() do
  170. char:WaitForChild("Right Arm").BrickColor=BrickColor.new("Cool yellow")
  171. char:WaitForChild("Left Arm").BrickColor=BrickColor.new("Cool yellow")
  172. char:WaitForChild("Head").BrickColor=BrickColor.new("Cool yellow")
  173. char:WaitForChild("Right Leg").BrickColor=BrickColor.new("Medium blue")
  174. char:WaitForChild("Left Leg").BrickColor=BrickColor.new("Medium blue")
  175. char:WaitForChild("Torso").BrickColor=BrickColor.new("Bright yellow")
  176. end
  177. end)
  178. ac = Instance.new("Accessory",workspace)
  179. ac.AttachmentPos=Vector3.new(0, -0.1, 0.2)
  180. o2 = Instance.new("Part")
  181. o3 = Instance.new("SpecialMesh")
  182. o4 = Instance.new("Vector3Value")
  183. o2.Name = "Handle"
  184. o2.Parent = ac
  185. o2.Position = char.Torso.Position
  186. spawn(function()
  187. repeat
  188. if ac.Parent~=char then
  189. o2.Position = char.Torso.Position
  190. else
  191. break
  192. end
  193. wait()
  194. until ac.Parent==char
  195. end)
  196. o2.Rotation = Vector3.new(0, -0.75999999, 0)
  197. o2.CanCollide = false
  198. o2.Locked = true
  199. o2.FormFactor = Enum.FormFactor.Custom
  200. o2.Size = Vector3.new(1.60000014, 0.800000012, 1.60000014)
  201. o2.CFrame = CFrame.new(0.128948003, 5.08735895, -0.544525981, 0.999912918, 1.17847014e-26, -0.0131900534, -4.89980362e-24, 1, -3.70551116e-22, 0.013190059, 3.70583553e-22, 0.999912918)
  202. o2.BottomSurface = Enum.SurfaceType.Smooth
  203. o2.TopSurface = Enum.SurfaceType.Smooth
  204. o2.Position = Vector3.new(0.128948003, 5.08735895, -0.544525981)
  205. o3.Parent = o2
  206. o3.MeshId = "http://www.roblox.com/asset/?id=120626701"
  207. o3.Scale = Vector3.new(0.899999976, 0.819999993, 0.819999993)
  208. o3.TextureId = "http://www.roblox.com/asset/?id=120626735"
  209. o3.MeshType = Enum.MeshType.FileMesh
  210. o4.Name = "OriginalSize"
  211. o4.Parent = o2
  212. o4.Value = Vector3.new(1.60000014, 0.800000012, 1.60000014)
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230. local mouse = plr:GetMouse()
  231. local torso = char.Torso
  232. local RightArm1 = torso["Right Shoulder"]
  233. local LeftArm1 = torso["Left Shoulder"]
  234. local RightLeg1 = torso["Right Hip"]
  235. local LeftLeg1 = torso["Left Hip"]
  236. local Torso1 = char.HumanoidRootPart.RootJoint
  237. local Head1 = torso.Neck
  238.  
  239. local RightArm = torso["Right Shoulder"]:Clone()
  240. local LeftArm = torso["Left Shoulder"]:Clone()
  241. local RightLeg = torso["Right Hip"]:Clone()
  242. local LeftLeg = torso["Left Hip"]:Clone()
  243. local Torso = char.HumanoidRootPart.RootJoint:Clone()
  244. local Head = torso.Neck:Clone()
  245.  
  246. RightArm1:Destroy()
  247. LeftArm1:Destroy()
  248. RightLeg1:Destroy()
  249. LeftLeg1:Destroy()
  250. Torso1:Destroy()
  251. Head1:Destroy()
  252.  
  253. RightArm.Parent=torso
  254. LeftArm.Parent=torso
  255. RightLeg.Parent=torso
  256. LeftLeg.Parent=torso
  257. Head.Parent=torso
  258. Torso.Parent=char.HumanoidRootPart
  259.  
  260.  
  261.  
  262.  
  263. local animpose = "Idle"
  264. cananim = true
  265. num=0
  266.  
  267. local attacking = false
  268. if char:FindFirstChildOfClass("Humanoid"):FindFirstChild("Animator") then char:FindFirstChildOfClass("Humanoid").Animator:Destroy() end
  269. if char:FindFirstChild("Animate") then char.Animate:Destroy() end
  270.  
  271.  
  272.  
  273.  
  274.  
  275. spawn(function()
  276. while wait() do
  277. if torso then
  278. local velocity=torso.Velocity
  279. if hum==nil then
  280. return
  281. end
  282. if hum.MoveDirection==Vector3.new(0,0,0) then
  283. animpose="Idle"
  284. else
  285. animpose="Running"
  286. end
  287. if velocity.Y>0.5 then
  288. animpose="Jumping"
  289. end
  290. if velocity.Y<-0.5 then
  291. animpose="Falling"
  292. end
  293. end
  294. end
  295. end)
  296.  
  297.  
  298. function sound(id,loop,tim,endtim,eff)
  299. local s=Instance.new("Sound",char.Torso)
  300. s.SoundId=id
  301. if loop==true then
  302. s.Looped=true
  303. s.Name="Music"
  304. else
  305. s.Volume=2
  306. if id~="rbxassetid://245537790" and id~='rbxassetid://1179921724' and id~='rbxassetid://1251737869' then
  307. s.PlaybackSpeed = 1+math.random(-100,100)/1000
  308. end
  309. end
  310. if tim then
  311. s.TimePosition=tim
  312. end
  313. spawn(function()
  314. if endtim then
  315. repeat wait() until s.TimePosition==endtim or s.TimePosition>=endtim
  316. s:Stop()
  317. end
  318. end)
  319. if eff=="echo" then
  320. spawn(function()
  321. wait(1)
  322. local echo=Instance.new("EchoSoundEffect",s)
  323. echo.Delay=0.05
  324. echo.WetLevel=11
  325. echo.DryLevel=-1
  326. end)
  327. end
  328. if eff=="quiet" then
  329. s.Volume=0.3
  330. end
  331. s:Play()
  332. end
  333. --SCREEEEM
  334. function lazor()
  335. sound("rbxassetid://1251737869",false,5.3,7.7,'echo')
  336. cananim=false
  337. for i=1,30 do
  338. wait(1/60)
  339. Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.934085608, 0.339979589, -0.10907802, -0.102499805, 0.0373069048, 0.994033217, 0.342020363, 0.939692557, 0),0.2)
  340. LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.50000006, 0.365961194, 0.435137242, -0.173563123, -0.0313025787, -0.984325111, -0.00543563766, 0.999509931, -0.0308270231, 0.98480773, 0, -0.173648223),0.2)
  341. RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, -7.4505806e-09, 0.0094302753, 0.0843551308, 0.996391118, 0.110700019, 0.990222573, -0.0848806128, -0.993809104, 0.111100972, -4.34407745e-08),0.2)
  342. LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.499999881, 0.49999997, 0, 0.686760783, 0.0407644771, -0.725739539, 0.724464417, 0.0430024639, 0.687969565, 0.0592533089, -0.998242974, -2.59004374e-09),0.2)
  343. RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, -0.0484665036, 2.98023224e-08, -0.31701979, -0.00180978479, 0.948417187, -0.948401749, -0.00541418325, -0.317024946, 0.00570865162, -0.999983728, 2.49531951e-10),0.2)
  344. Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),0.2)
  345. end
  346.  
  347. local keeprunning=true
  348. spawn(function()
  349. while wait() do
  350. local ray = Ray.new(char['Right Arm'].CFrame.p,(mouse.Hit.p-char['Right Arm'].CFrame.p).unit*300)
  351. local part,position = workspace:FindPartOnRay(ray,char, false, true)
  352. local distance = (char['Right Arm'].CFrame.p - position).magnitude
  353. if keeprunning==false then
  354. break
  355. end
  356. if part then
  357. if part.Parent:FindFirstChild("Humanoid") then
  358. part:BreakJoints()
  359. part.Anchored=false
  360.  
  361. end
  362. end
  363.  
  364. local ex=Instance.new("Explosion",workspace)
  365. ex.Position=position
  366. ex.Visible=false
  367. ex.DestroyJointRadiusPercent=0
  368. ex.BlastPressure=100001
  369. ex.BlastRadius=1
  370.  
  371. local ex=Instance.new("Explosion",workspace)
  372. ex.Position=position
  373. ex.Visible=false
  374. ex.DestroyJointRadiusPercent=0
  375. ex.BlastPressure=100
  376. ex.BlastRadius=30
  377.  
  378. Torso.C1 = Torso.C1:lerp(CFrame.new(0.45384407, 3.25962901e-09, -0.163368881, -0.840329647, -0.538628399, 0.061037913, 0.12248569, -0.0789824352, 0.989322543, -0.528056264, 0.838833332, 0.132345542),0.2)
  379. LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.486327916, 0.918347716, -0.0835282654, -0.139580116, -0.193979532, -0.971024871, -0.210418463, 0.96403873, -0.162337258, 0.967595696, 0.18166253, -0.175377563),0.2)
  380. RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.504761815, 1.01941562, -0.072208859, -0.0534072705, 0.0794541091, 0.995406747, -0.0726492628, 0.993878722, -0.083230041, -0.995926619, -0.0767606497, -0.0473080687),0.2)
  381. LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.49999994, -5.96046448e-08, -0.0783533007, -0.155531406, -0.984718561, -0.400697172, 0.909370303, -0.111747369, 0.912854075, 0.385818183, -0.1335731),0.2)
  382. RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.267708331, 0.709498703, -0.021721065, -0.500156283, -0.117081404, 0.85798347, -0.864884198, 0.0187412351, -0.501621544, 0.0426508784, -0.992945492, -0.110635392),0.2)
  383. Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -0.951892793, 0.28452459, 0.113780133, 0, -0.371307135, 0.928510129, 0.306431323, 0.883842111, 0.353444576),0.2)
  384.  
  385. local beam = Instance.new("Part", char)
  386. beam.BrickColor = BrickColor.new("Institutional white")
  387. beam.FormFactor = "Custom"
  388. beam.Material = "Neon"
  389. beam.Transparency = 0.5
  390. beam.Anchored = true
  391. beam.Locked = true
  392. beam.CanCollide = false
  393. beam.Size = Vector3.new(0.3, 0.3, distance)
  394. beam.CFrame = CFrame.new((char['Right Arm'].CFrame*CFrame.new(0,-3,0)).p, mouse.Hit.p) * CFrame.new(0, 0, -distance/2)
  395. spawn(function()
  396. for i=1,10 do
  397. beam.Transparency=i/10
  398. wait()
  399. end
  400. beam:Destroy()
  401. end)
  402. spawn(function()
  403. for i=1,20 do
  404. beam.Size=Vector3.new(i,i,beam.Size.Z)
  405. wait()
  406. end
  407. end)
  408. end
  409. end)
  410. for i=1,10 do
  411. sound("rbxassetid://245537790",false)
  412. end
  413. wait(3)
  414. keeprunning=false
  415. cananim=true
  416. end
  417. dodamage=false
  418. deb=false
  419. hum.Touched:connect(function(part)
  420. local ded=part.Parent:FindFirstChildOfClass("Humanoid")
  421. if deb==true then
  422. return
  423. end
  424. deb=true
  425. if ded then
  426. if dodamage == true then
  427. ded.Health=ded.Health-(math.random(5,10))
  428. sound("rbxassetid://386946017",false,0,0.36,'quiet')
  429. if supermode==true then
  430. local ex=Instance.new("Explosion",workspace)
  431. if math.random(1,3) ==1 then
  432. ex.Visible=false
  433. end
  434. ex.DestroyJointRadiusPercent=0
  435. ex.Position=part.Position
  436. ex.BlastPressure=1000
  437. part:BreakJoints()
  438. part.Anchored=false
  439. end
  440. end
  441. end
  442. wait(0.1)
  443. deb=false
  444. end)
  445. function SUPERlazor()
  446. sound("rbxassetid://1179921724",false,'echo')
  447.  
  448. wait(2)
  449. cananim=false
  450. for i=1,30 do
  451. wait(1/60)
  452. Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.934085608, 0.339979589, -0.10907802, -0.102499805, 0.0373069048, 0.994033217, 0.342020363, 0.939692557, 0),0.2)
  453. LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.50000006, 0.365961194, 0.435137242, -0.173563123, -0.0313025787, -0.984325111, -0.00543563766, 0.999509931, -0.0308270231, 0.98480773, 0, -0.173648223),0.2)
  454. RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, -7.4505806e-09, 0.0094302753, 0.0843551308, 0.996391118, 0.110700019, 0.990222573, -0.0848806128, -0.993809104, 0.111100972, -4.34407745e-08),0.2)
  455. LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.499999881, 0.49999997, 0, 0.686760783, 0.0407644771, -0.725739539, 0.724464417, 0.0430024639, 0.687969565, 0.0592533089, -0.998242974, -2.59004374e-09),0.2)
  456. RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, -0.0484665036, 2.98023224e-08, -0.31701979, -0.00180978479, 0.948417187, -0.948401749, -0.00541418325, -0.317024946, 0.00570865162, -0.999983728, 2.49531951e-10),0.2)
  457. Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),0.2)
  458. end
  459.  
  460. local keeprunning=true
  461. spawn(function()
  462. while wait() do
  463. local ray = Ray.new(char['Right Arm'].CFrame.p,(mouse.Hit.p-char['Right Arm'].CFrame.p).unit*300)
  464. local part,position = workspace:FindPartOnRay(ray,char, false, true)
  465. local distance = (char['Right Arm'].CFrame.p - position).magnitude
  466. if keeprunning==false then
  467. break
  468. end
  469. if part then
  470. if part.Parent:FindFirstChild("Humanoid") then
  471. part:BreakJoints()
  472. part.Anchored=false
  473. part.Velocity = Vector3.new(math.random(-160,160),math.random(-160,160),math.random(-160,160))
  474. if math.random(1,3) == 1 then
  475. part:Destroy()
  476. end
  477. end
  478. end
  479.  
  480. local ex=Instance.new("Explosion",workspace)
  481. ex.Position=position
  482. ex.Visible=false
  483. ex.DestroyJointRadiusPercent=0
  484. ex.BlastPressure=100
  485. ex.BlastRadius=10
  486. ex.Hit:connect(function(part)
  487. if part.Parent~=char and part.Parent~=char:WaitForChild("Accessory") then
  488. part:BreakJoints()
  489. end
  490. end)
  491. if math.random(1,5)==5 then
  492. sound("rbxassetid://314970761",false)
  493. end
  494. Torso.C1 = Torso.C1:lerp(CFrame.new(0.45384407, 3.25962901e-09, -0.163368881, -0.840329647, -0.538628399, 0.061037913, 0.12248569, -0.0789824352, 0.989322543, -0.528056264, 0.838833332, 0.132345542),0.2)
  495. LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.486327916, 0.918347716, -0.0835282654, -0.139580116, -0.193979532, -0.971024871, -0.210418463, 0.96403873, -0.162337258, 0.967595696, 0.18166253, -0.175377563),0.2)
  496. RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.504761815, 1.01941562, -0.072208859, -0.0534072705, 0.0794541091, 0.995406747, -0.0726492628, 0.993878722, -0.083230041, -0.995926619, -0.0767606497, -0.0473080687),0.2)
  497. LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.49999994, -5.96046448e-08, -0.0783533007, -0.155531406, -0.984718561, -0.400697172, 0.909370303, -0.111747369, 0.912854075, 0.385818183, -0.1335731),0.2)
  498. RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.267708331, 0.709498703, -0.021721065, -0.500156283, -0.117081404, 0.85798347, -0.864884198, 0.0187412351, -0.501621544, 0.0426508784, -0.992945492, -0.110635392),0.2)
  499. Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -0.951892793, 0.28452459, 0.113780133, 0, -0.371307135, 0.928510129, 0.306431323, 0.883842111, 0.353444576),0.2)
  500.  
  501. local beam = Instance.new("Part", char)
  502. local colorz = {"Really red","Gold","Lime green","Really blue","Royal purple"}
  503. beam.BrickColor = BrickColor.new(colorz[math.random(1,#colorz)])
  504. beam.FormFactor = "Custom"
  505. beam.Material = "Neon"
  506. beam.Transparency = 0.5
  507. beam.Anchored = true
  508. beam.Locked = true
  509. beam.CanCollide = false
  510. beam.Size = Vector3.new(0.3, 0.3, distance)
  511. beam.CFrame = CFrame.new((char['Right Arm'].CFrame*CFrame.new(0,-3,0)).p, mouse.Hit.p) * CFrame.new(0, 0, -distance/2)
  512. spawn(function()
  513. while beam do
  514. if beam==nil then break end
  515. beam.Anchored=true
  516. swait()
  517. end
  518. end)
  519. spawn(function()
  520. for i=1,10 do
  521. beam.Transparency=i/10
  522. beam.CFrame=beam.CFrame*CFrame.new(0,0,-i/10)
  523. wait()
  524. end
  525. beam:Destroy()
  526. end)
  527. spawn(function()
  528. for i=5,70, 3 do
  529. beam.Size=Vector3.new(i,i,beam.Size.Z)
  530. wait()
  531. end
  532. end)
  533. end
  534. end)
  535. for i=1,10 do
  536. sound("rbxassetid://314970761",false)
  537. end
  538. wait(6)
  539. keeprunning=false
  540. cananim=true
  541. end
  542.  
  543.  
  544. mouse.Button1Down:connect(function()
  545. normpunch()
  546. end)
  547.  
  548.  
  549. supermode=false
  550. mouse.KeyDown:connect(function(key)
  551. local k=string.lower(key)
  552. if attacking==true then
  553. return
  554. end
  555. if k=="q" then
  556. attacking=true
  557. if supermode==false then
  558. lazor()
  559. else
  560. SUPERlazor()
  561. end
  562. attacking=false
  563. end
  564. if k=="l" then
  565. transition()
  566. end
  567. end)
  568.  
  569. punch = 1
  570. function normpunch()
  571. if attacking==true then
  572. return
  573. end
  574. dodamage=true
  575. attacking=true
  576. cananim=false
  577. sound("rbxassetid://138097048",false)
  578. if punch==1 then
  579. for i=1,10 do
  580. Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.910118103, -0.41434893, 0, 0, 0, 1, -0.41434893, 0.910118103, 0),0.3)
  581. LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 1, 3.7252903e-09, 0.00116646651, 0.0136213535, -0.99990654, 0.023496937, 0.999630809, 0.0136450082, 0.999723256, -0.0235106573, 0.000845975766),0.3)
  582. RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, 4.65661287e-10, -4.35437997e-08, 0.0874831304, 0.996165991, 0.00556585658, 0.996150553, -0.0874817744, -0.999984503, 0.00554451346, -0.000486961944),0.3)
  583. LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.5, 0, 0.0391717218, -0.188973963, -0.981200516, -0.199156061, 0.960776389, -0.192991138, 0.979184568, 0.202971816, -4.2801517e-08),0.3)
  584. RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.312758863, 0.804995358, -0.0404221117, -0.349137038, 0.0591336042, 0.935203969, -0.937045753, -0.0294431858, -0.347962916, 0.0069590779, -0.997815788, 0.0656905994),0.3)
  585. Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -0.957687616, 0.287809789, 0, 0, 0, 1, 0.287809789, 0.957687616, 0),0.3)
  586. swait()
  587. end
  588. end
  589.  
  590. if punch==2 then
  591. for i=1,10 do
  592. swait()
  593. Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.983417749, -0.116297476, 0.139156267, 0.140106976, 0, 0.990136385, -0.115150362, 0.993214428, 0.0162940882),0.3)
  594. LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 0.86816901, 0, -4.32735874e-08, -0.141177684, -0.989984274, -6.17107254e-09, 0.989984274, -0.141177684, 1, 0, -4.37113883e-08),0.3)
  595. RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1.23575175, 0.176770806, -0.0336775407, -0.11687994, 0.992574871, -0.983614028, 0.179874539, -0.0121925017, -0.177113876, -0.976721108, -0.12102247),0.3)
  596. LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.49999994, 0, -4.33072991e-08, -0.135659724, -0.990755498, -0.144958332, 0.98029089, -0.134226859, 0.989437759, 0.143618271, -0.0196650494),0.3)
  597. RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.49999997, 0, 0.0339012295, 0.115021303, 0.992784381, 0.280674934, 0.952282727, -0.119913273, -0.959203959, 0.282714903, -4.19281356e-08),0.3)
  598. Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.0711001009, 0.997469187, 0, 0.997469187, 0.0711001009),0.3)
  599. end
  600. end
  601.  
  602. if punch==3 then
  603. for i=1,10 do
  604. swait()
  605. Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.93749547, 0.347997427, 0, 0, 0, 1, 0.347997427, 0.93749547, 0),0.3)
  606. LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.50000006, 1, 0, 0.0109365005, -0.0829221606, -0.996496022, -0.130298764, 0.98794055, -0.083640255, 0.991414428, 0.13075693, -4.33361009e-08),0.3)
  607. RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.49999997, 1, -3.7252903e-09, 0.114501342, 0.0127837732, 0.99334085, 5.62495939e-10, 0.999917209, -0.0128684072, -0.993423104, 0.00147345045, 0.114491865),0.3)
  608. LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.352809936, 1.3686024, 0.0138391852, -4.37113883e-08, 0, -1, 0.999440074, -0.0334585831, -4.36869136e-08, -0.0334585831, -0.999440074, 1.4625211e-09),0.3)
  609. RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, 0, -4.33629381e-08, 0.126015082, 0.992028356, 0.172522247, 0.97715348, -0.124125555, -0.985005617, 0.171146959, -0.0217404477),0.3)
  610. Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.07533779, 0.997158051, 0, 0.997158051, 0.07533779),0.3)
  611. end
  612. end
  613. if punch~=3 then
  614. punch=punch+1
  615. else
  616. punch=1
  617. end
  618. cananim=true
  619. dodamage=false
  620. attacking=false
  621. end
  622.  
  623.  
  624.  
  625. ---transiton
  626. function transition()
  627. if supermode==false then
  628. sound("rbxassetid://1321047607",false,0,5)
  629.  
  630. cananim=false
  631. attacking=true
  632. local stord = false
  633. spawn(function()
  634. wait(3)
  635. stord=true
  636. end)
  637. local ParticleEmitter0 = Instance.new("ParticleEmitter")
  638. ParticleEmitter0.Parent = torso
  639. ParticleEmitter0.Transparency = NumberSequence.new(0.20000000298023,0.20000000298023)
  640. ParticleEmitter0.Size = NumberSequence.new(3.2240438461304,1.0928964614868,3.7158470153809,0)
  641. ParticleEmitter0.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  642. ParticleEmitter0.Texture = "http://www.roblox.com/asset/?id=232918622"
  643. ParticleEmitter0.Lifetime = NumberRange.new(3)
  644. ParticleEmitter0.Rate = 1000
  645. ParticleEmitter0.VelocitySpread = 180
  646. ParticleEmitter0.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  647. repeat
  648. Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0.787846208, 0.138918549, -1, 0, 0, 0, -0.173648179, 0.98480773, 0, 0.98480773, 0.173648179),0.2)
  649. LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.45286727, 0.316941619, 0.628786147, -4.36354597e-08, -0.058915928, -0.998262942, 0.21313341, 0.975326002, -0.0575622357, 0.977023065, -0.21276319, 0.0125569087),0.2)
  650. RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 0.627124608, -0.0240803957, -4.37113883e-08, 0, 1, 0.551679194, 0.834056437, 2.4114664e-08, -0.834056437, 0.551679194, -3.6457763e-08),0.2)
  651. LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.5, 0, 0.774880886, 0.296248376, -0.558387458, 0.52156949, 0.199403673, 0.829580307, 0.357106328, -0.934063733, -1.56096132e-08),0.2)
  652. RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, 0, -0.00304316962, 0.0175396204, 0.999841511, -0.170919135, 0.985124171, -0.0178016629, -0.985280335, -0.170946226, -4.30679705e-08),0.2)
  653. Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.362809777, 0.931863308, 0, 0.931863308, 0.362809777),0.2)
  654. swait()
  655. until stord==true
  656. sound("rbxassetid://245537790",false)
  657. ParticleEmitter0.Speed=NumberRange.new(50)
  658. local mas = char
  659. local CharacterMesh0 = Instance.new("CharacterMesh")
  660. local CharacterMesh1 = Instance.new("CharacterMesh")
  661. local CharacterMesh2 = Instance.new("CharacterMesh")
  662. local CharacterMesh3 = Instance.new("CharacterMesh")
  663. local CharacterMesh4 = Instance.new("CharacterMesh")
  664. CharacterMesh0.Name = "GirlRocker Left Arm"
  665. CharacterMesh0.Parent = mas
  666. CharacterMesh0.MeshId = 717353151
  667. CharacterMesh0.BodyPart = Enum.BodyPart.LeftArm
  668. CharacterMesh0.OverlayTextureId = 717346901
  669. CharacterMesh1.Name = "GirlRocker Right Arm"
  670. CharacterMesh1.Parent = mas
  671. CharacterMesh1.MeshId = 717353483
  672. CharacterMesh1.BodyPart = Enum.BodyPart.RightArm
  673. CharacterMesh1.OverlayTextureId = 717346901
  674. CharacterMesh2.Name = "GirlRocker Right Leg"
  675. CharacterMesh2.Parent = mas
  676. CharacterMesh2.MeshId = 717353619
  677. CharacterMesh2.BodyPart = Enum.BodyPart.RightLeg
  678. CharacterMesh2.OverlayTextureId = 717346901
  679. CharacterMesh3.Name = "GirlRocker Torso"
  680. CharacterMesh3.Parent = mas
  681. CharacterMesh3.MeshId = 717353723
  682. CharacterMesh3.BodyPart = Enum.BodyPart.Torso
  683. CharacterMesh3.OverlayTextureId = 717346901
  684. CharacterMesh4.Name = "GirlRocker Left Leg"
  685. CharacterMesh4.Parent = mas
  686. CharacterMesh4.MeshId = 717353920
  687. CharacterMesh4.BodyPart = Enum.BodyPart.LeftLeg
  688. CharacterMesh4.OverlayTextureId = 717346901
  689. for i=1,90 do
  690. Torso.C1 = Torso.C1:lerp(CFrame.new(0, -1.06972265, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),0.2)
  691. LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, -0.0906665474, 0.995881319, 3.96316047e-09, 0.995881319, 0.0906665474, -4.35313545e-08),0.2)
  692. RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0.0595862567, 0.998223186, 2.60459809e-09, -0.998223186, 0.0595862567, -4.36337224e-08),0.2)
  693. LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.5, 0, -4.34208935e-08, -0.115096748, -0.993354261, -5.0310387e-09, 0.993354261, -0.115096748, 1, 0, -4.37113883e-08),0.2)
  694. RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, 0, -4.36014211e-08, 0.0708893314, 0.997484207, 3.0986711e-09, 0.997484207, -0.0708893314, -1, 0, -4.37113883e-08),0.2)
  695. Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.249942318, 0.968260705, 0, 0.968260705, -0.249942318),0.2)
  696. swait()
  697. end
  698. ParticleEmitter0.Enabled=false
  699. supermode=true
  700. cananim=true
  701. attacking=false
  702. end
  703. end
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715. function swait(t)
  716. if t == nil or t == 0 then
  717. game:service('RunService').Stepped:wait(0)
  718. return true
  719. else
  720. for i = 0, t do
  721. game:service('RunService').Stepped:wait(0)
  722. end
  723. return true
  724. end
  725. end
  726.  
  727. function scream()
  728. sound("rbxassetid://444895479",false,5.3509586219885250102)
  729. cananim = false
  730. for i=0,1.5, 0.1 do
  731. swait()
  732. end
  733.  
  734. attacking=true
  735. for i=0,1.5, 0.1 do
  736. swait()
  737. end
  738. wait()
  739. cananim = true
  740. attacking=false
  741. end
  742.  
  743.  
  744. spawn(function()
  745. while swait() do
  746. if animpose=="Idle" then
  747. for i=0,0.1,0.0025 do
  748. if animpose == "Idle" and cananim then
  749. swait()
  750. LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.500000238, 0.500000238, -2.38418579e-07, 0.000574484526, -0.0482845455, -0.998833477, -0.00805476494, 0.998800993, -0.0482876077, 0.999967396, 0.0080731092, 0.000184875054),i)
  751. RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.50000006, 0.500000238, 0, -0.000810533762, 0.0540908612, 0.998535693, -0.00984518789, 0.998487175, -0.0540962256, -0.999951184, -0.00987461861, -0.000276772887),i)
  752. else
  753. break
  754. end
  755. end
  756. for i=0,0.1,0.0025 do
  757. if animpose == "Idle" and cananim then
  758. swait()
  759. LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.50000006, 0.50000006, -9.47312119e-16, -4.35179714e-08, -0.0939683169, -0.99557513, -4.10748546e-09, 0.99557513, -0.0939683169, 1, 0, -4.37113883e-08),i)
  760. RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, -1.77635684e-15, -4.34464624e-08, 0.109930925, 0.993939221, 4.80523354e-09, 0.993939221, -0.109930925, -1, 0, -4.37113883e-08),i)
  761. else
  762. break
  763. end
  764. end
  765. end
  766. end
  767. end)
  768.  
  769. while swait() do
  770. num = num + 0.05
  771. local sin = math.sin(num)
  772. if animpose == "Falling" and cananim then
  773. Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.089640595, 0.995974183, 0, 0.995974183, 0.089640595),0.2)
  774. LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 0.940049231, 0.240459353, -4.37113883e-08, 0, -1, 0.0583860278, 0.998294055, -2.55213428e-09, 0.998294055, -0.0583860278, -4.36368204e-08),0.2)
  775. RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0.144062787, 0.989568532, 6.29718455e-09, -0.989568532, 0.144062787, -4.32554152e-08),0.2)
  776. LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.635436773, 0, -4.28449951e-08, -0.198112398, -0.98017925, -8.65976801e-09, 0.98017925, -0.198112398, 1, 0, -4.37113883e-08),0.2)
  777. RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.599987805, 0, -4.26205062e-08, 0.222013503, 0.975043535, 9.70451808e-09, 0.975043535, -0.222013503, -1, 0, -4.37113883e-08),0.2)
  778. Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.231759518, 0.972773135, 0, 0.972773135, 0.231759518),0.2)
  779. end
  780.  
  781.  
  782. if animpose == "Idle" and cananim then
  783. for i=0,0.1,0.001 do
  784. if animpose == "Idle" and cananim then
  785. swait()
  786. Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0.200000048, 0, -0.98480767, -0.173648626, 0, 0, 0, 1, -0.173648626, 0.98480767, 0),i)
  787. LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.506504774, 0.77988106, 0.0818042755, 0.00300081098, -0.0723684728, -0.997373462, -0.186295643, 0.979876935, -0.0716594532, 0.982489169, 0.186021373, -0.0105415061),i)
  788. RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.485123575, 0.800115585, 0.135903358, -0.000153154135, -0.00734659936, 0.999972999, -0.0196102634, 0.999780715, 0.0073421835, -0.999807715, -0.0196086094, -0.000297189312),i)
  789. Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -0.98480767, 0.173648402, 0, 0, 0, 1, 0.173648402, 0.98480767, 0),i)
  790. i=i/2
  791. else
  792. break
  793. end
  794. end
  795. for i=0,0.1,0.001 do
  796. if animpose == "Idle" and cananim then
  797. swait()
  798. Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.98480767, -0.173648626, 0, 0, 0, 1, -0.173648626, 0.98480767, 0),i)
  799. LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.49999994, 1, 0, -4.3619707e-08, -0.0647336245, -0.997902572, -0.143231794, 0.98761338, -0.0640661567, 0.989689171, 0.142931372, -0.00927195605),i)
  800. RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1.00000012, 0.0391067117, -4.37113883e-08, 0, 1, -0.0612497553, 0.998122454, -2.67731193e-09, -0.998122454, -0.0612497553, -4.3629317e-08),i)
  801. Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -0.98480767, 0.173648402, 0, 0, 0, 1, 0.173648402, 0.98480767, 0),i)
  802. i=i/2
  803. else
  804. break
  805. end
  806. end
  807. end
  808. if animpose == "Running" and cananim then
  809. for i = 0, 0.25, 0.01 do
  810. if animpose == "Running" and cananim then
  811. Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.0358745977, 0.99935627, 0, 0.99935627, 0.0358745977),i)
  812. LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 0.999999821, 8.94069672e-08, -4.37113883e-08, 0, -1, 0.342020363, 0.939692557, -1.49501851e-08, 0.939692557, -0.342020363, -4.10752676e-08),i)
  813. RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1.00000024, 5.96046448e-08, -4.37113883e-08, 0, 1, 0.500000179, 0.866025269, 2.18557012e-08, -0.866025269, 0.500000179, -3.78551661e-08),i)
  814. LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.5, -2.98023224e-08, -4.37113883e-08, 0, -1, -0.5, 0.866025388, 2.18556941e-08, 0.866025388, 0.5, -3.78551732e-08),i)
  815. RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, -1.49011612e-08, -4.37113883e-08, 0, 1, -0.5, 0.866025388, -2.18556941e-08, -0.866025388, -0.5, -3.78551732e-08),i)
  816. Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.106743492, 0.994286597, 0, 0.994286597, 0.106743492),i)
  817. swait()
  818. i=i/i*1.5
  819. else
  820. break
  821. end
  822. end
  823. for i = 0, 0.25, 0.01 do
  824. if animpose == "Running" and cananim then
  825. Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.999985278, 0, -0.00542885857, -0.00542835938, -0.0135572571, 0.999893367, -7.36004295e-05, 0.99990809, 0.0135570578),i)
  826. LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 0.999999821, -1.1920929e-07, -4.37113883e-08, 0, -1, -0.499999791, 0.866025567, 2.18556853e-08, 0.866025567, 0.499999791, -3.78551803e-08),i)
  827. RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1.00000012, -2.38418579e-07, -4.37113883e-08, 0, 1, -0.342020005, 0.939692616, -1.49501691e-08, -0.939692616, -0.342020005, -4.10752676e-08),i)
  828. LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.483990371, 0.00582697988, -4.37113883e-08, 0, -1, 0.57357651, 0.819151998, -2.50718255e-08, 0.819151998, -0.57357651, -3.58062699e-08),i)
  829. RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.49999997, -2.98023224e-08, -4.37113883e-08, 0, 1, 0.500000179, 0.866025329, 2.18557012e-08, -0.866025329, 0.500000179, -3.78551697e-08),i)
  830. Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.103604339, 0.994618595, 0, 0.994618595, 0.103604339),i)
  831. swait()
  832. i=i/i*1.5
  833. else
  834. break
  835. end
  836. end
  837. end
  838.  
  839. if animpose == "Jumping" and cananim then
  840. Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.082511276, 0.996590137, 0, 0.996590137, 0.082511276),0.2)
  841. LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.495160788, 0.605178833, 0.315436631, 0.00363327051, -0.0117048975, -0.999924898, -0.296433508, 0.95497489, -0.012255826, 0.955046594, 0.296455771, -4.17464108e-08),0.2)
  842. RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0.10612049, 0.994353294, 4.63867389e-09, -0.994353294, 0.10612049, -4.34645635e-08),0.2)
  843. LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.5, 0, -4.36747598e-08, -0.0409301594, -0.999162018, -1.78911408e-09, 0.999162018, -0.0409301594, 1, 0, -4.37113883e-08),0.2)
  844. RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, 0, -4.36556142e-08, 0.0504997671, 0.998724043, 2.20741492e-09, 0.998724043, -0.0504997671, -1, 0, -4.37113883e-08),0.2)
  845. Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.106113546, 0.99435401, 0, 0.99435401, -0.106113546),0.2)
  846. end
  847. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement