Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- ScreenGui0 = Instance.new("ScreenGui")
- Frame1 = Instance.new("Frame")
- TextButton2 = Instance.new("TextButton")
- LocalScript3 = Instance.new("LocalScript")
- TextButton4 = Instance.new("TextButton")
- LocalScript5 = Instance.new("LocalScript")
- TextButton6 = Instance.new("TextButton")
- LocalScript7 = Instance.new("LocalScript")
- TextButton8 = Instance.new("TextButton")
- LocalScript9 = Instance.new("LocalScript")
- TextButton10 = Instance.new("TextButton")
- LocalScript11 = Instance.new("LocalScript")
- TextButton12 = Instance.new("TextButton")
- LocalScript13 = Instance.new("LocalScript")
- TextButton14 = Instance.new("TextButton")
- LocalScript15 = Instance.new("LocalScript")
- ScreenGui0.Parent = mas
- ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame1.Name = "menu"
- Frame1.Parent = ScreenGui0
- Frame1.Position = UDim2.new(0.168750003, 0, 0.12083333, 0)
- Frame1.Size = UDim2.new(0, 208, 0, 171)
- Frame1.BackgroundColor = BrickColor.new("Sand violet metallic")
- Frame1.BackgroundColor3 = Color3.new(0.580392, 0.580392, 0.580392)
- TextButton2.Name = "Drag"
- TextButton2.Parent = Frame1
- TextButton2.Position = UDim2.new(0, 0, 0, -25)
- TextButton2.Size = UDim2.new(0, 208, 0, 25)
- TextButton2.BackgroundColor = BrickColor.new("Really black")
- TextButton2.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton2.BackgroundTransparency = -0.0099999997764826
- TextButton2.BorderColor = BrickColor.new("Institutional white")
- TextButton2.BorderColor3 = Color3.new(1, 1, 1)
- TextButton2.AutoButtonColor = false
- TextButton2.FontSize = Enum.FontSize.Size18
- TextButton2.Text = "Club dj destroyer"
- TextButton2.TextColor = BrickColor.new("Institutional white")
- TextButton2.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- TextButton2.TextSize = 18
- TextButton2.TextWrap = true
- TextButton2.TextWrapped = true
- LocalScript3.Parent = TextButton2
- table.insert(cors,sandbox(LocalScript3,function()
- wanttobemoved=script.Parent.Parent
- X=wanttobemoved.Position.X.Offset
- Y=wanttobemoved.Position.Y.Offset
- XS=wanttobemoved.Position.X.Scale
- YS=wanttobemoved.Position.Y.Scale
- function down(posX,posY)--the positions of the mouse
- drag=true--activate the drag function
- X=wanttobemoved.Position.X.Offset--redefines the value "X"
- Y=wanttobemoved.Position.Y.Offset--redefines the value "Y"
- XS=wanttobemoved.Position.X.Scale
- YS=wanttobemoved.Position.Y.Scale
- DposX=posX-X--the mouse's X position offset by the frame's X position.
- DposY=posY-Y--the mouse's Y position offset by the frame's Y position.
- print(""..DposX..","..DposY.."")--remembers the values DposX and DposY in the output toolbar.
- end
- function up()
- drag=false--deactivate the drag
- end
- function move(posX,posY)--again, the positions of the mouse
- if drag then--if held down then
- wanttobemoved.Position=UDim2.new(XS,posX - DposX,YS,posY - DposY)
- end
- end
- script.Parent.MouseButton1Down:connect(down)
- script.Parent.MouseButton1Up:connect(up)
- script.Parent.MouseLeave:connect(up)
- script.Parent.MouseMoved:connect(move)
- end))
- TextButton4.Parent = Frame1
- TextButton4.Position = UDim2.new(-0.00183841586, 0, -1.1920929e-07, 0)
- TextButton4.Size = UDim2.new(0, 105, 0, 52)
- TextButton4.BackgroundColor = BrickColor.new("Institutional white")
- TextButton4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton4.BackgroundTransparency = 0.85000002384186
- TextButton4.Font = Enum.Font.SourceSansBold
- TextButton4.FontSize = Enum.FontSize.Size28
- TextButton4.Text = "Break/Glitch The Music"
- TextButton4.TextColor = BrickColor.new("Really black")
- TextButton4.TextColor3 = Color3.new(0, 0, 0)
- TextButton4.TextScaled = true
- TextButton4.TextSize = 28
- TextButton4.TextWrap = true
- TextButton4.TextWrapped = true
- LocalScript5.Parent = TextButton4
- table.insert(cors,sandbox(LocalScript5,function()
- function onClick()
- while true do
- game:GetService("RunService").RenderStepped:wait()
- game:GetService("Workspace")["GLOBAL_SOUND"].TimePosition = math.random(1,100)
- end
- end
- script.Parent.MouseButton1Up:connect(onClick)
- end))
- TextButton6.Parent = Frame1
- TextButton6.Position = UDim2.new(0.499828458, 0, -1.1920929e-07, 0)
- TextButton6.Size = UDim2.new(0, 105, 0, 52)
- TextButton6.BackgroundColor = BrickColor.new("Institutional white")
- TextButton6.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton6.BackgroundTransparency = 0.85000002384186
- TextButton6.Font = Enum.Font.SourceSansBold
- TextButton6.FontSize = Enum.FontSize.Size28
- TextButton6.Text = "Seizure camera"
- TextButton6.TextColor = BrickColor.new("Really black")
- TextButton6.TextColor3 = Color3.new(0, 0, 0)
- TextButton6.TextScaled = true
- TextButton6.TextSize = 28
- TextButton6.TextWrap = true
- TextButton6.TextWrapped = true
- LocalScript7.Parent = TextButton6
- table.insert(cors,sandbox(LocalScript7,function()
- function onClick()
- while true do
- local player = game.Players.LocalPlayer
- local character = player.Character
- character:WaitForChild("HumanoidRootPart").CFrame = game.workspace.MainCamera.CFrame
- wait (0.2)
- end
- end
- script.Parent.MouseButton1Up:connect(onClick)
- end))
- TextButton8.Parent = Frame1
- TextButton8.Position = UDim2.new(-0.00664610835, 0, 0.30409345, 0)
- TextButton8.Size = UDim2.new(0, 105, 0, 52)
- TextButton8.BackgroundColor = BrickColor.new("Institutional white")
- TextButton8.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton8.BackgroundTransparency = 0.85000002384186
- TextButton8.Font = Enum.Font.SourceSansBold
- TextButton8.FontSize = Enum.FontSize.Size28
- TextButton8.Text = "Dj laptop 1"
- TextButton8.TextColor = BrickColor.new("Really black")
- TextButton8.TextColor3 = Color3.new(0, 0, 0)
- TextButton8.TextScaled = true
- TextButton8.TextSize = 28
- TextButton8.TextWrap = true
- TextButton8.TextWrapped = true
- LocalScript9.Parent = TextButton8
- table.insert(cors,sandbox(LocalScript9,function()
- function onClick()
- local player = game.Players.LocalPlayer
- local character = player.Character
- character:WaitForChild("HumanoidRootPart").CFrame = game.workspace.DJLaptops.DJ1.CFrame
- wait (0.2)
- end
- script.Parent.MouseButton1Up:connect(onClick)
- end))
- TextButton10.Parent = Frame1
- TextButton10.Position = UDim2.new(0.495020777, 0, 0.30409345, 0)
- TextButton10.Size = UDim2.new(0, 105, 0, 52)
- TextButton10.BackgroundColor = BrickColor.new("Institutional white")
- TextButton10.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton10.BackgroundTransparency = 0.85000002384186
- TextButton10.Font = Enum.Font.SourceSansBold
- TextButton10.FontSize = Enum.FontSize.Size28
- TextButton10.Text = "Turn music Off"
- TextButton10.TextColor = BrickColor.new("Really black")
- TextButton10.TextColor3 = Color3.new(0, 0, 0)
- TextButton10.TextScaled = true
- TextButton10.TextSize = 28
- TextButton10.TextWrap = true
- TextButton10.TextWrapped = true
- LocalScript11.Parent = TextButton10
- table.insert(cors,sandbox(LocalScript11,function()
- function onClick()
- workspace.GLOBAL_SOUND.Playing = false
- end
- script.Parent.MouseButton1Up:connect(onClick)
- end))
- TextButton12.Parent = Frame1
- TextButton12.Position = UDim2.new(-0.000171542168, 0, 0.60818702, 0)
- TextButton12.Size = UDim2.new(0, 105, 0, 52)
- TextButton12.BackgroundColor = BrickColor.new("Institutional white")
- TextButton12.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton12.BackgroundTransparency = 0.85000002384186
- TextButton12.Font = Enum.Font.SourceSansBold
- TextButton12.FontSize = Enum.FontSize.Size28
- TextButton12.Text = "Turn music On"
- TextButton12.TextColor = BrickColor.new("Really black")
- TextButton12.TextColor3 = Color3.new(0, 0, 0)
- TextButton12.TextScaled = true
- TextButton12.TextSize = 28
- TextButton12.TextWrap = true
- TextButton12.TextWrapped = true
- LocalScript13.Parent = TextButton12
- table.insert(cors,sandbox(LocalScript13,function()
- function onClick()
- workspace.GLOBAL_SOUND.Playing = true
- end
- script.Parent.MouseButton1Up:connect(onClick)
- end))
- TextButton14.Parent = Frame1
- TextButton14.Position = UDim2.new(0.502969265, 0, 0.60818702, 0)
- TextButton14.Size = UDim2.new(0, 105, 0, 52)
- TextButton14.BackgroundColor = BrickColor.new("Institutional white")
- TextButton14.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton14.BackgroundTransparency = 0.85000002384186
- TextButton14.Font = Enum.Font.SourceSansBold
- TextButton14.FontSize = Enum.FontSize.Size28
- TextButton14.Text = "Dj laptop 2"
- TextButton14.TextColor = BrickColor.new("Really black")
- TextButton14.TextColor3 = Color3.new(0, 0, 0)
- TextButton14.TextScaled = true
- TextButton14.TextSize = 28
- TextButton14.TextWrap = true
- TextButton14.TextWrapped = true
- LocalScript15.Parent = TextButton14
- table.insert(cors,sandbox(LocalScript15,function()
- function onClick()
- local player = game.Players.LocalPlayer
- local character = player.Character
- character:WaitForChild("HumanoidRootPart").CFrame = game.workspace.DJLaptops.DJ2.CFrame
- wait (0.2)
- end
- script.Parent.MouseButton1Up:connect(onClick)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement