SHARE
TWEET

Untitled

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