Advertisement
TheYoutuber_Pro

Switch Glitcher FE

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