SHOW:
|
|
- or go back to the newest paste.
1 | - | local whitelist = {"quuisiYT", "the770zone"} |
1 | + | --Draw something, put your sound id in, and watch the light show!-- |
2 | - | local model = Instance.new("Model", workspace) |
2 | + | --Enjoy lads.-- |
3 | - | local part = Instance.new("Part") |
3 | + | Player=game:GetService("Players").LocalPlayer |
4 | - | local part_2 = Instance.new("Part") |
4 | + | Character=Player.Character |
5 | - | local part_3 = Instance.new("Part") |
5 | + | Character.Humanoid.Name = "noneofurbusiness" |
6 | - | local part_4 = Instance.new("Part") |
6 | + | hum = Character.noneofurbusiness |
7 | - | local part_5 = Instance.new("Part") |
7 | + | LeftArm=Character["Left Arm"] |
8 | - | local part_6 = Instance.new("Part") |
8 | + | LeftLeg=Character["Left Leg"] |
9 | - | local part_7 = Instance.new("Part") |
9 | + | RightArm=Character["Right Arm"] |
10 | - | local part_8 = Instance.new("Part") |
10 | + | RightLeg=Character["Right Leg"] |
11 | - | local part_9 = Instance.new("Part") |
11 | + | Root=Character["HumanoidRootPart"] |
12 | - | local part_10 = Instance.new("Part") |
12 | + | Head=Character["Head"] |
13 | - | local parttopart_strong_joint = Instance.new("ManualWeld") |
13 | + | Torso=Character["Torso"] |
14 | - | local parttopart_strong_joint_2 = Instance.new("ManualWeld") |
14 | + | Neck=Torso["Neck"] |
15 | - | local part_13 = Instance.new("Part") |
15 | + | mouse = Player:GetMouse() |
16 | - | local part_14 = Instance.new("Part") |
16 | + | removeuseless = game:GetService("Debris") |
17 | - | local part_15 = Instance.new("Part") |
17 | + | soundIsPlaying = false |
18 | - | local part_16 = Instance.new("Part") |
18 | + | number = 0 |
19 | - | local part_17 = Instance.new("Part") |
19 | + | stop = false |
20 | - | local part_18 = Instance.new("Part") |
20 | + | flatt = false |
21 | - | local part_19 = Instance.new("Part") |
21 | + | standingg = true |
22 | - | local part_20 = Instance.new("Part") |
22 | + | tf = 0 |
23 | - | local part_21 = Instance.new("Part") |
23 | + | idrewsomething = false |
24 | - | local part_22 = Instance.new("Part") |
24 | + | tab2={} |
25 | - | local bloxy_cola = Instance.new("Tool") |
25 | + | tab={} |
26 | - | local handle = Instance.new("Part") |
26 | + | blue = false |
27 | - | local mesh = Instance.new("SpecialMesh") |
27 | + | red = true |
28 | - | local part_23 = Instance.new("Part") |
28 | + | green = false |
29 | - | local parttohandle_strong_joint = Instance.new("ManualWeld") |
29 | + | drawingallowed = true |
30 | - | local parttopart_strong_joint_3 = Instance.new("ManualWeld") |
30 | + | MseGuide = true |
31 | - | local houseinteriorbed = Instance.new("Model") |
31 | + | RunSrv = game:GetService("RunService") |
32 | - | local part_25 = Instance.new("Part") |
32 | + | RenderStepped = game:GetService("RunService").RenderStepped |
33 | - | local parttopart_strong_joint_4 = Instance.new("ManualWeld") |
33 | + | |
34 | - | local part_11 = Instance.new("Part") |
34 | + | local HEADLERP = Instance.new("ManualWeld") |
35 | - | local parttopart_strong_joint_5 = Instance.new("ManualWeld") |
35 | + | HEADLERP.Parent = Head |
36 | - | local part_26 = Instance.new("Part") |
36 | + | HEADLERP.Part0 = Head |
37 | - | local parttopart_strong_joint_6 = Instance.new("ManualWeld") |
37 | + | HEADLERP.Part1 = Head |
38 | - | local parttopart_strong_joint_7 = Instance.new("ManualWeld") |
38 | + | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
39 | - | local part_28 = Instance.new("Part") |
39 | + | |
40 | - | local parttopart_strong_joint_8 = Instance.new("ManualWeld") |
40 | + | OrgnC0 = Neck.C0 |
41 | - | local part_27 = Instance.new("Part") |
41 | + | local movelimbs = coroutine.wrap(function() |
42 | - | local part_12 = Instance.new("Part") |
42 | + | while RunSrv.RenderStepped:wait() do |
43 | - | local parttopart_strong_joint_9 = Instance.new("ManualWeld") |
43 | + | TrsoLV = Torso.CFrame.lookVector |
44 | - | local parttopart_strong_joint_10 = Instance.new("ManualWeld") |
44 | + | Dist = nil |
45 | - | local seat = Instance.new("Seat") |
45 | + | Diff = nil |
46 | - | local seattopart_strong_joint = Instance.new("ManualWeld") |
46 | + | if not MseGuide then |
47 | - | local seattopart_strong_joint_2 = Instance.new("ManualWeld") |
47 | + | print("l") |
48 | - | local part_29 = Instance.new("Part") |
48 | + | else |
49 | - | local door = Instance.new("Part") |
49 | + | local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) |
50 | - | local clickdetector = Instance.new("ClickDetector", door) |
50 | + | Dist = (Head.CFrame.p-Point).magnitude |
51 | - | local part_30 = Instance.new("Part") |
51 | + | Diff = Head.CFrame.Y-Point.Y |
52 | - | local part_31 = Instance.new("Part") |
52 | + | local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) |
53 | - | local part_32 = Instance.new("Part") |
53 | + | Dist2 = (LeftArm.CFrame.p-Point).magnitude |
54 | - | local part_33 = Instance.new("Part") |
54 | + | Diff2 = LeftArm.CFrame.Y-Point.Y |
55 | - | local part_34 = Instance.new("Part") |
55 | + | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
56 | - | local part_35 = Instance.new("Part") |
56 | + | Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1) |
57 | - | local part_36 = Instance.new("Part") |
57 | + | end |
58 | - | local part_37 = Instance.new("Part") |
58 | + | end |
59 | - | local part_38 = Instance.new("Part") |
59 | + | |
60 | - | local part_39 = Instance.new("Part") |
60 | + | movelimbs() |
61 | - | local part_40 = Instance.new("Part") |
61 | + | |
62 | - | local part_41 = Instance.new("Part") |
62 | + | godmode = coroutine.wrap(function()---- so you don't get killed by fucking random things |
63 | - | local part_42 = Instance.new("Part") |
63 | + | while true do |
64 | - | local part_43 = Instance.new("Part") |
64 | + | hum.MaxHealth = math.huge |
65 | - | local parttopart_strong_joint_11 = Instance.new("ManualWeld") |
65 | + | wait(0.0000001) |
66 | - | local parttopart_strong_joint_12 = Instance.new("ManualWeld") |
66 | + | hum.Health = math.huge |
67 | - | local parttopart_strong_joint_13 = Instance.new("ManualWeld") |
67 | + | wait() |
68 | - | local part_45 = Instance.new("Part") |
68 | + | end |
69 | - | local part_46 = Instance.new("Part") |
69 | + | |
70 | - | local part_47 = Instance.new("Part") |
70 | + | godmode() |
71 | - | local part_44 = Instance.new("Part") |
71 | + | ff = Instance.new("ForceField", Character) |
72 | - | local part_48 = Instance.new("Part") |
72 | + | ff.Visible = false |
73 | - | local part_49 = Instance.new("Part") |
73 | + | |
74 | - | local parttopart_strong_joint_14 = Instance.new("ManualWeld") |
74 | + | coroutine.wrap(function() |
75 | - | local snysoda = Instance.new("Tool") |
75 | + | mouse.Button1Down:connect(function() |
76 | - | local handle_2 = Instance.new("Part") |
76 | + | if drawingallowed then |
77 | - | local mesh_2 = Instance.new("SpecialMesh") |
77 | + | fo = false |
78 | - | local decal = Instance.new("Decal") |
78 | + | while true do |
79 | - | local model_2 = Instance.new("Model", model) |
79 | + | if fo then break end |
80 | - | local part_50 = Instance.new("Part") |
80 | + | idrewsomething = true |
81 | - | local part_24 = Instance.new("Part") |
81 | + | brick = Instance.new("Part",Character) |
82 | - | local parttopart_strong_joint_15 = Instance.new("ManualWeld") |
82 | + | brick.Anchored = true |
83 | - | local parttopart_strong_joint_16 = Instance.new("ManualWeld") |
83 | + | brick.Material = "Neon" |
84 | - | local part_51 = Instance.new("Part") |
84 | + | brick.CanCollide = false |
85 | - | local part_53 = Instance.new("Part") |
85 | + | brick.BrickColor = BrickColor.new("Really black") |
86 | - | local part_54 = Instance.new("Part") |
86 | + | brick.Size = Vector3.new(1,1,1) |
87 | - | local part_55 = Instance.new("Part") |
87 | + | brick.CFrame = CFrame.new(mouse.Hit.p) |
88 | - | local part_56 = Instance.new("Part") |
88 | + | table.insert(tab2,brick) |
89 | - | local part_57 = Instance.new("Part") |
89 | + | light = Instance.new("PointLight", brick) |
90 | - | local part_52 = Instance.new("Part") |
90 | + | light.Color = brick.BrickColor.Color |
91 | - | local part_58 = Instance.new("Part") |
91 | + | light.Range = 0 |
92 | light.Enabled = true | |
93 | - | part.Anchored = true |
93 | + | light.Shadows = true |
94 | - | part.Size = Vector3.new(0.35, 12.05, 13.61) |
94 | + | light.Brightness = 0 |
95 | - | part.Material = Enum.Material.SmoothPlastic |
95 | + | table.insert(tab,light) |
96 | - | part.TopSurface = Enum.SurfaceType.Smooth |
96 | + | wait() |
97 | - | part.BottomSurface = Enum.SurfaceType.Smooth |
97 | + | end |
98 | - | part.Parent = model |
98 | + | end |
99 | - | part.CFrame = CFrame.new(-30.935, 6.695, -38.805) |
99 | + | |
100 | - | part_2.Anchored = true |
100 | + | end)() |
101 | - | part_2.Size = Vector3.new(0.93, 12.05, 27.26) |
101 | + | |
102 | - | part_2.Material = Enum.Material.SmoothPlastic |
102 | + | coroutine.wrap(function() |
103 | - | part_2.TopSurface = Enum.SurfaceType.Smooth |
103 | + | mouse.Button1Up:connect(function() |
104 | - | part_2.BottomSurface = Enum.SurfaceType.Smooth |
104 | + | if drawingallowed then |
105 | - | part_2.Parent = model |
105 | + | fo = true |
106 | - | part_2.CFrame = CFrame.new(4.825, 6.695, -44.5) |
106 | + | end |
107 | - | part_3.Anchored = true |
107 | + | |
108 | - | part_3.Size = Vector3.new(97.6, 0.58, 37.18) |
108 | + | end)() |
109 | - | part_3.Material = Enum.Material.SmoothPlastic |
109 | + | |
110 | - | part_3.TopSurface = Enum.SurfaceType.Smooth |
110 | + | ---GUI--- |
111 | - | part_3.BottomSurface = Enum.SurfaceType.Smooth |
111 | + | |
112 | - | part_3.Parent = model |
112 | + | screenGui = Instance.new("ScreenGui") |
113 | - | part_3.CFrame = CFrame.new(15.46, 12.96, -28.71) |
113 | + | screenGui.Parent = script.Parent |
114 | - | part_4.Anchored = true |
114 | + | |
115 | - | part_4.Size = Vector3.new(34.88, 0.45, 32.42) |
115 | + | frame = Instance.new("Frame") |
116 | - | part_4.Material = Enum.Material.Fabric |
116 | + | frame.Parent = screenGui |
117 | - | part_4.TopSurface = Enum.SurfaceType.Smooth |
117 | + | frame.Position = UDim2.new(0, 8, 0, 225) |
118 | - | part_4.BottomSurface = Enum.SurfaceType.Smooth |
118 | + | frame.Size = UDim2.new(0, 250, 0, 200) |
119 | - | part_4.Parent = model |
119 | + | frame.BackgroundColor3 = BrickColor.new("White").Color |
120 | - | part_4.CFrame = CFrame.new(-13.43, 0.895, -28.89) |
120 | + | frame.BackgroundTransparency = .5 |
121 | - | part_5.Anchored = true |
121 | + | |
122 | - | part_5.Size = Vector3.new(1.89, 12.05, 46.01) |
122 | + | textButton = Instance.new("TextButton") |
123 | - | part_5.Material = Enum.Material.SmoothPlastic |
123 | + | textButton.Parent = screenGui |
124 | - | part_5.TopSurface = Enum.SurfaceType.Smooth |
124 | + | textButton.Position = UDim2.new(0, 12, 0, 400) |
125 | - | part_5.BottomSurface = Enum.SurfaceType.Smooth |
125 | + | textButton.Size = UDim2.new(0, 50, 0, 10) |
126 | - | part_5.Parent = model |
126 | + | textButton.BackgroundColor3 = BrickColor.new("Really red").Color |
127 | - | part_5.CFrame = CFrame.new(62.155, 6.695, -35.125) |
127 | + | textButton.Text = "Red" |
128 | - | part_6.Anchored = true |
128 | + | |
129 | - | part_6.Size = Vector3.new(0.35, 3.17, 7.21) |
129 | + | textButton.MouseButton1Down:connect(function() |
130 | - | part_6.Material = Enum.Material.SmoothPlastic |
130 | + | red = true |
131 | - | part_6.TopSurface = Enum.SurfaceType.Smooth |
131 | + | green = false |
132 | - | part_6.BottomSurface = Enum.SurfaceType.Smooth |
132 | + | blue = false |
133 | - | part_6.Parent = model |
133 | + | rainbow = false |
134 | - | part_6.CFrame = CFrame.new(-30.935, 11.135, -29.205) |
134 | + | smooth = false |
135 | - | part_7.Anchored = true |
135 | + | |
136 | - | part_7.Size = Vector3.new(93.93, 4.13, 1.26) |
136 | + | |
137 | - | part_7.Material = Enum.Material.SmoothPlastic |
137 | + | textButton2 = Instance.new("TextButton") |
138 | - | part_7.TopSurface = Enum.SurfaceType.Smooth |
138 | + | textButton2.Parent = screenGui |
139 | - | part_7.BottomSurface = Enum.SurfaceType.Smooth |
139 | + | textButton2.Position = UDim2.new(0, 75, 0, 400) |
140 | - | part_7.Parent = model |
140 | + | textButton2.Size = UDim2.new(0, 50, 0, 10) |
141 | - | part_7.CFrame = CFrame.new(16.155, 10.655, -12.67) |
141 | + | textButton2.BackgroundColor3 = BrickColor.new("Really blue").Color |
142 | - | part_8.Anchored = true |
142 | + | textButton2.Text = "Blue" |
143 | - | part_8.Size = Vector3.new(0.35, 12.05, 13.61) |
143 | + | |
144 | - | part_8.Material = Enum.Material.SmoothPlastic |
144 | + | textButton2.MouseButton1Down:connect(function() |
145 | - | part_8.TopSurface = Enum.SurfaceType.Smooth |
145 | + | red = false |
146 | - | part_8.BottomSurface = Enum.SurfaceType.Smooth |
146 | + | green = false |
147 | - | part_8.Parent = model |
147 | + | blue = true |
148 | - | part_8.CFrame = CFrame.new(-30.935, 6.695, -18.845) |
148 | + | rainbow = false |
149 | - | part_9.Anchored = true |
149 | + | smooth = false |
150 | - | part_9.Size = Vector3.new(56.02, 12.05, 2.14) |
150 | + | |
151 | - | part_9.Material = Enum.Material.SmoothPlastic |
151 | + | |
152 | - | part_9.TopSurface = Enum.SurfaceType.Smooth |
152 | + | textButton3 = Instance.new("TextButton") |
153 | - | part_9.BottomSurface = Enum.SurfaceType.Smooth |
153 | + | textButton3.Parent = screenGui |
154 | - | part_9.Parent = model |
154 | + | textButton3.Position = UDim2.new(0, 138, 0, 400) |
155 | - | part_9.CFrame = CFrame.new(33.25, 6.695, -57.06) |
155 | + | textButton3.Size = UDim2.new(0, 50, 0, 10) |
156 | - | part_10.Anchored = true |
156 | + | textButton3.BackgroundColor3 = BrickColor.new("Lime green").Color |
157 | - | part_10.Size = Vector3.new(57.85, 0.45, 43.43) |
157 | + | textButton3.Text = "Green" |
158 | - | part_10.Material = Enum.Material.Fabric |
158 | + | |
159 | - | part_10.TopSurface = Enum.SurfaceType.Smooth |
159 | + | textButton3.MouseButton1Down:connect(function() |
160 | - | part_10.BottomSurface = Enum.SurfaceType.Smooth |
160 | + | red = false |
161 | - | part_10.Parent = model |
161 | + | green = true |
162 | - | part_10.CFrame = CFrame.new(32.885, 0.895, -34.395) |
162 | + | blue = false |
163 | - | parttopart_strong_joint.Part1 = part_11 |
163 | + | rainbow = false |
164 | - | parttopart_strong_joint.C0 = CFrame.new(-28.925, 0.225, 21.715) * CFrame.Angles(-1.571, 0, 3.141) |
164 | + | smooth = false |
165 | - | parttopart_strong_joint.C1 = CFrame.new(19.95, -2, 55.531) * CFrame.Angles(-1.571, 0, -1.571) |
165 | + | |
166 | - | parttopart_strong_joint.Part0 = part_10 |
166 | + | |
167 | - | parttopart_strong_joint.Name = "Part-to-Part Strong Joint" |
167 | + | textButton4 = Instance.new("TextButton") |
168 | - | parttopart_strong_joint.Parent = part_10 |
168 | + | textButton4.Parent = screenGui |
169 | - | parttopart_strong_joint_2.Part1 = part_12 |
169 | + | textButton4.Position = UDim2.new(0, 201, 0, 400) |
170 | - | parttopart_strong_joint_2.C0 = CFrame.new(-28.925, 0.225, 21.715) * CFrame.Angles(-1.571, 0, 3.141) |
170 | + | textButton4.Size = UDim2.new(0, 50, 0, 10) |
171 | - | parttopart_strong_joint_2.C1 = CFrame.new(19.95, -0.5, 47.78) * CFrame.Angles(-1.571, 0, -1.571) |
171 | + | coroutine.wrap(function() |
172 | - | parttopart_strong_joint_2.Part0 = part_10 |
172 | + | while true do |
173 | - | parttopart_strong_joint_2.Name = "Part-to-Part Strong Joint" |
173 | + | textButton4.BackgroundColor3 = BrickColor.Random().Color |
174 | - | parttopart_strong_joint_2.Parent = part_10 |
174 | + | wait(.05) |
175 | - | part_13.Anchored = true |
175 | + | end |
176 | - | part_13.Size = Vector3.new(0.93, 12.05, 14.33) |
176 | + | end)() |
177 | - | part_13.Material = Enum.Material.SmoothPlastic |
177 | + | textButton4.Text = "Rainbow" |
178 | - | part_13.TopSurface = Enum.SurfaceType.Smooth |
178 | + | |
179 | - | part_13.BottomSurface = Enum.SurfaceType.Smooth |
179 | + | textButton4.MouseButton1Down:connect(function() |
180 | - | part_13.Parent = model |
180 | + | red = false |
181 | - | part_13.CFrame = CFrame.new(4.825, 6.695, -19.225) |
181 | + | green = false |
182 | - | part_14.Anchored = true |
182 | + | blue = false |
183 | - | part_14.Size = Vector3.new(93.72, 3.29, 1.26) |
183 | + | rainbow = true |
184 | - | part_14.Material = Enum.Material.SmoothPlastic |
184 | + | smooth = false |
185 | - | part_14.TopSurface = Enum.SurfaceType.Smooth |
185 | + | |
186 | - | part_14.BottomSurface = Enum.SurfaceType.Smooth |
186 | + | |
187 | - | part_14.Parent = model |
187 | + | textBox = Instance.new("TextBox") |
188 | - | part_14.CFrame = CFrame.new(16.05, 2.415, -12.67) |
188 | + | textBox.Parent = screenGui |
189 | - | part_15.Anchored = true |
189 | + | textBox.Position = UDim2.new(0, 58, 0, 280) |
190 | - | part_15.Size = Vector3.new(59.81, 0.58, 13.01) |
190 | + | textBox.Size = UDim2.new(0, 150, 0, 20) |
191 | - | part_15.Material = Enum.Material.SmoothPlastic |
191 | + | textBox.BackgroundColor3 = BrickColor.new("White").Color |
192 | - | part_15.TopSurface = Enum.SurfaceType.Smooth |
192 | + | textBox.Text = "Type Sound Id here" |
193 | - | part_15.BottomSurface = Enum.SurfaceType.Smooth |
193 | + | |
194 | - | part_15.Parent = model |
194 | + | form = Instance.new("TextButton") |
195 | - | part_15.CFrame = CFrame.new(34.355, 12.96, -53.755) |
195 | + | form.Parent = screenGui |
196 | - | part_16.Anchored = true |
196 | + | form.TextScaled = true |
197 | - | part_16.Size = Vector3.new(93.86, 4.58, 1.26) |
197 | + | form.Position = UDim2.new(0, 114, 0, 305) |
198 | - | part_16.Material = Enum.Material.SmoothPlastic |
198 | + | form.Size = UDim2.new(0, 40, 0, 20) |
199 | - | part_16.BottomSurface = Enum.SurfaceType.Smooth |
199 | + | form.BackgroundColor3 = BrickColor.new("White").Color |
200 | - | part_16.BrickColor = BrickColor.new("Bright blue") |
200 | + | form.Text = "Up" |
201 | - | part_16.Transparency = 0.7 |
201 | + | |
202 | - | part_16.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
202 | + | form.MouseButton1Down:connect(function() |
203 | - | part_16.TopSurface = Enum.SurfaceType.Smooth |
203 | + | if standingg then |
204 | - | part_16.Parent = model |
204 | + | standingg = false |
205 | - | part_16.CFrame = CFrame.new(16.12, 6.37, -12.67) |
205 | + | flatt = true |
206 | - | part_17.Anchored = true |
206 | + | form.Text = "Flat" |
207 | - | part_17.Size = Vector3.new(35.52, 12.05, 1.02) |
207 | + | elseif flatt then |
208 | - | part_17.Material = Enum.Material.SmoothPlastic |
208 | + | flatt = false |
209 | - | part_17.TopSurface = Enum.SurfaceType.Smooth |
209 | + | standingg = true |
210 | - | part_17.BottomSurface = Enum.SurfaceType.Smooth |
210 | + | form.Text = "Up" |
211 | - | part_17.Parent = model |
211 | + | end |
212 | - | part_17.CFrame = CFrame.new(-13.35, 6.695, -45.1) |
212 | + | |
213 | - | part_18.Anchored = true |
213 | + | |
214 | - | part_18.Size = Vector3.new(0.93, 3.13, 4.77) |
214 | + | coroutine.wrap(function() |
215 | - | part_18.Material = Enum.Material.SmoothPlastic |
215 | + | while wait() do |
216 | - | part_18.TopSurface = Enum.SurfaceType.Smooth |
216 | + | sid = textBox.Text |
217 | - | part_18.BottomSurface = Enum.SurfaceType.Smooth |
217 | + | end |
218 | - | part_18.Parent = model |
218 | + | end)() |
219 | - | part_18.CFrame = CFrame.new(4.825, 11.155, -28.535) |
219 | + | |
220 | - | part_19.Anchored = true |
220 | + | playbutton = Instance.new("TextButton") |
221 | - | part_19.Shape = Enum.PartType.Cylinder |
221 | + | playbutton.Parent = screenGui |
222 | - | part_19.Size = Vector3.new(0.05, 0.48, 0.48) |
222 | + | playbutton.Position = UDim2.new(0, 58, 0, 305) |
223 | - | part_19.Orientation = Vector3.new(0, 90.01, 0) |
223 | + | playbutton.Size = UDim2.new(0, 50, 0, 20) |
224 | - | part_19.Material = Enum.Material.SmoothPlastic |
224 | + | playbutton.BackgroundColor3 = BrickColor.new("White").Color |
225 | - | part_19.BottomSurface = Enum.SurfaceType.Smooth |
225 | + | playbutton.Text = "Play" |
226 | - | part_19.BrickColor = BrickColor.new("Really black") |
226 | + | |
227 | - | part_19.TopSurface = Enum.SurfaceType.Smooth |
227 | + | playbutton.MouseButton1Down:connect(function() |
228 | - | part_19.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
228 | + | if not idrewsomething then return end |
229 | - | part_19.Parent = model |
229 | + | if soundIsPlaying then |
230 | - | part_19.CFrame = CFrame.new(18.12, 10.65, -50.405) * CFrame.Angles(0, 1.571, 0) |
230 | + | sound1:Remove() |
231 | - | part_20.Anchored = true |
231 | + | sound1 = Instance.new("Sound", Character) |
232 | - | part_20.Size = Vector3.new(0.4, 2.36, 7.76) |
232 | + | sound1.Looped = true |
233 | - | part_20.Material = Enum.Material.SmoothPlastic |
233 | + | sound1.SoundId = "http://www.roblox.com/asset/?id=" .. sid |
234 | - | part_20.TopSurface = Enum.SurfaceType.Smooth |
234 | + | sound1:Play() |
235 | - | part_20.BottomSurface = Enum.SurfaceType.Smooth |
235 | + | else |
236 | - | part_20.Parent = model |
236 | + | soundIsPlaying = true |
237 | - | part_20.CFrame = CFrame.new(19.17, 11.56, -54.11) |
237 | + | vol.Text = 1 |
238 | - | part_21.Anchored = true |
238 | + | pitch.Text = 1 |
239 | - | part_21.Shape = Enum.PartType.Cylinder |
239 | + | sound1 = Instance.new("Sound", Character) |
240 | - | part_21.Size = Vector3.new(0.05, 1, 1) |
240 | + | coroutine.wrap(function() |
241 | - | part_21.Orientation = Vector3.new(-0.02, 180, -89.99) |
241 | + | while soundIsPlaying do |
242 | - | part_21.Material = Enum.Material.SmoothPlastic |
242 | + | wait() |
243 | - | part_21.BottomSurface = Enum.SurfaceType.Smooth |
243 | + | sound1.Volume = svol |
244 | - | part_21.BrickColor = BrickColor.new("Really black") |
244 | + | end |
245 | - | part_21.TopSurface = Enum.SurfaceType.Smooth |
245 | + | end)() |
246 | - | part_21.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
246 | + | sound1.Looped = true |
247 | - | part_21.Parent = model |
247 | + | coroutine.wrap(function() |
248 | - | part_21.CFrame = CFrame.new(10.1, 4.355, -54.23) * CFrame.Angles(-3.141, 0, 1.571) |
248 | + | while soundIsPlaying do |
249 | - | part_22.Anchored = true |
249 | + | sound1.Pitch = pitchh |
250 | - | part_22.Size = Vector3.new(27.84, 2.76, 7.07) |
250 | + | wait() |
251 | - | part_22.Material = Enum.Material.SmoothPlastic |
251 | + | end |
252 | - | part_22.TopSurface = Enum.SurfaceType.Smooth |
252 | + | end)() |
253 | - | part_22.BottomSurface = Enum.SurfaceType.Smooth |
253 | + | sound1.SoundId = "http://www.roblox.com/asset/?id=" .. sid |
254 | - | part_22.Parent = model |
254 | + | sound1:Play() |
255 | - | part_22.CFrame = CFrame.new(18.46, 2.42, -54.455) |
255 | + | coroutine.wrap(function() |
256 | - | bloxy_cola.GripForward = Vector3.new(-0.976, 0, -0.217) |
256 | + | while sound1.IsPlaying and soundIsPlaying do |
257 | - | bloxy_cola.GripRight = Vector3.new(0.217, 0, -0.976) |
257 | + | for i,v in pairs(tab) do |
258 | - | bloxy_cola.TextureId = "http://www.roblox.com/asset/?id=10472127" |
258 | + | v.Enabled = true |
259 | - | bloxy_cola.Grip = CFrame.new(0.03, 0, 0) * CFrame.Angles(0, 1.352, 0) |
259 | + | v.Brightness = sound1.PlaybackLoudness/19 |
260 | - | bloxy_cola.Name = "Bloxy Cola" |
260 | + | v.Range = sound1.PlaybackLoudness/15 |
261 | - | bloxy_cola.GripPos = Vector3.new(0.03, 0, 0) |
261 | + | if red then |
262 | - | bloxy_cola.Parent = model |
262 | + | v.Color = Color3.new(sound1.PlaybackLoudness/200, 0,0) |
263 | - | handle.Size = Vector3.new(1, 1.2, 1) |
263 | + | elseif blue then |
264 | - | handle.Orientation = Vector3.new(-0.02, 180, -0.02) |
264 | + | v.Color = Color3.new(0, 0,sound1.PlaybackLoudness/200) |
265 | - | handle.BottomSurface = Enum.SurfaceType.Smooth |
265 | + | elseif green then |
266 | - | handle.Color = Color3.new(0.803922, 0.803922, 0.803922) |
266 | + | v.Color = Color3.new(0, sound1.PlaybackLoudness/200,0) |
267 | - | handle.BrickColor = BrickColor.new("Mid gray") |
267 | + | elseif rainbow then |
268 | - | handle.TopSurface = Enum.SurfaceType.Smooth |
268 | + | v.Color = brick.BrickColor.Color |
269 | - | handle.Name = "Handle" |
269 | + | end |
270 | - | handle.Parent = bloxy_cola |
270 | + | end |
271 | - | handle.CFrame = CFrame.new(-21.44, 4.93, -42.26) * CFrame.Angles(-3.141, 0, 3.141) |
271 | + | wait() |
272 | - | mesh.MeshType = Enum.MeshType.FileMesh |
272 | + | end |
273 | - | mesh.Scale = Vector3.new(1.2, 1.2, 1.2) |
273 | + | end)() |
274 | - | mesh.MeshId = "http://www.roblox.com/asset/?id=10470609" |
274 | + | while sound1.IsPlaying and soundIsPlaying do |
275 | - | mesh.TextureId = "http://www.roblox.com/asset/?id=10470600" |
275 | + | workspace.CurrentCamera.FieldOfView = 70 - sound1.PlaybackLoudness/100 |
276 | - | mesh.Parent = handle |
276 | + | bcol = brick.BrickColor |
277 | - | part_23.Anchored = true |
277 | + | for _,v in pairs(tab2) do |
278 | - | part_23.Size = Vector3.new(19.16, 0.58, 5.08) |
278 | + | if standingg then |
279 | - | part_23.Material = Enum.Material.SmoothPlastic |
279 | + | v.Size = Vector3.new(1, sound1.PlaybackLoudness/math.random(10,25), 1) |
280 | - | part_23.TopSurface = Enum.SurfaceType.Smooth |
280 | + | elseif flatt then |
281 | - | part_23.BottomSurface = Enum.SurfaceType.Smooth |
281 | + | v.Size = Vector3.new(sound1.PlaybackLoudness/math.random(10,25), 1, 1) |
282 | - | part_23.Parent = model |
282 | + | end |
283 | - | part_23.CFrame = CFrame.new(-21.4, 4.04, -42.9) |
283 | + | if red then |
284 | - | parttohandle_strong_joint.Part1 = handle |
284 | + | v.BrickColor = BrickColor.new(Color3.new(sound1.PlaybackLoudness/200, 0,0)) |
285 | - | parttohandle_strong_joint.C0 = CFrame.new(-9.58, 0.29, 2.54) * CFrame.Angles(-1.571, 0, 3.141) |
285 | + | elseif blue then |
286 | - | parttohandle_strong_joint.C1 = CFrame.new(9.54, -0.6, -1.9) * CFrame.Angles(-1.571, 0, 0) |
286 | + | v.BrickColor = BrickColor.new(Color3.new(0,0,sound1.PlaybackLoudness/200)) |
287 | - | parttohandle_strong_joint.Part0 = part_23 |
287 | + | elseif green then |
288 | - | parttohandle_strong_joint.Name = "Part-to-Handle Strong Joint" |
288 | + | v.BrickColor = BrickColor.new(Color3.new(0,sound1.PlaybackLoudness/200,0)) |
289 | - | parttohandle_strong_joint.Parent = part_23 |
289 | + | elseif rainbow then |
290 | - | parttopart_strong_joint_3.Part1 = part_24 |
290 | + | v.BrickColor = BrickColor.Random() |
291 | - | parttopart_strong_joint_3.C0 = CFrame.new(-9.58, 0.29, 2.54) * CFrame.Angles(-1.571, 0, -3.142) |
291 | + | end |
292 | - | parttopart_strong_joint_3.C1 = CFrame.new(-14.456, -0.48, 5.556) * CFrame.Angles(-1.571, 0, -2.957) |
292 | + | end |
293 | - | parttopart_strong_joint_3.Part0 = part_23 |
293 | + | wait() |
294 | - | parttopart_strong_joint_3.Name = "Part-to-Part Strong Joint" |
294 | + | end |
295 | - | parttopart_strong_joint_3.Parent = part_23 |
295 | + | end |
296 | - | houseinteriorbed.Name = "houseInteriorBed" |
296 | + | |
297 | - | houseinteriorbed.Parent = model |
297 | + | |
298 | - | part_25.Anchored = true |
298 | + | local stopbutton = Instance.new("TextButton") |
299 | - | part_25.Size = Vector3.new(3, 0.8, 2) |
299 | + | stopbutton.Parent = screenGui |
300 | - | part_25.Orientation = Vector3.new(0, -90.01, 0) |
300 | + | stopbutton.Position = UDim2.new(0, 158, 0, 305) |
301 | - | part_25.Color = Color3.new(0.94902, 0.952941, 0.952941) |
301 | + | stopbutton.Size = UDim2.new(0, 50, 0, 20) |
302 | - | part_25.BottomSurface = Enum.SurfaceType.Smooth |
302 | + | stopbutton.BackgroundColor3 = BrickColor.new("White").Color |
303 | - | part_25.TopSurface = Enum.SurfaceType.Smooth |
303 | + | stopbutton.Text = "Stop" |
304 | - | part_25.BrickColor = BrickColor.new("White") |
304 | + | |
305 | - | part_25.Parent = houseinteriorbed |
305 | + | vol = Instance.new("TextBox") |
306 | - | part_25.CFrame = CFrame.new(57.49, 3.92, -34.23) * CFrame.Angles(0, -1.571, 0) |
306 | + | vol.Parent = screenGui |
307 | - | parttopart_strong_joint_4.Part1 = part_26 |
307 | + | vol.Position = UDim2.new(0, 58, 0, 330) |
308 | - | parttopart_strong_joint_4.C0 = CFrame.new(1.5, -0.4, 1) * CFrame.Angles(1.571, 0, 0) |
308 | + | vol.Size = UDim2.new(0, 50, 0, 20) |
309 | - | parttopart_strong_joint_4.C1 = CFrame.new(-0.1, 0.5, 1) * CFrame.Angles(1.571, 0, 0) |
309 | + | vol.BackgroundColor3 = BrickColor.new("White").Color |
310 | - | parttopart_strong_joint_4.Part0 = part_25 |
310 | + | vol.Text = "Volume" |
311 | - | parttopart_strong_joint_4.Name = "Part-to-Part Strong Joint" |
311 | + | |
312 | - | parttopart_strong_joint_4.Parent = part_25 |
312 | + | coroutine.wrap(function() |
313 | - | part_11.Anchored = true |
313 | + | while wait() do |
314 | - | part_11.Size = Vector3.new(8, 4, 1) |
314 | + | svol = vol.Text |
315 | - | part_11.Orientation = Vector3.new(0, -90.01, 0) |
315 | + | end |
316 | - | part_11.Color = Color3.new(0.105882, 0.164706, 0.207843) |
316 | + | end)() |
317 | - | part_11.BottomSurface = Enum.SurfaceType.Smooth |
317 | + | |
318 | - | part_11.TopSurface = Enum.SurfaceType.Smooth |
318 | + | local remove = Instance.new("TextButton") |
319 | - | part_11.BrickColor = BrickColor.new("Black") |
319 | + | remove.Parent = screenGui |
320 | - | part_11.Parent = houseinteriorbed |
320 | + | remove.Position = UDim2.new(0, 108, 0, 370) |
321 | - | part_11.CFrame = CFrame.new(59.49, 3.12, -32.63) * CFrame.Angles(0, -1.571, 0) |
321 | + | remove.Size = UDim2.new(0, 50, 0, 20) |
322 | - | parttopart_strong_joint_5.Part1 = part_27 |
322 | + | remove.BackgroundColor3 = BrickColor.new("White").Color |
323 | - | parttopart_strong_joint_5.C0 = CFrame.new(-4, -2, 0.5) |
323 | + | remove.Text = "Clean" |
324 | - | parttopart_strong_joint_5.C1 = CFrame.new(-4, -1.2, -7.5) |
324 | + | |
325 | - | parttopart_strong_joint_5.Part0 = part_11 |
325 | + | pitch = Instance.new("TextBox") |
326 | - | parttopart_strong_joint_5.Name = "Part-to-Part Strong Joint" |
326 | + | pitch.Parent = screenGui |
327 | - | parttopart_strong_joint_5.Parent = part_11 |
327 | + | pitch.Position = UDim2.new(0, 158, 0, 330) |
328 | - | part_26.Anchored = true |
328 | + | pitch.Size = UDim2.new(0, 50, 0, 20) |
329 | - | part_26.Size = Vector3.new(7, 1, 3) |
329 | + | pitch.BackgroundColor3 = BrickColor.new("White").Color |
330 | - | part_26.Orientation = Vector3.new(0, -90.01, 0) |
330 | + | pitch.Text = "Pitch" |
331 | - | part_26.Color = Color3.new(0.94902, 0.952941, 0.952941) |
331 | + | |
332 | - | part_26.BottomSurface = Enum.SurfaceType.Smooth |
332 | + | coroutine.wrap(function() |
333 | - | part_26.TopSurface = Enum.SurfaceType.Smooth |
333 | + | while wait() do |
334 | - | part_26.BrickColor = BrickColor.new("White") |
334 | + | pitchh = pitch.Text |
335 | - | part_26.Parent = houseinteriorbed |
335 | + | end |
336 | - | part_26.CFrame = CFrame.new(57.49, 3.02, -32.63) * CFrame.Angles(0, -1.571, 0) |
336 | + | end)() |
337 | - | parttopart_strong_joint_6.Part1 = part_27 |
337 | + | |
338 | - | parttopart_strong_joint_6.C0 = CFrame.new(3.5, -0.5, 1.5) * CFrame.Angles(1.571, 0, 0) |
338 | + | pitchup = Instance.new("ImageButton") |
339 | - | parttopart_strong_joint_6.C1 = CFrame.new(3.5, 0.2, -4.5) * CFrame.Angles(1.571, 0, 0) |
339 | + | pitchup.Parent = screenGui |
340 | - | parttopart_strong_joint_6.Part0 = part_26 |
340 | + | pitchup.Position = UDim2.new(0, 131, 0, 327) |
341 | - | parttopart_strong_joint_6.Name = "Part-to-Part Strong Joint" |
341 | + | pitchup.BackgroundTransparency = 1 |
342 | - | parttopart_strong_joint_6.Parent = part_26 |
342 | + | pitchup.Size = UDim2.new(0, 25, 0, 25) |
343 | - | parttopart_strong_joint_7.Part1 = part_11 |
343 | + | pitchup.Image = "rbxassetid://29563813" |
344 | - | parttopart_strong_joint_7.C0 = CFrame.new(3.5, -0.5, -1.5) * CFrame.Angles(3.141, 0, 3.141) |
344 | + | |
345 | - | parttopart_strong_joint_7.C1 = CFrame.new(3.5, -0.6, 0.5) * CFrame.Angles(3.141, 0, 3.141) |
345 | + | pitchup.MouseButton1Down:connect(function() |
346 | - | parttopart_strong_joint_7.Part0 = part_26 |
346 | + | if soundIsPlaying then |
347 | - | parttopart_strong_joint_7.Name = "Part-to-Part Strong Joint" |
347 | + | pitch.Text = pitch.Text + .1 |
348 | - | parttopart_strong_joint_7.Parent = part_26 |
348 | + | end |
349 | - | part_28.Anchored = true |
349 | + | |
350 | - | part_28.Size = Vector3.new(3, 0.8, 2) |
350 | + | |
351 | - | part_28.Orientation = Vector3.new(0, -90.01, 0) |
351 | + | pitchdown = Instance.new("ImageButton") |
352 | - | part_28.Color = Color3.new(0.94902, 0.952941, 0.952941) |
352 | + | pitchdown.Parent = screenGui |
353 | - | part_28.BottomSurface = Enum.SurfaceType.Smooth |
353 | + | pitchdown.Rotation = 180 |
354 | - | part_28.TopSurface = Enum.SurfaceType.Smooth |
354 | + | pitchdown.Position = UDim2.new(0, 211, 0, 327) |
355 | - | part_28.BrickColor = BrickColor.new("White") |
355 | + | pitchdown.BackgroundTransparency = 1 |
356 | - | part_28.Parent = houseinteriorbed |
356 | + | pitchdown.Size = UDim2.new(0, 25, 0, 25) |
357 | - | part_28.CFrame = CFrame.new(57.49, 3.92, -31.03) * CFrame.Angles(0, -1.571, 0) |
357 | + | pitchdown.Image = "rbxassetid://29563813" |
358 | - | parttopart_strong_joint_8.Part1 = part_26 |
358 | + | |
359 | - | parttopart_strong_joint_8.C0 = CFrame.new(1.5, -0.4, 1) * CFrame.Angles(1.571, 0, 0) |
359 | + | pitchdown.MouseButton1Down:connect(function() |
360 | - | parttopart_strong_joint_8.C1 = CFrame.new(3.1, 0.5, 1) * CFrame.Angles(1.571, 0, 0) |
360 | + | if soundIsPlaying then |
361 | - | parttopart_strong_joint_8.Part0 = part_28 |
361 | + | pitch.Text = pitch.Text - .1 |
362 | - | parttopart_strong_joint_8.Name = "Part-to-Part Strong Joint" |
362 | + | end |
363 | - | parttopart_strong_joint_8.Parent = part_28 |
363 | + | |
364 | - | part_27.Anchored = true |
364 | + | |
365 | - | part_27.Size = Vector3.new(8, 0.4, 15) |
365 | + | remove.MouseButton1Down:connect(function() |
366 | - | part_27.Orientation = Vector3.new(0, -90.01, 0) |
366 | + | if idrewsomething then |
367 | - | part_27.Color = Color3.new(0.105882, 0.164706, 0.207843) |
367 | + | if soundIsPlaying then |
368 | - | part_27.BottomSurface = Enum.SurfaceType.Smooth |
368 | + | soundIsPlaying = false |
369 | - | part_27.TopSurface = Enum.SurfaceType.Smooth |
369 | + | workspace.CurrentCamera.FieldOfView = 70 |
370 | - | part_27.BrickColor = BrickColor.new("Black") |
370 | + | woosh = Instance.new("Sound",Character) |
371 | - | part_27.Parent = houseinteriorbed |
371 | + | woosh.Volume = 2 |
372 | - | part_27.CFrame = CFrame.new(51.49, 2.32, -32.63) * CFrame.Angles(0, -1.571, 0) |
372 | + | woosh.SoundId = "rbxasstid://215402014" |
373 | - | part_12.Anchored = true |
373 | + | woosh:Play() |
374 | - | part_12.Size = Vector3.new(7, 1, 14.5) |
374 | + | sound1:Stop() |
375 | - | part_12.Orientation = Vector3.new(0, -90.01, 0) |
375 | + | pitch.Text = "Pitch" |
376 | - | part_12.Color = Color3.new(0.105882, 0.164706, 0.207843) |
376 | + | vol.Text = "Volume" |
377 | - | part_12.BottomSurface = Enum.SurfaceType.Smooth |
377 | + | removeuseless:AddItem(woosh,2) |
378 | - | part_12.TopSurface = Enum.SurfaceType.Smooth |
378 | + | for _,v in pairs(tab2) do |
379 | - | part_12.BrickColor = BrickColor.new("Black") |
379 | + | v:Remove() |
380 | - | part_12.Parent = houseinteriorbed |
380 | + | end |
381 | - | part_12.CFrame = CFrame.new(51.74, 1.62, -32.63) * CFrame.Angles(0, -1.571, 0) |
381 | + | idrewsomething = false |
382 | - | parttopart_strong_joint_9.Part1 = part_27 |
382 | + | elseif not soundIsPlaying then |
383 | - | parttopart_strong_joint_9.C0 = CFrame.new(-3.5, 0.5, 7.25) * CFrame.Angles(-1.571, 0, 3.141) |
383 | + | soundIsPlaying = false |
384 | - | parttopart_strong_joint_9.C1 = CFrame.new(-3.5, -0.2, 7) * CFrame.Angles(-1.571, 0, 3.141) |
384 | + | woosh = Instance.new("Sound",Character) |
385 | - | parttopart_strong_joint_9.Part0 = part_12 |
385 | + | woosh.Volume = 2 |
386 | - | parttopart_strong_joint_9.Name = "Part-to-Part Strong Joint" |
386 | + | woosh.SoundId = "rbxasstid://215402014" |
387 | - | parttopart_strong_joint_9.Parent = part_12 |
387 | + | woosh:Play() |
388 | - | parttopart_strong_joint_10.Part1 = part_11 |
388 | + | for _,v in pairs(tab2) do |
389 | - | parttopart_strong_joint_10.C0 = CFrame.new(3.5, -0.5, -7.25) * CFrame.Angles(3.141, 0, 3.141) |
389 | + | v:Remove() |
390 | - | parttopart_strong_joint_10.C1 = CFrame.new(3.5, -2, 0.5) * CFrame.Angles(3.141, 0, 3.141) |
390 | + | end |
391 | - | parttopart_strong_joint_10.Part0 = part_12 |
391 | + | idrewsomething = false |
392 | - | parttopart_strong_joint_10.Name = "Part-to-Part Strong Joint" |
392 | + | end |
393 | - | parttopart_strong_joint_10.Parent = part_12 |
393 | + | end |
394 | - | seat.Anchored = true |
394 | + | |
395 | - | seat.Size = Vector3.new(7, 1, 11.5) |
395 | + | |
396 | - | seat.Orientation = Vector3.new(0, 90.01, 0) |
396 | + | local day = Instance.new("TextButton") |
397 | - | seat.BrickColor = BrickColor.new("Bright red") |
397 | + | day.Parent = screenGui |
398 | - | seat.BottomSurface = Enum.SurfaceType.Smooth |
398 | + | day.Position = UDim2.new(0, 50, 0, 370) |
399 | - | seat.TopSurface = Enum.SurfaceType.Smooth |
399 | + | day.Size = UDim2.new(0, 50, 0, 20) |
400 | - | seat.Color = Color3.new(0.768628, 0.156863, 0.109804) |
400 | + | day.BackgroundColor3 = BrickColor.new("Bright yellow").Color |
401 | - | seat.Parent = houseinteriorbed |
401 | + | day.Text = "Day" |
402 | - | seat.CFrame = CFrame.new(50.24, 3.02, -32.63) * CFrame.Angles(0, 1.571, 0) |
402 | + | |
403 | - | seattopart_strong_joint.Part1 = part_27 |
403 | + | day.MouseButton1Down:connect(function() |
404 | - | seattopart_strong_joint.C0 = CFrame.new(3.5, -0.5, 5.75) * CFrame.Angles(1.571, 0, 0) |
404 | + | daytime = true |
405 | - | seattopart_strong_joint.C1 = CFrame.new(-3.499, 0.2, -4.5) * CFrame.Angles(1.571, 0, -3.141) |
405 | + | nighttime = false |
406 | - | seattopart_strong_joint.Part0 = seat |
406 | + | turnon = Instance.new("Sound",Character) |
407 | - | seattopart_strong_joint.Name = "Seat-to-Part Strong Joint" |
407 | + | turnon.SoundId = "rbxassetid://858896518" |
408 | - | seattopart_strong_joint.Parent = seat |
408 | + | turnon.Volume = 1 |
409 | - | seattopart_strong_joint_2.Part1 = part_26 |
409 | + | turnon.Pitch = 1.05 |
410 | - | seattopart_strong_joint_2.C0 = CFrame.new(-3.5, -0.5, 5.75) |
410 | + | turnon:Play() |
411 | - | seattopart_strong_joint_2.C1 = CFrame.new(3.501, -0.5, 1.5) * CFrame.Angles(3.141, 0, 3.141) |
411 | + | removeuseless:AddItem(turnon,2) |
412 | - | seattopart_strong_joint_2.Part0 = seat |
412 | + | coroutine.wrap(function() |
413 | - | seattopart_strong_joint_2.Name = "Seat-to-Part Strong Joint" |
413 | + | while daytime do |
414 | - | seattopart_strong_joint_2.Parent = seat |
414 | + | game.Lighting.TimeOfDay = 12 |
415 | - | part_29.Anchored = true |
415 | + | game.Lighting.GlobalShadows = true |
416 | - | part_29.Shape = Enum.PartType.Cylinder |
416 | + | game.Lighting.Ambient = Color3.fromRGB(10,10,10) |
417 | - | part_29.Size = Vector3.new(0.05, 0.48, 0.48) |
417 | + | game.Lighting.Brightness = 1 |
418 | - | part_29.Orientation = Vector3.new(0, 90.01, 0) |
418 | + | wait() |
419 | - | part_29.Material = Enum.Material.SmoothPlastic |
419 | + | end |
420 | - | part_29.BottomSurface = Enum.SurfaceType.Smooth |
420 | + | end)() |
421 | - | part_29.BrickColor = BrickColor.new("Really black") |
421 | + | |
422 | - | part_29.TopSurface = Enum.SurfaceType.Smooth |
422 | + | |
423 | - | part_29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
423 | + | local night = Instance.new("TextButton") |
424 | - | part_29.Parent = model |
424 | + | night.Parent = screenGui |
425 | - | part_29.CFrame = CFrame.new(26.79, 3.2, -50.405) * CFrame.Angles(0, 1.571, 0) |
425 | + | night.Position = UDim2.new(0, 165, 0, 370) |
426 | - | door.Anchored = true |
426 | + | night.Size = UDim2.new(0, 50, 0, 20) |
427 | - | door.Size = Vector3.new(0.35, 12.05, 13.61) |
427 | + | night.BackgroundColor3 = BrickColor.new("Really black").Color |
428 | - | door.BottomSurface = Enum.SurfaceType.Smooth |
428 | + | night.TextColor = BrickColor.new("White") |
429 | - | door.Material = Enum.Material.SmoothPlastic |
429 | + | night.Text = "Night" |
430 | - | door.TopSurface = Enum.SurfaceType.Smooth |
430 | + | |
431 | - | door.Name = "Door" |
431 | + | night.MouseButton1Down:connect(function() |
432 | - | door.Parent = model |
432 | + | daytime = false |
433 | - | door.CFrame = CFrame.new(-30.665, 6.695, -28.185) |
433 | + | nighttime = true |
434 | - | part_30.Anchored = true |
434 | + | turnoff = Instance.new("Sound",Character) |
435 | - | part_30.Size = Vector3.new(0.4, 2.36, 7.76) |
435 | + | turnoff.SoundId = "rbxassetid://858896518" |
436 | - | part_30.Material = Enum.Material.SmoothPlastic |
436 | + | turnoff.Volume = 1 |
437 | - | part_30.TopSurface = Enum.SurfaceType.Smooth |
437 | + | turnoff.Pitch = .9 |
438 | - | part_30.BottomSurface = Enum.SurfaceType.Smooth |
438 | + | turnoff:Play() |
439 | - | part_30.Parent = model |
439 | + | removeuseless:AddItem(turnoff,2) |
440 | - | part_30.CFrame = CFrame.new(23.04, 11.56, -54.11) |
440 | + | coroutine.wrap(function() |
441 | - | part_31.Anchored = true |
441 | + | while nighttime do |
442 | - | part_31.Shape = Enum.PartType.Cylinder |
442 | + | game.Lighting.TimeOfDay = 0 |
443 | - | part_31.Size = Vector3.new(0.05, 0.48, 0.48) |
443 | + | game.Lighting.GlobalShadows = false |
444 | - | part_31.Orientation = Vector3.new(0, 90.01, 0) |
444 | + | game.Lighting.Ambient = Color3.new(0,0,0) |
445 | - | part_31.Material = Enum.Material.SmoothPlastic |
445 | + | game.Lighting.Brightness = 0 |
446 | - | part_31.BottomSurface = Enum.SurfaceType.Smooth |
446 | + | wait() |
447 | - | part_31.BrickColor = BrickColor.new("Really black") |
447 | + | end |
448 | - | part_31.TopSurface = Enum.SurfaceType.Smooth |
448 | + | end)() |
449 | - | part_31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
449 | + | |
450 | - | part_31.Parent = model |
450 | + | |
451 | - | part_31.CFrame = CFrame.new(21.99, 10.65, -50.405) * CFrame.Angles(0, 1.571, 0) |
451 | + | volumeup = Instance.new("ImageButton") |
452 | - | part_32.Anchored = true |
452 | + | volumeup.Parent = screenGui |
453 | - | part_32.Shape = Enum.PartType.Cylinder |
453 | + | volumeup.Position = UDim2.new(0, 29, 0, 327) |
454 | - | part_32.Size = Vector3.new(0.05, 0.48, 0.48) |
454 | + | volumeup.BackgroundTransparency = 1 |
455 | - | part_32.Orientation = Vector3.new(0, 90.01, 0) |
455 | + | volumeup.Size = UDim2.new(0, 25, 0, 25) |
456 | - | part_32.Material = Enum.Material.SmoothPlastic |
456 | + | volumeup.Image = "rbxassetid://29563813" |
457 | - | part_32.BottomSurface = Enum.SurfaceType.Smooth |
457 | + | |
458 | - | part_32.BrickColor = BrickColor.new("Really black") |
458 | + | volumeup.MouseButton1Down:connect(function() |
459 | - | part_32.TopSurface = Enum.SurfaceType.Smooth |
459 | + | if soundIsPlaying then |
460 | - | part_32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
460 | + | vol.Text = vol.Text + 1 |
461 | - | part_32.Parent = model |
461 | + | end |
462 | - | part_32.CFrame = CFrame.new(18.12, 3.2, -50.405) * CFrame.Angles(0, 1.571, 0) |
462 | + | |
463 | - | part_33.Anchored = true |
463 | + | |
464 | - | part_33.Size = Vector3.new(8.51, 2.94, 7.2) |
464 | + | volumedown = Instance.new("ImageButton") |
465 | - | part_33.Material = Enum.Material.SmoothPlastic |
465 | + | volumedown.Parent = screenGui |
466 | - | part_33.TopSurface = Enum.SurfaceType.Smooth |
466 | + | volumedown.Rotation = 180 |
467 | - | part_33.BottomSurface = Enum.SurfaceType.Smooth |
467 | + | volumedown.Position = UDim2.new(0, 111, 0, 327) |
468 | - | part_33.Parent = model |
468 | + | volumedown.BackgroundTransparency = 1 |
469 | - | part_33.CFrame = CFrame.new(8.795, 2.5, -54.39) |
469 | + | volumedown.Size = UDim2.new(0, 25, 0, 25) |
470 | - | part_34.Anchored = true |
470 | + | volumedown.Image = "rbxassetid://29563813" |
471 | - | part_34.Size = Vector3.new(6.52, 2.94, 7.3) |
471 | + | |
472 | - | part_34.Material = Enum.Material.SmoothPlastic |
472 | + | Supr14 = Instance.new("ImageLabel") |
473 | - | part_34.BrickColor = BrickColor.new("Really black") |
473 | + | Supr14.Parent = screenGui |
474 | - | part_34.BottomSurface = Enum.SurfaceType.Smooth |
474 | + | Supr14.Rotation = 0 |
475 | - | part_34.TopSurface = Enum.SurfaceType.Smooth |
475 | + | Supr14.Position = UDim2.new(0, 13, 0, 222) |
476 | - | part_34.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
476 | + | Supr14.BackgroundTransparency = 1 |
477 | - | part_34.Parent = model |
477 | + | Supr14.Size = UDim2.new(0, 240, 0, 60) |
478 | - | part_34.CFrame = CFrame.new(9.06, 2.5, -54.34) |
478 | + | Supr14.Image = "rbxassetid://1815697653" |
479 | - | part_35.Anchored = true |
479 | + | |
480 | - | part_35.Shape = Enum.PartType.Cylinder |
480 | + | volumedown.MouseButton1Down:connect(function() |
481 | - | part_35.Size = Vector3.new(0.05, 1, 1) |
481 | + | if soundIsPlaying then |
482 | - | part_35.Orientation = Vector3.new(-0.02, 180, -89.99) |
482 | + | vol.Text = vol.Text - 1 |
483 | - | part_35.Material = Enum.Material.SmoothPlastic |
483 | + | end |
484 | - | part_35.BottomSurface = Enum.SurfaceType.Smooth |
484 | + | |
485 | - | part_35.BrickColor = BrickColor.new("Really black") |
485 | + | |
486 | - | part_35.TopSurface = Enum.SurfaceType.Smooth |
486 | + | stopbutton.MouseButton1Down:connect(function() |
487 | - | part_35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
487 | + | if idrewsomething then |
488 | - | part_35.Parent = model |
488 | + | if soundIsPlaying then |
489 | - | part_35.CFrame = CFrame.new(7.24, 4.355, -54.21) * CFrame.Angles(-3.141, 0, 1.571) |
489 | + | sound1:Remove() |
490 | - | part_36.Anchored = true |
490 | + | soundIsPlaying = false |
491 | - | part_36.Shape = Enum.PartType.Cylinder |
491 | + | workspace.CurrentCamera.FieldOfView = 70 |
492 | - | part_36.Size = Vector3.new(0.05, 0.48, 0.48) |
492 | + | pitch.Text = "Pitch" |
493 | - | part_36.Orientation = Vector3.new(0, 90.01, 0) |
493 | + | vol.Text = "Volume" |
494 | - | part_36.Material = Enum.Material.SmoothPlastic |
494 | + | for i,v in pairs(tab) do |
495 | - | part_36.BottomSurface = Enum.SurfaceType.Smooth |
495 | + | v.Enabled = false |
496 | - | part_36.BrickColor = BrickColor.new("Really black") |
496 | + | end |
497 | - | part_36.TopSurface = Enum.SurfaceType.Smooth |
497 | + | for i = 1, 10 do |
498 | - | part_36.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
498 | + | for _,v in pairs(tab2) do |
499 | - | part_36.Parent = model |
499 | + | v.BrickColor = BrickColor.new("Really black") |
500 | - | part_36.CFrame = CFrame.new(11.42, 4.02, -50.405) * CFrame.Angles(0, 1.571, 0) |
500 | + | v.Size = v.Size - Vector3.new(0,15,0) |
501 | - | part_37.Anchored = true |
501 | + | end |
502 | - | part_37.Shape = Enum.PartType.Cylinder |
502 | + | wait() |
503 | - | part_37.Size = Vector3.new(0.05, 0.48, 0.48) |
503 | + | end |
504 | - | part_37.Orientation = Vector3.new(0, 90.01, 0) |
504 | + | end |
505 | - | part_37.Material = Enum.Material.SmoothPlastic |
505 | + | end |
506 | - | part_37.BottomSurface = Enum.SurfaceType.Smooth |
506 | + | |
507 | - | part_37.BrickColor = BrickColor.new("Really black") |
507 | + | |
508 | - | part_37.TopSurface = Enum.SurfaceType.Smooth |
508 | + | print("Drawing visualiser!, Made by Supr14") |