Advertisement
beginner0929

funny Glitcher editted

Dec 13th, 2019
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.49 KB | None | 0 0
  1. --By Rufus14 (oh god)
  2. --owner = game:GetService("Players"):GetPlayerFromCharacter(script.Parent)
  3. character = owner.Character
  4. NLS([[
  5. --By Rufus14
  6. localplayer = game:GetService("Players").LocalPlayer
  7. character = localplayer.Character
  8. local remote = character:WaitForChild("remotenigga")
  9. local music = character.Head:WaitForChild("musicc")
  10. mouse = localplayer:GetMouse()
  11. local errorr = false
  12. mouse.Button1Down:connect(function()
  13. remote:FireServer("SHARTER!!!!!!!!!!!!!!!!!!", mouse.Hit)
  14. end)
  15. mouse.KeyDown:connect(function(key)
  16. key = key:lower()
  17. if key == "q" then
  18. remote:FireServer("changemode")
  19. end
  20. if key == "e" then
  21. remote:FireServer("error")
  22. errorr = true
  23. coroutine.wrap(function()
  24. wait(10)
  25. for i = 1,10 do
  26. local screen = Instance.new("ScreenGui", localplayer:findFirstChildOfClass("PlayerGui"))
  27. local ViewportFrame = Instance.new("ViewportFrame", screen)
  28. ViewportFrame.Size = UDim2.new(1, 0, 1, 36)
  29. ViewportFrame.Position = ViewportFrame.Position + UDim2.new(0,0,0,-36)
  30. ViewportFrame.BackgroundTransparency = 1
  31. ViewportFrame.ImageTransparency = 0.95
  32. local ViewportCamera = Instance.new("Camera", ViewportFrame)
  33. ViewportFrame.CurrentCamera = ViewportCamera
  34. ViewportCamera.CFrame = workspace.CurrentCamera.CFrame
  35. music.Ended:connect(function()
  36. screen:destroy()
  37. end)
  38. coroutine.wrap(function()
  39. while game:GetService("RunService").RenderStepped:wait() do
  40. ViewportCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.random(-20,20)/150)
  41. end
  42. end)()
  43. for i,v in pairs(workspace:GetDescendants()) do
  44. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  45. local vclone = v:Clone()
  46. vclone.Parent = ViewportFrame
  47. coroutine.wrap(function()
  48. while game:GetService("RunService").RenderStepped:wait() do
  49. if not v.Anchored then
  50. vclone.CFrame = v.CFrame
  51. end
  52. end
  53. end)()
  54. end
  55. end
  56. for i,v in pairs(screen:GetDescendants()) do
  57. if v.ClassName == "Sound" then
  58. v:destroy()
  59. end
  60. end
  61. wait(2.5)
  62. end
  63. end)()
  64. end
  65. end)
  66. while game:GetService("RunService").RenderStepped:wait() do
  67. if errorr then
  68. remote:FireServer("loudness", music.PlaybackLoudness)
  69. end
  70. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.new(((music.PlaybackLoudness/40000)*math.random(-10,10)),((music.PlaybackLoudness/40000)*math.random(-10,10)),((music.PlaybackLoudness/40000)*math.random(-10,10))) * CFrame.fromEulerAnglesXYZ(0,0,((music.PlaybackLoudness/200000)*math.random(-10,10)))
  71. end
  72. ]], character)
  73. mode = 1
  74. step = game:GetService("RunService").Stepped
  75. local remote = Instance.new("RemoteEvent", character)
  76. remote.Name = "remotenigga"
  77. local billboard = Instance.new("BillboardGui", character.Head)
  78. billboard.Adornee = character.Head
  79. billboard.StudsOffset = Vector3.new(-5.5, 4, 0)
  80. billboard.Size = UDim2.new(4,0,2,0)
  81. local text = Instance.new("TextLabel", billboard)
  82. text.Text = "πŸ”₯PURITYπŸ”₯"
  83. text.BackgroundTransparency = 1
  84. text.TextScaled = true
  85. text.TextStrokeTransparency = 0
  86. text.TextStrokeColor3 = Color3.fromRGB(0,255,255)
  87. text.Size = billboard.Size
  88. text.Font = "Code"
  89. text.TextColor3 = Color3.fromRGB(255,255,255)
  90. local music = Instance.new("Sound", character.Head)
  91. music.SoundId = "rbxassetid://1076825525"
  92. music.Looped = true
  93. music.Name = "musicc"
  94. music.Volume = 5
  95. music:Play()
  96. local flange = Instance.new("FlangeSoundEffect", music)
  97. flange.Depth = 1
  98. flange.Mix = 1
  99. flange.Rate = 2.4
  100. local rightarm = Instance.new("Weld", owner.Character.Torso)
  101. rightarm.Part0 = owner.Character.Torso
  102. rightarm.Part1 = owner.Character["Right Arm"]
  103. rightarm.C0 = CFrame.new(1.5,0,0)
  104. rightarm.Name = "RightArmWeld"
  105. local rightleg = Instance.new("Weld", owner.Character.Torso)
  106. rightleg.Part0 = owner.Character.Torso
  107. rightleg.Part1 = owner.Character["Right Leg"]
  108. rightleg.C0 = CFrame.new(0.5,-2,0)
  109. rightleg.Name = "RightLegWeld"
  110. local leftarm = Instance.new("Weld", owner.Character.Torso)
  111. leftarm.Part0 = owner.Character.Torso
  112. leftarm.Part1 = owner.Character["Left Arm"]
  113. leftarm.C0 = CFrame.new(-1.5,0,0)
  114. leftarm.Name = "LeftArmWeld"
  115. local leftleg = Instance.new("Weld", owner.Character.Torso)
  116. leftleg.Part0 = owner.Character.Torso
  117. leftleg.Part1 = owner.Character["Left Leg"]
  118. leftleg.C0 = CFrame.new(-0.5,-2,0)
  119. leftleg.Name = "LeftLegWeld"
  120. local head = Instance.new("Weld", owner.Character.Torso)
  121. head.Part0 = owner.Character.Torso
  122. head.Part1 = owner.Character.Head
  123. head.C0 = CFrame.new(0,1.5,0)
  124. head.Name = "HeadWeld"
  125. local humanoidrootpart = Instance.new("Weld", owner.Character.HumanoidRootPart)
  126. humanoidrootpart.Part0 = owner.Character.HumanoidRootPart
  127. humanoidrootpart.Part1 = owner.Character.Torso
  128. humanoidrootpart.Name = "HumanoidRootPartWeld"
  129. cananimate = true
  130. sine = 0
  131. rootpart = character.HumanoidRootPart
  132. seizure2 = false
  133. errored = false
  134. loudness = 0
  135. remote.OnServerEvent:connect(function(who, what, message)
  136. if who == owner then
  137. if what == "changemode" and not errored then
  138. mode = mode + 1
  139. if mode > 5 then
  140. mode = 1
  141. end
  142. if mode == 1 then
  143. text.Text = "πŸ”₯PURITYπŸ”₯"
  144. text.TextStrokeColor3 = Color3.fromRGB(0,255,255)
  145. text.TextColor3 = Color3.fromRGB(255,255,255)
  146. music.SoundId = "rbxassetid://1076825525"
  147. music.Volume = 5
  148. music.PlaybackSpeed = 1
  149. flange.Depth = 1
  150. flange.Mix = 1
  151. flange.Rate = 2.4
  152. elseif mode == 2 then
  153. text.Text = "πŸ”₯πŸ”₯MAYHEMπŸ”₯πŸ”₯"
  154. text.TextStrokeColor3 = Color3.fromRGB(0,0,0)
  155. text.TextColor3 = Color3.fromRGB(255,0,0)
  156. music.SoundId = "rbxassetid://614032233"
  157. music.Volume = 5
  158. music.PlaybackSpeed = 1.2
  159. flange.Depth = 1
  160. flange.Mix = 1
  161. flange.Rate = 2.4
  162. elseif mode == 3 then
  163. text.Text = "πŸ”₯πŸ”₯πŸ”₯HYPERπŸ”₯πŸ”₯πŸ”₯"
  164. text.TextStrokeColor3 = Color3.fromRGB(0,0,0)
  165. text.TextColor3 = Color3.fromRGB(0,0,0)
  166. music.SoundId = "rbxassetid://277989165"
  167. music.Volume = 7
  168. music.PlaybackSpeed = 1
  169. flange.Depth = 1
  170. flange.Mix = 1
  171. flange.Rate = 2.4
  172. elseif mode == 4 then
  173. text.Text = "πŸ”₯πŸ”₯πŸ”₯πŸ”₯INSANEπŸ”₯πŸ”₯πŸ”₯πŸ”₯"
  174. text.TextStrokeColor3 = Color3.fromRGB(0,0,0)
  175. text.TextColor3 = Color3.fromRGB(0,0,0)
  176. music.SoundId = "rbxassetid://435019840"
  177. music.Volume = 5
  178. music.PlaybackSpeed = 1
  179. flange.Depth = 1
  180. flange.Mix = 1
  181. flange.Rate = 1
  182. coroutine.wrap(function()
  183. while mode == 4 do
  184. if mode == 4 then
  185. text.Text = "πŸ”₯πŸ”₯πŸ”₯πŸ”₯INsaNEπŸ”₯πŸ”₯πŸ”₯πŸ”₯"
  186. text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  187. wait()
  188. end
  189. if mode == 4 then
  190. text.Text = "πŸ”₯πŸ”₯πŸ”₯πŸ”₯InsANEπŸ”₯πŸ”₯πŸ”₯πŸ”₯"
  191. text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  192. wait()
  193. end
  194. if mode == 4 then
  195. text.Text = "πŸ”₯πŸ”₯πŸ”₯πŸ”₯INSanEπŸ”₯πŸ”₯πŸ”₯πŸ”₯"
  196. text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  197. wait()
  198. end
  199. if mode == 4 then
  200. text.Text = "πŸ”₯πŸ”₯πŸ”₯πŸ”₯InsANeπŸ”₯πŸ”₯πŸ”₯πŸ”₯"
  201. text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  202. wait()
  203. end
  204. if mode == 4 then
  205. text.Text = "πŸ”₯πŸ”₯πŸ”₯πŸ”₯inSAnEπŸ”₯πŸ”₯πŸ”₯πŸ”₯"
  206. text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  207. wait()
  208. end
  209. end
  210. end)()
  211. elseif mode == 5 then
  212. text.Text = "πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯CRAZY CHAOS!!!πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯"
  213. text.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
  214. text.TextColor3 = Color3.fromRGB(0, 255, 0)
  215. music.SoundId = "rbxassetid://1916505674"
  216. music.Volume = 5
  217. music.PlaybackSpeed = 1
  218. flange.Depth = 1
  219. flange.Mix = 1
  220. flange.Rate = 1
  221. seizure2 = false
  222. coroutine.wrap(function()
  223. while wait(1.225) and mode == 5 do
  224. if seizure2 then
  225. seizure2 = false
  226. else
  227. seizure2 = true
  228. end
  229. end
  230. end)()
  231. end
  232. music:Play()
  233. elseif what == "error" and not errored then
  234. cananimate = false
  235. errored = true
  236. mode = 6
  237. text.Text = "πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯ErrorπŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯"
  238. text.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  239. text.TextColor3 = Color3.fromRGB(255, 0, 0)
  240. music.SoundId = "rbxassetid://285685019"
  241. music.Volume = 6
  242. music.TimePosition = 0
  243. music.Looped = false
  244. music.PlaybackSpeed = 1
  245. flange:destroy()
  246. music.Ended:connect(function()
  247. character:BreakJoints()
  248. local ex = Instance.new("Explosion", workspace)
  249. ex.Position = character.Head.Position
  250. local boom = Instance.new("Sound", character.Head)
  251. boom.SoundId = "rbxassetid://2898512514"
  252. boom.PlayOnRemove = true
  253. boom:destroy()
  254. end)
  255. coroutine.wrap(function()
  256. while step:wait() do
  257. if loudness > 200 then
  258. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(math.sin(tick()*2)/1.5,math.cos(tick()*4)/3,0) * CFrame.Angles((math.random(-30,30)*loudness/2),(math.random(-30,30)*loudness/2),rootpart.RotVelocity.y/50+(math.random(-30,30)*loudness/2)+math.cos(tick()*2)),0.3)
  259. head.C0 = head.C0:lerp(CFrame.new(0,1.5,0) * CFrame.Angles(0,0,0),0.6)
  260. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-2,0.5,0) * CFrame.Angles(0,0,-math.pi/2),0.6)
  261. rightarm.C0 = rightarm.C0:lerp(CFrame.new(2,0.5,0) * CFrame.Angles(0,0,math.pi/2),0.6)
  262. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(0,0,math.rad(-20)) * CFrame.new(0,-1,0),0.6)
  263. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(0,0,math.rad(20)) * CFrame.new(0,-1,0),0.6)
  264. else
  265. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(math.sin(tick()*2)/1.5,math.cos(tick()*4)/1.5,0) * CFrame.Angles(0,0,rootpart.RotVelocity.y/50+math.cos(tick()*2)),0.2)
  266. head.C0 = head.C0:lerp(CFrame.new(0,1.5,0) * CFrame.Angles(0,0,0),0.3)
  267. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),0.2)
  268. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),0.2)
  269. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),0.2)
  270. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),0.2)
  271. end
  272. end
  273. end)()
  274. elseif what == "loudness" then
  275. loudness = message
  276. elseif what == "SHARTER!!!!!!!!!!!!!!!!!!" and not errored then
  277. local sharter = Instance.new("Sound", character.Head)
  278. sharter.SoundId = "rbxassetid://1718412034"
  279. sharter.Volume = 10
  280. sharter:Play()
  281. local echonigga = Instance.new("EchoSoundEffect", sharter)
  282. echonigga.Delay = 0.1
  283. echonigga.Feedback = 0.2
  284. game.Debris:AddItem(sharter, sharter.TimeLength)
  285. wait(sharter.TimeLength+0.1)
  286. local sphere = Instance.new("Part", character.Head)
  287. sphere.Material = "Neon"
  288. sphere.Anchored = true
  289. sphere.Shape = "Ball"
  290. sphere.CFrame = message
  291. sphere.Color = text.TextColor3
  292. sphere.CanCollide = false
  293. local ex = Instance.new("Explosion", workspace)
  294. ex.Position = sphere.Position
  295. ex.BlastPressure = math.huge
  296. ex.BlastRadius = 20
  297. local boom = Instance.new("Sound", sphere)
  298. boom.SoundId = "rbxassetid://3140843322"
  299. boom.Volume = 10
  300. boom:Play()
  301. game.Debris:AddItem(boom, 0.4)
  302. coroutine.wrap(function()
  303. for i = 1,25 do
  304. sphere.Size = sphere.Size + Vector3.new(1.25,1.25,1.25)
  305. sphere.Transparency = sphere.Transparency + 0.035
  306. step:wait()
  307. end
  308. sphere:destroy()
  309. end)()
  310. end
  311. end
  312. end)
  313. animhype2 = false
  314. seizure = false
  315. coroutine.wrap(function()
  316. while wait(5) do
  317. if seizure then
  318. seizure = false
  319. else
  320. seizure = true
  321. end
  322. end
  323. end)()
  324. coroutine.wrap(function()
  325. while wait(0.5) do
  326. if animhype2 then
  327. animhype2 = false
  328. else
  329. animhype2 = true
  330. end
  331. end
  332. end)()
  333. while step:wait() do
  334. if cananimate then
  335. sine = sine + 1
  336. if mode == 1 then
  337. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(rootpart.RotVelocity.y/5,3+math.sin(sine/5)*3.5,-math.sin(sine/10)*2) * CFrame.fromEulerAnglesXYZ(-math.cos(sine/10),0,rootpart.RotVelocity.y/10),0.15)
  338. head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(-math.cos(sine/5) + math.rad(-20),0,0) * CFrame.new(0,0.5,0),0.15)
  339. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(0,0,math.rad(-40)+math.cos(sine/5)*2) * CFrame.new(0,-0.9,0),0.15)
  340. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(0,0,math.rad(40)-math.cos(sine/5)*2) * CFrame.new(0,-0.9,0),0.15)
  341. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(-math.cos(sine/10),0,0) * CFrame.new(0,-1,0),0.15)
  342. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(-math.cos(sine/10),0,0) * CFrame.new(0,-1,0),0.15)
  343. elseif mode == 2 then
  344. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(math.sin(sine/2)/3,0,0) * CFrame.Angles(0,0,math.sin(sine/2)/4+rootpart.RotVelocity.y/50),0.6)
  345. head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(0,0,0) * CFrame.new(0,0.5,0),0.6)
  346. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(90)+math.cos(sine/1)/1.5,math.rad(20)+math.sin(sine/2)/1.5,-math.sin(sine/2)) * CFrame.new(0,-1+math.sin(sine/2)/2,0),0.6)
  347. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(90)+math.cos(sine/1)/1.5,math.rad(-20)-math.sin(sine/2)/1.5,math.sin(sine/2)) * CFrame.new(0,-1+math.sin(sine/2)/2,0),0.6)
  348. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(0,0,-math.sin(sine/2)/3) * CFrame.new(0,-1,0),0.6)
  349. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(0,0,-math.sin(sine/2)/3) * CFrame.new(0,-1,0),0.6)
  350. elseif mode == 3 then
  351. if animhype2 then
  352. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,-math.cos(sine/1)/3,0) * CFrame.Angles(0,math.pi/2,rootpart.RotVelocity.y/50),0.6)
  353. head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.cos(sine/1)/4,-(math.pi/2)+math.rad(20),0) * CFrame.new(0,0.5,0),0.6)
  354. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-0.5,0),0.6)
  355. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(-math.sin(sine/1)/1.5,0,0) * CFrame.new(0,-0.5,0),0.6)
  356. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1+math.sin(sine/1)/3,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-1,0),0.6)
  357. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-0.5,-1) * CFrame.Angles(-math.sin(sine/1)/1.5,0,0) * CFrame.new(0,-1,0),0.6)
  358. else
  359. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,-math.cos(sine/1)/3,0) * CFrame.Angles(0,math.pi/2,rootpart.RotVelocity.y/50),0.6)
  360. head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.cos(sine/1)/4,-(math.pi/2)+math.rad(20),0) * CFrame.new(0,0.5,0),0.6)
  361. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-0.5,0),0.6)
  362. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(math.pi-math.rad(10)+math.sin(sine/1)/1.5,0,0) * CFrame.new(0,-0.5,0),0.6)
  363. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1+math.sin(sine/1)/3,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-1,0),0.6)
  364. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-0.5,-1) * CFrame.Angles(-math.sin(sine/1)/1.5,0,0) * CFrame.new(0,-1,0),0.6)
  365. end
  366. elseif mode == 4 then
  367. if seizure then
  368. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,-1.5+math.sin(sine/2),0) * CFrame.Angles((-math.pi/2)+math.sin(sine/2)/2,0,rootpart.RotVelocity.y/50),0.6)
  369. head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.cos(sine/2)/2,0,0) * CFrame.new(0,0.5,0),0.6)
  370. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(-math.cos(sine/2)*1.5,0,math.rad(-50)) * CFrame.new(0,-0.5,0),0.6)
  371. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(-math.cos(sine/2)*1.5,0,math.rad(50)) * CFrame.new(0,-0.5,0),0.6)
  372. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(math.cos(sine/2)*1.5,0,0) * CFrame.new(0,-1,0),0.6)
  373. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(math.cos(sine/2)*1.5,0,0) * CFrame.new(0,-1,0),0.6)
  374. else
  375. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,math.sin(sine/2)/1.5,0) * CFrame.Angles(math.sin(sine/2)/2,0,rootpart.RotVelocity.y/50),0.6)
  376. head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.cos(sine/2)/2,0,0) * CFrame.new(0,0.5,0),0.6)
  377. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(-math.cos(sine/2)*1.5,0,0) * CFrame.new(0,-0.5,0),0.6)
  378. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(-math.cos(sine/2)*1.5,0,0) * CFrame.new(0,-0.5,0),0.6)
  379. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(-math.cos(sine/2)*1.5,0,0) * CFrame.new(0,-1,0),0.6)
  380. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(-math.cos(sine/2)*1.5,0,0) * CFrame.new(0,-1,0),0.6)
  381. end
  382. elseif mode == 5 then
  383. if seizure2 then
  384. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,math.sin(sine/2),0) * CFrame.Angles(math.cos(sine)*3,math.sin(sine*1.1)*3,math.sin(sine*1.1)*3),0.6)
  385. head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.cos(sine)*3,math.sin(sine*1.1)*3,math.sin(sine*1.1)*3) * CFrame.new(0,0.5,0),0.6)
  386. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.cos(sine)*3,math.sin(sine*1.1)*3,math.sin(sine*1.1)*3) * CFrame.new(0,-0.5,0),0.6)
  387. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(math.cos(sine)*3,math.sin(sine*1.1)*3,math.sin(sine*1.1)*3) * CFrame.new(0,-0.5,0),0.6)
  388. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(math.cos(sine)*3,math.sin(sine*1.1)*3,math.sin(sine*1.1)*3) * CFrame.new(0,-1,0),0.6)
  389. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(math.cos(sine)*3,math.sin(sine*1.1)*3,math.sin(sine*1.1)*3) * CFrame.new(0,-1,0),0.6)
  390. else
  391. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0.5+math.sin(sine/2),math.cos(sine/4)) * CFrame.Angles(math.cos(sine/2)/2,0,rootpart.RotVelocity.y/50),0.6)
  392. head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(0,0,0) * CFrame.new(0,0.5,0),0.6)
  393. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-0.5,0),0.6)
  394. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-0.5,0),0.6)
  395. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-1,0),0.6)
  396. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-1,0),0.6)
  397. end
  398. end
  399. end
  400. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement