Part0 = Instance.new("Part")
part01 = Instance.new("Part")
Part1 = Instance.new("Part")
WeldConstraint2 = Instance.new("Weld")
Decal3 = Instance.new("Decal")
WeldConstraint4 = Instance.new("Weld")
w = Instance.new("Weld")
local Song = Instance.new("Sound",Part0)
Part0.Name = "arm"
owner.Character["Left Arm"].Transparency = 1
Part0.CanCollide = false
Part0.Parent = owner.Character
Part0.CFrame = CFrame.new(-3.25562334, 3.0033915, 12.3067303, 1, 0, 0, 0, 0.999998808, 0, 0, 0, 1)
Part0.Position = Vector3.new(-3.25562334, 3.0033915, 12.3067303)
Part0.Color = Color3.new(0.34902, 0.133333, 0.34902)
Part0.Size = Vector3.new(1, 2, 1)
Part0.BottomSurface = Enum.SurfaceType.Smooth
Part0.BrickColor = BrickColor.new("Mulberry")
Part0.Material = Enum.Material.DiamondPlate
Part0.TopSurface = Enum.SurfaceType.Smooth
Part0.brickColor = BrickColor.new("Mulberry")
Part0.Locked = true
Part1.Name = "screen"
Part1.CanCollide = false
Part1.Parent = owner.Character
Part1.CFrame = CFrame.new(-3.25350714, 2.81655598, 12.2497616)
Part1.Position = Vector3.new(-3.25350714, 2.81655598, 12.2497616)
Part1.Color = Color3.new(0.929412, 0.917647, 0.917647)
Part1.Size = Vector3.new(0.969999909, 0.790000021, 0.930000663)
Part1.BottomSurface = Enum.SurfaceType.Smooth
Part1.BrickColor = BrickColor.new("Lily white")
Part1.Material = Enum.Material.Neon
Part1.TopSurface = Enum.SurfaceType.Smooth
Part1.brickColor = BrickColor.new("Lily white")
Part1.Locked = true
WeldConstraint2.Parent = Part1
WeldConstraint2.Part0 = Part0
WeldConstraint2.Part1 = Part1
WeldConstraint2.C0 = CFrame.new(0,-0.15,-0.1)
Decal3.Parent = Part1
Decal3.Texture = "http://www.roblox.com/asset/?id=43457352"
WeldConstraint4.Parent = Part0
WeldConstraint4.Part0 = owner.Character["Left Arm"]
WeldConstraint4.Part1 = Part0
part01.Parent = arm
part01.Size = Vector3.new(0.969999909, 0.790000021, 0.930000663)
w.Parent = part01
w.Part0 = arm
w.Part1 = part01
w.C0 = CFrame.new(0,0.4,-0.3)
Song.SoundId = "rbxassetid://2929877998"
Song.Looped = true
Song.Volume = 10
Song.Pitch = 1
Song:Play()
local LoopEvent = Instance.new("RemoteEvent")
LoopEvent.Name = "LoopEvent"
LoopEvent.Parent = NLS([==[
local LoopEvent = script.LoopEvent
game:GetService("RunService").RenderStepped:Connect(function()
if owner.Character.Torso:FindFirstChild("Song") ~= nil then
LoopEvent:FireServer(owner.Character.Torso:FindFirstChild("Song").PlaybackLoudness)
else
script:Destroy()
return
end
end)
]==],owner.PlayerGui)
LoopEvent.OnServerEvent:Connect(function(owner, PL)
Update(PL)
end)
owner.Chatted:connect(function(Message)
if Message:match("!play%s%d+") then
Song:Stop()
Song.SoundId = "rbxassetid://"..Message:match("!play%s(%d+)")
Song:Play()
elseif Message:match("!vol%s%d+") then
Song.Volume = Message:match("!vol%s(%d+)")
Volume = Message:match("!volume%s(%d+)")
elseif Message:match("!pitch%s%d+") then
Song.Pitch= Message:match("!pitch%s(%d+)")
end
end)
owner.Chatted:connect(function(Message)
if Message:match("!play hardbass2") then
Song:Stop()
Song.SoundId = "rbxassetid://946862510"
Song:Play()
elseif Message:match("!play hardbass") then
Song:Stop()
Song.SoundId = "rbxassetid://2508725733"
Song:Play()
elseif Message:match("!play goofy") then
Song:Stop()
Song.SoundId = "rbxassetid://670973184"
Song:Play()
elseif Message:match("!play bandit") then
Song:Stop()
Song.SoundId = "rbxassetid://154063647"
Song:Play()
elseif Message:match("!play rock") then
Song:Stop()
Song.SoundId = "rbxassetid://1086263926"
Song:Play()
elseif Message:match("!play default") then
Song:Stop()
Song.SoundId = "rbxassetid://2929877998"
Song:Play()
end
end)