Advertisement
hjkook

sssss

Jan 10th, 2020
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.13 KB | None | 0 0
  1. local SurfaceGui = Instance.new("SurfaceGui")
  2. local Frame_2 = Instance.new("Frame")
  3. local ImageLabel = Instance.new("ImageLabel")
  4.  
  5. local ScreenGui = Instance.new("ScreenGui")
  6. local Frame = Instance.new("Frame")
  7. local NAME = Instance.new("TextLabel")
  8. local TextButton = Instance.new("TextButton")
  9.  
  10. --https://github.com/Mokiros/roblox-FE-compatibility
  11. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  12. local Player,game,owner = owner,game
  13. local RealPlayer = Player
  14. do
  15. print("FE Compatibility code V2 by Mokiros")
  16. local RealPlayer = RealPlayer
  17. script.Parent = RealPlayer.Character
  18.  
  19. --Fake event to make stuff like Mouse.KeyDown work
  20. local Disconnect_Function = function(this)
  21. this[1].Functions[this[2]] = nil
  22. end
  23. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  24. local FakeEvent_Metatable = {__index={
  25. Connect = function(this,f)
  26. local i = tostring(math.random(0,10000))
  27. while this.Functions[i] do
  28. i = tostring(math.random(0,10000))
  29. end
  30. this.Functions[i] = f
  31. return setmetatable({this,i},Disconnect_Metatable)
  32. end
  33. }}
  34. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  35. local function fakeEvent()
  36. return setmetatable({Functions={}},FakeEvent_Metatable)
  37. end
  38.  
  39. --Creating fake input objects with fake variables
  40. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  41. FakeMouse.keyUp = FakeMouse.KeyUp
  42. FakeMouse.keyDown = FakeMouse.KeyDown
  43. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  44. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  45. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  46. end}
  47. --Merged 2 functions into one by checking amount of arguments
  48. CAS.UnbindAction = CAS.BindAction
  49.  
  50. --This function will trigger the events that have been :Connect()'ed
  51. local function TriggerEvent(self,ev,...)
  52. for _,f in pairs(self[ev].Functions) do
  53. f(...)
  54. end
  55. end
  56. FakeMouse.TriggerEvent = TriggerEvent
  57. UIS.TriggerEvent = TriggerEvent
  58.  
  59. --Client communication
  60. local Event = Instance.new("RemoteEvent")
  61. Event.Name = "UserInput_Event"
  62. Event.OnServerEvent:Connect(function(plr,io)
  63. if plr~=RealPlayer then return end
  64. FakeMouse.Target = io.Target
  65. FakeMouse.Hit = io.Hit
  66. if not io.isMouse then
  67. local b = io.UserInputState == Enum.UserInputState.Begin
  68. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  69. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  70. end
  71. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  72. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  73. end
  74. for _,t in pairs(CAS.Actions) do
  75. for _,k in pairs(t.Keys) do
  76. if k==io.KeyCode then
  77. t.Function(t.Name,io.UserInputState,io)
  78. end
  79. end
  80. end
  81. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  82. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  83. end
  84. end)
  85. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  86. local Mouse = owner:GetMouse()
  87. local UIS = game:GetService("UserInputService")
  88. local input = function(io,RobloxHandled)
  89. if RobloxHandled then return end
  90. --Since InputObject is a client-side instance, we create and pass table instead
  91. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  92. end
  93. UIS.InputBegan:Connect(input)
  94. UIS.InputEnded:Connect(input)
  95. local h,t
  96. --Give the server mouse data every second frame, but only if the values changed
  97. --If player is not moving their mouse, client won't fire events
  98. local HB = game:GetService("RunService").Heartbeat
  99. while true do
  100. if h~=Mouse.Hit or t~=Mouse.Target then
  101. h,t=Mouse.Hit,Mouse.Target
  102. Event:FireServer({isMouse=true,Target=t,Hit=h})
  103. end
  104. --Wait 2 frames
  105. for i=1,2 do
  106. HB:Wait()
  107. end
  108. end]==],script)
  109.  
  110. ----Sandboxed game object that allows the usage of client-side methods and services
  111. --Real game object
  112. local RealGame = game
  113.  
  114. --Metatable for fake service
  115. local FakeService_Metatable = {
  116. __index = function(self,k)
  117. local s = rawget(self,"_RealService")
  118. if s then
  119. return typeof(s[k])=="function"
  120. and function(_,...)return s[k](s,...)end or s[k]
  121. end
  122. end,
  123. __newindex = function(self,k,v)
  124. local s = rawget(self,"_RealService")
  125. if s then s[k]=v end
  126. end
  127. }
  128. local function FakeService(t,RealService)
  129. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  130. return setmetatable(t,FakeService_Metatable)
  131. end
  132.  
  133. --Fake game object
  134. local FakeGame = {
  135. GetService = function(self,s)
  136. return rawget(self,s) or RealGame:GetService(s)
  137. end,
  138. Players = FakeService({
  139. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  140. },"Players"),
  141. UserInputService = FakeService(UIS,"UserInputService"),
  142. ContextActionService = FakeService(CAS,"ContextActionService"),
  143. RunService = FakeService({
  144. _btrs = {},
  145. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  146. BindToRenderStep = function(self,name,_,fun)
  147. self._btrs[name] = self.Heartbeat:Connect(fun)
  148. end,
  149. UnbindFromRenderStep = function(self,name)
  150. self._btrs[name]:Disconnect()
  151. end,
  152. },"RunService")
  153. }
  154. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  155. FakeGame.service = FakeGame.GetService
  156. FakeService(FakeGame,game)
  157. --Changing owner to fake player object to support owner:GetMouse()
  158. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  159. end
  160. local Player = owner
  161. local Character = Player.Character
  162. local Torso = Character.Torso
  163. local Torso2 = Character.Head
  164.  
  165. local function Smooth(Part)
  166. Part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  167. Part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  168. Part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  169. Part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  170. Part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  171. Part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  172. end
  173.  
  174. local Keyboard = Instance.new("Part")
  175. Keyboard.BrickColor = BrickColor.new("Lsvender")
  176. Keyboard.Transparency = 0.6
  177. Keyboard.Size = Vector3.new(2.24, 0.24, 2.89)
  178. Keyboard.CanCollide = false
  179. Keyboard.Locked = true
  180.  
  181. local Keyboard2 = Instance.new("Part")
  182. Keyboard2.BrickColor = BrickColor.new("Lsvender")
  183. Keyboard2.Material = Enum.Material.Neon
  184. Keyboard2.Transparency = 0.6
  185. Keyboard2.Size = Vector3.new(12.38, 0.24, 6.97)
  186. Keyboard2.CanCollide = false
  187. Keyboard2.Locked = true
  188.  
  189.  
  190. Smooth(Keyboard) --주석
  191. Smooth(Keyboard2)
  192.  
  193. local KeyboardWeld = Instance.new("Weld")
  194. KeyboardWeld.Part0 = Torso
  195. KeyboardWeld.Part1 = Keyboard
  196. KeyboardWeld.C0 = CFrame.new(1, 0.4, -2) * CFrame.Angles(0.5, 0, 0)
  197.  
  198. SurfaceGui.Parent = Keyboard2
  199. SurfaceGui.Face = "Top"
  200.  
  201. Frame_2.Parent = SurfaceGui
  202. Frame_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  203. Frame_2.BackgroundTransparency = 1.000
  204. Frame_2.Size = UDim2.new(0, 385, 0, 331)
  205.  
  206. ImageLabel.Parent = Frame_2
  207. ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  208. ImageLabel.BackgroundTransparency = 1.000
  209. ImageLabel.Size = UDim2.new(0, 385, 0, 389)
  210. ImageLabel.Image = "http://www.roblox.com/asset/?id=2698871607"
  211.  
  212. --스크린gui
  213.  
  214. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  215. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  216.  
  217. Frame.Parent = ScreenGui
  218. Frame.BackgroundColor3 = Color3.fromRGB(39, 39, 39)
  219. Frame.Position = UDim2.new(0, 0, 0.24539879, 0)
  220. Frame.Size = UDim2.new(0, 250, 0, 312)
  221.  
  222. NAME.Name = "NAME"
  223. NAME.Parent = Frame
  224. NAME.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  225. NAME.BackgroundTransparency = 1.000
  226. NAME.Size = UDim2.new(0, 250, 0, 32)
  227. NAME.Font = Enum.Font.SourceSans
  228. NAME.Text = "TUBRO"
  229. NAME.TextColor3 = Color3.fromRGB(255, 255, 255)
  230. NAME.TextScaled = true
  231. NAME.TextSize = 14.000
  232. NAME.TextWrapped = true
  233.  
  234. TextButton.Parent = Frame
  235. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  236. TextButton.Position = UDim2.new(0, 0, 0.102564104, 0)
  237. TextButton.Size = UDim2.new(0, 250, 0, 25)
  238. TextButton.Font = Enum.Font.SourceSans
  239. TextButton.Text = "music"
  240. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  241. TextButton.TextScaled = true
  242. TextButton.TextSize = 14.000
  243. TextButton.TextWrapped = true
  244.  
  245. TextButton.MouseButton1Click:connect(function()
  246. -- Objects
  247.  
  248. local WindowH = Instance.new("ScreenGui")
  249. local Window = Instance.new("Frame")
  250. local TopBar = Instance.new("Frame")
  251. local X = Instance.new("ImageButton")
  252. local HeaderOfTopBar = Instance.new("TextLabel")
  253. local InfoButton = Instance.new("TextButton")
  254. local Content = Instance.new("Frame")
  255. local ChangeID = Instance.new("TextButton")
  256. local ChangeShape = Instance.new("TextButton")
  257. local RunDec = Instance.new("TextButton")
  258. local ID = Instance.new("TextBox")
  259. local IDec = Instance.new("TextButton")
  260. local ShapeDec = Instance.new("TextButton")
  261. local Shape = Instance.new("TextBox")
  262. local Info = Instance.new("ScrollingFrame")
  263. local InfoText = Instance.new("TextLabel")
  264.  
  265. -- Properties
  266.  
  267. WindowH.Name = "WindowH"
  268. WindowH.Parent = game.Players.LocalPlayer.PlayerGui
  269.  
  270. Window.Name = "Window"
  271. Window.Parent = WindowH
  272. Window.Active = true
  273. Window.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  274. Window.Draggable = true
  275. Window.Position = UDim2.new(0, 177, 0, 137)
  276. Window.Size = UDim2.new(0, 471, 0, 322)
  277.  
  278. TopBar.Name = "TopBar"
  279. TopBar.Parent = Window
  280. TopBar.BackgroundColor3 = Color3.new(0, 0, 0)
  281. TopBar.BorderSizePixel = 0
  282. TopBar.Size = UDim2.new(0, 471, 0, 28)
  283.  
  284. X.Name = "X"
  285. X.Parent = TopBar
  286. X.BackgroundColor3 = Color3.new(1, 1, 1)
  287. X.Position = UDim2.new(0, 442, 0, 0)
  288. X.Size = UDim2.new(0, 29, 0, 28)
  289. X.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  290. X.Image = "rbxassetid://190837466"
  291.  
  292. HeaderOfTopBar.Name = "HeaderOfTopBar"
  293. HeaderOfTopBar.Parent = TopBar
  294. HeaderOfTopBar.BackgroundColor3 = Color3.new(0, 0, 0)
  295. HeaderOfTopBar.BackgroundTransparency = 1
  296. HeaderOfTopBar.Size = UDim2.new(0, 367, 0, 28)
  297. HeaderOfTopBar.Font = Enum.Font.Cartoon
  298. HeaderOfTopBar.FontSize = Enum.FontSize.Size14
  299. HeaderOfTopBar.Text = "Welcome to Anonymous's Audio visualizer GUI"
  300. HeaderOfTopBar.TextColor3 = Color3.new(0, 1, 0.498039)
  301. HeaderOfTopBar.TextScaled = true
  302. HeaderOfTopBar.TextSize = 14
  303. HeaderOfTopBar.TextWrapped = true
  304. HeaderOfTopBar.TextXAlignment = Enum.TextXAlignment.Left
  305.  
  306. InfoButton.Name = "InfoButton"
  307. InfoButton.Parent = TopBar
  308. InfoButton.BackgroundColor3 = Color3.new(1, 1, 1)
  309. InfoButton.Position = UDim2.new(0, 373, 0, 0)
  310. InfoButton.Size = UDim2.new(0, 67, 0, 28)
  311. InfoButton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  312. InfoButton.Font = Enum.Font.SourceSans
  313. InfoButton.FontSize = Enum.FontSize.Size18
  314. InfoButton.Text = "Info"
  315. InfoButton.TextColor3 = Color3.new(0.0117647, 0.207843, 0)
  316. InfoButton.TextSize = 16
  317.  
  318. Content.Name = "Content"
  319. Content.Parent = Window
  320. Content.BackgroundColor3 = Color3.new(0, 0, 0)
  321. Content.BackgroundTransparency = 0.5
  322. Content.Position = UDim2.new(0, 0, 0, 29)
  323. Content.Size = UDim2.new(0, 471, 0, 293)
  324.  
  325. ChangeID.Name = "ChangeID"
  326. ChangeID.Parent = Content
  327. ChangeID.BackgroundColor3 = Color3.new(1, 1, 1)
  328. ChangeID.Size = UDim2.new(0, 236, 0, 50)
  329. ChangeID.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  330. ChangeID.FontSize = Enum.FontSize.Size14
  331. ChangeID.Text = "Change Sound Id"
  332. ChangeID.TextColor3 = Color3.new(0, 0, 0)
  333. ChangeID.TextScaled = true
  334. ChangeID.TextSize = 14
  335. ChangeID.TextWrapped = true
  336.  
  337. ChangeShape.Name = "ChangeShape"
  338. ChangeShape.Parent = Content
  339. ChangeShape.BackgroundColor3 = Color3.new(1, 1, 1)
  340. ChangeShape.Position = UDim2.new(0, 0, 0, 55)
  341. ChangeShape.Size = UDim2.new(0, 236, 0, 50)
  342. ChangeShape.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  343. ChangeShape.FontSize = Enum.FontSize.Size14
  344. ChangeShape.Text = "Change Shape"
  345. ChangeShape.TextColor3 = Color3.new(0, 0, 0)
  346. ChangeShape.TextScaled = true
  347. ChangeShape.TextSize = 14
  348. ChangeShape.TextWrapped = true
  349.  
  350. RunDec.Name = "RunDec"
  351. RunDec.Parent = Content
  352. RunDec.BackgroundColor3 = Color3.new(1, 1, 1)
  353. RunDec.Position = UDim2.new(0, 0, 0, 243)
  354. RunDec.Size = UDim2.new(0, 236, 0, 50)
  355. RunDec.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  356. RunDec.Font = Enum.Font.SciFi
  357. RunDec.FontSize = Enum.FontSize.Size14
  358. RunDec.Text = "Run Decoration"
  359. RunDec.TextColor3 = Color3.new(0.333333, 0.666667, 1)
  360. RunDec.TextScaled = true
  361. RunDec.TextSize = 14
  362. RunDec.TextWrapped = true
  363.  
  364. ID.Name = "ID"
  365. ID.Parent = Content
  366. ID.BackgroundColor3 = Color3.new(1, 1, 1)
  367. ID.BackgroundTransparency = 1
  368. ID.Position = UDim2.new(0, 271, 0, 0)
  369. ID.Size = UDim2.new(0, 200, 0, 50)
  370. ID.ZIndex = 2
  371. ID.Font = Enum.Font.Bodoni
  372. ID.FontSize = Enum.FontSize.Size14
  373. ID.Text = "Sound ID"
  374. ID.TextScaled = true
  375. ID.TextSize = 14
  376. ID.TextWrapped = true
  377.  
  378. IDec.Name = "IDec"
  379. IDec.Parent = Content
  380. IDec.BackgroundColor3 = Color3.new(1, 1, 1)
  381. IDec.Position = UDim2.new(0, 271, 0, 0)
  382. IDec.Size = UDim2.new(0, 200, 0, 50)
  383. IDec.Style = Enum.ButtonStyle.RobloxRoundButton
  384. IDec.Font = Enum.Font.SourceSans
  385. IDec.FontSize = Enum.FontSize.Size14
  386. IDec.Text = ""
  387. IDec.TextSize = 14
  388.  
  389. ShapeDec.Name = "ShapeDec"
  390. ShapeDec.Parent = Content
  391. ShapeDec.BackgroundColor3 = Color3.new(1, 1, 1)
  392. ShapeDec.Position = UDim2.new(0, 271, 0, 55)
  393. ShapeDec.Size = UDim2.new(0, 200, 0, 50)
  394. ShapeDec.Style = Enum.ButtonStyle.RobloxRoundButton
  395. ShapeDec.Font = Enum.Font.SourceSans
  396. ShapeDec.FontSize = Enum.FontSize.Size14
  397. ShapeDec.Text = ""
  398. ShapeDec.TextSize = 14
  399.  
  400. Shape.Name = "Shape"
  401. Shape.Parent = Content
  402. Shape.BackgroundColor3 = Color3.new(1, 1, 1)
  403. Shape.BackgroundTransparency = 1
  404. Shape.Position = UDim2.new(0, 274, 0, 55)
  405. Shape.Size = UDim2.new(0, 196, 0, 50)
  406. Shape.ZIndex = 2
  407. Shape.Font = Enum.Font.Bodoni
  408. Shape.FontSize = Enum.FontSize.Size14
  409. Shape.Text = "Shape Name"
  410. Shape.TextScaled = true
  411. Shape.TextSize = 14
  412. Shape.TextWrapped = true
  413.  
  414. Info.Name = "Info"
  415. Info.Parent = Window
  416. Info.BackgroundColor3 = Color3.new(0.333333, 0.333333, 0)
  417. Info.BorderSizePixel = 0
  418. Info.Position = UDim2.new(0, 0, 0, 28)
  419. Info.Size = UDim2.new(0, 471, 0, 294)
  420. Info.Visible = false
  421. Info.ZIndex = 3
  422. Info.BottomImage = "rbxassetid://162937863"
  423. Info.CanvasSize = UDim2.new(0, 0, 4, 0)
  424. Info.MidImage = "rbxassetid://162937890"
  425. Info.TopImage = "rbxassetid://162937878"
  426.  
  427. InfoText.Name = "InfoText"
  428. InfoText.Parent = Info
  429. InfoText.BackgroundColor3 = Color3.new(1, 1, 1)
  430. InfoText.BackgroundTransparency = 1
  431. InfoText.Size = UDim2.new(0, 456, 0, 294)
  432. InfoText.ZIndex = 4
  433. InfoText.Font = Enum.Font.Cartoon
  434. InfoText.FontSize = Enum.FontSize.Size24
  435. InfoText.Text = "The currents functions are:\n \n1.Change Shape, shapes are Block and Ball with caps\n \n2.Change Audio ID\n \n3.Run Decoration\nWhat does the 3 functions do?\n \n1.Change the visualizer shape\n \n2.Change the audios's ID to the new one\n \n3.You will get a better experience with (Run Decoration)\n \n 1.FogEnd will change to 500\n \n 2.It would add BlurEffect and a clean sky\n \n 3.Brightness will be 0\n \n 4.Color will be changed to Black to see the Visualizer \n Color Better ;)"
  436. InfoText.TextColor3 = Color3.new(0, 0, 0)
  437. InfoText.TextSize = 20
  438. InfoText.TextXAlignment = Enum.TextXAlignment.Left
  439. InfoText.TextYAlignment = Enum.TextYAlignment.Top
  440. ----------------------------------------------------------------
  441. ----------------------------------------------------------------
  442. InfoButton.MouseButton1Click:Connect(function()
  443. if Info.Visible == false then
  444. Info.Visible = true
  445. else Info.Visible = false
  446. end
  447. end)
  448.  
  449. X.MouseButton1Click:Connect(function()
  450. WindowH:Destroy()
  451. end)
  452.  
  453. ChangeID.MouseButton1Click:Connect(function()
  454. _G.sound2.SoundId = "rbxassetid://"..ID.Text
  455. _G.sound2:Play()
  456. end)
  457.  
  458. ChangeShape.MouseButton1Click:Connect(function()
  459. _G.ball.Shape = Shape.Text
  460. end)
  461.  
  462. RunDec.MouseButton1Click:Connect(function()
  463. local ln = game:FindFirstChildOfClass("Lighting")
  464.  
  465. local blur = Instance.new("ColorCorrectionEffect",game:FindFirstChildOfClass("Lighting"))
  466. blur.Contrast = 1
  467. blur.Brightness = 0.5
  468.  
  469. local sky = Instance.new("Sky",game:FindFirstChildOfClass("Lighting"))
  470. sky.CelestialBodiesShown = false
  471.  
  472. ln.Brightness = 0
  473. ln.Ambient = Color3.new(0,0,0)
  474. ln.OutdoorAmbient = Color3.new(0,0,0)
  475. ln.TimeOfDay = "00:00:00"
  476. ln.FogEnd = 50
  477. ln.FogColor = Color3.new(0,0,0)
  478.  
  479. end)
  480.  
  481. local id = "565649306"
  482.  
  483. local model = Instance.new("Model", Torso2)
  484. _G.ball = Instance.new("Part", model)
  485. local ball = _G.ball
  486. _G.sound2 = Instance.new("Sound", ball)
  487. local sound = _G.sound2
  488. _G.light = Instance.new("PointLight", ball)
  489. local light = _G.light
  490. local id2 = "rbxassetid://"..id
  491.  
  492. sound.SoundId = id2
  493. ball.Anchored = true
  494. model.Name = "MyAssIsSoCool"
  495. ball.CanCollide = false
  496. sound:Play()
  497. sound.Volume = 10
  498. ball.Shape = "Block"
  499. ball.Material = "Neon"
  500.  
  501. while wait() do
  502. local sp = sound.PlaybackLoudness/50
  503. ball.BrickColor = BrickColor.Random()
  504. ball.CFrame = head.CFrame*CFrame.new(0,6,0)
  505. ball.Size = Vector3.new(sp,sp,sp)
  506. light.Range = sp+15
  507. light.Brightness = sp+25
  508. light.Color = Color3.new(math.random(),math.random(),math.random())
  509. end
  510. end)
  511.  
  512. local KeyboardWeld2 = Instance.new("Weld")
  513. KeyboardWeld2.Part0 = Torso2
  514. KeyboardWeld2.Part1 = Keyboard2
  515. KeyboardWeld2.C0 = CFrame.new(1, 0.4, -3) * CFrame.Angles(2, 0, 0)
  516.  
  517. KeyboardWeld.Parent = Keyboard
  518. Keyboard.Parent = Torso
  519.  
  520. KeyboardWeld2.Parent = Keyboard2
  521. Keyboard2.Parent = Torso2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement