Advertisement
aaaay63746

Untitled

Sep 26th, 2020
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.35 KB | None | 0 0
  1.  
  2.  
  3. print[[
  4. Vaporwave Vibe Thing By Godcat567
  5.  
  6. This was based off of a mode from powertommm's banisher switcher
  7.  
  8. Visualiser Commands: .id [insert music id here]
  9. .vol [insert volume number here]
  10. .pit [insert pitch number here]
  11. ]]
  12.  
  13. --Source Code Might Be Used From Others Credits To Their Creators
  14.  
  15. wait(1/60)
  16.  
  17. --[[ Defining Variables ]]
  18.  
  19. Plr = game.Players.LocalPlayer
  20. PlrGui = Plr.PlayerGui
  21. Character = Plr.Character
  22. RightArm = Character["Right Arm"]
  23. LeftArm = Character["Left Arm"]
  24. RightLeg = Character["Right Leg"]
  25. LeftLeg = Character["Left Leg"]
  26. RootPart = Character.HumanoidRootPart
  27. Torso = Character.Torso
  28. Head = Character.Head
  29. Humanoid = Character:FindFirstChildOfClass('Humanoid')
  30.  
  31. --[[ Joint Setup ]]
  32.  
  33. Neck = Torso.Neck
  34. RootJoint = RootPart.RootJoint
  35. RightShoulder = Torso["Right Shoulder"]
  36. LeftShoulder = Torso["Left Shoulder"]
  37. RightHip = Torso["Right Hip"]
  38. LeftHip = Torso["Left Hip"]
  39. --Tail = Character["Black Cyber Critter Tail"].Handle.AccessoryWeld
  40.  
  41. EulerRootCF = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14) --CFrame.Angles(math.rad(-90),0,math.rad(180))
  42. NeckCF = CFrame.new(0,1,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(180))
  43. RightShoulderCF = CFrame.new(-0.5,0,0)*CFrame.Angles(0,math.rad(90),0)
  44. LeftShoulderCF = CFrame.new(0.5,0,0)*CFrame.Angles(0,math.rad(-90),0)
  45. --TailCF = CFrame.new(0,-.75,.5)*CFrame.fromEulerAnglesXYZ(-3.14,0,3.14)
  46.  
  47. DefaultWelds = {
  48. C0 = {
  49. RJC0 = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)*CFrame.new(0,0,0),
  50. NKC0 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(180)),
  51. RSC0 = CFrame.new(1,0.5,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),
  52. LSC0 = CFrame.new(-1,0.5,0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),
  53. RHC0 = CFrame.new(1,-1,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),
  54. LHC0 = CFrame.new(-1,-1,0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),
  55. },
  56. C1 = {
  57. RJC1 = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)*CFrame.new(0,0,0),
  58. NKC1 = CFrame.new(0,-0.5,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(180)),
  59. RSC1 = CFrame.new(-0.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),
  60. LSC1 = CFrame.new(0.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),
  61. RHC1 = CFrame.new(0.5,1,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),
  62. LHC1 = CFrame.new(-0.5,1,0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),
  63.  
  64. },
  65. }
  66. --Default welds for anybody who does NOT know cframe
  67.  
  68. --[[ Killing Default Animations Initiated ]]
  69.  
  70. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  71. v:Stop()
  72. end
  73.  
  74. pcall(game.Destroy,Character.Animate)
  75. pcall(game.Destroy,Humanoid.Animator)
  76.  
  77. --[[ Killing Default Animations Ended]]
  78.  
  79. --[[ Customizable/Modular Settings ]]
  80.  
  81. CanBeRainbow = true --for hue rainbow set this to true you'll be expected to use my provided color changing shirt and pants for it
  82. sinetick = 0
  83. change = 1
  84. ID = 3100259439
  85. IsAttacking = false
  86. hue = 0
  87. pit = 1
  88. vol = 3
  89. SGui = Instance.new("ScreenGui",PlrGui)
  90.  
  91. --[[ SazErno's Artificial Hearbeat [Adapted By Nebula_Zoroark] ]]
  92.  
  93. AHB = Instance.new("BindableEvent")
  94. FPS = 60
  95. LastFrame = tick()
  96. TimeFrame = 0
  97. Frame = 1/FPS
  98.  
  99. game:GetService("RunService").Heartbeat:Connect(function(s,p)
  100. TimeFrame = TimeFrame + s
  101. if(TimeFrame>=Frame)then
  102. for i=1,math.floor(TimeFrame/Frame) do
  103. AHB:Fire()
  104. end
  105. LastFrame=tick()
  106. TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
  107. end
  108. end)
  109.  
  110. function Swait(dur)
  111. if(dur == 0 or typeof(dur) ~= 'number') then
  112. AHB.Event:wait()
  113. else
  114. for i= 1, dur*FPS do
  115. AHB.Event:wait()
  116. end
  117. end
  118. end
  119.  
  120. --[[ Functions ]]
  121.  
  122. --Interpreted From 123jl123's scripts
  123. function SetJointTween(Joint,TweenData,EasingType,DirectionType,AnimationTime)
  124. local EST = Enum.EasingStyle[EasingType]
  125. local DRT = Enum.EasingDirection[DirectionType]
  126. local InterpolationSpeed = 1
  127. local TI = TweenInfo.new(AnimationTime/InterpolationSpeed,EST,DRT,0,false,0)
  128. local MCF = TweenData
  129. local TAnim = game:service'TweenService':Create(Joint,TI,MCF)
  130. TAnim:Play()
  131. end
  132.  
  133. function RemoveAllOutlines(Object)
  134. Object.TopSurface,Object.BottomSurface,Object.RightSurface,Object.LeftSurface,Object.FrontSurface,Object.BackSurface = "SmoothNoOutlines","SmoothNoOutlines","SmoothNoOutlines","SmoothNoOutlines","SmoothNoOutlines","SmoothNoOutlines"
  135. end
  136.  
  137. --[[ Miscellaneous Stuff ]]
  138.  
  139. Playlist = {
  140. Beachwalk = 334283059;
  141. Pyrowalk = 2082142910;
  142. Default = 3100259439;
  143. Vapor90s = 654094806;
  144. ZenWavy = 2231500330;
  145. NostalgicGalaxy = 195904435; --Adult Swim Bump (Nostalgic Galaxy)
  146. Landing = 1522831964; --HOME - We're Finally Landing [SynthWave]
  147. }
  148.  
  149. IDLST = {
  150. UnderFellBtl=1561410944;
  151. ZigZag=1745866165;
  152. CroiX=1037245665;
  153. Kuroda=1492179112;
  154. Boss2=151915559;
  155. CMB=583415095;
  156. EP=343860759;
  157. EPRemix=2954216473;
  158. FloorOfLava=1426355953;
  159. ClassicalVIP=267058311; --NightKilla - Classical VIP
  160. EmbryO = 2835035033; --かぼちゃ - ΣmbryØ
  161. God = 3494472936; --Team Grimoire - Grimoire
  162. HM = 3329947102; --Nero's Day At Disneyland - Happy Meal
  163. Empress = 2996420896; --UNDEAD COPORATION - The Empress
  164. Sinken = 3752430080; --35 - Sinken [Mogeko's Castle]
  165. ThisIsYourEnd = 1439600000; --Nefarious Crow OST - This Is Your End
  166. TryThis = 2496846835; --[Drumstep] - Pegboard Nerds - Try This [Monstercat] Release
  167. Touhou = 540226023; --No by ImHavingAnAneurysm epic username tbh LMAO
  168. NecroDancer = 885342933; --Crypt Of The Necro Dancer Amplified - Zone 5-3
  169. Hailfire = 566809627; --NightKilla - Hailfire
  170. Classical=269408035; --NightKilla - Classical
  171. Jawbreaker=245104465; --NightKilla - Jawbreaker
  172. LifeLetters=1789295287; --Life Letters / ЦΣЛУЙ МΣНЯ
  173. SillyLetters=1329165680; --Silly Letters / Глупые письма
  174. NightmareBeforeXmas=521953625;
  175. DrumsOfWar=1594042527;
  176. Coagulant=1566197356;
  177. InterstellarStomper=3221578654;
  178. Hate=4538576008;
  179. RT = 779838221; --DOOM SoundTrack Rip & Tear
  180. Mdrq = 1931001768; --Frums - Mdrqnxtagon
  181. Credits = 3089991101; --Frums - Credits
  182. Czardas = 1846311619; --Czardas Macabre
  183. }
  184.  
  185.  
  186. local sound = Instance.new("Sound",Torso)
  187. sound.Volume = vol
  188. sound.SoundId = "rbxassetid://"..ID
  189. sound.Pitch = pit
  190. sound.Name = string.char(189)..string.char(189)..string.char(189)..string.char(189)..string.char(189)
  191. sound.Looped = true
  192. sound:play()
  193. local time = 0
  194.  
  195. local Part = Instance.new("Part")
  196. local Mesh = Instance.new("SpecialMesh")
  197. local Part2 = Instance.new("Part")
  198. local Mesh2 = Instance.new("SpecialMesh",Part2)
  199. local Part3 = Instance.new("Part")
  200. local Mesh3 = Instance.new("SpecialMesh",Part3)
  201. local Part4 = Instance.new("Part")
  202. local Mesh4 = Instance.new("SpecialMesh",Part4)
  203.  
  204. RemoveAllOutlines(Part)
  205. RemoveAllOutlines(Part2)
  206. RemoveAllOutlines(Part3)
  207. RemoveAllOutlines(Part4)
  208.  
  209. Part.Color = Color3.new(0, 1, 1)
  210. Part.CFrame = CFrame.new()
  211. Part.Material = Enum.Material.Neon
  212. Part.Size = Vector3.new(1, 0.5, 1)
  213. Part.BrickColor = BrickColor.new("Toothpaste")
  214. Part.Position = Vector3.new()
  215. Part.Parent = Character
  216. Mesh.MeshType = Enum.MeshType.Sphere
  217. Mesh.Parent = Part
  218. Part.Anchored = true
  219. Part.CanCollide = false
  220. Part.Transparency = 0
  221.  
  222. Part2.Color = Color3.new(0, 1, 1)
  223. Part2.CFrame = CFrame.new()
  224. Part2.Material = Enum.Material.Neon
  225. Part2.Size = Vector3.new(1, 0.5, 1)
  226. Part2.BrickColor = BrickColor.new("Toothpaste")
  227. Part2.Position = Vector3.new()
  228. Part2.Parent = Character
  229. Mesh2.MeshType = Enum.MeshType.Sphere
  230. Mesh2.Parent = Part2
  231. Part2.Anchored = true
  232. Part2.CanCollide = false
  233. Part2.Transparency = 0.25
  234.  
  235. Part3.Color = Color3.new(0, 1, 1)
  236. Part3.CFrame = CFrame.new()
  237. Part3.Material = Enum.Material.Neon
  238. Part3.Size = Vector3.new(1, 0.5, 1)
  239. Part3.BrickColor = BrickColor.new("Toothpaste")
  240. Part3.Position = Vector3.new()
  241. Part3.Parent = Character
  242. Mesh3.MeshType = Enum.MeshType.Sphere
  243. Mesh3.Parent = Part3
  244. Part3.Anchored = true
  245. Part3.CanCollide = false
  246. Part3.Transparency = 0.50
  247.  
  248. Part4.Color = Color3.new(0, 1, 1)
  249. Part4.CFrame = CFrame.new()
  250. Part4.Material = Enum.Material.Neon
  251. Part4.Size = Vector3.new(1, 0.5, 1)
  252. Part4.BrickColor = BrickColor.new("Toothpaste")
  253. Part4.Position = Vector3.new()
  254. Part4.Parent = Character
  255. Mesh4.MeshType = Enum.MeshType.Sphere
  256. Mesh4.Parent = Part4
  257. Part4.Anchored = true
  258. Part4.CanCollide = false
  259. Part4.Transparency = 0.75
  260.  
  261.  
  262.  
  263.  
  264. --[[ Anti Nosound (Don't Use My Stuff In Void Script Builder) ]]
  265.  
  266. game:service'RunService'.Stepped:connect(function()
  267. if sound.Parent ~= nil then
  268. sound.SoundId = "rbxassetid://"..ID
  269. sound.Volume = vol
  270. sound.Pitch = pit
  271. sound.Looped = true
  272. time = sound.TimePosition
  273. else
  274. sound = Instance.new('Sound',Torso)
  275. sound.Volume = vol
  276. sound.Name = string.char(189)..string.char(189)..string.char(189)..string.char(189)..string.char(189)
  277. sound.Pitch = pit
  278. sound.Looped = true
  279. sound.Playing = true
  280. sound.TimePosition = time
  281. end
  282. end)
  283.  
  284. --[[ Chat Commands ]]
  285.  
  286.  
  287.  
  288. --[[ Animation Loop ]]
  289. while true do
  290. Swait()
  291. game:service'Debris':AddItem(Instance.new("Shirt",game:service'Debris'),0) --Mainly Used In CR But Still Helps The Script Rather Than Using collectgarbage()
  292. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  293. sinetick=sinetick+change
  294. hue=hue+1
  295. --Footplanting Math :joy:
  296. local FwdDir = Humanoid.MoveDirection*RootPart.CFrame.lookVector
  297. local RigDir = Humanoid.MoveDirection*RootPart.CFrame.rightVector
  298. Vector = {
  299. X=FwdDir.X+FwdDir.Z,
  300. Z=RigDir.X+RigDir.Z
  301. }
  302. if(hue>360) then hue = 0 end
  303. SetJointTween(Part,{Position = RootPart.Position - Vector3.new(0,3,0)},"Quad","Out",.1)
  304. SetJointTween(Part2,{Position = RootPart.Position - Vector3.new(0,3,0)},"Quad","Out",.1)
  305. SetJointTween(Part3,{Position = RootPart.Position - Vector3.new(0,3,0)},"Quad","Out",.1)
  306. SetJointTween(Part4,{Position = RootPart.Position - Vector3.new(0,3,0)},"Quad","Out",.1)
  307. SetJointTween(Part4,{Size = Part.Size * Vector3.new(4,0.5,4)},"Quad","Out",.1)
  308. SetJointTween(Part3,{Size = Part.Size * Vector3.new(3,0.5,3)},"Quad","Out",.1)
  309. SetJointTween(Part2,{Size = Part.Size * Vector3.new(2,0.5,2)},"Quad","Out",.1)
  310. SetJointTween(Part,{Size = Vector3.new(sound.PlaybackLoudness/10,0.5,sound.PlaybackLoudness/10)},"Quad","Out",.1)
  311. SetJointTween(Part4,{Color = Color3.fromHSV(hue/360,1,math.clamp(sound.PlaybackLoudness/500,0,1))},"Quad","Out",.1)
  312. SetJointTween(Part3,{Color = Color3.fromHSV(hue/360,1,math.clamp(sound.PlaybackLoudness/500,0,1)/500,0,1)},"Quad","Out",.1)
  313. SetJointTween(Part2,{Color = Color3.fromHSV(hue/360,1,math.clamp(sound.PlaybackLoudness/500,0,1))},"Quad","Out",.1)
  314. SetJointTween(Part,{Color = Color3.fromHSV(hue/360,1,math.clamp(sound.PlaybackLoudness/500,0,1))},"Quad","Out",.1)
  315. if CanBeRainbow == true then
  316. SetJointTween(Head,{Color = Color3.fromHSV(hue/360,1,1)},"Quad","Out",.1)
  317. SetJointTween(Torso,{Color = Color3.fromHSV(hue/360,1,1)},"Quad","Out",.1)
  318. SetJointTween(RightArm,{Color = Color3.fromHSV(hue/360,1,1)},"Quad","Out",.1)
  319. SetJointTween(LeftArm,{Color = Color3.fromHSV(hue/360,1,1)},"Quad","Out",.1)
  320. SetJointTween(LeftLeg,{Color = Color3.fromHSV(hue/360,1,1)},"Quad","Out",.1)
  321. SetJointTween(RightLeg,{Color = Color3.fromHSV(hue/360,1,1)},"Quad","Out",.1)
  322. end
  323. local Alpha = 1/3
  324. if IsAttacking == false then
  325. if torvel < 1 and Humanoid.Sit == false then
  326. SetJointTween(RootJoint,{C0 = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)*CFrame.new(0,0,2 + 1.1 * math.sin(sinetick/143))*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0))},"Quad","Out",Alpha)
  327. SetJointTween(Neck,{C0 = CFrame.new(0,1,0,-1,-0,-0,0,0,1,0,1,0)*CFrame.Angles(math.rad(-10 + sound.PlaybackLoudness/10),math.rad(8*math.sin(sinetick/132)),math.rad(0))},"Quad","Out",Alpha)
  328. SetJointTween(RightShoulder,{C0 = CFrame.new(1,.5,0.5)*CFrame.Angles(math.rad(220 - sound.PlaybackLoudness/10),0,math.rad(-25 + 2.5 * math.sin(sinetick/32)))*RightShoulderCF},"Quad","Out",Alpha)
  329. SetJointTween(LeftShoulder,{C0 = CFrame.new(-1,.5,0.5)*CFrame.Angles(math.rad(220 - sound.PlaybackLoudness/10),0,math.rad(25 - 2.5 * math.sin(sinetick/32)))*LeftShoulderCF},"Quad","Out",Alpha)
  330. SetJointTween(RightHip,{C0 = CFrame.new(1,-1,0)*CFrame.Angles(math.rad(-20 - 2.32 * math.cos(sinetick/63)),math.rad(90),0)*CFrame.Angles(math.rad(-8 + 2.5 * math.sin(sinetick/78)),0,0)},"Quad","Out",Alpha)
  331. SetJointTween(LeftHip,{C0 = CFrame.new(-1,-1,0)*CFrame.Angles(math.rad(-15 - 5.34 * math.cos(sinetick/99)),math.rad(-90),0)*CFrame.Angles(math.rad(-8 + 2.5 * math.sin(sinetick/92)),0,0)},"Quad","Out",Alpha)
  332. elseif torvel > 1 and Humanoid.Sit == false then
  333. SetJointTween(RootJoint,{C0 = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)*CFrame.new(0 - 1.1 * math.cos(sinetick/54),0,2 + 1.1 * math.sin(sinetick/143))*CFrame.Angles(math.rad(90)*Vector.X,math.rad(-Vector.Z*20),math.rad(0))},"Quad","Out",Alpha)
  334. SetJointTween(Neck,{C0 = CFrame.new(0,1,0,-1,-0,-0,0,0,1,0,1,0)*CFrame.Angles(math.rad(-10),math.rad(0 - 2.3 * math.cos(sinetick/72)),math.rad(0))},"Quad","Out",Alpha)
  335. SetJointTween(RightShoulder,{C0 = CFrame.new(1.5,.5,0)*CFrame.Angles(math.rad(0),math.rad(10),math.rad(25 + 2.5 * math.sin(sinetick/62)))*RightShoulderCF},"Quad","Out",Alpha)
  336. SetJointTween(LeftShoulder,{C0 = CFrame.new(-1.5,.5,0)*CFrame.Angles(math.rad(0),math.rad(-10),math.rad(-25 - 2.5 * math.sin(sinetick/122)))*LeftShoulderCF},"Quad","Out",Alpha)
  337. SetJointTween(RightHip,{C0 = CFrame.new(1,-.5,-0.5)*CFrame.Angles(math.rad(-20 - 2.32 * math.cos(sinetick/63)),math.rad(90),0)*CFrame.Angles(math.rad(0),0,0)},"Quad","Out",Alpha)
  338. SetJointTween(LeftHip,{C0 = CFrame.new(-1,-1,0)*CFrame.Angles(math.rad(-15 - 5.34 * math.cos(sinetick/99)),math.rad(-90),0)*CFrame.Angles(math.rad(0),0,0)},"Quad","Out",Alpha)
  339. elseif Humanoid.Sit == true then
  340. SetJointTween(RootJoint,{C0 = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)*CFrame.new(0,0,.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",Alpha)
  341. SetJointTween(Neck,{C0 = CFrame.new(0,1,0,-1,-0,-0,0,0,1,0,1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",Alpha)
  342. SetJointTween(RightShoulder,{C0 = CFrame.new(1.5,.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))*RightShoulderCF},"Quad","Out",Alpha)
  343. SetJointTween(LeftShoulder,{C0 = CFrame.new(-1.5,.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))*LeftShoulderCF},"Quad","Out",Alpha)
  344. SetJointTween(RightHip,{C0 = CFrame.new(1,-1.5,0.5)*CFrame.Angles(math.rad(90),math.rad(90),0)*CFrame.Angles(math.rad(-8 + 2.5 * math.cos(sinetick/65.3)),0,0)},"Quad","Out",Alpha)
  345. SetJointTween(LeftHip,{C0 = CFrame.new(-1,-1.5,0.5)*CFrame.Angles(math.rad(90),math.rad(-90),0)*CFrame.Angles(math.rad(-8 + 2.5 * math.cos(sinetick/65.3)),0,0)},"Quad","Out",Alpha)
  346. end
  347. end
  348. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement