Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
- do
- script.Parent = owner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
- local function NewFakeEvent()
- local Bind = Instance.new("BindableEvent")
- local Fake;Fake = {Connections = {},
- fakeEvent=true;
- Connect=function(self,Func)
- Bind.Event:connect(Func)
- self.Connections[Bind] = true
- return setmetatable({Connected = true},{
- __index = function (self,Index)
- if Index:lower() == "disconnect" then
- return function() Fake.Connections[Bind] = false;self.Connected = false end
- end
- return Fake[Index]
- end;
- __tostring = function() return "Connection" end;
- })
- end}
- Fake.connect = Fake.Connect;return Fake;
- end
- local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
- local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- local function TriggerEvent(self,Event,...)
- local Trigger = Mouse[Event]
- if Trigger and Trigger.fakeEvent and Trigger.Connections then
- for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
- end
- end
- Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= owner.Name then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
- UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],owner.Character)
- end
- RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- local Sandbox = function (Thing)
- if Thing:IsA("Player") then
- local RealPlayer = Thing
- return setmetatable({},{
- __index = function (self,Index)
- local Type = type(RealPlayer[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return RealPlayer[Index](RealPlayer,...) end
- end
- return RealPlayer[Index]
- end;
- __tostring = function(self) return RealPlayer.Name end
- })
- end
- end
- if RealGame[Index] then
- local Type = type(RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return Sandbox(owner) end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return RealGame:GetService(Service).Name end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return RealGame:GetService(Service)
- end
- end
- return function (self,...) return RealGame[Index](RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return RealGame[Index]
- end
- end
- return nil
- end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
- player = game:GetService("Players").LocalPlayer
- char = player.Character
- root = char:WaitForChild("HumanoidRootPart")
- rs = game:GetService("RunService").RenderStepped
- mouse = player:GetMouse()
- parent = player.PlayerGui
- ScreenGui0 = Instance.new("ScreenGui")
- TextButton1 = Instance.new("TextButton")
- Frame2 = Instance.new("Frame")
- TextBox3 = Instance.new("TextBox")
- TextButton4 = Instance.new("TextButton")
- Frame5 = Instance.new("Frame")
- Frame6 = Instance.new("Frame")
- Frame7 = Instance.new("Frame")
- TextLabel8 = Instance.new("TextLabel")
- TextButton9 = Instance.new("TextButton")
- Frame10 = Instance.new("Frame")
- Frame11 = Instance.new("Frame")
- TextLabel12 = Instance.new("TextLabel")
- TextButton13 = Instance.new("TextButton")
- TextButton14 = Instance.new("TextButton")
- Frame15 = Instance.new("Frame")
- Frame16 = Instance.new("Frame")
- Frame17 = Instance.new("Frame")
- TextButton18 = Instance.new("TextButton")
- TextLabel19 = Instance.new("TextLabel")
- Frame20 = Instance.new("Frame")
- Frame21 = Instance.new("Frame")
- TextButton22 = Instance.new("TextButton")
- TextLabel23 = Instance.new("TextLabel")
- Frame24 = Instance.new("Frame")
- Frame25 = Instance.new("Frame")
- TextButton26 = Instance.new("TextButton")
- TextLabel27 = Instance.new("TextLabel")
- Frame28 = Instance.new("Frame")
- Frame29 = Instance.new("Frame")
- TextButton30 = Instance.new("TextButton")
- TextLabel31 = Instance.new("TextLabel")
- Frame32 = Instance.new("Frame")
- TextButton33 = Instance.new("TextButton")
- TextButton34 = Instance.new("TextButton")
- ScreenGui0.Name = "MusicPlayerKyu"
- ScreenGui0.Parent = parent
- TextButton1.Name = "Open/Close"
- TextButton1.Parent = ScreenGui0
- TextButton1.Size = UDim2.new(0, 20, 0, 300)
- TextButton1.Text = ">>"
- TextButton1.Position = UDim2.new(0, 0, 0, 250)
- TextButton1.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton1.SizeConstraint = Enum.SizeConstraint.RelativeXX
- TextButton1.Font = Enum.Font.Code
- Frame2.Name = "Core"
- Frame2.Parent = ScreenGui0
- Frame2.Size = UDim2.new(0, 500, 0, 300)
- Frame2.Position = UDim2.new(0, 20, 0, 250)
- Frame2.BackgroundColor3 = Color3.new(0.615686, 0.615686, 0.615686)
- Frame2.SizeConstraint = Enum.SizeConstraint.RelativeXX
- TextBox3.Name = "ID"
- TextBox3.Parent = Frame2
- TextBox3.Size = UDim2.new(0, 100, 0, 100)
- TextBox3.Text = "ID"
- TextBox3.Position = UDim2.new(0, 50, 0, 20)
- TextBox3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox3.SizeConstraint = Enum.SizeConstraint.RelativeXX
- TextBox3.Font = Enum.Font.SciFi
- TextBox3.FontSize = Enum.FontSize.Size14
- TextButton4.Name = "Play"
- TextButton4.Parent = TextBox3
- TextButton4.Size = UDim2.new(1, 0, 0, 20)
- TextButton4.Text = "PLAY"
- TextButton4.Position = UDim2.new(0.5, 0, 1, 0)
- TextButton4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton4.Font = Enum.Font.SciFi
- TextButton4.FontSize = Enum.FontSize.Size14
- TextButton4.AnchorPoint = Vector2.new(0.5, 0)
- Frame5.Name = "SettingsPanel"
- Frame5.Parent = Frame2
- Frame5.Size = UDim2.new(0, 300, 0, 150)
- Frame5.Position = UDim2.new(1, -20, 0, 20)
- Frame5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- Frame5.AnchorPoint = Vector2.new(1, 0)
- Frame6.Name = "Volume"
- Frame6.Parent = Frame5
- Frame6.Transparency = 0
- Frame6.Size = UDim2.new(0, 100, 0, 100)
- Frame6.Position = UDim2.new(0, 100, 0.5, 0)
- Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame6.BackgroundTransparency = 1
- Frame6.AnchorPoint = Vector2.new(0.5, 0.5)
- Frame7.Name = "Line"
- Frame7.Parent = Frame6
- Frame7.Size = UDim2.new(0, 1, 1, 0)
- Frame7.Position = UDim2.new(0.5, 0, 0, 0)
- Frame7.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
- Frame7.BorderSizePixel = 0
- Frame7.AnchorPoint = Vector2.new(0.5, 0)
- TextLabel8.Name = "Text"
- TextLabel8.Parent = Frame6
- TextLabel8.Transparency = 0
- TextLabel8.Text = "Volume"
- TextLabel8.Position = UDim2.new(0.5, 0, 1, 10)
- TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel8.BackgroundTransparency = 1
- TextLabel8.Font = Enum.Font.SourceSans
- TextLabel8.FontSize = Enum.FontSize.Size10
- TextLabel8.AnchorPoint = Vector2.new(0.5, 0)
- TextButton9.Name = "DragVol"
- TextButton9.Parent = Frame6
- TextButton9.Size = UDim2.new(0, 20, 0, 10)
- TextButton9.Text = ""
- TextButton9.Position = UDim2.new(0.5, 0, 0.5, 0)
- TextButton9.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- TextButton9.Font = Enum.Font.SourceSans
- TextButton9.AnchorPoint = Vector2.new(0.5, 0.5)
- Frame10.Name = "Pitch"
- Frame10.Parent = Frame5
- Frame10.Transparency = 0
- Frame10.Size = UDim2.new(0, 100, 0, 100)
- Frame10.Position = UDim2.new(0, 50, 0.5, 0)
- Frame10.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame10.BackgroundTransparency = 1
- Frame10.AnchorPoint = Vector2.new(0.5, 0.5)
- Frame11.Name = "Line"
- Frame11.Parent = Frame10
- Frame11.Size = UDim2.new(0, 1, 1, 0)
- Frame11.Position = UDim2.new(0.5, 0, 0, 0)
- Frame11.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
- Frame11.BorderSizePixel = 0
- Frame11.AnchorPoint = Vector2.new(0.5, 0)
- TextLabel12.Name = "Text"
- TextLabel12.Parent = Frame10
- TextLabel12.Transparency = 0
- TextLabel12.Text = "Pitch"
- TextLabel12.Position = UDim2.new(0.5, 0, 1, 10)
- TextLabel12.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel12.BackgroundTransparency = 1
- TextLabel12.Font = Enum.Font.SourceSans
- TextLabel12.FontSize = Enum.FontSize.Size10
- TextLabel12.AnchorPoint = Vector2.new(0.5, 0)
- TextButton13.Name = "DragPitch"
- TextButton13.Parent = Frame10
- TextButton13.Size = UDim2.new(0, 20, 0, 10)
- TextButton13.Text = ""
- TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0)
- TextButton13.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- TextButton13.Font = Enum.Font.SourceSans
- TextButton13.AnchorPoint = Vector2.new(0.5, 0.5)
- TextButton14.Name = "Reset"
- TextButton14.Parent = Frame10
- TextButton14.Size = UDim2.new(0, 20, 0, 20)
- TextButton14.Text = ""
- TextButton14.Position = UDim2.new(0.5, -15, 0.5, 0)
- TextButton14.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- TextButton14.Font = Enum.Font.SourceSans
- TextButton14.FontSize = Enum.FontSize.Size14
- TextButton14.AnchorPoint = Vector2.new(1, 0.5)
- Frame15.Name = "Others"
- Frame15.Parent = Frame5
- Frame15.Transparency = 0
- Frame15.Size = UDim2.new(0, 100, 0, 100)
- Frame15.Position = UDim2.new(0, 210, 0.5, 0)
- Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame15.BackgroundTransparency = 1
- Frame15.AnchorPoint = Vector2.new(0.5, 0.5)
- Frame16.Name = "Low"
- Frame16.Parent = Frame15
- Frame16.Transparency = 0
- Frame16.Size = UDim2.new(0, 0, 1, 0)
- Frame16.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame16.BackgroundTransparency = 1
- Frame17.Name = "Line"
- Frame17.Parent = Frame16
- Frame17.Size = UDim2.new(0, 1, 1, 0)
- Frame17.Position = UDim2.new(0.5, 0, 0, 0)
- Frame17.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
- Frame17.BorderSizePixel = 0
- Frame17.AnchorPoint = Vector2.new(0.5, 0)
- TextButton18.Name = "DragLow"
- TextButton18.Parent = Frame16
- TextButton18.Size = UDim2.new(0, 20, 0, 10)
- TextButton18.Text = ""
- TextButton18.Position = UDim2.new(0.5, 0, 0.5, -25)
- TextButton18.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- TextButton18.Font = Enum.Font.SourceSans
- TextButton18.AnchorPoint = Vector2.new(0.5, 0.5)
- TextLabel19.Name = "Text"
- TextLabel19.Parent = Frame16
- TextLabel19.Transparency = 0
- TextLabel19.Text = "Low"
- TextLabel19.Position = UDim2.new(0.5, 0, 1, 10)
- TextLabel19.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel19.BackgroundTransparency = 1
- TextLabel19.Font = Enum.Font.SourceSans
- TextLabel19.FontSize = Enum.FontSize.Size10
- TextLabel19.AnchorPoint = Vector2.new(0.5, 0)
- Frame20.Name = "Medium"
- Frame20.Parent = Frame15
- Frame20.Transparency = 0
- Frame20.Size = UDim2.new(0, 0, 1, 0)
- Frame20.Position = UDim2.new(0, 40, 0, 0)
- Frame20.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame20.BackgroundTransparency = 1
- Frame21.Name = "Line"
- Frame21.Parent = Frame20
- Frame21.Size = UDim2.new(0, 1, 1, 0)
- Frame21.Position = UDim2.new(0.5, 0, 0, 0)
- Frame21.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
- Frame21.BorderSizePixel = 0
- Frame21.AnchorPoint = Vector2.new(0.5, 0)
- TextButton22.Name = "DragMed"
- TextButton22.Parent = Frame20
- TextButton22.Size = UDim2.new(0, 20, 0, 10)
- TextButton22.Text = ""
- TextButton22.Position = UDim2.new(0.5, 0, 0.5, -25)
- TextButton22.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- TextButton22.Font = Enum.Font.SourceSans
- TextButton22.AnchorPoint = Vector2.new(0.5, 0.5)
- TextLabel23.Name = "Text"
- TextLabel23.Parent = Frame20
- TextLabel23.Transparency = 0
- TextLabel23.Text = "Medium"
- TextLabel23.Position = UDim2.new(0.5, 0, 1, 10)
- TextLabel23.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel23.BackgroundTransparency = 1
- TextLabel23.Font = Enum.Font.SourceSans
- TextLabel23.FontSize = Enum.FontSize.Size10
- TextLabel23.AnchorPoint = Vector2.new(0.5, 0)
- Frame24.Name = "High"
- Frame24.Parent = Frame15
- Frame24.Transparency = 0
- Frame24.Size = UDim2.new(0, 0, 1, 0)
- Frame24.Position = UDim2.new(0, 80, 0, 0)
- Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame24.BackgroundTransparency = 1
- Frame25.Name = "Line"
- Frame25.Parent = Frame24
- Frame25.Size = UDim2.new(0, 1, 1, 0)
- Frame25.Position = UDim2.new(0.5, 0, 0, 0)
- Frame25.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
- Frame25.BorderSizePixel = 0
- Frame25.AnchorPoint = Vector2.new(0.5, 0)
- TextButton26.Name = "DragHigh"
- TextButton26.Parent = Frame24
- TextButton26.Size = UDim2.new(0, 20, 0, 10)
- TextButton26.Text = ""
- TextButton26.Position = UDim2.new(0.5, 0, 0.5, -25)
- TextButton26.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- TextButton26.Font = Enum.Font.SourceSans
- TextButton26.AnchorPoint = Vector2.new(0.5, 0.5)
- TextLabel27.Name = "Text"
- TextLabel27.Parent = Frame24
- TextLabel27.Transparency = 0
- TextLabel27.Text = "High"
- TextLabel27.Position = UDim2.new(0.5, 0, 1, 10)
- TextLabel27.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel27.BackgroundTransparency = 1
- TextLabel27.Font = Enum.Font.SourceSans
- TextLabel27.FontSize = Enum.FontSize.Size10
- TextLabel27.AnchorPoint = Vector2.new(0.5, 0)
- Frame28.Name = "Distortion"
- Frame28.Parent = Frame15
- Frame28.Transparency = 0
- Frame28.Size = UDim2.new(0, 0, 1, 0)
- Frame28.Position = UDim2.new(0, 120, 0, 0)
- Frame28.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame28.BackgroundTransparency = 1
- Frame29.Name = "Line"
- Frame29.Parent = Frame28
- Frame29.Size = UDim2.new(0, 1, 1, 0)
- Frame29.Position = UDim2.new(0.5, 0, 0, 0)
- Frame29.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
- Frame29.BorderSizePixel = 0
- Frame29.AnchorPoint = Vector2.new(0.5, 0)
- TextButton30.Name = "DragDist"
- TextButton30.Parent = Frame28
- TextButton30.Size = UDim2.new(0, 20, 0, 10)
- TextButton30.Text = ""
- TextButton30.Position = UDim2.new(0.5, 0, 0.5, 50)
- TextButton30.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- TextButton30.Font = Enum.Font.SourceSans
- TextButton30.AnchorPoint = Vector2.new(0.5, 0.5)
- TextLabel31.Name = "Text"
- TextLabel31.Parent = Frame28
- TextLabel31.Transparency = 0
- TextLabel31.Text = "Dist"
- TextLabel31.Position = UDim2.new(0.5, 0, 1, 10)
- TextLabel31.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel31.BackgroundTransparency = 1
- TextLabel31.Font = Enum.Font.SourceSans
- TextLabel31.FontSize = Enum.FontSize.Size10
- TextLabel31.AnchorPoint = Vector2.new(0.5, 0)
- Frame32.Name = "Line"
- Frame32.Parent = Frame5
- Frame32.Size = UDim2.new(0, 1, 1, -20)
- Frame32.Position = UDim2.new(0.5, -20, 0.5, 0)
- Frame32.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
- Frame32.BorderSizePixel = 0
- Frame32.AnchorPoint = Vector2.new(0.5, 0.5)
- TextButton33.Name = "Global/Local"
- TextButton33.Parent = Frame2
- TextButton33.Size = UDim2.new(0, 100, 0, 100)
- TextButton33.Text = "LOCAL"
- TextButton33.Position = UDim2.new(0, 50, 0, 180)
- TextButton33.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton33.Font = Enum.Font.SciFi
- TextButton33.FontSize = Enum.FontSize.Size14
- TextButton34.Name = "Style"
- TextButton34.Parent = Frame2
- TextButton34.Size = UDim2.new(0.5, 50, 0, 100)
- TextButton34.Text = "Comming Soon"
- TextButton34.Position = UDim2.new(0.5, 80, 0, 180)
- TextButton34.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
- TextButton34.Font = Enum.Font.SciFi
- TextButton34.FontSize = Enum.FontSize.Size14
- TextButton34.TextColor3 = Color3.new(1, 1, 0)
- TextButton34.AnchorPoint = Vector2.new(0.5, 0)
- Frame2.Visible = false
- draggable = {TextButton9;TextButton13;TextButton18;TextButton22;TextButton26;TextButton30}
- mode = "local"
- held = false
- trigger = nil
- base = UDim2.new(0,0,0,0)
- function CreateSound()
- if mode == "local" then
- soundparent=char:WaitForChild("Torso")
- else
- soundparent=char
- end
- sound = Instance.new("Sound",soundparent)
- sound.Name = "KyuSound"
- sound.Looped = true
- effect = Instance.new("EqualizerSoundEffect",sound)
- distort = Instance.new("DistortionSoundEffect",sound)
- end
- TextButton1.MouseButton1Click:connect(function()
- if Frame2.Visible == true then
- Frame2.Visible = false
- TextButton1.Text = ">>"
- else
- Frame2.Visible = true
- TextButton1.Text = "<<"
- end
- end)
- TextButton4.MouseButton1Click:connect(function()
- if mode == "local" then
- if not char:WaitForChild("Torso"):FindFirstChild("KyuSound") then CreateSound() end
- else
- if not char:FindFirstChild("KyuSound") then CreateSound() end
- end
- sound:Stop()
- sound.SoundId = "rbxassetid://"..TextBox3.Text
- sound:Play()
- end)
- TextButton14.MouseButton1Click:connect(function()
- TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0)
- end)
- TextButton33.MouseButton1Click:connect(function()
- if mode == "local" then
- mode = "global"
- TextButton33.Text = "GLOBAL"
- if char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
- sound:Pause()
- sound.Parent = char
- sound:Resume()
- end
- else
- mode = "local"
- TextButton33.Text = "LOCAL"
- if char:FindFirstChild("KyuSound") then
- sound:Pause()
- sound.Parent = char:WaitForChild("Torso")
- sound:Resume()
- end
- end
- end)
- for i,v in pairs(draggable) do
- v.MouseButton1Down:connect(function()
- trigger = v
- base = UDim2.new(0.5,0,0.5,mouse.y) - trigger.Position
- held = true
- end)
- v.MouseButton1Up:connect(function()
- base = UDim2.new(0.5,0,0.5,0)
- trigger = nil
- held = false
- end)
- end
- mouse.Button1Up:connect(function()
- base = UDim2.new(0.5,0,0.5,0)
- trigger = nil
- held = false
- end)
- mouse.Move:connect(function()
- if held then
- trigger.Position = UDim2.new(0.5,0,0.5,mouse.y) - base
- if trigger.Position.Y.Offset > 50 then
- trigger.Position = UDim2.new(0.5, 0,0.5, 50)
- end
- if trigger.Position.Y.Offset < -50 then
- trigger.Position = UDim2.new(0.5, 0,0.5, -50)
- end
- if trigger.Position.X.Offset ~= 0 then
- trigger.Position = UDim2.new(0.5, 0,0.5, trigger.Position.Y.Offset)
- end
- end
- end)
- max = 0
- Visualiser = Instance.new("Model",char)
- Visualiser2 = Instance.new("Model",Visualiser)
- Main = Instance.new("Part",Visualiser)
- Main.CanCollide = false
- Main.Size = Vector3.new(1,1,1)
- Main.Transparency = 1
- Visualiserpos = Instance.new("Attachment",Main)
- Visualiserpos.Position = Vector3.new(5,0,0)
- bp = Instance.new("BodyPosition",Main)
- ba = Instance.new("BodyAngularVelocity",Main)
- coroutine.resume(coroutine.create(function()
- while wait(0.03) do
- block = Instance.new("Part",Visualiser2)
- blockm = Instance.new("BlockMesh",block)
- if char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
- change = sound.PlaybackLoudness/80
- blockm.Scale = Vector3.new(1+change,1+change,1+change)
- end
- block.Anchored = true
- block.CanCollide = false
- block.Material = Enum.Material.Neon
- block.Size = Vector3.new(1,1,1)
- block.Orientation = Vector3.new(math.random(0,360),math.random(0,360),math.random(0,360))
- block.Position = Visualiserpos.WorldPosition
- end
- end))
- while rs:wait() do
- char = player.Character
- root = char:WaitForChild("HumanoidRootPart")
- if char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
- if max < sound.PlaybackLoudness then
- if sound.PlaybackLoudness <= 300 then
- max = 300
- else
- max = sound.PlaybackLoudness
- end
- else
- if sound.PlaybackLoudness < 0 then
- max = max -1
- end
- end
- sound.Volume = 5-(TextButton9.Position.Y.Offset/10)
- sound.PlaybackSpeed = math.ceil((1-(TextButton13.Position.Y.Offset/50))*10)/10
- distort.Level = 0.5+(-TextButton30.Position.Y.Offset/50)
- effect.HighGain = -(TextButton26.Position.Y.Offset*1.2)
- effect.MidGain = -(TextButton22.Position.Y.Offset*1.2)
- effect.LowGain = -(TextButton18.Position.Y.Offset*1.2)
- Visualiserpos.Position = Vector3.new(5+(max/20),0,0)
- ba.AngularVelocity = Vector3.new(0,0.2+(max/180),0)
- for i,v in pairs(Visualiser2:GetChildren()) do
- local change = 0.1+(max/5000)
- v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change)
- v.Transparency = v.Transparency + 0.05
- if v.Transparency >= 1 then
- v:Destroy()
- end
- end
- else
- Visualiserpos.Position = Vector3.new(5,0,0)
- ba.AngularVelocity = Vector3.new(0,0.2,0)
- for i,v in pairs(Visualiser2:GetChildren()) do
- local change = 0.1
- v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change)
- v.Transparency = v.Transparency + 0.05
- if v.Transparency >= 1 then
- v:Destroy()
- end
- end
- end
- Main:BreakJoints()
- bp.Position = char.Head.Position+Vector3.new(0,2,0)
- TextButton14.Text = math.ceil((1-(TextButton13.Position.Y.Offset/50))*10)/10
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement