Advertisement
shgsiughiiruhdu12354

Fe color goodbye gift! no and edit

Aug 8th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152. --Draw something, put your sound id in, and watch the light show!--
  153. --Enjoy lads.--
  154. Player=game:GetService("Players").LocalPlayer
  155. Character=Player.Character
  156. Character.Humanoid.Name = "noneofurbusiness"
  157. hum = Character.noneofurbusiness
  158. LeftArm=Character["Left Arm"]
  159. LeftLeg=Character["Left Leg"]
  160. RightArm=Character["Right Arm"]
  161. RightLeg=Character["Right Leg"]
  162. Root=Character["HumanoidRootPart"]
  163. Head=Character["Head"]
  164. Torso=Character["Torso"]
  165. Neck=Torso["Neck"]
  166. mouse = Player:GetMouse()
  167. removeuseless = game:GetService("Debris")
  168. soundIsPlaying = false
  169. number = 0
  170. stop = false
  171. flatt = false
  172. standingg = true
  173. tf = 0
  174. idrewsomething = false
  175. tab2={}
  176. tab={}
  177. blue = false
  178. red = true
  179. green = false
  180. drawingallowed = true
  181. MseGuide = true
  182. RunSrv = game:GetService("RunService")
  183. RenderStepped = game:GetService("RunService").RenderStepped
  184.  
  185. local HEADLERP = Instance.new("ManualWeld")
  186. HEADLERP.Parent = Head
  187. HEADLERP.Part0 = Head
  188. HEADLERP.Part1 = Head
  189. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  190.  
  191. OrgnC0 = Neck.C0
  192. local movelimbs = coroutine.wrap(function()
  193. while RunSrv.RenderStepped:wait() do
  194. TrsoLV = Torso.CFrame.lookVector
  195. Dist = nil
  196. Diff = nil
  197. if not MseGuide then
  198. print("l")
  199. else
  200. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  201. Dist = (Head.CFrame.p-Point).magnitude
  202. Diff = Head.CFrame.Y-Point.Y
  203. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  204. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  205. Diff2 = LeftArm.CFrame.Y-Point.Y
  206. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  207. Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
  208. end
  209. end
  210. end)
  211. movelimbs()
  212.  
  213. godmode = coroutine.wrap(function()---- so you don't get killed by fucking random things
  214. while true do
  215. hum.MaxHealth = math.huge
  216. wait(0.0000001)
  217. hum.Health = math.huge
  218. wait()
  219. end
  220. end)
  221. godmode()
  222. ff = Instance.new("ForceField", Character)
  223. ff.Visible = false
  224.  
  225. coroutine.wrap(function()
  226. mouse.Button1Down:connect(function()
  227. if drawingallowed then
  228. fo = false
  229. while true do
  230. if fo then break end
  231. idrewsomething = true
  232. brick = Instance.new("Part",Character)
  233. brick.Anchored = true
  234. brick.Material = "Neon"
  235. brick.CanCollide = false
  236. brick.BrickColor = BrickColor.new("Really black")
  237. brick.Size = Vector3.new(1,1,1)
  238. brick.CFrame = CFrame.new(mouse.Hit.p)
  239. table.insert(tab2,brick)
  240. light = Instance.new("PointLight", brick)
  241. light.Color = brick.BrickColor.Color
  242. light.Range = 0
  243. light.Enabled = true
  244. light.Shadows = true
  245. light.Brightness = 0
  246. table.insert(tab,light)
  247. wait()
  248. end
  249. end
  250. end)
  251. end)()
  252.  
  253. coroutine.wrap(function()
  254. mouse.Button1Up:connect(function()
  255. if drawingallowed then
  256. fo = true
  257. end
  258. end)
  259. end)()
  260.  
  261. ---GUI---
  262.  
  263. screenGui = Instance.new("ScreenGui")
  264. screenGui.Parent = script.Parent
  265.  
  266. frame = Instance.new("Frame")
  267. frame.Parent = screenGui
  268. frame.Position = UDim2.new(0, 8, 0, 225)
  269. frame.Size = UDim2.new(0, 250, 0, 200)
  270. frame.BackgroundColor3 = BrickColor.new("White").Color
  271. frame.BackgroundTransparency = .5
  272.  
  273. textButton = Instance.new("TextButton")
  274. textButton.Parent = screenGui
  275. textButton.Position = UDim2.new(0, 12, 0, 400)
  276. textButton.Size = UDim2.new(0, 50, 0, 10)
  277. textButton.BackgroundColor3 = BrickColor.new("Really red").Color
  278. textButton.Text = "Red"
  279.  
  280. textButton.MouseButton1Down:connect(function()
  281. red = true
  282. green = false
  283. blue = false
  284. rainbow = false
  285. smooth = false
  286. end)
  287.  
  288. textButton2 = Instance.new("TextButton")
  289. textButton2.Parent = screenGui
  290. textButton2.Position = UDim2.new(0, 75, 0, 400)
  291. textButton2.Size = UDim2.new(0, 50, 0, 10)
  292. textButton2.BackgroundColor3 = BrickColor.new("Really blue").Color
  293. textButton2.Text = "Blue"
  294.  
  295. textButton2.MouseButton1Down:connect(function()
  296. red = false
  297. green = false
  298. blue = true
  299. rainbow = false
  300. smooth = false
  301. end)
  302.  
  303. textButton3 = Instance.new("TextButton")
  304. textButton3.Parent = screenGui
  305. textButton3.Position = UDim2.new(0, 138, 0, 400)
  306. textButton3.Size = UDim2.new(0, 50, 0, 10)
  307. textButton3.BackgroundColor3 = BrickColor.new("Lime green").Color
  308. textButton3.Text = "Green"
  309.  
  310. textButton3.MouseButton1Down:connect(function()
  311. red = false
  312. green = true
  313. blue = false
  314. rainbow = false
  315. smooth = false
  316. end)
  317.  
  318. textButton4 = Instance.new("TextButton")
  319. textButton4.Parent = screenGui
  320. textButton4.Position = UDim2.new(0, 201, 0, 400)
  321. textButton4.Size = UDim2.new(0, 50, 0, 10)
  322. coroutine.wrap(function()
  323. while true do
  324. textButton4.BackgroundColor3 = BrickColor.Random().Color
  325. wait(.05)
  326. end
  327. end)()
  328. textButton4.Text = "Rainbow"
  329.  
  330. textButton4.MouseButton1Down:connect(function()
  331. red = false
  332. green = false
  333. blue = false
  334. rainbow = true
  335. smooth = false
  336. end)
  337.  
  338. textBox = Instance.new("TextBox")
  339. textBox.Parent = screenGui
  340. textBox.Position = UDim2.new(0, 58, 0, 280)
  341. textBox.Size = UDim2.new(0, 150, 0, 20)
  342. textBox.BackgroundColor3 = BrickColor.new("White").Color
  343. textBox.Text = "Type Sound Id here"
  344.  
  345. form = Instance.new("TextButton")
  346. form.Parent = screenGui
  347. form.TextScaled = true
  348. form.Position = UDim2.new(0, 114, 0, 305)
  349. form.Size = UDim2.new(0, 40, 0, 20)
  350. form.BackgroundColor3 = BrickColor.new("White").Color
  351. form.Text = "Up"
  352.  
  353. form.MouseButton1Down:connect(function()
  354. if standingg then
  355. standingg = false
  356. flatt = true
  357. form.Text = "Flat"
  358. elseif flatt then
  359. flatt = false
  360. standingg = true
  361. form.Text = "Up"
  362. end
  363. end)
  364.  
  365. coroutine.wrap(function()
  366. while wait() do
  367. sid = textBox.Text
  368. end
  369. end)()
  370.  
  371. playbutton = Instance.new("TextButton")
  372. playbutton.Parent = screenGui
  373. playbutton.Position = UDim2.new(0, 58, 0, 305)
  374. playbutton.Size = UDim2.new(0, 50, 0, 20)
  375. playbutton.BackgroundColor3 = BrickColor.new("White").Color
  376. playbutton.Text = "Play"
  377.  
  378. playbutton.MouseButton1Down:connect(function()
  379. if not idrewsomething then return end
  380. if soundIsPlaying then
  381. sound1:Remove()
  382. sound1 = Instance.new("Sound", Character)
  383. sound1.Looped = true
  384. sound1.SoundId = "http://www.roblox.com/asset/?id=" .. sid
  385. sound1:Play()
  386. else
  387. soundIsPlaying = true
  388. vol.Text = 1
  389. pitch.Text = 1
  390. sound1 = Instance.new("Sound", Character)
  391. coroutine.wrap(function()
  392. while soundIsPlaying do
  393. wait()
  394. sound1.Volume = svol
  395. end
  396. end)()
  397. sound1.Looped = true
  398. coroutine.wrap(function()
  399. while soundIsPlaying do
  400. sound1.Pitch = pitchh
  401. wait()
  402. end
  403. end)()
  404. sound1.SoundId = "http://www.roblox.com/asset/?id=" .. sid
  405. sound1:Play()
  406. coroutine.wrap(function()
  407. while sound1.IsPlaying and soundIsPlaying do
  408. for i,v in pairs(tab) do
  409. v.Enabled = true
  410. v.Brightness = sound1.PlaybackLoudness/19
  411. v.Range = sound1.PlaybackLoudness/15
  412. if red then
  413. v.Color = Color3.new(sound1.PlaybackLoudness/200, 0,0)
  414. elseif blue then
  415. v.Color = Color3.new(0, 0,sound1.PlaybackLoudness/200)
  416. elseif green then
  417. v.Color = Color3.new(0, sound1.PlaybackLoudness/200,0)
  418. elseif rainbow then
  419. v.Color = brick.BrickColor.Color
  420. end
  421. end
  422. wait()
  423. end
  424. end)()
  425. while sound1.IsPlaying and soundIsPlaying do
  426. workspace.CurrentCamera.FieldOfView = 70 - sound1.PlaybackLoudness/100
  427. bcol = brick.BrickColor
  428. for _,v in pairs(tab2) do
  429. if standingg then
  430. v.Size = Vector3.new(1, sound1.PlaybackLoudness/math.random(10,25), 1)
  431. elseif flatt then
  432. v.Size = Vector3.new(sound1.PlaybackLoudness/math.random(10,25), 1, 1)
  433. end
  434. if red then
  435. v.BrickColor = BrickColor.new(Color3.new(sound1.PlaybackLoudness/200, 0,0))
  436. elseif blue then
  437. v.BrickColor = BrickColor.new(Color3.new(0,0,sound1.PlaybackLoudness/200))
  438. elseif green then
  439. v.BrickColor = BrickColor.new(Color3.new(0,sound1.PlaybackLoudness/200,0))
  440. elseif rainbow then
  441. v.BrickColor = BrickColor.Random()
  442. end
  443. end
  444. wait()
  445. end
  446. end
  447. end)
  448.  
  449. local stopbutton = Instance.new("TextButton")
  450. stopbutton.Parent = screenGui
  451. stopbutton.Position = UDim2.new(0, 158, 0, 305)
  452. stopbutton.Size = UDim2.new(0, 50, 0, 20)
  453. stopbutton.BackgroundColor3 = BrickColor.new("White").Color
  454. stopbutton.Text = "Stop"
  455.  
  456. vol = Instance.new("TextBox")
  457. vol.Parent = screenGui
  458. vol.Position = UDim2.new(0, 58, 0, 330)
  459. vol.Size = UDim2.new(0, 50, 0, 20)
  460. vol.BackgroundColor3 = BrickColor.new("White").Color
  461. vol.Text = "Volume"
  462.  
  463. coroutine.wrap(function()
  464. while wait() do
  465. svol = vol.Text
  466. end
  467. end)()
  468.  
  469. local remove = Instance.new("TextButton")
  470. remove.Parent = screenGui
  471. remove.Position = UDim2.new(0, 108, 0, 370)
  472. remove.Size = UDim2.new(0, 50, 0, 20)
  473. remove.BackgroundColor3 = BrickColor.new("White").Color
  474. remove.Text = "Clean"
  475.  
  476. pitch = Instance.new("TextBox")
  477. pitch.Parent = screenGui
  478. pitch.Position = UDim2.new(0, 158, 0, 330)
  479. pitch.Size = UDim2.new(0, 50, 0, 20)
  480. pitch.BackgroundColor3 = BrickColor.new("White").Color
  481. pitch.Text = "Pitch"
  482.  
  483. coroutine.wrap(function()
  484. while wait() do
  485. pitchh = pitch.Text
  486. end
  487. end)()
  488.  
  489. pitchup = Instance.new("ImageButton")
  490. pitchup.Parent = screenGui
  491. pitchup.Position = UDim2.new(0, 131, 0, 327)
  492. pitchup.BackgroundTransparency = 1
  493. pitchup.Size = UDim2.new(0, 25, 0, 25)
  494. pitchup.Image = "rbxassetid://29563813"
  495.  
  496. pitchup.MouseButton1Down:connect(function()
  497. if soundIsPlaying then
  498. pitch.Text = pitch.Text + .1
  499. end
  500. end)
  501.  
  502. pitchdown = Instance.new("ImageButton")
  503. pitchdown.Parent = screenGui
  504. pitchdown.Rotation = 180
  505. pitchdown.Position = UDim2.new(0, 211, 0, 327)
  506. pitchdown.BackgroundTransparency = 1
  507. pitchdown.Size = UDim2.new(0, 25, 0, 25)
  508. pitchdown.Image = "rbxassetid://29563813"
  509.  
  510. pitchdown.MouseButton1Down:connect(function()
  511. if soundIsPlaying then
  512. pitch.Text = pitch.Text - .1
  513. end
  514. end)
  515.  
  516. remove.MouseButton1Down:connect(function()
  517. if idrewsomething then
  518. if soundIsPlaying then
  519. soundIsPlaying = false
  520. workspace.CurrentCamera.FieldOfView = 70
  521. woosh = Instance.new("Sound",Character)
  522. woosh.Volume = 2
  523. woosh.SoundId = "rbxasstid://215402014"
  524. woosh:Play()
  525. sound1:Stop()
  526. pitch.Text = "Pitch"
  527. vol.Text = "Volume"
  528. removeuseless:AddItem(woosh,2)
  529. for _,v in pairs(tab2) do
  530. v:Remove()
  531. end
  532. idrewsomething = false
  533. elseif not soundIsPlaying then
  534. soundIsPlaying = false
  535. woosh = Instance.new("Sound",Character)
  536. woosh.Volume = 2
  537. woosh.SoundId = "rbxasstid://215402014"
  538. woosh:Play()
  539. for _,v in pairs(tab2) do
  540. v:Remove()
  541. end
  542. idrewsomething = false
  543. end
  544. end
  545. end)
  546.  
  547. local day = Instance.new("TextButton")
  548. day.Parent = screenGui
  549. day.Position = UDim2.new(0, 50, 0, 370)
  550. day.Size = UDim2.new(0, 50, 0, 20)
  551. day.BackgroundColor3 = BrickColor.new("Bright yellow").Color
  552. day.Text = "Day"
  553.  
  554. day.MouseButton1Down:connect(function()
  555. daytime = true
  556. nighttime = false
  557. turnon = Instance.new("Sound",Character)
  558. turnon.SoundId = "rbxassetid://858896518"
  559. turnon.Volume = 1
  560. turnon.Pitch = 1.05
  561. turnon:Play()
  562. removeuseless:AddItem(turnon,2)
  563. coroutine.wrap(function()
  564. while daytime do
  565. game.Lighting.TimeOfDay = 12
  566. game.Lighting.GlobalShadows = true
  567. game.Lighting.Ambient = Color3.fromRGB(10,10,10)
  568. game.Lighting.Brightness = 1
  569. wait()
  570. end
  571. end)()
  572. end)
  573.  
  574. local night = Instance.new("TextButton")
  575. night.Parent = screenGui
  576. night.Position = UDim2.new(0, 165, 0, 370)
  577. night.Size = UDim2.new(0, 50, 0, 20)
  578. night.BackgroundColor3 = BrickColor.new("Really black").Color
  579. night.TextColor = BrickColor.new("White")
  580. night.Text = "Night"
  581.  
  582. night.MouseButton1Down:connect(function()
  583. daytime = false
  584. nighttime = true
  585. turnoff = Instance.new("Sound",Character)
  586. turnoff.SoundId = "rbxassetid://858896518"
  587. turnoff.Volume = 1
  588. turnoff.Pitch = .9
  589. turnoff:Play()
  590. removeuseless:AddItem(turnoff,2)
  591. coroutine.wrap(function()
  592. while nighttime do
  593. game.Lighting.TimeOfDay = 0
  594. game.Lighting.GlobalShadows = false
  595. game.Lighting.Ambient = Color3.new(0,0,0)
  596. game.Lighting.Brightness = 0
  597. wait()
  598. end
  599. end)()
  600. end)
  601.  
  602. volumeup = Instance.new("ImageButton")
  603. volumeup.Parent = screenGui
  604. volumeup.Position = UDim2.new(0, 29, 0, 327)
  605. volumeup.BackgroundTransparency = 1
  606. volumeup.Size = UDim2.new(0, 25, 0, 25)
  607. volumeup.Image = "rbxassetid://29563813"
  608.  
  609. volumeup.MouseButton1Down:connect(function()
  610. if soundIsPlaying then
  611. vol.Text = vol.Text + 1
  612. end
  613. end)
  614.  
  615. volumedown = Instance.new("ImageButton")
  616. volumedown.Parent = screenGui
  617. volumedown.Rotation = 180
  618. volumedown.Position = UDim2.new(0, 111, 0, 327)
  619. volumedown.BackgroundTransparency = 1
  620. volumedown.Size = UDim2.new(0, 25, 0, 25)
  621. volumedown.Image = "rbxassetid://29563813"
  622.  
  623. Supr14 = Instance.new("ImageLabel")
  624. Supr14.Parent = screenGui
  625. Supr14.Rotation = 0
  626. Supr14.Position = UDim2.new(0, 13, 0, 222)
  627. Supr14.BackgroundTransparency = 1
  628. Supr14.Size = UDim2.new(0, 240, 0, 60)
  629. Supr14.Image = "rbxassetid://1815697653"
  630.  
  631. volumedown.MouseButton1Down:connect(function()
  632. if soundIsPlaying then
  633. vol.Text = vol.Text - 1
  634. end
  635. end)
  636.  
  637. stopbutton.MouseButton1Down:connect(function()
  638. if idrewsomething then
  639. if soundIsPlaying then
  640. sound1:Remove()
  641. soundIsPlaying = false
  642. workspace.CurrentCamera.FieldOfView = 70
  643. pitch.Text = "Pitch"
  644. vol.Text = "Volume"
  645. for i,v in pairs(tab) do
  646. v.Enabled = false
  647. end
  648. for i = 1, 10 do
  649. for _,v in pairs(tab2) do
  650. v.BrickColor = BrickColor.new("Really black")
  651. v.Size = v.Size - Vector3.new(0,15,0)
  652. end
  653. wait()
  654. end
  655. end
  656. end
  657. end)
  658.  
  659. print("Drawing visualiser!, Made by Supr14")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement