SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
| |
| 2 | do | |
| 3 | script.Parent = owner.Character | |
| 4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
| |
| 5 | local function NewFakeEvent() | |
| 6 | local Bind = Instance.new("BindableEvent")
| |
| 7 | local Fake;Fake = {Connections = {},
| |
| 8 | fakeEvent=true; | |
| 9 | Connect=function(self,Func) | |
| 10 | Bind.Event:connect(Func) | |
| 11 | self.Connections[Bind] = true | |
| 12 | return setmetatable({Connected = true},{
| |
| 13 | __index = function (self,Index) | |
| 14 | if Index:lower() == "disconnect" then | |
| 15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
| 16 | end | |
| 17 | return Fake[Index] | |
| 18 | end; | |
| 19 | __tostring = function() return "Connection" end; | |
| 20 | }) | |
| 21 | end} | |
| 22 | Fake.connect = Fake.Connect;return Fake; | |
| 23 | end | |
| 24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
| |
| 25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
| |
| 26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
| |
| 27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
| |
| 28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
| 29 | local function TriggerEvent(self,Event,...) | |
| 30 | local Trigger = Mouse[Event] | |
| 31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
| 32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
| 33 | end | |
| 34 | end | |
| 35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
| 36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
| 37 | if FiredBy.Name ~= owner.Name then return end | |
| 38 | if Input.MouseEvent then | |
| 39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
| 40 | else | |
| 41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
| 42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
| 43 | for _,Action in pairs(ContextActionService.Actions) do | |
| 44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
| 45 | end | |
| 46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
| 47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
| 48 | end | |
| 49 | end) | |
| 50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
| 51 | Event.Parent = NLS([[ | |
| 52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
| |
| 53 | local Input = function(Input,gameProcessedEvent) | |
| 54 | if gameProcessedEvent then return end | |
| 55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
| |
| 56 | end | |
| 57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
| 58 | local Hit,Target | |
| 59 | while wait(1/30) do | |
| 60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
| 61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
| |
| 62 | end | |
| 63 | end | |
| 64 | ]],owner.Character) | |
| 65 | end | |
| 66 | RealGame = game;game = setmetatable({},{
| |
| 67 | __index = function (self,Index) | |
| 68 | local Sandbox = function (Thing) | |
| 69 | if Thing:IsA("Player") then
| |
| 70 | local RealPlayer = Thing | |
| 71 | return setmetatable({},{
| |
| 72 | __index = function (self,Index) | |
| 73 | local Type = type(RealPlayer[Index]) | |
| 74 | if Type == "function" then | |
| 75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
| 76 | return function (self)return InternalData["Mouse"] end | |
| 77 | end | |
| 78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
| 79 | end | |
| 80 | return RealPlayer[Index] | |
| 81 | end; | |
| 82 | __tostring = function(self) return RealPlayer.Name end | |
| 83 | }) | |
| 84 | end | |
| 85 | end | |
| 86 | if RealGame[Index] then | |
| 87 | local Type = type(RealGame[Index]) | |
| 88 | if Type == "function" then | |
| 89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
| 90 | return function (self,Service) | |
| 91 | local FakeServices = {
| |
| 92 | ["players"] = function() | |
| 93 | return setmetatable({},{
| |
| 94 | __index = function (self2,Index2) | |
| 95 | local RealService = RealGame:GetService(Service) | |
| 96 | local Type2 = type(Index2) | |
| 97 | if Type2 == "function" then | |
| 98 | return function (self,...) return RealService[Index2](RealService,...)end | |
| 99 | else | |
| 100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
| 101 | return RealService[Index2] | |
| 102 | end | |
| 103 | end; | |
| 104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
| 105 | }) | |
| 106 | end; | |
| 107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
| 108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
| 109 | ["runservice"] = function() | |
| 110 | return setmetatable({},{
| |
| 111 | __index = function(self2,Index2) | |
| 112 | local RealService = RealGame:GetService(Service) | |
| 113 | local Type2 = type(Index2) | |
| 114 | if Type2 == "function" then | |
| 115 | return function (self,...) return RealService[Index2](RealService,...) end | |
| 116 | else | |
| 117 | local RunServices = {
| |
| 118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
| |
| 119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
| 120 | } | |
| 121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
| 122 | return RealService[Index2] | |
| 123 | end | |
| 124 | end | |
| 125 | }) | |
| 126 | end | |
| 127 | } | |
| 128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
| 129 | return RealGame:GetService(Service) | |
| 130 | end | |
| 131 | end | |
| 132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
| 133 | else | |
| 134 | if game:GetService(Index) then return game:GetService(Index) end | |
| 135 | return RealGame[Index] | |
| 136 | end | |
| 137 | end | |
| 138 | return nil | |
| 139 | end | |
| 140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
| |
| 141 | ||
| 142 | --[[ | |
| 143 | edited by mr steal yo bork with a sweet gui | |
| 144 | credits goes to the original creators | |
| 145 | --]] | |
| 146 | ||
| 147 | -- visualizer | |
| 148 | local Parts = {}
| |
| 149 | local Parts2 = {}
| |
| 150 | local Direction = 1 | |
| 151 | local loudness = 0 | |
| 152 | local TColor = BrickColor.new("Black")
| |
| 153 | for i = 1, 100 do | |
| 154 | local p = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
| |
| 155 | p.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 156 | p.Anchored = true | |
| 157 | p.CanCollide = false | |
| 158 | p.Material = "Neon" | |
| 159 | p.Position = game.Players.LocalPlayer.Character.Torso.Position | |
| 160 | table.insert(Parts, p) | |
| 161 | end | |
| 162 | for i = 1, 100 do | |
| 163 | local p = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
| |
| 164 | p.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 165 | p.Anchored = true | |
| 166 | p.CanCollide = false | |
| 167 | p.Material = "Neon" | |
| 168 | p.Position = game.Players.LocalPlayer.Character.Torso.Position | |
| 169 | table.insert(Parts2, p) | |
| 170 | end | |
| 171 | local sound = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
| |
| 172 | sound.SoundId = "rbxassetid://574539049" | |
| 173 | sound.Volume = 1 | |
| 174 | sound:Play() | |
| 175 | spawn(function() | |
| 176 | local SelectedPart = 0 | |
| 177 | while true do | |
| 178 | if Direction == 1 then | |
| 179 | if SelectedPart < #Parts then | |
| 180 | SelectedPart = SelectedPart + Direction | |
| 181 | else | |
| 182 | Direction = -1 | |
| 183 | TColor = BrickColor.Random() | |
| 184 | end | |
| 185 | elseif Direction == -1 then | |
| 186 | if SelectedPart > 1 then | |
| 187 | SelectedPart = SelectedPart + Direction | |
| 188 | else | |
| 189 | Direction = 1 | |
| 190 | TColor = BrickColor.Random() | |
| 191 | end | |
| 192 | end | |
| 193 | local sel = Parts[SelectedPart] | |
| 194 | local sel2 = Parts2[SelectedPart] | |
| 195 | sel.BrickColor = BrickColor.Random() | |
| 196 | sel2.BrickColor = BrickColor.Random() | |
| 197 | loudness = sound.PlaybackLoudness / 500 | |
| 198 | sel.Size = Vector3.new(loudness, loudness, 0.2) | |
| 199 | sel2.Size = Vector3.new(loudness, loudness, 0.2) | |
| 200 | wait() | |
| 201 | sel.BrickColor = TColor | |
| 202 | sel2.BrickColor = TColor | |
| 203 | end | |
| 204 | end) | |
| 205 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 206 | for i = 1, #Parts do | |
| 207 | if i == 1 then | |
| 208 | Parts[i].CFrame = Parts[i].CFrame:lerp(game.Players.LocalPlayer.Character.Torso.CFrame, 0.9) | |
| 209 | else | |
| 210 | Parts[i].CFrame = Parts[i].CFrame:lerp(Parts[i - 1].CFrame * CFrame.Angles(-loudness / 20, math.sin(-loudness / 50), 0) * CFrame.new(0, 0, 0.15), 0.8) | |
| 211 | end | |
| 212 | end | |
| 213 | for i = 1, #Parts2 do | |
| 214 | if i == 1 then | |
| 215 | Parts2[i].CFrame = Parts2[i].CFrame:lerp(game.Players.LocalPlayer.Character.Torso.CFrame, 0.9) | |
| 216 | else | |
| 217 | Parts2[i].CFrame = Parts2[i].CFrame:lerp(Parts2[i - 1].CFrame * CFrame.Angles(-loudness / 20, math.sin(loudness / 50), 0) * CFrame.new(0, 0, 0.15), 0.8) | |
| 218 | end | |
| 219 | end | |
| 220 | end) | |
| 221 | ||
| 222 | -- visualizer gui | |
| 223 | ||
| 224 | local visualizergui = Instance.new("ScreenGui")
| |
| 225 | local Frame = Instance.new("Frame")
| |
| 226 | local idvalue = Instance.new("TextBox")
| |
| 227 | local play = Instance.new("TextButton")
| |
| 228 | local volume = Instance.new("TextBox")
| |
| 229 | local pitch = Instance.new("TextBox")
| |
| 230 | local close = Instance.new("TextButton")
| |
| 231 | local min = Instance.new("TextButton")
| |
| 232 | local credits = Instance.new("TextLabel")
| |
| 233 | local open = Instance.new("TextButton")
| |
| 234 | local set2 = Instance.new("TextButton")
| |
| 235 | local set1 = Instance.new("TextButton")
| |
| 236 | local loop = Instance.new("TextButton")
| |
| 237 | ||
| 238 | --properties xd | |
| 239 | visualizergui.Name = "visualizergui" | |
| 240 | visualizergui.Parent = game.Players.LocalPlayer.PlayerGui | |
| 241 | ||
| 242 | Frame.Parent = visualizergui | |
| 243 | Frame.BackgroundColor3 = Color3.new(0.701961, 0.952941, 1) | |
| 244 | Frame.BackgroundTransparency = 0.20000000298023 | |
| 245 | Frame.BorderColor3 = Color3.new(0.211765, 0.329412, 0.415686) | |
| 246 | Frame.BorderSizePixel = 8 | |
| 247 | Frame.Position = UDim2.new(0, 51, 0, 213) | |
| 248 | Frame.Size = UDim2.new(0, 418, 0, 213) | |
| 249 | Frame.Active = true | |
| 250 | Frame.Draggable = true | |
| 251 | Frame.Visible = false | |
| 252 | ||
| 253 | idvalue.Name = "idvalue" | |
| 254 | idvalue.Parent = Frame | |
| 255 | idvalue.BackgroundColor3 = Color3.new(0.666667, 1, 1) | |
| 256 | idvalue.BackgroundTransparency = 0.5 | |
| 257 | idvalue.Size = UDim2.new(0, 418, 0, 50) | |
| 258 | idvalue.Font = Enum.Font.Fantasy | |
| 259 | idvalue.FontSize = Enum.FontSize.Size24 | |
| 260 | idvalue.Text = "Put ID plz" | |
| 261 | idvalue.TextSize = 24 | |
| 262 | ||
| 263 | play.Name = "play" | |
| 264 | play.Parent = Frame | |
| 265 | play.BackgroundColor3 = Color3.new(0.666667, 1, 1) | |
| 266 | play.BackgroundTransparency = 0.44999998807907 | |
| 267 | play.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882) | |
| 268 | play.BorderSizePixel = 3 | |
| 269 | play.Position = UDim2.new(0, 9, 0, 82) | |
| 270 | play.Size = UDim2.new(0, 117, 0, 50) | |
| 271 | play.Font = Enum.Font.SourceSans | |
| 272 | play.FontSize = Enum.FontSize.Size28 | |
| 273 | play.Text = "Play" | |
| 274 | play.TextSize = 28 | |
| 275 | ||
| 276 | volume.Name = "volume" | |
| 277 | volume.Parent = Frame | |
| 278 | volume.BackgroundColor3 = Color3.new(0.666667, 1, 1) | |
| 279 | volume.BackgroundTransparency = 0.44999998807907 | |
| 280 | volume.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882) | |
| 281 | volume.BorderSizePixel = 3 | |
| 282 | volume.Position = UDim2.new(0, 151, 0, 82) | |
| 283 | volume.Size = UDim2.new(0, 117, 0, 50) | |
| 284 | volume.Font = Enum.Font.SourceSans | |
| 285 | volume.FontSize = Enum.FontSize.Size28 | |
| 286 | volume.Text = "Volume" | |
| 287 | volume.TextSize = 28 | |
| 288 | ||
| 289 | pitch.Name = "pitch" | |
| 290 | pitch.Parent = Frame | |
| 291 | pitch.BackgroundColor3 = Color3.new(0.666667, 1, 1) | |
| 292 | pitch.BackgroundTransparency = 0.44999998807907 | |
| 293 | pitch.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882) | |
| 294 | pitch.BorderSizePixel = 3 | |
| 295 | pitch.Position = UDim2.new(0, 291, 0, 82) | |
| 296 | pitch.Size = UDim2.new(0, 117, 0, 50) | |
| 297 | pitch.Font = Enum.Font.SourceSans | |
| 298 | pitch.FontSize = Enum.FontSize.Size28 | |
| 299 | pitch.Text = "Pitch" | |
| 300 | pitch.TextSize = 28 | |
| 301 | ||
| 302 | close.Name = "close" | |
| 303 | close.Parent = Frame | |
| 304 | close.BackgroundColor3 = Color3.new(1, 0, 0.0156863) | |
| 305 | close.BackgroundTransparency = 0.40000000596046 | |
| 306 | close.Position = UDim2.new(0, 393, 0, 190) | |
| 307 | close.Size = UDim2.new(0, 25, 0, 23) | |
| 308 | close.Font = Enum.Font.SourceSans | |
| 309 | close.FontSize = Enum.FontSize.Size28 | |
| 310 | close.Text = "X" | |
| 311 | close.TextSize = 28 | |
| 312 | ||
| 313 | min.Name = "min" | |
| 314 | min.Parent = Frame | |
| 315 | min.BackgroundColor3 = Color3.new(0.286275, 0.286275, 1) | |
| 316 | min.BackgroundTransparency = 0.40000000596046 | |
| 317 | min.Position = UDim2.new(0, 357, 0, 190) | |
| 318 | min.Size = UDim2.new(0, 25, 0, 23) | |
| 319 | min.Font = Enum.Font.SourceSans | |
| 320 | min.FontSize = Enum.FontSize.Size36 | |
| 321 | min.Text = "-" | |
| 322 | min.TextSize = 36 | |
| 323 | ||
| 324 | credits.Name = "credits" | |
| 325 | credits.Parent = Frame | |
| 326 | credits.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 327 | credits.BackgroundTransparency = 1 | |
| 328 | credits.Position = UDim2.new(0, 0, 0, 161) | |
| 329 | credits.Size = UDim2.new(0, 200, 0, 52) | |
| 330 | credits.Font = Enum.Font.SourceSans | |
| 331 | credits.FontSize = Enum.FontSize.Size14 | |
| 332 | credits.Text = "credits to mr steal yo bork for gui, i didn't make the visualizer credits to whoever leaked it or made it." | |
| 333 | credits.TextSize = 14 | |
| 334 | credits.TextWrapped = true | |
| 335 | ||
| 336 | open.Name = "open" | |
| 337 | open.Parent = visualizergui | |
| 338 | open.BackgroundColor3 = Color3.new(0.666667, 1, 1) | |
| 339 | open.BackgroundTransparency = 0.44999998807907 | |
| 340 | open.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882) | |
| 341 | open.BorderSizePixel = 3 | |
| 342 | open.Position = UDim2.new(0, 0, 0, 400) | |
| 343 | open.Size = UDim2.new(0, 59, 0, 50) | |
| 344 | open.Font = Enum.Font.SourceSans | |
| 345 | open.FontSize = Enum.FontSize.Size28 | |
| 346 | open.Text = "Open" | |
| 347 | open.TextSize = 28 | |
| 348 | open.Visible = false | |
| 349 | ||
| 350 | set2.Name = "set2" | |
| 351 | set2.Parent = Frame | |
| 352 | set2.BackgroundColor3 = Color3.new(0.666667, 1, 1) | |
| 353 | set2.BackgroundTransparency = 0.44999998807907 | |
| 354 | set2.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882) | |
| 355 | set2.BorderSizePixel = 3 | |
| 356 | set2.Position = UDim2.new(0, 325, 0, 136) | |
| 357 | set2.Size = UDim2.new(0, 55, 0, 25) | |
| 358 | set2.Font = Enum.Font.SourceSans | |
| 359 | set2.FontSize = Enum.FontSize.Size24 | |
| 360 | set2.Text = "Set" | |
| 361 | set2.TextSize = 24 | |
| 362 | set2.TextWrapped = true | |
| 363 | ||
| 364 | set1.Name = "set1" | |
| 365 | set1.Parent = Frame | |
| 366 | set1.BackgroundColor3 = Color3.new(0.666667, 1, 1) | |
| 367 | set1.BackgroundTransparency = 0.44999998807907 | |
| 368 | set1.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882) | |
| 369 | set1.BorderSizePixel = 3 | |
| 370 | set1.Position = UDim2.new(0, 181, 0, 136) | |
| 371 | set1.Size = UDim2.new(0, 55, 0, 25) | |
| 372 | set1.Font = Enum.Font.SourceSans | |
| 373 | set1.FontSize = Enum.FontSize.Size24 | |
| 374 | set1.Text = "Set" | |
| 375 | set1.TextSize = 24 | |
| 376 | set1.TextWrapped = true | |
| 377 | ||
| 378 | loop.Name = "loop" | |
| 379 | loop.Parent = Frame | |
| 380 | loop.BackgroundColor3 = Color3.new(0.666667, 1, 1) | |
| 381 | loop.BackgroundTransparency = 0.44999998807907 | |
| 382 | loop.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882) | |
| 383 | loop.BorderSizePixel = 3 | |
| 384 | loop.Position = UDim2.new(0, 241, 0, 188) | |
| 385 | loop.Size = UDim2.new(0, 84, 0, 25) | |
| 386 | loop.Font = Enum.Font.SourceSans | |
| 387 | loop.FontSize = Enum.FontSize.Size18 | |
| 388 | loop.Text = "Loop : OFF" | |
| 389 | loop.TextSize = 18 | |
| 390 | loop.TextWrapped = true | |
| 391 | ||
| 392 | -- functions | |
| 393 | function start() | |
| 394 | wait(0.5) | |
| 395 | Frame.Position = UDim2.new(0, -500, 0, 400) | |
| 396 | Frame.Visible = true | |
| 397 | Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,1) | |
| 398 | end | |
| 399 | ||
| 400 | if game.Players.LocalPlayer.Character then | |
| 401 | start() | |
| 402 | else | |
| 403 | print'character not found plz try again XD' | |
| 404 | end | |
| 405 | ||
| 406 | function minimize() | |
| 407 | Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,1) | |
| 408 | credits.Text = "" | |
| 409 | min.Text = "" | |
| 410 | close.Text = "" | |
| 411 | play.Text = "" | |
| 412 | pitch.Text = "" | |
| 413 | volume.Text = "" | |
| 414 | idvalue.Text = "" | |
| 415 | set1.Text = "" | |
| 416 | set2.Text = "" | |
| 417 | loop.Text = "" | |
| 418 | Frame:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 419 | credits:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 420 | min:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 421 | close:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 422 | idvalue:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 423 | volume:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 424 | play:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 425 | pitch:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 426 | loop:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 427 | set1:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 428 | set2:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 429 | Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 430 | wait(0.5) | |
| 431 | Frame.Visible = false | |
| 432 | open.Visible = true | |
| 433 | end | |
| 434 | ||
| 435 | function show() | |
| 436 | open.Visible = false | |
| 437 | Frame.Position = UDim2.new(0, -500, 0, 400) | |
| 438 | Frame.Visible = true | |
| 439 | credits.Text = "credits to me for gui, i didn't make the visualizer credits to whoever leaked it or made it." | |
| 440 | min.Text = "-" | |
| 441 | close.Text = "X" | |
| 442 | play.Text = "Play" | |
| 443 | pitch.Text = "Pitch" | |
| 444 | volume.Text = "Volume" | |
| 445 | idvalue.Text = "Put ID plz" | |
| 446 | set1.Text = "Set" | |
| 447 | set2.Text = "Set" | |
| 448 | loop.Text = "Loop : OFF" | |
| 449 | Frame:TweenSize(UDim2.new(0, 418, 0, 213),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 450 | credits:TweenSize(UDim2.new(0, 200, 0, 52),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 451 | min:TweenSize(UDim2.new(0, 25, 0, 23),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 452 | close:TweenSize(UDim2.new(0, 25, 0, 23),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 453 | idvalue:TweenSize(UDim2.new(0, 418, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 454 | volume:TweenSize(UDim2.new(0, 117, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 455 | play:TweenSize(UDim2.new(0, 117, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 456 | pitch:TweenSize(UDim2.new(0, 117, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 457 | set1:TweenSize(UDim2.new(0, 55, 0, 25),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 458 | loop:TweenSize(UDim2.new(0, 84, 0, 25),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 459 | set2:TweenSize(UDim2.new(0, 55, 0, 25),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 460 | Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint, 0.5) | |
| 461 | end | |
| 462 | ||
| 463 | function exitdatshit() | |
| 464 | Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,1) | |
| 465 | credits.Text = "" | |
| 466 | min.Text = "" | |
| 467 | close.Text = "" | |
| 468 | play.Text = "" | |
| 469 | pitch.Text = "" | |
| 470 | volume.Text = "" | |
| 471 | idvalue.Text = "" | |
| 472 | Frame:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 473 | credits:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 474 | min:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 475 | close:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 476 | idvalue:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 477 | volume:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 478 | play:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 479 | pitch:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 480 | set1:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 481 | set2:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 482 | loop:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 483 | Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5) | |
| 484 | wait(0.5) | |
| 485 | visualizergui:Destroy() | |
| 486 | end | |
| 487 | ||
| 488 | -- events | |
| 489 | wait(1) | |
| 490 | min.MouseButton1Down:connect(function() | |
| 491 | minimize() | |
| 492 | end) | |
| 493 | ||
| 494 | open.MouseButton1Down:connect(function() | |
| 495 | show() | |
| 496 | end) | |
| 497 | ||
| 498 | close.MouseButton1Down:connect(function() | |
| 499 | exitdatshit() | |
| 500 | end) | |
| 501 | ||
| 502 | set1.MouseButton1Down:connect(function() | |
| 503 | sound.Volume = volume.Text | |
| 504 | end) | |
| 505 | ||
| 506 | set2.MouseButton1Down:connect(function() | |
| 507 | sound.Pitch = pitch.Text | |
| 508 | end) | |
| 509 | ||
| 510 | play.MouseButton1Down:connect(function() | |
| 511 | sound.TimePosition = 0 | |
| 512 | sound.SoundId = "rbxassetid://" .. idvalue.Text | |
| 513 | end) | |
| 514 | ||
| 515 | loop.MouseButton1Down:connect(function() | |
| 516 | if loop.Text == "Loop : OFF" then | |
| 517 | sound.Looped = true | |
| 518 | loop.Text = "Loop : ON" | |
| 519 | else | |
| 520 | sound.Looped = false | |
| 521 | loop.Text = "Loop : OFF" | |
| 522 | end | |
| 523 | end) |