Advertisement
DaOMEGAa32

yesttest

Dec 21st, 2019
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.96 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 = "h"
  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 = "INSANITY! 😑😑"
  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 = "INSanity! 😑😑"
  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 = "insAINTY!😑😑😑😑"
  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 = "insanity!😑😑😑😑"
  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 = "INSANity!😑😑😑😑"
  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 = "inSANITY!😑😑😑😑"
  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 EPIC SHAKING FUNN Y!!!"
  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://2473639958"
  241. music.Volume = 6
  242. music.TimePosition = 0
  243. music.Looped = false
  244. music.PlaybackSpeed = 1
  245. flange:destroy()
  246.  
  247. end
  248. coroutine.wrap(function()
  249. while step:wait() do
  250. if loudness > 200 then
  251. 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)
  252. head.C0 = head.C0:lerp(CFrame.new(0,1.5,0) * CFrame.Angles(0,0,0),0.6)
  253. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-2,0.5,0) * CFrame.Angles(0,0,-math.pi/2),0.6)
  254. rightarm.C0 = rightarm.C0:lerp(CFrame.new(2,0.5,0) * CFrame.Angles(0,0,math.pi/2),0.6)
  255. 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)
  256. 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)
  257. else
  258. 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)
  259. head.C0 = head.C0:lerp(CFrame.new(0,1.5,0) * CFrame.Angles(0,0,0),0.3)
  260. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),0.2)
  261. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),0.2)
  262. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),0.2)
  263. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),0.2)
  264. end
  265. end
  266. end)()
  267. elseif what == "loudness" then
  268. loudness = message
  269. elseif what == "SHARTER!!!!!!!!!!!!!!!!!!" and not errored then
  270. local sharter = Instance.new("Sound", character.Head)
  271. sharter.SoundId = "rbxassetid://1718412034"
  272. sharter.Volume = 10
  273. sharter:Play()
  274. local echonigga = Instance.new("EchoSoundEffect", sharter)
  275. echonigga.Delay = 0.1
  276. echonigga.Feedback = 0.2
  277. game.Debris:AddItem(sharter, sharter.TimeLength)
  278. wait(sharter.TimeLength+0.1)
  279. local sphere = Instance.new("Part", character.Head)
  280. sphere.Material = "Neon"
  281. sphere.Anchored = true
  282. sphere.Shape = "Ball"
  283. sphere.CFrame = message
  284. sphere.Color = text.TextColor3
  285. sphere.CanCollide = false
  286. local ex = Instance.new("Explosion", workspace)
  287. ex.Position = sphere.Position
  288. ex.BlastPressure = math.huge
  289. ex.BlastRadius = 20
  290. local boom = Instance.new("Sound", sphere)
  291. boom.SoundId = "rbxassetid://3140843322"
  292. boom.Volume = 10
  293. boom:Play()
  294. game.Debris:AddItem(boom, 0.4)
  295. coroutine.wrap(function()
  296. for i = 1,25 do
  297. sphere.Size = sphere.Size + Vector3.new(1.25,1.25,1.25)
  298. sphere.Transparency = sphere.Transparency + 0.035
  299. step:wait()
  300. end
  301. sphere:destroy()
  302.  
  303. animhype2 = false
  304. seizure = false
  305. coroutine.wrap(function()
  306. while wait(5) do
  307. if seizure then
  308. seizure = false
  309. else
  310. seizure = true
  311. end
  312. end
  313. end)()
  314. coroutine.wrap(function()
  315. while wait(0.5) do
  316. if animhype2 then
  317. animhype2 = false
  318. else
  319. animhype2 = true
  320. end
  321. end
  322. end)()
  323. while step:wait() do
  324. if cananimate then
  325. sine = sine + 1
  326. if mode == 1 then
  327. 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)
  328. 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)
  329. 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)
  330. 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)
  331. 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)
  332. 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)
  333. elseif mode == 2 then
  334. 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)
  335. head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(0,0,0) * CFrame.new(0,0.5,0),0.6)
  336. 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)
  337. 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)
  338. 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)
  339. 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)
  340. elseif mode == 3 then
  341. if animhype2 then
  342. 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)
  343. 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)
  344. 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)
  345. 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)
  346. 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)
  347. 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)
  348. else
  349. 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)
  350. 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)
  351. 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)
  352. 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)
  353. 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)
  354. 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)
  355. end
  356. elseif mode == 4 then
  357. if seizure then
  358. 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)
  359. 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)
  360. 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)
  361. 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)
  362. 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)
  363. 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)
  364. else
  365. 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)
  366. 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)
  367. 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)
  368. 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)
  369. 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)
  370. 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)
  371. end
  372. elseif mode == 5 then
  373. if seizure2 then
  374. 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)
  375. 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)
  376. 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)
  377. 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)
  378. 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)
  379. 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)
  380. else
  381. 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)
  382. head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(0,0,0) * CFrame.new(0,0.5,0),0.6)
  383. 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)
  384. 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)
  385. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-1,0),0.6)
  386. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-1,0),0.6)
  387. end
  388. end
  389. end
  390. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement