View difference between Paste ID: SakUKyXc and KaffJuRj
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2-
    local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
2+
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3-
    local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
3+
local Player,game,owner = owner,game
4-
    for i,v in pairs(com1) do
4+
local RealPlayer = Player
5-
        com1[i] = v+(com2[i]-v)*al
5+
do
6
  print("FE Compatibility code V2 by Mokiros")
7-
    return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
7+
  local RealPlayer = RealPlayer
8
  script.Parent = RealPlayer.Character
9
10
  --Fake event to make stuff like Mouse.KeyDown work
11
  local Disconnect_Function = function(this)
12
  this[1].Functions[this[2]] = nil
13
end
14
local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
15
local FakeEvent_Metatable = {__index={
16
  Connect = function(this,f)
17
  local i = tostring(math.random(0,10000))
18
  while this.Functions[i] do
19
    i = tostring(math.random(0,10000))
20
  end
21
  this.Functions[i] = f
22
  return setmetatable({this,i},Disconnect_Metatable)
23
end
24
}}
25
FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
26
local function fakeEvent()
27
return setmetatable({Functions={}},FakeEvent_Metatable)
28
end
29
30
--Creating fake input objects with fake variables
31
local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
32
FakeMouse.keyUp = FakeMouse.KeyUp
33
FakeMouse.keyDown = FakeMouse.KeyDown
34
local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
35
local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
36
CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
37
end}
38
--Merged 2 functions into one by checking amount of arguments
39-
    if not puush == true then puush = false end
39+
CAS.UnbindAction = CAS.BindAction
40-
    if puush then
40+
41-
        table.insert(SoundsList, {["Name"]=name, ["ID"]="puush("..id..")", ["Pitch"]=pitch or 1})
41+
--This function will trigger the events that have been :Connect()'ed
42-
    else
42+
local function TriggerEvent(self,ev,...)
43-
        table.insert(SoundsList, {["Name"]=name, ["ID"]=id, ["Pitch"]=pitch or 1})
43+
for _,f in pairs(self[ev].Functions) do
44
  f(...)
45
end
46
end
47
FakeMouse.TriggerEvent = TriggerEvent
48
UIS.TriggerEvent = TriggerEvent
49
50
--Client communication
51
local Event = Instance.new("RemoteEvent")
52
Event.Name = "UserInput_Event"
53
Event.OnServerEvent:Connect(function(plr,io)
54
if plr~=RealPlayer then return end
55
FakeMouse.Target = io.Target
56
FakeMouse.Hit = io.Hit
57
if not io.isMouse then
58
local b = io.UserInputState == Enum.UserInputState.Begin
59
if io.UserInputType == Enum.UserInputType.MouseButton1 then
60
  return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
61
end
62
if io.UserInputType == Enum.UserInputType.MouseButton2 then
63
  return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
64
end
65
for _,t in pairs(CAS.Actions) do
66
  for _,k in pairs(t.Keys) do
67
    if k==io.KeyCode then
68
      t.Function(t.Name,io.UserInputState,io)
69
    end
70
  end
71
end
72
FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
73
UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
74
end
75
end)
76
Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
77
local Mouse = owner:GetMouse()
78
local UIS = game:GetService("UserInputService")
79
local input = function(io,RobloxHandled)
80
if RobloxHandled then return end
81
--Since InputObject is a client-side instance, we create and pass table instead
82
Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
83
end
84
UIS.InputBegan:Connect(input)
85
UIS.InputEnded:Connect(input)
86
local h,t
87
--Give the server mouse data every second frame, but only if the values changed
88
--If player is not moving their mouse, client won't fire events
89
local HB = game:GetService("RunService").Heartbeat
90
while true do
91
if h~=Mouse.Hit or t~=Mouse.Target then
92
h,t=Mouse.Hit,Mouse.Target
93
Event:FireServer({isMouse=true,Target=t,Hit=h})
94
end
95
--Wait 2 frames
96
for i=1,2 do
97
HB:Wait()
98
end
99-
        char:findFirstChild'DiscoBox':remove()
99+
end]==],script)
100-
        gui:remove()
100+
101-
        sound:stop()
101+
----Sandboxed game object that allows the usage of client-side methods and services
102
--Real game object
103
local RealGame = game
104
105-
                -- 1 - DiscoBox
105+
--Metatable for fake service
106-
                local obj1 = Instance.new("Model")
106+
local FakeService_Metatable = {
107-
                obj1.Name = "DiscoBox"
107+
__index = function(self,k)
108-
                obj1.Parent = char
108+
local s = rawget(self,"_RealService")
109
if s then
110-
                -- 2 - DiscTop
110+
  return typeof(s[k])=="function"
111-
                obj2 = Instance.new("Part")
111+
  and function(_,...)return s[k](s,...)end or s[k]
112-
                obj2.CFrame = CFrame.new(Vector3.new(-34.5000038, 3.09000182, -48.5)) * CFrame.Angles(-0, 0, -0)
112+
113-
                obj2.FormFactor = Enum.FormFactor.Custom
113+
end,
114-
                obj2.TopSurface = Enum.SurfaceType.Smooth
114+
__newindex = function(self,k,v)
115-
                obj2.BottomSurface = Enum.SurfaceType.Smooth
115+
local s = rawget(self,"_RealService")
116-
                obj2.Material = Enum.Material.SmoothPlastic
116+
if s then s[k]=v end
117-
                obj2.Size = Vector3.new(3, 0.200000003, 3)
117+
118-
                obj2.BrickColor = BrickColor.new("Dark stone grey")
118+
}
119-
                obj2.Friction = 0.30000001192093
119+
local function FakeService(t,RealService)
120-
                obj2.Shape = Enum.PartType.Block
120+
t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
121-
                obj2.Name = "DiscTop"
121+
return setmetatable(t,FakeService_Metatable)
122-
                obj2.Parent = obj1
122+
123
124-
                -- 3 - Mesh
124+
--Fake game object
125-
                obj3 = Instance.new("CylinderMesh")
125+
local FakeGame = {
126-
                obj3.Scale = Vector3.new(0.200000003, 1.04999995, 0.200000003)
126+
GetService = function(self,s)
127-
                obj3.Parent = obj2
127+
return rawget(self,s) or RealGame:GetService(s)
128
end,
129-
                -- 4 - Part-to-Part Strong Joint
129+
Players = FakeService({
130-
                obj4 = Instance.new("ManualWeld")
130+
LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
131-
                obj4.Part0 = DiscTop
131+
},"Players"),
132-
                obj4.Part1 = Part
132+
UserInputService = FakeService(UIS,"UserInputService"),
133-
                obj4.Name = "Part-to-Part Strong Joint"
133+
ContextActionService = FakeService(CAS,"ContextActionService"),
134-
                obj4.Parent = obj2
134+
RunService = FakeService({
135
_btrs = {},
136-
                -- 5 - Disc
136+
RenderStepped = RealGame:GetService("RunService").Heartbeat,
137-
                obj5 = Instance.new("Part")
137+
BindToRenderStep = function(self,name,_,fun)
138-
                obj5.CFrame = CFrame.new(Vector3.new(-34.5, 3.08999991, -48.5)) * CFrame.Angles(-0, 0, -0)
138+
self._btrs[name] = self.Heartbeat:Connect(fun)
139-
                obj5.FormFactor = Enum.FormFactor.Custom
139+
end,
140-
                obj5.TopSurface = Enum.SurfaceType.Smooth
140+
UnbindFromRenderStep = function(self,name)
141-
                obj5.BottomSurface = Enum.SurfaceType.Smooth
141+
self._btrs[name]:Disconnect()
142-
                obj5.Material = Enum.Material.Sand
142+
end,
143-
                obj5.Size = Vector3.new(3, 0.200000003, 3)
143+
},"RunService")
144-
                obj5.BrickColor = BrickColor.new("Black")
144+
}
145-
                obj5.Friction = 0.30000001192093
145+
rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
146-
                obj5.Shape = Enum.PartType.Block
146+
FakeGame.service = FakeGame.GetService
147-
                obj5.Name = "Disc"
147+
FakeService(FakeGame,game)
148-
                obj5.Parent = obj1
148+
--Changing owner to fake player object to support owner:GetMouse()
149
game,owner = FakeGame,FakeGame.Players.LocalPlayer
150-
                -- 6 - Mesh
150+
151-
                obj6 = Instance.new("CylinderMesh")
151+
152-
                obj6.Scale = Vector3.new(0.899999976, 1, 0.899999976)
152+
local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
153-
                obj6.Parent = obj5
153+
local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
154
for i,v in pairs(com1) do
155-
                -- 7 - Part-to-Part Strong Joint
155+
com1[i] = v+(com2[i]-v)*al
156-
                obj7 = Instance.new("ManualWeld")
156+
157-
                obj7.Part0 = Disc
157+
return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
158-
                obj7.Part1 = Part
158+
159-
                obj7.Name = "Part-to-Part Strong Joint"
159+
160-
                obj7.Parent = obj5
160+
161
local plr = game:service'Players'.LocalPlayer
162-
                -- 8 - Part
162+
163-
                obj8 = Instance.new("Part")
163+
164-
                obj8.CFrame = CFrame.new(Vector3.new(-37.5, 2.88999987, -49.5)) * CFrame.Angles(-0, 0, -0)
164+
165-
                obj8.FormFactor = Enum.FormFactor.Custom
165+
166-
                obj8.TopSurface = Enum.SurfaceType.Smooth
166+
167-
                obj8.BottomSurface = Enum.SurfaceType.Smooth
167+
168-
                obj8.Material = Enum.Material.SmoothPlastic
168+
169-
                obj8.Size = Vector3.new(1, 0.200000003, 1)
169+
170-
                obj8.BrickColor = BrickColor.new("Mid gray")
170+
171-
                obj8.Friction = 0.30000001192093
171+
172-
                obj8.Shape = Enum.PartType.Block
172+
173-
                obj8.Parent = obj1
173+
174
rh = torso:findFirstChild("Right Hip")
175-
                -- 9 - Mesh
175+
176-
                obj9 = Instance.new("CylinderMesh")
176+
177-
                obj9.Scale = Vector3.new(0.5, 1.04999995, 0.5)
177+
178-
                obj9.Parent = obj8
178+
179
camera = workspace.CurrentCamera
180-
                -- 10 - Part-to-Part Strong Joint
180+
181-
                obj10 = Instance.new("ManualWeld")
181+
182-
                obj10.Part0 = Part
182+
183-
                obj10.Part1 = Part
183+
184-
                obj10.Name = "Part-to-Part Strong Joint"
184+
185-
                obj10.Parent = obj8
185+
186
SoundsList = {}
187-
                -- 11 - Part
187+
188-
                obj11 = Instance.new("Part")
188+
189-
                obj11.CFrame = CFrame.new(Vector3.new(-36.5, 2.88999987, -49.5)) * CFrame.Angles(-0, 0, -0)
189+
if not puush == true then puush = false end
190-
                obj11.FormFactor = Enum.FormFactor.Custom
190+
if puush then
191-
                obj11.TopSurface = Enum.SurfaceType.Smooth
191+
table.insert(SoundsList, {["Name"]=name, ["ID"]="puush("..id..")", ["Pitch"]=pitch or 1})
192-
                obj11.BottomSurface = Enum.SurfaceType.Smooth
192+
else
193-
                obj11.Material = Enum.Material.SmoothPlastic
193+
table.insert(SoundsList, {["Name"]=name, ["ID"]=id, ["Pitch"]=pitch or 1})
194-
                obj11.Size = Vector3.new(1, 0.200000003, 1)
194+
195-
                obj11.BrickColor = BrickColor.new("Mid gray")
195+
196-
                obj11.Friction = 0.30000001192093
196+
197-
                obj11.Shape = Enum.PartType.Block
197+
198-
                obj11.Parent = obj1
198+
199
newSound("What is Love", "142544487")
200-
                -- 12 - Mesh
200+
201-
                obj12 = Instance.new("CylinderMesh")
201+
202-
                obj12.Scale = Vector3.new(0.400000006, 1.04999995, 0.400000006)
202+
203-
                obj12.Parent = obj11
203+
204
newSound("Alice Deejay - Better Off Alone", "142397452")
205-
                -- 13 - Bar
205+
206-
                obj13 = Instance.new("Part")
206+
207-
                obj13.CFrame = CFrame.new(Vector3.new(-37.0000114, 3.09000063, -50.5)) * CFrame.Angles(-0, 0, -0)
207+
208-
                obj13.FormFactor = Enum.FormFactor.Custom
208+
209-
                obj13.TopSurface = Enum.SurfaceType.Smooth
209+
210-
                obj13.BottomSurface = Enum.SurfaceType.Smooth
210+
211-
                obj13.Material = Enum.Material.SmoothPlastic
211+
212-
                obj13.Size = Vector3.new(7.99999905, 0.200000003, 1)
212+
213-
                obj13.BrickColor = BrickColor.new("Really black")
213+
214-
                obj13.Friction = 0.30000001192093
214+
215-
                obj13.Shape = Enum.PartType.Block
215+
216-
                obj13.Parent = obj1
216+
217
newSound('Avicii - Levels', "148424799")
218-
                -- 14 - Part-to-Part Strong Joint
218+
219-
                obj14 = Instance.new("ManualWeld")
219+
220-
                obj14.Part0 = Part
220+
221-
                obj14.Part1 = nil
221+
222-
                obj14.Name = "Part-to-Part Strong Joint"
222+
--most of these are probably copyrighted
223-
                obj14.Parent = obj13
223+
224
H = H % 360
225-
                -- 15 - Part-to-Part Strong Joint
225+
226-
                obj15 = Instance.new("ManualWeld")
226+
227-
                obj15.Part0 = Part
227+
228-
                obj15.Part1 = nil
228+
229-
                obj15.Name = "Part-to-Part Strong Joint"
229+
230-
                obj15.Parent = obj13
230+
231
elseif 0 <= H2 and H2 <= 1 then
232-
                -- 16 - Mesh
232+
233-
                obj16 = Instance.new("BlockMesh")
233+
234-
                obj16.Scale = Vector3.new(0.899999976, 1.04999995, 0.200000003)
234+
235-
                obj16.Parent = obj13
235+
236
color = Color3.new(0,C,X)
237-
                -- 17 - Box
237+
238-
                obj17 = Instance.new("Part")
238+
239-
                obj17.CFrame = CFrame.new(Vector3.new(-37, 1.49000001, -49)) * CFrame.Angles(-0, 0, -0)
239+
240-
                obj17.FormFactor = Enum.FormFactor.Symmetric
240+
241-
                obj17.TopSurface = Enum.SurfaceType.Smooth
241+
242-
                obj17.BottomSurface = Enum.SurfaceType.Smooth
242+
243-
                obj17.Material = Enum.Material.SmoothPlastic
243+
244-
                obj17.Size = Vector3.new(8, 3, 4)
244+
245-
                obj17.BrickColor = BrickColor.new("Dark stone grey")
245+
246-
                obj17.Friction = 0.30000001192093
246+
247-
                obj17.Shape = Enum.PartType.Block
247+
248-
                obj17.Name = "Box"
248+
249-
                obj17.Parent = obj1
249+
char:findFirstChild'DiscoBox':remove()
250
gui:remove()
251-
                -- 18 - Part-to-Part Strong Joint
251+
sound:stop()
252-
                obj18 = Instance.new("ManualWeld")
252+
253-
                obj18.Part0 = Box
253+
254-
                obj18.Part1 = Part
254+
255-
                obj18.Name = "Part-to-Part Strong Joint"
255+
-- 1 - DiscoBox
256-
                obj18.Parent = obj17
256+
local obj1 = Instance.new("Model")
257
obj1.Name = "DiscoBox"
258-
                -- 19 - Part-to-Part Strong Joint
258+
obj1.Parent = char
259-
                obj19 = Instance.new("ManualWeld")
259+
260-
                obj19.Part0 = Box
260+
-- 2 - DiscTop
261-
                obj19.Part1 = Disc
261+
obj2 = Instance.new("Part")
262-
                obj19.Name = "Part-to-Part Strong Joint"
262+
obj2.CFrame = CFrame.new(Vector3.new(-34.5000038, 3.09000182, -48.5)) * CFrame.Angles(-0, 0, -0)
263-
                obj19.Parent = obj17
263+
obj2.FormFactor = Enum.FormFactor.Custom
264
obj2.TopSurface = Enum.SurfaceType.Smooth
265-
                -- 20 - Part-to-Part Strong Joint
265+
obj2.BottomSurface = Enum.SurfaceType.Smooth
266-
                obj20 = Instance.new("ManualWeld")
266+
obj2.Material = Enum.Material.SmoothPlastic
267-
                obj20.Part0 = Box
267+
obj2.Size = Vector3.new(3, 0.200000003, 3)
268-
                obj20.Part1 = Disc2
268+
obj2.BrickColor = BrickColor.new("Dark stone grey")
269-
                obj20.Name = "Part-to-Part Strong Joint"
269+
obj2.Friction = 0.30000001192093
270-
                obj20.Parent = obj17
270+
obj2.Shape = Enum.PartType.Block
271
obj2.Name = "DiscTop"
272-
                -- 21 - Part-to-Part Strong Joint
272+
obj2.Parent = obj1
273-
                obj21 = Instance.new("ManualWeld")
273+
274-
                obj21.Part0 = Box
274+
-- 3 - Mesh
275-
                obj21.Part1 = DiscTop2
275+
obj3 = Instance.new("CylinderMesh")
276-
                obj21.Name = "Part-to-Part Strong Joint"
276+
obj3.Scale = Vector3.new(0.200000003, 1.04999995, 0.200000003)
277-
                obj21.Parent = obj17
277+
obj3.Parent = obj2
278
279-
                -- 22 - Part-to-Part Strong Joint
279+
-- 4 - Part-to-Part Strong Joint
280-
                obj22 = Instance.new("ManualWeld")
280+
obj4 = Instance.new("ManualWeld")
281-
                obj22.Part0 = Box
281+
obj4.Part0 = DiscTop
282-
                obj22.Part1 = DiscTop
282+
obj4.Part1 = Part
283-
                obj22.Name = "Part-to-Part Strong Joint"
283+
obj4.Name = "Part-to-Part Strong Joint"
284-
                obj22.Parent = obj17
284+
obj4.Parent = obj2
285
286-
                -- 23 - Part-to-Part Strong Joint
286+
-- 5 - Disc
287-
                obj23 = Instance.new("ManualWeld")
287+
obj5 = Instance.new("Part")
288-
                obj23.Part0 = Box
288+
obj5.CFrame = CFrame.new(Vector3.new(-34.5, 3.08999991, -48.5)) * CFrame.Angles(-0, 0, -0)
289-
                obj23.Part1 = Part
289+
obj5.FormFactor = Enum.FormFactor.Custom
290-
                obj23.Name = "Part-to-Part Strong Joint"
290+
obj5.TopSurface = Enum.SurfaceType.Smooth
291-
                obj23.Parent = obj17
291+
obj5.BottomSurface = Enum.SurfaceType.Smooth
292
obj5.Material = Enum.Material.Sand
293-
                -- 24 - Part-to-Part Strong Joint
293+
obj5.Size = Vector3.new(3, 0.200000003, 3)
294-
                obj24 = Instance.new("ManualWeld")
294+
obj5.BrickColor = BrickColor.new("Black")
295-
                obj24.Part0 = Box
295+
obj5.Friction = 0.30000001192093
296-
                obj24.Part1 = Part
296+
obj5.Shape = Enum.PartType.Block
297-
                obj24.Name = "Part-to-Part Strong Joint"
297+
obj5.Name = "Disc"
298-
                obj24.Parent = obj17
298+
obj5.Parent = obj1
299
300-
                -- 25 - Part-to-Part Strong Joint
300+
-- 6 - Mesh
301-
                obj25 = Instance.new("ManualWeld")
301+
obj6 = Instance.new("CylinderMesh")
302-
                obj25.Part0 = Box
302+
obj6.Scale = Vector3.new(0.899999976, 1, 0.899999976)
303-
                obj25.Part1 = Part
303+
obj6.Parent = obj5
304-
                obj25.Name = "Part-to-Part Strong Joint"
304+
305-
                obj25.Parent = obj17
305+
-- 7 - Part-to-Part Strong Joint
306
obj7 = Instance.new("ManualWeld")
307-
                -- 26 - Box-to-Part Strong Joint
307+
obj7.Part0 = Disc
308-
                obj26 = Instance.new("ManualWeld")
308+
obj7.Part1 = Part
309-
                obj26.Part0 = Box
309+
obj7.Name = "Part-to-Part Strong Joint"
310-
                obj26.Part1 = Slider
310+
obj7.Parent = obj5
311-
                obj26.Name = "Box-to-Part Strong Joint"
311+
312-
                obj26.Parent = obj17
312+
-- 8 - Part
313
obj8 = Instance.new("Part")
314-
                -- 27 - Box-to-Part Strong Joint
314+
obj8.CFrame = CFrame.new(Vector3.new(-37.5, 2.88999987, -49.5)) * CFrame.Angles(-0, 0, -0)
315-
                obj27 = Instance.new("ManualWeld")
315+
obj8.FormFactor = Enum.FormFactor.Custom
316-
                obj27.Part0 = Box
316+
obj8.TopSurface = Enum.SurfaceType.Smooth
317-
                obj27.Part1 = Slider2
317+
obj8.BottomSurface = Enum.SurfaceType.Smooth
318-
                obj27.Name = "Box-to-Part Strong Joint"
318+
obj8.Material = Enum.Material.SmoothPlastic
319-
                obj27.Parent = obj17
319+
obj8.Size = Vector3.new(1, 0.200000003, 1)
320
obj8.BrickColor = BrickColor.new("Mid gray")
321-
                -- 28 - Part
321+
obj8.Friction = 0.30000001192093
322-
                obj28 = Instance.new("Part")
322+
obj8.Shape = Enum.PartType.Block
323-
                obj28.CFrame = CFrame.new(Vector3.new(-37.5, 2.88999987, -48.5)) * CFrame.Angles(-0, 0, -0)
323+
obj8.Parent = obj1
324-
                obj28.FormFactor = Enum.FormFactor.Custom
324+
325-
                obj28.TopSurface = Enum.SurfaceType.Smooth
325+
-- 9 - Mesh
326-
                obj28.BottomSurface = Enum.SurfaceType.Smooth
326+
obj9 = Instance.new("CylinderMesh")
327-
                obj28.Material = Enum.Material.SmoothPlastic
327+
obj9.Scale = Vector3.new(0.5, 1.04999995, 0.5)
328-
                obj28.Size = Vector3.new(1, 0.200000003, 1)
328+
obj9.Parent = obj8
329-
                obj28.BrickColor = BrickColor.new("Bright red")
329+
330-
                obj28.Friction = 0.30000001192093
330+
-- 10 - Part-to-Part Strong Joint
331-
                obj28.Shape = Enum.PartType.Block
331+
obj10 = Instance.new("ManualWeld")
332-
                obj28.Parent = obj1
332+
obj10.Part0 = Part
333
obj10.Part1 = Part
334-
                -- 29 - Mesh
334+
obj10.Name = "Part-to-Part Strong Joint"
335-
                obj29 = Instance.new("CylinderMesh")
335+
obj10.Parent = obj8
336-
                obj29.Scale = Vector3.new(0.5, 1.04999995, 0.5)
336+
337-
                obj29.Parent = obj28
337+
-- 11 - Part
338
obj11 = Instance.new("Part")
339-
                -- 30 - Part-to-Part Strong Joint
339+
obj11.CFrame = CFrame.new(Vector3.new(-36.5, 2.88999987, -49.5)) * CFrame.Angles(-0, 0, -0)
340-
                obj30 = Instance.new("ManualWeld")
340+
obj11.FormFactor = Enum.FormFactor.Custom
341-
                obj30.Part0 = Part
341+
obj11.TopSurface = Enum.SurfaceType.Smooth
342-
                obj30.Part1 = Part
342+
obj11.BottomSurface = Enum.SurfaceType.Smooth
343-
                obj30.Name = "Part-to-Part Strong Joint"
343+
obj11.Material = Enum.Material.SmoothPlastic
344-
                obj30.Parent = obj28
344+
obj11.Size = Vector3.new(1, 0.200000003, 1)
345
obj11.BrickColor = BrickColor.new("Mid gray")
346-
                -- 31 - Part-to-Part Strong Joint
346+
obj11.Friction = 0.30000001192093
347-
                obj31 = Instance.new("ManualWeld")
347+
obj11.Shape = Enum.PartType.Block
348-
                obj31.Part0 = Part
348+
obj11.Parent = obj1
349-
                obj31.Part1 = Part
349+
350-
                obj31.Name = "Part-to-Part Strong Joint"
350+
-- 12 - Mesh
351-
                obj31.Parent = obj28
351+
obj12 = Instance.new("CylinderMesh")
352
obj12.Scale = Vector3.new(0.400000006, 1.04999995, 0.400000006)
353-
                -- 32 - Part
353+
obj12.Parent = obj11
354-
                obj32 = Instance.new("Part")
354+
355-
                obj32.CFrame = CFrame.new(Vector3.new(-37, 3.09000087, -50.5)) * CFrame.Angles(-0, 0, -0)
355+
-- 13 - Bar
356-
                obj32.FormFactor = Enum.FormFactor.Custom
356+
obj13 = Instance.new("Part")
357-
                obj32.TopSurface = Enum.SurfaceType.Smooth
357+
obj13.CFrame = CFrame.new(Vector3.new(-37.0000114, 3.09000063, -50.5)) * CFrame.Angles(-0, 0, -0)
358-
                obj32.BottomSurface = Enum.SurfaceType.Smooth
358+
obj13.FormFactor = Enum.FormFactor.Custom
359-
                obj32.Material = Enum.Material.SmoothPlastic
359+
obj13.TopSurface = Enum.SurfaceType.Smooth
360-
                obj32.Size = Vector3.new(8, 0.200000003, 1)
360+
obj13.BottomSurface = Enum.SurfaceType.Smooth
361-
                obj32.BrickColor = BrickColor.new("Dark stone grey")
361+
obj13.Material = Enum.Material.SmoothPlastic
362-
                obj32.Friction = 0.30000001192093
362+
obj13.Size = Vector3.new(7.99999905, 0.200000003, 1)
363-
                obj32.Shape = Enum.PartType.Block
363+
obj13.BrickColor = BrickColor.new("Really black")
364-
                obj32.Parent = obj1
364+
obj13.Friction = 0.30000001192093
365
obj13.Shape = Enum.PartType.Block
366-
                -- 33 - Part-to-Part Strong Joint
366+
obj13.Parent = obj1
367-
                obj33 = Instance.new("ManualWeld")
367+
368-
                obj33.Part0 = Part
368+
-- 14 - Part-to-Part Strong Joint
369-
                obj33.Part1 = Disc
369+
obj14 = Instance.new("ManualWeld")
370-
                obj33.Name = "Part-to-Part Strong Joint"
370+
obj14.Part0 = Part
371-
                obj33.Parent = obj32
371+
obj14.Part1 = nil
372
obj14.Name = "Part-to-Part Strong Joint"
373-
                -- 34 - Part-to-Part Strong Joint
373+
obj14.Parent = obj13
374-
                obj34 = Instance.new("ManualWeld")
374+
375-
                obj34.Part0 = Part
375+
-- 15 - Part-to-Part Strong Joint
376-
                obj34.Part1 = Disc2
376+
obj15 = Instance.new("ManualWeld")
377-
                obj34.Name = "Part-to-Part Strong Joint"
377+
obj15.Part0 = Part
378-
                obj34.Parent = obj32
378+
obj15.Part1 = nil
379
obj15.Name = "Part-to-Part Strong Joint"
380-
                -- 35 - Part-to-Part Strong Joint
380+
obj15.Parent = obj13
381-
                obj35 = Instance.new("ManualWeld")
381+
382-
                obj35.Part0 = Part
382+
-- 16 - Mesh
383-
                obj35.Part1 = DiscTop2
383+
obj16 = Instance.new("BlockMesh")
384-
                obj35.Name = "Part-to-Part Strong Joint"
384+
obj16.Scale = Vector3.new(0.899999976, 1.04999995, 0.200000003)
385-
                obj35.Parent = obj32
385+
obj16.Parent = obj13
386
387-
                -- 36 - Part-to-Part Strong Joint
387+
-- 17 - Box
388-
                obj36 = Instance.new("ManualWeld")
388+
obj17 = Instance.new("Part")
389-
                obj36.Part0 = Part
389+
obj17.CFrame = CFrame.new(Vector3.new(-37, 1.49000001, -49)) * CFrame.Angles(-0, 0, -0)
390-
                obj36.Part1 = DiscTop
390+
obj17.FormFactor = Enum.FormFactor.Symmetric
391-
                obj36.Name = "Part-to-Part Strong Joint"
391+
obj17.TopSurface = Enum.SurfaceType.Smooth
392-
                obj36.Parent = obj32
392+
obj17.BottomSurface = Enum.SurfaceType.Smooth
393
obj17.Material = Enum.Material.SmoothPlastic
394-
                -- 37 - Part
394+
obj17.Size = Vector3.new(8, 3, 4)
395-
                obj37 = Instance.new("Part")
395+
obj17.BrickColor = BrickColor.new("Dark stone grey")
396-
                obj37.CFrame = CFrame.new(Vector3.new(-36.5, 2.88999987, -48.5)) * CFrame.Angles(-0, 0, -0)
396+
obj17.Friction = 0.30000001192093
397-
                obj37.FormFactor = Enum.FormFactor.Custom
397+
obj17.Shape = Enum.PartType.Block
398-
                obj37.TopSurface = Enum.SurfaceType.Smooth
398+
obj17.Name = "Box"
399-
                obj37.BottomSurface = Enum.SurfaceType.Smooth
399+
obj17.Parent = obj1
400-
                obj37.Material = Enum.Material.SmoothPlastic
400+
401-
                obj37.Size = Vector3.new(1, 0.200000003, 1)
401+
-- 18 - Part-to-Part Strong Joint
402-
                obj37.BrickColor = BrickColor.new("Bright red")
402+
obj18 = Instance.new("ManualWeld")
403-
                obj37.Friction = 0.30000001192093
403+
obj18.Part0 = Box
404-
                obj37.Shape = Enum.PartType.Block
404+
obj18.Part1 = Part
405-
                obj37.Parent = obj1
405+
obj18.Name = "Part-to-Part Strong Joint"
406
obj18.Parent = obj17
407-
                -- 38 - Mesh
407+
408-
                obj38 = Instance.new("CylinderMesh")
408+
-- 19 - Part-to-Part Strong Joint
409-
                obj38.Scale = Vector3.new(0.699999988, 1.04999995, 0.699999988)
409+
obj19 = Instance.new("ManualWeld")
410-
                obj38.Parent = obj37
410+
obj19.Part0 = Box
411
obj19.Part1 = Disc
412-
                -- 39 - Part-to-Part Strong Joint
412+
obj19.Name = "Part-to-Part Strong Joint"
413-
                obj39 = Instance.new("ManualWeld")
413+
obj19.Parent = obj17
414-
                obj39.Part0 = Part
414+
415-
                obj39.Part1 = Part
415+
-- 20 - Part-to-Part Strong Joint
416-
                obj39.Name = "Part-to-Part Strong Joint"
416+
obj20 = Instance.new("ManualWeld")
417-
                obj39.Parent = obj37
417+
obj20.Part0 = Box
418
obj20.Part1 = Disc2
419-
                -- 40 - Part-to-Part Strong Joint
419+
obj20.Name = "Part-to-Part Strong Joint"
420-
                obj40 = Instance.new("ManualWeld")
420+
obj20.Parent = obj17
421-
                obj40.Part0 = Part
421+
422-
                obj40.Part1 = Part
422+
-- 21 - Part-to-Part Strong Joint
423-
                obj40.Name = "Part-to-Part Strong Joint"
423+
obj21 = Instance.new("ManualWeld")
424-
                obj40.Parent = obj37
424+
obj21.Part0 = Box
425
obj21.Part1 = DiscTop2
426-
                -- 41 - Part
426+
obj21.Name = "Part-to-Part Strong Joint"
427-
                obj41 = Instance.new("Part")
427+
obj21.Parent = obj17
428-
                obj41.CFrame = CFrame.new(Vector3.new(-37.5, 2.88999963, -47.5)) * CFrame.Angles(-0, 0, -0)
428+
429-
                obj41.FormFactor = Enum.FormFactor.Custom
429+
-- 22 - Part-to-Part Strong Joint
430-
                obj41.TopSurface = Enum.SurfaceType.Smooth
430+
obj22 = Instance.new("ManualWeld")
431-
                obj41.BottomSurface = Enum.SurfaceType.Smooth
431+
obj22.Part0 = Box
432-
                obj41.Material = Enum.Material.SmoothPlastic
432+
obj22.Part1 = DiscTop
433-
                obj41.Size = Vector3.new(1, 0.200000003, 1)
433+
obj22.Name = "Part-to-Part Strong Joint"
434-
                obj41.BrickColor = BrickColor.new("Bright blue")
434+
obj22.Parent = obj17
435-
                obj41.Friction = 0.30000001192093
435+
436-
                obj41.Shape = Enum.PartType.Block
436+
-- 23 - Part-to-Part Strong Joint
437-
                obj41.Parent = obj1
437+
obj23 = Instance.new("ManualWeld")
438
obj23.Part0 = Box
439-
                -- 42 - Mesh
439+
obj23.Part1 = Part
440-
                obj42 = Instance.new("CylinderMesh")
440+
obj23.Name = "Part-to-Part Strong Joint"
441-
                obj42.Scale = Vector3.new(0.5, 1.04999995, 0.5)
441+
obj23.Parent = obj17
442-
                obj42.Parent = obj41
442+
443
-- 24 - Part-to-Part Strong Joint
444-
                -- 43 - Part-to-Part Strong Joint
444+
obj24 = Instance.new("ManualWeld")
445-
                obj43 = Instance.new("ManualWeld")
445+
obj24.Part0 = Box
446-
                obj43.Part0 = Part
446+
obj24.Part1 = Part
447-
                obj43.Part1 = Part
447+
obj24.Name = "Part-to-Part Strong Joint"
448-
                obj43.Name = "Part-to-Part Strong Joint"
448+
obj24.Parent = obj17
449-
                obj43.Parent = obj41
449+
450
-- 25 - Part-to-Part Strong Joint
451-
                -- 44 - Part
451+
obj25 = Instance.new("ManualWeld")
452-
                obj44 = Instance.new("Part")
452+
obj25.Part0 = Box
453-
                obj44.CFrame = CFrame.new(Vector3.new(-36.5, 2.88999963, -47.5)) * CFrame.Angles(-0, 0, -0)
453+
obj25.Part1 = Part
454-
                obj44.FormFactor = Enum.FormFactor.Custom
454+
obj25.Name = "Part-to-Part Strong Joint"
455-
                obj44.TopSurface = Enum.SurfaceType.Smooth
455+
obj25.Parent = obj17
456-
                obj44.BottomSurface = Enum.SurfaceType.Smooth
456+
457-
                obj44.Material = Enum.Material.SmoothPlastic
457+
-- 26 - Box-to-Part Strong Joint
458-
                obj44.Size = Vector3.new(1, 0.200000003, 1)
458+
obj26 = Instance.new("ManualWeld")
459-
                obj44.BrickColor = BrickColor.new("Bright blue")
459+
obj26.Part0 = Box
460-
                obj44.Friction = 0.30000001192093
460+
obj26.Part1 = Slider
461-
                obj44.Shape = Enum.PartType.Block
461+
obj26.Name = "Box-to-Part Strong Joint"
462-
                obj44.Parent = obj1
462+
obj26.Parent = obj17
463
464-
                -- 45 - Mesh
464+
-- 27 - Box-to-Part Strong Joint
465-
                obj45 = Instance.new("CylinderMesh")
465+
obj27 = Instance.new("ManualWeld")
466-
                obj45.Scale = Vector3.new(0.200000003, 1.04999995, 0.200000003)
466+
obj27.Part0 = Box
467-
                obj45.Parent = obj44
467+
obj27.Part1 = Slider2
468
obj27.Name = "Box-to-Part Strong Joint"
469-
                -- 46 - Part-to-Part Strong Joint
469+
obj27.Parent = obj17
470-
                obj46 = Instance.new("ManualWeld")
470+
471-
                obj46.Part0 = Part
471+
-- 28 - Part
472-
                obj46.Part1 = Part
472+
obj28 = Instance.new("Part")
473-
                obj46.Name = "Part-to-Part Strong Joint"
473+
obj28.CFrame = CFrame.new(Vector3.new(-37.5, 2.88999987, -48.5)) * CFrame.Angles(-0, 0, -0)
474-
                obj46.Parent = obj44
474+
obj28.FormFactor = Enum.FormFactor.Custom
475
obj28.TopSurface = Enum.SurfaceType.Smooth
476-
                -- 47 - Part
476+
obj28.BottomSurface = Enum.SurfaceType.Smooth
477-
                obj47 = Instance.new("Part")
477+
obj28.Material = Enum.Material.SmoothPlastic
478-
                obj47.CFrame = CFrame.new(Vector3.new(-39.5000038, 2.88999963, -46.5)) * CFrame.Angles(-0, 0, -0)
478+
obj28.Size = Vector3.new(1, 0.200000003, 1)
479-
                obj47.FormFactor = Enum.FormFactor.Custom
479+
obj28.BrickColor = BrickColor.new("Bright red")
480-
                obj47.TopSurface = Enum.SurfaceType.Smooth
480+
obj28.Friction = 0.30000001192093
481-
                obj47.BottomSurface = Enum.SurfaceType.Smooth
481+
obj28.Shape = Enum.PartType.Block
482-
                obj47.Material = Enum.Material.SmoothPlastic
482+
obj28.Parent = obj1
483-
                obj47.Size = Vector3.new(3.00000048, 0.200000003, 1)
483+
484-
                obj47.BrickColor = BrickColor.new("Really black")
484+
-- 29 - Mesh
485-
                obj47.Friction = 0.30000001192093
485+
obj29 = Instance.new("CylinderMesh")
486-
                obj47.Shape = Enum.PartType.Block
486+
obj29.Scale = Vector3.new(0.5, 1.04999995, 0.5)
487-
                obj47.Parent = obj1
487+
obj29.Parent = obj28
488
489-
                -- 48 - Part-to-Part Strong Joint
489+
-- 30 - Part-to-Part Strong Joint
490-
                obj48 = Instance.new("ManualWeld")
490+
obj30 = Instance.new("ManualWeld")
491-
                obj48.Part0 = Part
491+
obj30.Part0 = Part
492-
                obj48.Part1 = nil
492+
obj30.Part1 = Part
493-
                obj48.Name = "Part-to-Part Strong Joint"
493+
obj30.Name = "Part-to-Part Strong Joint"
494-
                obj48.Parent = obj47
494+
obj30.Parent = obj28
495
496-
                -- 49 - Part-to-Part Strong Joint
496+
-- 31 - Part-to-Part Strong Joint
497-
                obj49 = Instance.new("ManualWeld")
497+
obj31 = Instance.new("ManualWeld")
498-
                obj49.Part0 = Part
498+
obj31.Part0 = Part
499-
                obj49.Part1 = nil
499+
obj31.Part1 = Part
500-
                obj49.Name = "Part-to-Part Strong Joint"
500+
obj31.Name = "Part-to-Part Strong Joint"
501-
                obj49.Parent = obj47
501+
obj31.Parent = obj28
502
503-
                -- 50 - Mesh
503+
-- 32 - Part
504-
                obj50 = Instance.new("BlockMesh")
504+
obj32 = Instance.new("Part")
505-
                obj50.Scale = Vector3.new(0.899999976, 1.04999995, 0.200000003)
505+
obj32.CFrame = CFrame.new(Vector3.new(-37, 3.09000087, -50.5)) * CFrame.Angles(-0, 0, -0)
506-
                obj50.Parent = obj47
506+
obj32.FormFactor = Enum.FormFactor.Custom
507
obj32.TopSurface = Enum.SurfaceType.Smooth
508-
                -- 51 - Part
508+
obj32.BottomSurface = Enum.SurfaceType.Smooth
509-
                obj51 = Instance.new("Part")
509+
obj32.Material = Enum.Material.SmoothPlastic
510-
                obj51.CFrame = CFrame.new(Vector3.new(-34.5, 2.88999963, -46.5)) * CFrame.Angles(-0, 0, -0)
510+
obj32.Size = Vector3.new(8, 0.200000003, 1)
511-
                obj51.FormFactor = Enum.FormFactor.Custom
511+
obj32.BrickColor = BrickColor.new("Dark stone grey")
512-
                obj51.TopSurface = Enum.SurfaceType.Smooth
512+
obj32.Friction = 0.30000001192093
513-
                obj51.BottomSurface = Enum.SurfaceType.Smooth
513+
obj32.Shape = Enum.PartType.Block
514-
                obj51.Material = Enum.Material.SmoothPlastic
514+
obj32.Parent = obj1
515-
                obj51.Size = Vector3.new(3.00000048, 0.200000003, 1)
515+
516-
                obj51.BrickColor = BrickColor.new("Really black")
516+
-- 33 - Part-to-Part Strong Joint
517-
                obj51.Friction = 0.30000001192093
517+
obj33 = Instance.new("ManualWeld")
518-
                obj51.Shape = Enum.PartType.Block
518+
obj33.Part0 = Part
519-
                obj51.Parent = obj1
519+
obj33.Part1 = Disc
520
obj33.Name = "Part-to-Part Strong Joint"
521-
                -- 52 - Part-to-Part Strong Joint
521+
obj33.Parent = obj32
522-
                obj52 = Instance.new("ManualWeld")
522+
523-
                obj52.Part0 = Part
523+
-- 34 - Part-to-Part Strong Joint
524-
                obj52.Part1 = nil
524+
obj34 = Instance.new("ManualWeld")
525-
                obj52.Name = "Part-to-Part Strong Joint"
525+
obj34.Part0 = Part
526-
                obj52.Parent = obj51
526+
obj34.Part1 = Disc2
527
obj34.Name = "Part-to-Part Strong Joint"
528-
                -- 53 - Part-to-Part Strong Joint
528+
obj34.Parent = obj32
529-
                obj53 = Instance.new("ManualWeld")
529+
530-
                obj53.Part0 = Part
530+
-- 35 - Part-to-Part Strong Joint
531-
                obj53.Part1 = nil
531+
obj35 = Instance.new("ManualWeld")
532-
                obj53.Name = "Part-to-Part Strong Joint"
532+
obj35.Part0 = Part
533-
                obj53.Parent = obj51
533+
obj35.Part1 = DiscTop2
534
obj35.Name = "Part-to-Part Strong Joint"
535-
                -- 54 - Mesh
535+
obj35.Parent = obj32
536-
                obj54 = Instance.new("BlockMesh")
536+
537-
                obj54.Scale = Vector3.new(0.899999976, 1.04999995, 0.200000003)
537+
-- 36 - Part-to-Part Strong Joint
538-
                obj54.Parent = obj51
538+
obj36 = Instance.new("ManualWeld")
539
obj36.Part0 = Part
540-
                -- 55 - DiscTop2
540+
obj36.Part1 = DiscTop
541-
                obj55 = Instance.new("Part")
541+
obj36.Name = "Part-to-Part Strong Joint"
542-
                obj55.CFrame = CFrame.new(Vector3.new(-39.5, 3.09000063, -48.5)) * CFrame.Angles(-0, 0, -0)
542+
obj36.Parent = obj32
543-
                obj55.FormFactor = Enum.FormFactor.Custom
543+
544-
                obj55.TopSurface = Enum.SurfaceType.Smooth
544+
-- 37 - Part
545-
                obj55.BottomSurface = Enum.SurfaceType.Smooth
545+
obj37 = Instance.new("Part")
546-
                obj55.Material = Enum.Material.SmoothPlastic
546+
obj37.CFrame = CFrame.new(Vector3.new(-36.5, 2.88999987, -48.5)) * CFrame.Angles(-0, 0, -0)
547-
                obj55.Size = Vector3.new(3, 0.200000003, 3)
547+
obj37.FormFactor = Enum.FormFactor.Custom
548-
                obj55.BrickColor = BrickColor.new("Dark stone grey")
548+
obj37.TopSurface = Enum.SurfaceType.Smooth
549-
                obj55.Friction = 0.30000001192093
549+
obj37.BottomSurface = Enum.SurfaceType.Smooth
550-
                obj55.Shape = Enum.PartType.Block
550+
obj37.Material = Enum.Material.SmoothPlastic
551-
                obj55.Name = "DiscTop2"
551+
obj37.Size = Vector3.new(1, 0.200000003, 1)
552-
                obj55.Parent = obj1
552+
obj37.BrickColor = BrickColor.new("Bright red")
553
obj37.Friction = 0.30000001192093
554-
                -- 56 - Mesh
554+
obj37.Shape = Enum.PartType.Block
555-
                obj56 = Instance.new("CylinderMesh")
555+
obj37.Parent = obj1
556-
                obj56.Scale = Vector3.new(0.200000003, 1.04999995, 0.200000003)
556+
557-
                obj56.Parent = obj55
557+
-- 38 - Mesh
558
obj38 = Instance.new("CylinderMesh")
559-
                -- 57 - Part-to-Part Strong Joint
559+
obj38.Scale = Vector3.new(0.699999988, 1.04999995, 0.699999988)
560-
                obj57 = Instance.new("ManualWeld")
560+
obj38.Parent = obj37
561-
                obj57.Part0 = DiscTop2
561+
562-
                obj57.Part1 = Part
562+
-- 39 - Part-to-Part Strong Joint
563-
                obj57.Name = "Part-to-Part Strong Joint"
563+
obj39 = Instance.new("ManualWeld")
564-
                obj57.Parent = obj55
564+
obj39.Part0 = Part
565
obj39.Part1 = Part
566-
                -- 58 - Disc2
566+
obj39.Name = "Part-to-Part Strong Joint"
567-
                obj58 = Instance.new("Part")
567+
obj39.Parent = obj37
568-
                obj58.CFrame = CFrame.new(Vector3.new(-39.5, 3.08999991, -48.5)) * CFrame.Angles(-0, 0, -0)
568+
569-
                obj58.FormFactor = Enum.FormFactor.Custom
569+
-- 40 - Part-to-Part Strong Joint
570-
                obj58.TopSurface = Enum.SurfaceType.Smooth
570+
obj40 = Instance.new("ManualWeld")
571-
                obj58.BottomSurface = Enum.SurfaceType.Smooth
571+
obj40.Part0 = Part
572-
                obj58.Material = Enum.Material.Sand
572+
obj40.Part1 = Part
573-
                obj58.Size = Vector3.new(3, 0.200000003, 3)
573+
obj40.Name = "Part-to-Part Strong Joint"
574-
                obj58.BrickColor = BrickColor.new("Black")
574+
obj40.Parent = obj37
575-
                obj58.Friction = 0.30000001192093
575+
576-
                obj58.Shape = Enum.PartType.Block
576+
-- 41 - Part
577-
                obj58.Name = "Disc2"
577+
obj41 = Instance.new("Part")
578-
                obj58.Parent = obj1
578+
obj41.CFrame = CFrame.new(Vector3.new(-37.5, 2.88999963, -47.5)) * CFrame.Angles(-0, 0, -0)
579
obj41.FormFactor = Enum.FormFactor.Custom
580-
                -- 59 - Mesh
580+
obj41.TopSurface = Enum.SurfaceType.Smooth
581-
                obj59 = Instance.new("CylinderMesh")
581+
obj41.BottomSurface = Enum.SurfaceType.Smooth
582-
                obj59.Scale = Vector3.new(0.899999976, 1, 0.899999976)
582+
obj41.Material = Enum.Material.SmoothPlastic
583-
                obj59.Parent = obj58
583+
obj41.Size = Vector3.new(1, 0.200000003, 1)
584
obj41.BrickColor = BrickColor.new("Bright blue")
585-
                -- 60 - Part-to-Part Strong Joint
585+
obj41.Friction = 0.30000001192093
586-
                obj60 = Instance.new("ManualWeld")
586+
obj41.Shape = Enum.PartType.Block
587-
                obj60.Part0 = Disc2
587+
obj41.Parent = obj1
588-
                obj60.Part1 = Part
588+
589-
                obj60.Name = "Part-to-Part Strong Joint"
589+
-- 42 - Mesh
590-
                obj60.Parent = obj58
590+
obj42 = Instance.new("CylinderMesh")
591
obj42.Scale = Vector3.new(0.5, 1.04999995, 0.5)
592-
                -- 61 - Part
592+
obj42.Parent = obj41
593-
                obj61 = Instance.new("Part")
593+
594-
                obj61.CFrame = CFrame.new(Vector3.new(-37, 2.69000006, -46.5)) * CFrame.Angles(-0, 0, -0)
594+
-- 43 - Part-to-Part Strong Joint
595-
                obj61.FormFactor = Enum.FormFactor.Custom
595+
obj43 = Instance.new("ManualWeld")
596-
                obj61.TopSurface = Enum.SurfaceType.Smooth
596+
obj43.Part0 = Part
597-
                obj61.BottomSurface = Enum.SurfaceType.Smooth
597+
obj43.Part1 = Part
598-
                obj61.Material = Enum.Material.SmoothPlastic
598+
obj43.Name = "Part-to-Part Strong Joint"
599-
                obj61.Size = Vector3.new(8, 0.600000024, 1)
599+
obj43.Parent = obj41
600-
                obj61.BrickColor = BrickColor.new("Dark stone grey")
600+
601-
                obj61.Friction = 0.30000001192093
601+
-- 44 - Part
602-
                obj61.Shape = Enum.PartType.Block
602+
obj44 = Instance.new("Part")
603-
                obj61.Parent = obj1
603+
obj44.CFrame = CFrame.new(Vector3.new(-36.5, 2.88999963, -47.5)) * CFrame.Angles(-0, 0, -0)
604
obj44.FormFactor = Enum.FormFactor.Custom
605-
                -- 62 - Slider2
605+
obj44.TopSurface = Enum.SurfaceType.Smooth
606-
                obj62 = Instance.new("Part")
606+
obj44.BottomSurface = Enum.SurfaceType.Smooth
607-
                obj62.CFrame = CFrame.new(Vector3.new(-38.7000237, 2.89000058, -46.5)) * CFrame.Angles(-0, 0, -0)
607+
obj44.Material = Enum.Material.SmoothPlastic
608-
                obj62.FormFactor = Enum.FormFactor.Custom
608+
obj44.Size = Vector3.new(1, 0.200000003, 1)
609-
                obj62.TopSurface = Enum.SurfaceType.Smooth
609+
obj44.BrickColor = BrickColor.new("Bright blue")
610-
                obj62.BottomSurface = Enum.SurfaceType.Smooth
610+
obj44.Friction = 0.30000001192093
611-
                obj62.Material = Enum.Material.SmoothPlastic
611+
obj44.Shape = Enum.PartType.Block
612-
                obj62.Size = Vector3.new(0.200000152, 0.200000003, 1)
612+
obj44.Parent = obj1
613-
                obj62.BrickColor = BrickColor.new("Dark stone grey")
613+
614-
                obj62.Friction = 0.30000001192093
614+
-- 45 - Mesh
615-
                obj62.Shape = Enum.PartType.Block
615+
obj45 = Instance.new("CylinderMesh")
616-
                obj62.Name = "Slider2"
616+
obj45.Scale = Vector3.new(0.200000003, 1.04999995, 0.200000003)
617-
                obj62.Parent = obj1
617+
obj45.Parent = obj44
618
619-
                -- 63 - Part-to-Part Strong Joint
619+
-- 46 - Part-to-Part Strong Joint
620-
                obj63 = Instance.new("ManualWeld")
620+
obj46 = Instance.new("ManualWeld")
621-
                obj63.Part0 = Slider2
621+
obj46.Part0 = Part
622-
                obj63.Part1 = nil
622+
obj46.Part1 = Part
623-
                obj63.Name = "Part-to-Part Strong Joint"
623+
obj46.Name = "Part-to-Part Strong Joint"
624-
                obj63.Parent = obj62
624+
obj46.Parent = obj44
625
626-
                -- 64 - Part-to-Part Strong Joint
626+
-- 47 - Part
627-
                obj64 = Instance.new("ManualWeld")
627+
obj47 = Instance.new("Part")
628-
                obj64.Part0 = Slider2
628+
obj47.CFrame = CFrame.new(Vector3.new(-39.5000038, 2.88999963, -46.5)) * CFrame.Angles(-0, 0, -0)
629-
                obj64.Part1 = nil
629+
obj47.FormFactor = Enum.FormFactor.Custom
630-
                obj64.Name = "Part-to-Part Strong Joint"
630+
obj47.TopSurface = Enum.SurfaceType.Smooth
631-
                obj64.Parent = obj62
631+
obj47.BottomSurface = Enum.SurfaceType.Smooth
632
obj47.Material = Enum.Material.SmoothPlastic
633-
                -- 65 - Mesh
633+
obj47.Size = Vector3.new(3.00000048, 0.200000003, 1)
634-
                obj65 = Instance.new("BlockMesh")
634+
obj47.BrickColor = BrickColor.new("Really black")
635-
                obj65.Scale = Vector3.new(0.899999976, 1.45000005, 0.5)
635+
obj47.Friction = 0.30000001192093
636-
                obj65.Parent = obj62
636+
obj47.Shape = Enum.PartType.Block
637
obj47.Parent = obj1
638-
                -- 66 - Slider
638+
639-
                obj66 = Instance.new("Part")
639+
-- 48 - Part-to-Part Strong Joint
640-
                obj66.CFrame = CFrame.new(Vector3.new(-34.6999969, 2.88999987, -46.5)) * CFrame.Angles(-0, 0, -0)
640+
obj48 = Instance.new("ManualWeld")
641-
                obj66.FormFactor = Enum.FormFactor.Custom
641+
obj48.Part0 = Part
642-
                obj66.TopSurface = Enum.SurfaceType.Smooth
642+
obj48.Part1 = nil
643-
                obj66.BottomSurface = Enum.SurfaceType.Smooth
643+
obj48.Name = "Part-to-Part Strong Joint"
644-
                obj66.Material = Enum.Material.SmoothPlastic
644+
obj48.Parent = obj47
645-
                obj66.Size = Vector3.new(0.200000152, 0.200000003, 1)
645+
646-
                obj66.BrickColor = BrickColor.new("Dark stone grey")
646+
-- 49 - Part-to-Part Strong Joint
647-
                obj66.Friction = 0.30000001192093
647+
obj49 = Instance.new("ManualWeld")
648-
                obj66.Shape = Enum.PartType.Block
648+
obj49.Part0 = Part
649-
                obj66.Name = "Slider"
649+
obj49.Part1 = nil
650-
                obj66.Parent = obj1
650+
obj49.Name = "Part-to-Part Strong Joint"
651
obj49.Parent = obj47
652-
                -- 67 - Part-to-Part Strong Joint
652+
653-
                obj67 = Instance.new("ManualWeld")
653+
-- 50 - Mesh
654-
                obj67.Part0 = Slider
654+
obj50 = Instance.new("BlockMesh")
655-
                obj67.Part1 = nil
655+
obj50.Scale = Vector3.new(0.899999976, 1.04999995, 0.200000003)
656-
                obj67.Name = "Part-to-Part Strong Joint"
656+
obj50.Parent = obj47
657-
                obj67.Parent = obj66
657+
658
-- 51 - Part
659-
                -- 68 - Part-to-Part Strong Joint
659+
obj51 = Instance.new("Part")
660-
                obj68 = Instance.new("ManualWeld")
660+
obj51.CFrame = CFrame.new(Vector3.new(-34.5, 2.88999963, -46.5)) * CFrame.Angles(-0, 0, -0)
661-
                obj68.Part0 = Slider
661+
obj51.FormFactor = Enum.FormFactor.Custom
662-
                obj68.Part1 = nil
662+
obj51.TopSurface = Enum.SurfaceType.Smooth
663-
                obj68.Name = "Part-to-Part Strong Joint"
663+
obj51.BottomSurface = Enum.SurfaceType.Smooth
664-
                obj68.Parent = obj66
664+
obj51.Material = Enum.Material.SmoothPlastic
665
obj51.Size = Vector3.new(3.00000048, 0.200000003, 1)
666-
                -- 69 - Mesh
666+
obj51.BrickColor = BrickColor.new("Really black")
667-
                obj69 = Instance.new("BlockMesh")
667+
obj51.Friction = 0.30000001192093
668-
                obj69.Scale = Vector3.new(0.899999976, 1.45000005, 0.5)
668+
obj51.Shape = Enum.PartType.Block
669-
                obj69.Parent = obj66
669+
obj51.Parent = obj1
670
671-
                for i,v in pairs(obj1:children()) do
671+
-- 52 - Part-to-Part Strong Joint
672-
                        v.Anchored = true
672+
obj52 = Instance.new("ManualWeld")
673-
                        v.Locked = true
673+
obj52.Part0 = Part
674-
                end
674+
obj52.Part1 = nil
675
obj52.Name = "Part-to-Part Strong Joint"
676-
        function Recursive(Model)
676+
obj52.Parent = obj51
677-
                local Stuff = {}
677+
678-
                local function Recur(Targ)
678+
-- 53 - Part-to-Part Strong Joint
679-
                        for i,v in pairs(Targ:getChildren()) do
679+
obj53 = Instance.new("ManualWeld")
680-
                                table.insert(Stuff,v)
680+
obj53.Part0 = Part
681-
                                Recur(v)
681+
obj53.Part1 = nil
682-
                        end
682+
obj53.Name = "Part-to-Part Strong Joint"
683-
                end
683+
obj53.Parent = obj51
684-
                Recur(Model)
684+
685-
                return Stuff
685+
-- 54 - Mesh
686-
        end
686+
obj54 = Instance.new("BlockMesh")
687
obj54.Scale = Vector3.new(0.899999976, 1.04999995, 0.200000003)
688-
        function MoveModel(Model,CF)
688+
obj54.Parent = obj51
689-
            local Center = Model:getModelCFrame()
689+
690-
                local Offsets = {}
690+
-- 55 - DiscTop2
691-
            for i,v in pairs (Recursive(Model)) do
691+
obj55 = Instance.new("Part")
692-
                if v:IsA("BasePart") then
692+
obj55.CFrame = CFrame.new(Vector3.new(-39.5, 3.09000063, -48.5)) * CFrame.Angles(-0, 0, -0)
693-
                                Offsets[v] = CF*Center:toObjectSpace(v.CFrame)
693+
obj55.FormFactor = Enum.FormFactor.Custom
694-
                end
694+
obj55.TopSurface = Enum.SurfaceType.Smooth
695-
            end
695+
obj55.BottomSurface = Enum.SurfaceType.Smooth
696-
              
696+
obj55.Material = Enum.Material.SmoothPlastic
697-
                for i,v in pairs(Offsets) do
697+
obj55.Size = Vector3.new(3, 0.200000003, 3)
698-
                        i.CFrame = v
698+
obj55.BrickColor = BrickColor.new("Dark stone grey")
699-
                end
699+
obj55.Friction = 0.30000001192093
700-
        end
700+
obj55.Shape = Enum.PartType.Block
701
obj55.Name = "DiscTop2"
702-
        MoveModel(obj1, torso.CFrame*CFrame.new(0,-1.5,-3))
702+
obj55.Parent = obj1
703
704-
                local value = 0
704+
-- 56 - Mesh
705-
                local Slider2CFrame = obj62.CFrame
705+
obj56 = Instance.new("CylinderMesh")
706-
                local SliderCFrame = obj66.CFrame
706+
obj56.Scale = Vector3.new(0.200000003, 1.04999995, 0.200000003)
707-
                local colur = 0
707+
obj56.Parent = obj55
708-
                local hue = 0
708+
709-
                local DiscoLight = Instance.new('PointLight', obj2)
709+
-- 57 - Part-to-Part Strong Joint
710-
                DiscoLight.Range = 0
710+
obj57 = Instance.new("ManualWeld")
711-
                game:service'RunService'.RenderStepped:connect(function()
711+
obj57.Part0 = DiscTop2
712-
                        if obj1.Parent ~= char then return end
712+
obj57.Part1 = Part
713-
                        if sound.IsPlaying then
713+
obj57.Name = "Part-to-Part Strong Joint"
714-
                                hue = ((hue+5)%360)
714+
obj57.Parent = obj55
715-
                                colur = HSV(hue,.8,.8)
715+
716-
                                DiscoLight.Color = Color3.new(colur.r, colur.g, colur.b)
716+
-- 58 - Disc2
717-
                                DiscoLight.Range = 60
717+
obj58 = Instance.new("Part")
718-
                                value = (value % 360) + math.random()
718+
obj58.CFrame = CFrame.new(Vector3.new(-39.5, 3.08999991, -48.5)) * CFrame.Angles(-0, 0, -0)
719-
                                obj13.Color = Color3.new(colur.r, colur.g, colur.b)
719+
obj58.FormFactor = Enum.FormFactor.Custom
720-
                                obj58.CFrame = obj58.CFrame * CFrame.Angles(0, .05, 0)
720+
obj58.TopSurface = Enum.SurfaceType.Smooth
721-
                                obj5.CFrame = obj5.CFrame * CFrame.Angles(0, .05, 0)
721+
obj58.BottomSurface = Enum.SurfaceType.Smooth
722-
                                obj62.CFrame = Slider2CFrame * CFrame.new(math.sin(value)*.25, 0, 0)
722+
obj58.Material = Enum.Material.Sand
723-
                                obj66.CFrame = SliderCFrame * CFrame.new(-math.sin(value)*.25, 0, 0)
723+
obj58.Size = Vector3.new(3, 0.200000003, 3)
724-
                        else
724+
obj58.BrickColor = BrickColor.new("Black")
725-
                        DiscoLight.Range = 0
725+
obj58.Friction = 0.30000001192093
726-
                        obj13.Color = Color3.new()
726+
obj58.Shape = Enum.PartType.Block
727-
                        end
727+
obj58.Name = "Disc2"
728-
                end)
728+
obj58.Parent = obj1
729
730-
                local function createText(parent, msg, line, size, func)
730+
-- 59 - Mesh
731-
            local textLabel
731+
obj59 = Instance.new("CylinderMesh")
732-
            if func then
732+
obj59.Scale = Vector3.new(0.899999976, 1, 0.899999976)
733-
                textLabel = Instance.new("TextButton", parent)
733+
obj59.Parent = obj58
734-
            else
734+
735-
                textLabel = Instance.new("TextLabel", parent)
735+
-- 60 - Part-to-Part Strong Joint
736-
            end
736+
obj60 = Instance.new("ManualWeld")
737-
            textLabel.Text = msg
737+
obj60.Part0 = Disc2
738-
            textLabel.Name = "List"
738+
obj60.Part1 = Part
739-
            if size ~= true then
739+
obj60.Name = "Part-to-Part Strong Joint"
740-
            textLabel.TextScaled = false
740+
obj60.Parent = obj58
741-
            textLabel.FontSize = 'Size14'
741+
742-
            elseif size == true then
742+
-- 61 - Part
743-
            textLabel.TextScaled = true
743+
obj61 = Instance.new("Part")
744-
            end
744+
obj61.CFrame = CFrame.new(Vector3.new(-37, 2.69000006, -46.5)) * CFrame.Angles(-0, 0, -0)
745-
            textLabel.BackgroundColor = BrickColor.new'Olive'
745+
obj61.FormFactor = Enum.FormFactor.Custom
746-
            textLabel.BackgroundTransparency = .9
746+
obj61.TopSurface = Enum.SurfaceType.Smooth
747-
            textLabel.TextColor = BrickColor.White()
747+
obj61.BottomSurface = Enum.SurfaceType.Smooth
748-
            textLabel.TextStrokeTransparency = 0.65
748+
obj61.Material = Enum.Material.SmoothPlastic
749-
            textLabel.Size = UDim2.new(1, 0, 0, 25)
749+
obj61.Size = Vector3.new(8, 0.600000024, 1)
750-
            textLabel.TextXAlignment = 'Left'
750+
obj61.BrickColor = BrickColor.new("Dark stone grey")
751-
            textLabel.Position = UDim2.new(0, 0, 0, (line-1)*25)
751+
obj61.Friction = 0.30000001192093
752-
            if func then
752+
obj61.Shape = Enum.PartType.Block
753-
                textLabel.MouseButton1Down:connect(function()
753+
obj61.Parent = obj1
754-
                local r,e = ypcall(function()
754+
755-
                    func(plr)
755+
-- 62 - Slider2
756-
                end)
756+
obj62 = Instance.new("Part")
757-
                if e then print(e) end
757+
obj62.CFrame = CFrame.new(Vector3.new(-38.7000237, 2.89000058, -46.5)) * CFrame.Angles(-0, 0, -0)
758-
                end)
758+
obj62.FormFactor = Enum.FormFactor.Custom
759-
            end
759+
obj62.TopSurface = Enum.SurfaceType.Smooth
760-
                end
760+
obj62.BottomSurface = Enum.SurfaceType.Smooth
761
obj62.Material = Enum.Material.SmoothPlastic
762-
                gui = Instance.new('ScreenGui', plrgui)
762+
obj62.Size = Vector3.new(0.200000152, 0.200000003, 1)
763-
                gui.Name = 'äMixer'
763+
obj62.BrickColor = BrickColor.new("Dark stone grey")
764-
                wait()
764+
obj62.Friction = 0.30000001192093
765-
                local dragframe = Instance.new('Frame', gui)
765+
obj62.Shape = Enum.PartType.Block
766-
                dragframe.Size = UDim2.new(0, 598, 0, 18)
766+
obj62.Name = "Slider2"
767-
                dragframe.BackgroundColor = BrickColor.new'Dark stone grey'
767+
obj62.Parent = obj1
768-
                dragframe.Position = UDim2.new(0, gui.AbsoluteSize.X - gui.AbsoluteSize.X/2 - 300, 0, 10)
768+
769-
                dragframe.Active = true
769+
-- 63 - Part-to-Part Strong Joint
770-
                dragframe.Draggable = true
770+
obj63 = Instance.new("ManualWeld")
771-
                dragframe.ZIndex = 3
771+
obj63.Part0 = Slider2
772-
                dragframe.BorderSizePixel = 0
772+
obj63.Part1 = nil
773-
                local mainframe = Instance.new('Frame', dragframe)
773+
obj63.Name = "Part-to-Part Strong Joint"
774-
                mainframe.Size = UDim2.new(0, 600, 0, 415)
774+
obj63.Parent = obj62
775-
                mainframe.Position = UDim2.new(0, -1, 0, -1)
775+
776-
                mainframe.BackgroundColor = BrickColor.new'Olive'
776+
-- 64 - Part-to-Part Strong Joint
777-
                local CPframe = Instance.new('ScrollingFrame', mainframe)
777+
obj64 = Instance.new("ManualWeld")
778-
                CPframe.Size = UDim2.new(0, 470, 0, 22)
778+
obj64.Part0 = Slider2
779-
                CPframe.Position = UDim2.new(0, 130, 0, 50)
779+
obj64.Part1 = nil
780-
                CPframe.BackgroundColor = BrickColor.new'Dark stone grey'
780+
obj64.Name = "Part-to-Part Strong Joint"
781-
                CPframe.ScrollBarThickness = 0
781+
obj64.Parent = obj62
782-
                local CP = Instance.new('TextLabel', CPframe)
782+
783-
                CP.Size = UDim2.new(1,0,0,22)
783+
-- 65 - Mesh
784-
                CP.BackgroundTransparency = 1
784+
obj65 = Instance.new("BlockMesh")
785-
                CP.ZIndex = 7
785+
obj65.Scale = Vector3.new(0.899999976, 1.45000005, 0.5)
786-
                CP.FontSize = 'Size18'
786+
obj65.Parent = obj62
787-
                CP.TextColor3 = Color3.new(1,1,1)
787+
788-
                CP.TextStrokeTransparency = 0
788+
-- 66 - Slider
789-
                CP.TextXAlignment = 'Left'
789+
obj66 = Instance.new("Part")
790-
                CP.Text = 'Playing /-/ None'
790+
obj66.CFrame = CFrame.new(Vector3.new(-34.6999969, 2.88999987, -46.5)) * CFrame.Angles(-0, 0, -0)
791
obj66.FormFactor = Enum.FormFactor.Custom
792-
                local oldCPframePos
792+
obj66.TopSurface = Enum.SurfaceType.Smooth
793
obj66.BottomSurface = Enum.SurfaceType.Smooth
794-
                local scrollframe = Instance.new('ScrollingFrame', mainframe)
794+
obj66.Material = Enum.Material.SmoothPlastic
795-
                scrollframe.Size = UDim2.new(0, 590, 0, 330)
795+
obj66.Size = Vector3.new(0.200000152, 0.200000003, 1)
796-
                scrollframe.Position = UDim2.new(0, 5, 0, 80)
796+
obj66.BrickColor = BrickColor.new("Dark stone grey")
797-
                scrollframe.BackgroundColor = BrickColor.new'Olive'
797+
obj66.Friction = 0.30000001192093
798-
                scrollframe.CanvasSize = UDim2.new(0, 590, 0, 25*#SoundsList)
798+
obj66.Shape = Enum.PartType.Block
799-
                local playbutton = Instance.new('TextButton', mainframe)
799+
obj66.Name = "Slider"
800-
                playbutton.Size = UDim2.new(0, 50, 0, 50)
800+
obj66.Parent = obj1
801-
                playbutton.Position = UDim2.new(0, 10, 0, 25)
801+
802-
                playbutton.BackgroundColor3 = Color3.new(0,1,0)
802+
-- 67 - Part-to-Part Strong Joint
803-
                playbutton.Text = ">"
803+
obj67 = Instance.new("ManualWeld")
804-
                playbutton.TextScaled = true
804+
obj67.Part0 = Slider
805-
                playbutton.TextColor3 = Color3.new(1,1,1)
805+
obj67.Part1 = nil
806-
                playbutton.TextStrokeTransparency = 0
806+
obj67.Name = "Part-to-Part Strong Joint"
807-
                playbutton.MouseButton1Down:connect(function()
807+
obj67.Parent = obj66
808-
                        game:service'ContentProvider':Preload(sound.SoundId)
808+
809-
                        sound:play()
809+
-- 68 - Part-to-Part Strong Joint
810-
                        local r,e = ypcall(function()
810+
obj68 = Instance.new("ManualWeld")
811-
                        CP.Text = 'Playing /-/ '..game:service'MarketplaceService':GetProductInfo(sound.SoundId:match("%d+")).Name
811+
obj68.Part0 = Slider
812-
                        end)
812+
obj68.Part1 = nil
813-
                        if e then CP.Text = 'Playing /-/ Unknown asset' end
813+
obj68.Name = "Part-to-Part Strong Joint"
814-
                        wait()
814+
obj68.Parent = obj66
815-
                        CPframe.CanvasSize = UDim2.new(0, CP.TextBounds.X, 0, 0)
815+
816-
                end)
816+
-- 69 - Mesh
817-
                local stopbutton = Instance.new('TextButton', mainframe)
817+
obj69 = Instance.new("BlockMesh")
818-
                stopbutton.Size = UDim2.new(0, 50, 0, 50)
818+
obj69.Scale = Vector3.new(0.899999976, 1.45000005, 0.5)
819-
                stopbutton.Position = UDim2.new(0, 70, 0, 25)
819+
obj69.Parent = obj66
820-
                stopbutton.BackgroundColor3 = Color3.new(1,0,0)
820+
821-
                stopbutton.Text = "="
821+
for i,v in pairs(obj1:children()) do
822-
                stopbutton.TextScaled = true
822+
v.Anchored = true
823-
                stopbutton.TextColor3 = Color3.new(1,1,1)
823+
v.Locked = true
824-
                stopbutton.TextStrokeTransparency = 0
824+
825-
                stopbutton.MouseButton1Down:connect(function()
825+
826-
                        sound:stop()
826+
function Recursive(Model)
827-
                        CP.Text = 'Playing /-/ None'
827+
local Stuff = {}
828-
                        CPframe.CanvasPosition = Vector2.new()
828+
local function Recur(Targ)
829-
                end)
829+
for i,v in pairs(Targ:getChildren()) do
830-
                local idbox = Instance.new('TextBox', mainframe)
830+
  table.insert(Stuff,v)
831-
                idbox.Size = UDim2.new(0, 100, 0, 22)
831+
  Recur(v)
832-
                idbox.Position = UDim2.new(0, 130, 0, 25)
832+
833-
                idbox.Text = 'Insert ID here'
833+
834-
                idbox.BackgroundTransparency = .5
834+
Recur(Model)
835-
                idbox.TextScaled = true
835+
return Stuff
836-
                idbox.TextXAlignment = 'Left'
836+
837-
                idbox.BackgroundColor3 = BrickColor.new'Olive'.Color
837+
838-
                idbox.TextColor3 = Color3.new()
838+
function MoveModel(Model,CF)
839-
                idbox.TextStrokeTransparency = 0
839+
local Center = Model:getModelCFrame()
840-
                local submit = Instance.new('TextButton', mainframe)
840+
local Offsets = {}
841-
                submit.Size = UDim2.new(0, 50, 0, 22)
841+
for i,v in pairs (Recursive(Model)) do
842-
                submit.Position = UDim2.new(0, 240, 0, 25)
842+
if v:IsA("BasePart") then
843-
                submit.BackgroundColor3 = Color3.new(.2,.5,.4)
843+
  Offsets[v] = CF*Center:toObjectSpace(v.CFrame)
844-
                submit.Text = "Submit ID"
844+
845-
                submit.TextScaled = false
845+
846-
                submit.TextColor3 = Color3.new(1,1,1)
846+
847-
                submit.TextStrokeTransparency = 0
847+
for i,v in pairs(Offsets) do
848-
                submit.MouseButton1Down:connect(function()
848+
i.CFrame = v
849-
                        if idbox.Text == 'Insert ID here' then return end
849+
850-
                        sound:stop()
850+
851-
                        sound.SoundId = "rbxassetid://"..tonumber(idbox.Text:match("%d+"))
851+
852-
                        newSound(game:service'MarketplaceService':GetProductInfo(idbox.Text:match("%d+")).Name..' /-ID-/ '..idbox.Text:match("%d+"), idbox.Text:match("%d+"))
852+
MoveModel(obj1, torso.CFrame*CFrame.new(0,-1.5,-3))
853-
                        createText(scrollframe, game:service'MarketplaceService':GetProductInfo(idbox.Text:match("%d+")).Name.." /-ID-/ "..idbox.Text:match("%d+"), #scrollframe:children()+1, false, function() sound.SoundId = "rbxassetid://"..idbox.Text:match("%d+") end)
853+
854-
                        scrollframe.CanvasSize = UDim2.new(0, 590, 0, 25*#SoundsList)
854+
local value = 0
855-
                        idbox.Text = 'Insert ID here'
855+
local Slider2CFrame = obj62.CFrame
856-
                end)
856+
local SliderCFrame = obj66.CFrame
857
local colur = 0
858-
                local minimize = Instance.new('TextButton', dragframe)
858+
local hue = 0
859-
                minimize.Size = UDim2.new(0, 16, 0, 16)
859+
local DiscoLight = Instance.new('PointLight', obj2)
860-
                minimize.Position = UDim2.new(0, 582, 0, 1)
860+
DiscoLight.Range = 0
861-
                minimize.BackgroundColor = BrickColor.new'Dark stone grey'
861+
game:service'RunService'.RenderStepped:connect(function()
862-
                minimize.Text = '-'
862+
if obj1.Parent ~= char then return end
863-
                minimize.TextYAlignment = 'Bottom'
863+
if sound.IsPlaying then
864-
                minimize.ZIndex = 3
864+
hue = ((hue+5)%360)
865-
                minimize.TextColor3 = Color3.new(1,1,1)
865+
colur = HSV(hue,.8,.8)
866
DiscoLight.Color = Color3.new(colur.r, colur.g, colur.b)
867-
                local maximize = Instance.new('TextButton', gui)
867+
DiscoLight.Range = 60
868-
                maximize.Size = UDim2.new(0, 30, 0, 30)
868+
value = (value % 360) + math.random()
869-
                maximize.Position = UDim2.new(0, gui.AbsoluteSize.X-30, 0, gui.AbsoluteSize.Y-30)
869+
obj13.Color = Color3.new(colur.r, colur.g, colur.b)
870-
                maximize.BackgroundColor = BrickColor.new'Dark stone grey'
870+
obj58.CFrame = obj58.CFrame * CFrame.Angles(0, .05, 0)
871-
                maximize.Text = '='
871+
obj5.CFrame = obj5.CFrame * CFrame.Angles(0, .05, 0)
872-
                maximize.Visible = false
872+
obj62.CFrame = Slider2CFrame * CFrame.new(math.sin(value)*.25, 0, 0)
873-
                maximize.TextColor3 = Color3.new(1,1,1)
873+
obj66.CFrame = SliderCFrame * CFrame.new(-math.sin(value)*.25, 0, 0)
874
else
875-
                minimize.MouseButton1Down:connect(function()
875+
DiscoLight.Range = 0
876-
                        dragframe.Visible = false
876+
obj13.Color = Color3.new()
877-
                        maximize.Visible = true
877+
878-
                end)
878+
end)
879-
                maximize.MouseButton1Down:connect(function()
879+
880-
                        dragframe.Visible = true
880+
local function createText(parent, msg, line, size, func)
881-
                        maximize.Visible = false
881+
local textLabel
882-
                end)
882+
if func then
883
textLabel = Instance.new("TextButton", parent)
884-
                for i,v in pairs(SoundsList) do
884+
else
885-
            createText(scrollframe, v.Name.." /-ID-/ "..v["ID"], i, false, function() sound:stop() sound.SoundId = "rbxassetid://"..v["ID"] sound.Pitch = v["Pitch"] end)
885+
textLabel = Instance.new("TextLabel", parent)
886-
        end
886+
887
textLabel.Text = msg
888-
        while wait(0) do
888+
textLabel.Name = "List"
889-
                        if CP.TextBounds.X > 470 then
889+
if size ~= true then
890-
                                if CPframe.CanvasPosition == oldCPframePos and not (CPframe.CanvasPosition.X >= CP.TextBounds.X-471) then
890+
textLabel.TextScaled = false
891-
                                CPframe.CanvasPosition = CPframe.CanvasPosition + Vector2.new(1, 0)
891+
textLabel.FontSize = 'Size14'
892-
                                elseif (CPframe.CanvasPosition.X >= CP.TextBounds.X-471)then
892+
elseif size == true then
893-
                                wait(3)
893+
textLabel.TextScaled = true
894-
                                CPframe.CanvasPosition = Vector2.new()
894+
895-
                                wait(1)
895+
textLabel.BackgroundColor = BrickColor.new'Olive'
896-
                                end
896+
textLabel.BackgroundTransparency = .9
897-
                                oldCPframePos = CPframe.CanvasPosition
897+
textLabel.TextColor = BrickColor.White()
898-
                        end
898+
textLabel.TextStrokeTransparency = 0.65
899-
                end
899+
textLabel.Size = UDim2.new(1, 0, 0, 25)
900
textLabel.TextXAlignment = 'Left'
901
textLabel.Position = UDim2.new(0, 0, 0, (line-1)*25)
902
if func then
903
textLabel.MouseButton1Down:connect(function()
904-
        if k == 'q' then
904+
local r,e = ypcall(function()
905-
                activated = not activated
905+
func(plr)
906-
                if activated then
906+
end)
907-
                        BeginPlacingDisco()
907+
if e then print(e) end
908-
                else
908+
end)
909-
                        RemoveDisco()
909+
910-
                end
910+
911-
        end
911+
912
gui = Instance.new('ScreenGui', plrgui)
913
gui.Name = 'äMixer'
914
wait()
915
local dragframe = Instance.new('Frame', gui)
916
dragframe.Size = UDim2.new(0, 598, 0, 18)
917
dragframe.BackgroundColor = BrickColor.new'Dark stone grey'
918
dragframe.Position = UDim2.new(0, gui.AbsoluteSize.X - gui.AbsoluteSize.X/2 - 300, 0, 10)
919
dragframe.Active = true
920
dragframe.Draggable = true
921
dragframe.ZIndex = 3
922
dragframe.BorderSizePixel = 0
923
local mainframe = Instance.new('Frame', dragframe)
924
mainframe.Size = UDim2.new(0, 600, 0, 415)
925
mainframe.Position = UDim2.new(0, -1, 0, -1)
926
mainframe.BackgroundColor = BrickColor.new'Olive'
927
local CPframe = Instance.new('ScrollingFrame', mainframe)
928
CPframe.Size = UDim2.new(0, 470, 0, 22)
929
CPframe.Position = UDim2.new(0, 130, 0, 50)
930
CPframe.BackgroundColor = BrickColor.new'Dark stone grey'
931
CPframe.ScrollBarThickness = 0
932
local CP = Instance.new('TextLabel', CPframe)
933
CP.Size = UDim2.new(1,0,0,22)
934
CP.BackgroundTransparency = 1
935
CP.ZIndex = 7
936
CP.FontSize = 'Size18'
937
CP.TextColor3 = Color3.new(1,1,1)
938
CP.TextStrokeTransparency = 0
939
CP.TextXAlignment = 'Left'
940
CP.Text = 'Playing /-/ None'
941
942
local oldCPframePos
943
944
local scrollframe = Instance.new('ScrollingFrame', mainframe)
945
scrollframe.Size = UDim2.new(0, 590, 0, 330)
946
scrollframe.Position = UDim2.new(0, 5, 0, 80)
947
scrollframe.BackgroundColor = BrickColor.new'Olive'
948
scrollframe.CanvasSize = UDim2.new(0, 590, 0, 25*#SoundsList)
949
local playbutton = Instance.new('TextButton', mainframe)
950
playbutton.Size = UDim2.new(0, 50, 0, 50)
951
playbutton.Position = UDim2.new(0, 10, 0, 25)
952
playbutton.BackgroundColor3 = Color3.new(0,1,0)
953
playbutton.Text = ">"
954
playbutton.TextScaled = true
955
playbutton.TextColor3 = Color3.new(1,1,1)
956
playbutton.TextStrokeTransparency = 0
957
playbutton.MouseButton1Down:connect(function()
958
game:service'ContentProvider':Preload(sound.SoundId)
959
sound:play()
960
local r,e = ypcall(function()
961
CP.Text = 'Playing /-/ '..game:service'MarketplaceService':GetProductInfo(sound.SoundId:match("%d+")).Name
962
end)
963
if e then CP.Text = 'Playing /-/ Unknown asset' end
964
wait()
965
CPframe.CanvasSize = UDim2.new(0, CP.TextBounds.X, 0, 0)
966
end)
967
local stopbutton = Instance.new('TextButton', mainframe)
968
stopbutton.Size = UDim2.new(0, 50, 0, 50)
969
stopbutton.Position = UDim2.new(0, 70, 0, 25)
970
stopbutton.BackgroundColor3 = Color3.new(1,0,0)
971
stopbutton.Text = "="
972
stopbutton.TextScaled = true
973
stopbutton.TextColor3 = Color3.new(1,1,1)
974
stopbutton.TextStrokeTransparency = 0
975
stopbutton.MouseButton1Down:connect(function()
976
sound:stop()
977
CP.Text = 'Playing /-/ None'
978
CPframe.CanvasPosition = Vector2.new()
979
end)
980
local idbox = Instance.new('TextBox', mainframe)
981
idbox.Size = UDim2.new(0, 100, 0, 22)
982
idbox.Position = UDim2.new(0, 130, 0, 25)
983
idbox.Text = 'Insert ID here'
984
idbox.BackgroundTransparency = .5
985
idbox.TextScaled = true
986
idbox.TextXAlignment = 'Left'
987
idbox.BackgroundColor3 = BrickColor.new'Olive'.Color
988
idbox.TextColor3 = Color3.new()
989
idbox.TextStrokeTransparency = 0
990
local submit = Instance.new('TextButton', mainframe)
991
submit.Size = UDim2.new(0, 50, 0, 22)
992
submit.Position = UDim2.new(0, 240, 0, 25)
993
submit.BackgroundColor3 = Color3.new(.2,.5,.4)
994
submit.Text = "Submit ID"
995
submit.TextScaled = false
996
submit.TextColor3 = Color3.new(1,1,1)
997
submit.TextStrokeTransparency = 0
998
submit.MouseButton1Down:connect(function()
999
if idbox.Text == 'Insert ID here' then return end
1000
sound:stop()
1001
sound.SoundId = "rbxassetid://"..tonumber(idbox.Text:match("%d+"))
1002
newSound(game:service'MarketplaceService':GetProductInfo(idbox.Text:match("%d+")).Name..' /-ID-/ '..idbox.Text:match("%d+"), idbox.Text:match("%d+"))
1003
createText(scrollframe, game:service'MarketplaceService':GetProductInfo(idbox.Text:match("%d+")).Name.." /-ID-/ "..idbox.Text:match("%d+"), #scrollframe:children()+1, false, function() sound.SoundId = "rbxassetid://"..idbox.Text:match("%d+") end)
1004
scrollframe.CanvasSize = UDim2.new(0, 590, 0, 25*#SoundsList)
1005
idbox.Text = 'Insert ID here'
1006
end)
1007
1008
local minimize = Instance.new('TextButton', dragframe)
1009
minimize.Size = UDim2.new(0, 16, 0, 16)
1010
minimize.Position = UDim2.new(0, 582, 0, 1)
1011
minimize.BackgroundColor = BrickColor.new'Dark stone grey'
1012
minimize.Text = '-'
1013
minimize.TextYAlignment = 'Bottom'
1014
minimize.ZIndex = 3
1015
minimize.TextColor3 = Color3.new(1,1,1)
1016
1017
local maximize = Instance.new('TextButton', gui)
1018
maximize.Size = UDim2.new(0, 30, 0, 30)
1019
maximize.Position = UDim2.new(0, gui.AbsoluteSize.X-30, 0, gui.AbsoluteSize.Y-30)
1020
maximize.BackgroundColor = BrickColor.new'Dark stone grey'
1021
maximize.Text = '='
1022
maximize.Visible = false
1023
maximize.TextColor3 = Color3.new(1,1,1)
1024
1025
minimize.MouseButton1Down:connect(function()
1026
dragframe.Visible = false
1027
maximize.Visible = true
1028
end)
1029
maximize.MouseButton1Down:connect(function()
1030
dragframe.Visible = true
1031
maximize.Visible = false
1032
end)
1033
1034
for i,v in pairs(SoundsList) do
1035
createText(scrollframe, v.Name.." /-ID-/ "..v["ID"], i, false, function() sound:stop() sound.SoundId = "rbxassetid://"..v["ID"] sound.Pitch = v["Pitch"] end)
1036
end
1037
1038
while wait(0) do
1039
if CP.TextBounds.X > 470 then
1040
if CPframe.CanvasPosition == oldCPframePos and not (CPframe.CanvasPosition.X >= CP.TextBounds.X-471) then
1041
  CPframe.CanvasPosition = CPframe.CanvasPosition + Vector2.new(1, 0)
1042
elseif (CPframe.CanvasPosition.X >= CP.TextBounds.X-471)then
1043
  wait(3)
1044
  CPframe.CanvasPosition = Vector2.new()
1045
  wait(1)
1046
end
1047
oldCPframePos = CPframe.CanvasPosition
1048
end
1049
end
1050
end
1051
1052
1053
mouse.KeyDown:connect(function(k)
1054
if k == 'q' then
1055
activated = not activated
1056
if activated then
1057
BeginPlacingDisco()
1058
else
1059
RemoveDisco()
1060
end
1061
end
1062
end)