SHARE
TWEET

draw script fe ver

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