Advertisement
RblxVoidScriptBuild

test

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