Advertisement
HenloMyDude

glitcher rainbow switcher of the not epic!

Dec 30th, 2019
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.93 KB | None | 0 0
  1. --By Rufus14 (oh god) and edited by youngmacka123
  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.  
  136. local ArtificialHB = Instance.new("BindableEvent", script)
  137. ArtificialHB.Name = "Heartbeat"
  138.  
  139. script:WaitForChild("Heartbeat")
  140.  
  141. local tf = 0
  142. local allowframeloss = false
  143. local tossremainder = false
  144. local lastframe = tick()
  145. local frame = 1/60
  146. ArtificialHB:Fire()
  147.  
  148. game:GetService("RunService").Heartbeat:connect(function(s, p)
  149. tf = tf + s
  150. if tf >= frame then
  151. if allowframeloss then
  152. script.Heartbeat:Fire()
  153. lastframe = tick()
  154. else
  155. for i = 1, math.floor(tf / frame) do
  156. ArtificialHB:Fire()
  157. end
  158. lastframe = tick()
  159. end
  160. if tossremainder then
  161. tf = 0
  162. else
  163. tf = tf - frame * math.floor(tf / frame)
  164. end
  165. end
  166. end)
  167.  
  168. function swait(num)
  169. if num == 0 or num == nil then
  170. ArtificialHB.Event:wait()
  171. else
  172. for i = 0, num do
  173. ArtificialHB.Event:wait()
  174. end
  175. end
  176. end
  177.  
  178. local r = 255
  179. local g = 0
  180. local b = 0
  181. coroutine.resume(coroutine.create(function()
  182. while wait() do
  183. for i = 0, 254/5 do
  184. swait()
  185. g = g + 5
  186. end
  187. for i = 0, 254/5 do
  188. swait()
  189. r = r - 5
  190. end
  191. for i = 0, 254/5 do
  192. swait()
  193. b = b + 5
  194. end
  195. for i = 0, 254/5 do
  196. swait()
  197. g = g - 5
  198. end
  199. for i = 0, 254/5 do
  200. swait()
  201. r = r + 5
  202. end
  203. for i = 0, 254/5 do
  204. swait()
  205. b = b - 5
  206. end
  207. end
  208. end))
  209.  
  210. remote.OnServerEvent:connect(function(who, what, message)
  211. if who == owner then
  212. if what == "changemode" and not errored then
  213. mode = mode + 1
  214. if mode > 6 then
  215. mode = 1
  216. end
  217. if mode == 1 then
  218. text.Text = "😳PURITY😳"
  219. text.TextStrokeColor3 = Color3.fromRGB(0,255,255)
  220. text.TextColor3 = Color3.fromRGB(255,255,255)
  221. music.SoundId = "rbxassetid://1076825525"
  222. music.Volume = 5
  223. music.PlaybackSpeed = 1
  224. flange.Depth = 1
  225. flange.Mix = 1
  226. flange.Rate = 2.4
  227. elseif mode == 2 then
  228. text.Text = "mayhem?????😳😳"
  229. text.TextStrokeColor3 = Color3.fromRGB(0,0,0)
  230. text.TextColor3 = Color3.fromRGB(255,0,0)
  231. music.SoundId = "rbxassetid://614032233"
  232. music.Volume = 5
  233. music.PlaybackSpeed = 1.2
  234. flange.Depth = 1
  235. flange.Mix = 1
  236. flange.Rate = 2.4
  237. elseif mode == 3 then
  238. text.Text = "h"
  239. text.TextStrokeColor3 = Color3.fromRGB(0,0,0)
  240. text.TextColor3 = Color3.fromRGB(0,0,0)
  241. music.SoundId = "rbxassetid://277989165"
  242. music.Volume = 7
  243. music.PlaybackSpeed = 1
  244. flange.Depth = 1
  245. flange.Mix = 1
  246. flange.Rate = 2.4
  247. elseif mode == 4 then
  248. text.Text = "INSANITY! 😑😑"
  249. text.TextStrokeColor3 = Color3.fromRGB(0,0,0)
  250. text.TextColor3 = Color3.fromRGB(0,0,0)
  251. music.SoundId = "rbxassetid://435019840"
  252. music.Volume = 5
  253. music.PlaybackSpeed = 1
  254. flange.Depth = 1
  255. flange.Mix = 1
  256. flange.Rate = 1
  257. coroutine.wrap(function()
  258. while mode == 4 do
  259. if mode == 4 then
  260. text.Text = "INSanity! 😑😑"
  261. text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  262. wait()
  263. end
  264. if mode == 4 then
  265. text.Text = "insAINTY!😑😑😑😑"
  266. text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  267. wait()
  268. end
  269. if mode == 4 then
  270. text.Text = "insanity!😑😑😑😑"
  271. text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  272. wait()
  273. end
  274. if mode == 4 then
  275. text.Text = "INSANity!😑😑😑😑"
  276. text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  277. wait()
  278. end
  279. if mode == 4 then
  280. text.Text = "inSANITY!😑😑😑😑"
  281. text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  282. wait()
  283. end
  284. end
  285. end)()
  286. elseif mode == 5 then
  287. text.Text = "CRAZY EPIC SHAKING FUNN Y!!!"
  288. text.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
  289. text.TextColor3 = Color3.fromRGB(0, 255, 0)
  290. music.SoundId = "rbxassetid://1916505674"
  291. music.Volume = 5
  292. music.PlaybackSpeed = 1
  293. flange.Depth = 1
  294. flange.Mix = 1
  295. flange.Rate = 1
  296. seizure2 = false
  297. coroutine.wrap(function()
  298. while wait(1.225) and mode == 5 do
  299. if seizure2 then
  300. seizure2 = false
  301. else
  302. seizure2 = true
  303. end
  304. end
  305. end)()
  306. elseif mode == 6 then
  307. text.Text = "RaiNBoW"
  308. text.TextColor3 = Color3.new(1, 1, 1)
  309. text.TextStrokeColor3 = Color3.new(r/255, g/255, b/255)
  310. music.SoundId = "rbxassetid://4477802422"
  311. music.Volume = 5
  312. music.PlaybackSpeed = 1
  313. flange.Depth = 1
  314. flange.Mix = 1
  315. flange.Rate = 1
  316. seizure2 = false
  317. coroutine.wrap(function()
  318. while mode == 6 do
  319. wait()
  320. text.TextStrokeColor3 = Color3.new(r/255, g/255, b/255)
  321. --[[
  322. if mode == 6 then
  323. text.Text = "😳^*rAINBow%😳"
  324. --text.TextStrokeColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  325. wait()
  326. end
  327. if mode == 6 then
  328. text.Text = "&^RaINBOw$😳😳😳"
  329. --text.TextStrokeColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  330. wait()
  331. end
  332. if mode == 6 then
  333. text.Text = "*)-%^😳RainboW!😳😳😳😳😳😳😳%"
  334. --text.TextStrokeColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  335. wait()
  336. end
  337. if mode == 6 then
  338. text.Text = "*>YeS F😳😳😳%"
  339. text.TextStrokeColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  340. wait()
  341. end
  342. if mode == 6 then
  343. text.Text = "RaiNBow!😳😳😳😳😳😳😳😳😳😳😳😳"
  344. --text.TextStrokeColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  345. wait()
  346. end
  347. ]]--
  348. end
  349. end)()
  350. music:Play()
  351. end
  352. elseif what == "error" and not errored then
  353. cananimate = false
  354. errored = true
  355. mode = 7
  356. text.Text = "error"
  357. text.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  358. text.TextColor3 = Color3.fromRGB(255, 0, 0)
  359. music.SoundId = "rbxassetid://285685019"
  360. music.Volume = 6
  361. music.TimePosition = 0
  362. music.Looped = false
  363. music.PlaybackSpeed = 1
  364. flange:destroy()
  365. music.Ended:connect(function()
  366. character:BreakJoints()
  367. local ex = Instance.new("Explosion", workspace)
  368. ex.Position = character.Head.Position
  369. local boom = Instance.new("Sound", character.Head)
  370. boom.SoundId = "rbxassetid://2898512514"
  371. boom.PlayOnRemove = true
  372. boom:destroy()
  373. end)
  374. coroutine.wrap(function()
  375. while step:wait() do
  376. if loudness > 200 then
  377. 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)
  378. head.C0 = head.C0:lerp(CFrame.new(0,1.5,0) * CFrame.Angles(0,0,0),0.6)
  379. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-2,0.5,0) * CFrame.Angles(0,0,-math.pi/2),0.6)
  380. rightarm.C0 = rightarm.C0:lerp(CFrame.new(2,0.5,0) * CFrame.Angles(0,0,math.pi/2),0.6)
  381. 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)
  382. 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)
  383. else
  384. 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)
  385. head.C0 = head.C0:lerp(CFrame.new(0,1.5,0) * CFrame.Angles(0,0,0),0.3)
  386. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),0.2)
  387. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),0.2)
  388. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),0.2)
  389. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),0.2)
  390. end
  391. end
  392. end)()
  393. elseif what == "loudness" then
  394. loudness = message
  395. elseif what == "SHARTER!!!!!!!!!!!!!!!!!!" and not errored then
  396. local sharter = Instance.new("Sound", character.Head)
  397. sharter.SoundId = "rbxassetid://1718412034"
  398. sharter.Volume = 10
  399. sharter:Play()
  400. local echonigga = Instance.new("EchoSoundEffect", sharter)
  401. echonigga.Delay = 0.1
  402. echonigga.Feedback = 0.2
  403. game.Debris:AddItem(sharter, sharter.TimeLength)
  404. wait(sharter.TimeLength+0.1)
  405. local sphere = Instance.new("Part", character.Head)
  406. sphere.Material = "Neon"
  407. sphere.Anchored = true
  408. sphere.Shape = "Ball"
  409. sphere.CFrame = message
  410. sphere.Color = text.TextColor3
  411. sphere.CanCollide = false
  412. local ex = Instance.new("Explosion", workspace)
  413. ex.Position = sphere.Position
  414. ex.BlastPressure = math.huge
  415. ex.BlastRadius = 20
  416. local boom = Instance.new("Sound", sphere)
  417. boom.SoundId = "rbxassetid://3140843322"
  418. boom.Volume = 10
  419. boom:Play()
  420. game.Debris:AddItem(boom, 0.4)
  421. coroutine.wrap(function()
  422. for i = 1,25 do
  423. sphere.Size = sphere.Size + Vector3.new(1.25,1.25,1.25)
  424. sphere.Transparency = sphere.Transparency + 0.035
  425. step:wait()
  426. end
  427. sphere:destroy()
  428. end)()
  429. end
  430. end
  431. end)
  432. animhype2 = false
  433. seizure = false
  434. coroutine.wrap(function()
  435. while wait(5) do
  436. if seizure then
  437. seizure = false
  438. else
  439. seizure = true
  440. end
  441. end
  442. end)()
  443. coroutine.wrap(function()
  444. while wait(0.5) do
  445. if animhype2 then
  446. animhype2 = false
  447. else
  448. animhype2 = true
  449. end
  450. end
  451. end)()
  452. while step:wait() do
  453. if cananimate then
  454. sine = sine + 1
  455. if mode == 1 then
  456. 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)
  457. 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)
  458. 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)
  459. 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)
  460. 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)
  461. 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)
  462. elseif mode == 2 then
  463. 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)
  464. head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(0,0,0) * CFrame.new(0,0.5,0),0.6)
  465. 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)
  466. 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)
  467. 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)
  468. 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)
  469. elseif mode == 3 then
  470. if animhype2 then
  471. 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)
  472. 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)
  473. 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)
  474. 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)
  475. 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)
  476. 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)
  477. else
  478. 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)
  479. 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)
  480. 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)
  481. 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)
  482. 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)
  483. 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)
  484. end
  485. elseif mode == 4 then
  486. if seizure then
  487. 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)
  488. 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)
  489. 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)
  490. 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)
  491. 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)
  492. 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)
  493. else
  494. 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)
  495. 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)
  496. 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)
  497. 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)
  498. 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)
  499. 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)
  500. end
  501. elseif mode == 5 then
  502. if seizure2 then
  503. 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)
  504. 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)
  505. 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)
  506. 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)
  507. 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)
  508. 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)
  509. else
  510. 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)
  511. head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(0,0,0) * CFrame.new(0,0.5,0),0.6)
  512. 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)
  513. 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)
  514. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-1,0),0.6)
  515. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-1,0),0.6)
  516. end
  517. elseif mode == 6 then
  518. local owmineck = math.rad(math.random(-300, 300))
  519. if seizure2 then
  520. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,math.sin(sine/2),0) * CFrame.Angles(owmineck,owmineck,owmineck),0.6)
  521. head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,0.5,0),0.6)
  522. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,-0.5,0),0.6)
  523. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,-0.5,0),0.6)
  524. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,-1,0),0.6)
  525. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,-1,0),0.6)
  526. else
  527. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,math.sin(sine/2),0) * CFrame.Angles(owmineck,owmineck,owmineck),0.6)
  528. head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,0.5,0),0.6)
  529. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,-0.5,0),0.6)
  530. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,-0.5,0),0.6)
  531. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,-1,0),0.6)
  532. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,-1,0),0.6)
  533. end
  534. end
  535. end
  536. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement