SHOW:
|
|
- or go back to the newest paste.
1 | print("CubeMorph V1.1") | |
2 | print("Controls:") | |
3 | print(" ") | |
4 | print("Chat Commands") | |
5 | print("lostt, victory, lost, timer, saxo, stal, calm, chirp, sand, cat, blocks, wait, dorime, music;, stop, volum;, global, normal") | |
6 | print(" ") | |
7 | print("Left mouse button to grab") | |
8 | print("E-Move grabbed object UP") | |
9 | print("Q-Move grabbed object down") | |
10 | print("Z-Rotate grabbed object Left") | |
11 | print("X-Rotate grabbed object Right") | |
12 | print("C-MEDIC!!!") | |
13 | print(" ") | |
14 | print("Say in chat music;(music sound id) to play music") | |
15 | print("Say in chat stop; to stop music") | |
16 | print("Say in chat volum;(0-10) to control music volume") | |
17 | print(" ") | |
18 | print("V1.05") | |
19 | print("-Update: now you can rotate things left and right") | |
20 | print("-Update: added secret ") | |
21 | print(" ") | |
22 | print("V1.1") | |
23 | - | |
23 | + | |
24 | print("-Update: MEDIC") | |
25 | print("Script made by dragen1576!") | |
26 | ||
27 | NLS([[ | |
28 | local plr = game:GetService("Players").LocalPlayer | |
29 | - | |
29 | + | |
30 | local remote2 = plr.Character:WaitForChild("fater") | |
31 | local Mouse = plr:GetMouse() | |
32 | - | |
32 | + | |
33 | - | |
33 | + | |
34 | Music:Clone() | |
35 | ||
36 | ||
37 | function mouseclick() | |
38 | - | |
38 | + | |
39 | - | |
39 | + | |
40 | end | |
41 | ||
42 | ||
43 | function click() | |
44 | - | |
44 | + | |
45 | end | |
46 | Mouse.Button1Down:connect(click) | |
47 | ||
48 | Mouse.KeyDown:connect(function(key) | |
49 | key = key:lower() | |
50 | if key == "q" and cooldown==0 then | |
51 | cooldown=1 | |
52 | remote2:FireServer("DOWN") | |
53 | elseif key == "e" and cooldown==0 then | |
54 | cooldown=1 | |
55 | remote2:FireServer("UP") | |
56 | elseif key == "z" and cooldown==0 then | |
57 | cooldown=1 | |
58 | remote2:FireServer("DOWNN") | |
59 | elseif key == "z" and cooldown==0 then | |
60 | cooldown=1 | |
61 | remote2:FireServer("DOWNN") | |
62 | elseif key == "x" and cooldown==0 then | |
63 | cooldown=1 | |
64 | remote2:FireServer("UPP") | |
65 | elseif key == "c" and cooldown==0 then | |
66 | cooldown=1 | |
67 | remote2:FireServer("MEDIC!!!") | |
68 | end | |
69 | - | |
69 | + | |
70 | - | |
70 | + | |
71 | - | |
71 | + | |
72 | - | |
72 | + | |
73 | - | |
73 | + | |
74 | ||
75 | ||
76 | ||
77 | while true do | |
78 | game:service("RunService").Stepped:wait() | |
79 | - | |
79 | + | |
80 | remote2:FireServer("ee",1,1) | |
81 | - | |
81 | + | |
82 | ||
83 | - | local env = getfenv(func) |
83 | + | |
84 | - | local newenv = setmetatable({},{ |
84 | + | |
85 | - | __index = function(self,k) |
85 | + | |
86 | - | if k=="script" then |
86 | + | local env = getfenv(func) |
87 | - | return var |
87 | + | local newenv = setmetatable({},{ |
88 | - | else |
88 | + | __index = function(self,k) |
89 | - | return env[k] |
89 | + | if k=="script" then |
90 | - | end |
90 | + | return var |
91 | - | end, |
91 | + | else |
92 | - | }) |
92 | + | return env[k] |
93 | - | setfenv(func,newenv) |
93 | + | end |
94 | - | return func |
94 | + | end, |
95 | }) | |
96 | setfenv(func,newenv) | |
97 | - | |
97 | + | return func |
98 | end | |
99 | - | |
99 | + | |
100 | ||
101 | sleeping=false | |
102 | ||
103 | Part1 = Instance.new("Part") | |
104 | Weld2 = Instance.new("Weld") | |
105 | Weld3 = Instance.new("Weld") | |
106 | Weld4 = Instance.new("Weld") | |
107 | Part5 = Instance.new("Part") | |
108 | SpecialMesh6 = Instance.new("SpecialMesh") | |
109 | Part7 = Instance.new("Part") | |
110 | Part8 = Instance.new("Part") | |
111 | Part1.Name = "Headfake" | |
112 | Part1.Parent = owner.Character.Humanoid | |
113 | Part1.CFrame = CFrame.new(8.04998779, 8.25000381, 45.8500061, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
114 | Part1.Position = Vector3.new(8.04998779, 8.25000381, 45.8500061) | |
115 | Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
116 | Part1.Size = Vector3.new(1.5, 1.5, 1.5) | |
117 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
118 | Part1.BrickColor = BrickColor.new("Really black") | |
119 | Part1.Material = Enum.Material.SmoothPlastic | |
120 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
121 | Part1.brickColor = BrickColor.new("Really black") | |
122 | Weld2.Name = "BTWeld" | |
123 | Weld2.Parent = Part1 | |
124 | Weld2.C1 = CFrame.new(-0.375, 0, 0.150001526, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
125 | Weld2.Part0 = Part1 | |
126 | Weld2.Part1 = Part7 | |
127 | Weld3.Name = "BTWeld" | |
128 | Weld3.Parent = Part1 | |
129 | Weld3.C1 = CFrame.new(0, -2.57492065e-05, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
130 | Weld3.Part0 = Part1 | |
131 | Weld3.Part1 = Part5 | |
132 | Weld4.Name = "BTWeld" | |
133 | Weld4.Parent = Part1 | |
134 | Weld4.C1 = CFrame.new(0.375, 0, 0.150001526, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
135 | Weld4.Part0 = Part1 | |
136 | Weld4.Part1 = Part8 | |
137 | Part5.Parent = owner.Character.Humanoid | |
138 | Part5.CFrame = CFrame.new(8.04998779, 8.25002956, 45.8500061, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
139 | Part5.Position = Vector3.new(8.04998779, 8.25002956, 45.8500061) | |
140 | Part5.Color = Color3.new(1, 1, 1) | |
141 | Part5.Size = Vector3.new(1.5, 1.5, 1.5) | |
142 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
143 | Part5.BrickColor = BrickColor.new("Institutional white") | |
144 | Part5.Material = Enum.Material.SmoothPlastic | |
145 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
146 | Part5.brickColor = BrickColor.new("Institutional white") | |
147 | SpecialMesh6.Parent = Part5 | |
148 | SpecialMesh6.MeshId = "http://www.roblox.com/Asset/?id=9856898" | |
149 | SpecialMesh6.Scale = Vector3.new(-3.25, -3.25, -3.25) | |
150 | SpecialMesh6.MeshType = Enum.MeshType.FileMesh | |
151 | Part7.Name = "Right eye" | |
152 | Part7.Parent = owner.Character.Humanoid | |
153 | Part7.CFrame = CFrame.new(8.42498779, 8.25000381, 45.7000046, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
154 | Part7.Position = Vector3.new(8.42498779, 8.25000381, 45.7000046) | |
155 | Part7.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
156 | Part7.Size = Vector3.new(0.25, 0.5, 1.29999995) | |
157 | Part7.BottomSurface = Enum.SurfaceType.Smooth | |
158 | Part7.BrickColor = BrickColor.new("Institutional white") | |
159 | Part7.Material = Enum.Material.SmoothPlastic | |
160 | Part7.TopSurface = Enum.SurfaceType.Smooth | |
161 | Part7.brickColor = BrickColor.new("Institutional white") | |
162 | Part8.Name = "Left eye" | |
163 | Part8.Parent = owner.Character.Humanoid | |
164 | Part8.CFrame = CFrame.new(7.67498779, 8.25000381, 45.7000046, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
165 | Part8.Position = Vector3.new(7.67498779, 8.25000381, 45.7000046) | |
166 | Part8.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
167 | Part8.Size = Vector3.new(0.25, 0.5, 1.29999995) | |
168 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
169 | Part8.BrickColor = BrickColor.new("Institutional white") | |
170 | Part8.Material = Enum.Material.SmoothPlastic | |
171 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
172 | Part8.BrickColor = BrickColor.new("Institutional white") | |
173 | Part1.CanCollide=false | |
174 | - | |
174 | + | |
175 | - | Part11 = Instance.new("Part") |
175 | + | |
176 | - | SpecialMesh21 = Instance.new("SpecialMesh") |
176 | + | |
177 | - | Weld31 = Instance.new("Weld") |
177 | + | |
178 | - | Part41 = Instance.new("Part") |
178 | + | |
179 | - | |
179 | + | |
180 | Part11.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
181 | Part11.Size = Vector3.new(0.600000024, 0.600000024, 0.600000024) | |
182 | Part11.BottomSurface = Enum.SurfaceType.Smooth | |
183 | Part11.BrickColor = BrickColor.new("Institutional white") | |
184 | Part11.TopSurface = Enum.SurfaceType.Smooth | |
185 | Part11.brickColor = BrickColor.new("Institutional white") | |
186 | SpecialMesh21.Parent = Part11 | |
187 | SpecialMesh21.MeshId = "http://www.roblox.com/Asset/?id=9856898" | |
188 | SpecialMesh21.Scale = Vector3.new(-1.25, -1.25, -1.25) | |
189 | SpecialMesh21.MeshType = Enum.MeshType.FileMesh | |
190 | Weld31.Name = "BTWeld" | |
191 | Weld31.Parent = Part11 | |
192 | Weld31.C1 = CFrame.new(0, 9.53674316e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
193 | Weld31.Part0 = Part11 | |
194 | Weld31.Part1 = Part41 | |
195 | Weld31.part1 = Part41 | |
196 | Part41.Name = "LeftArm" | |
197 | Part41.Parent = owner.Character.Humanoid | |
198 | Part41.CFrame = CFrame.new(6.04998779, 6.50002003, 45.8500061, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
199 | Part41.Position = Vector3.new(6.04998779, 6.50002003, 45.8500061) | |
200 | Part41.Color = Color3.new(0, 0, 0) | |
201 | Part41.Size = Vector3.new(0.5, 0.5, 0.5) | |
202 | Part41.BottomSurface = Enum.SurfaceType.Smooth | |
203 | Part41.BrickColor = BrickColor.new("Really black") | |
204 | Part41.TopSurface = Enum.SurfaceType.Smooth | |
205 | Part41.brickColor = BrickColor.new("Really black") | |
206 | ||
207 | SpecialMesh2 = Instance.new("SpecialMesh") | |
208 | Weld3 = Instance.new("Weld") | |
209 | - | |
209 | + | |
210 | Part2 = Instance.new("Part") | |
211 | ||
212 | Part11.CanCollide=false | |
213 | Part41.CanCollide=false | |
214 | - | |
214 | + | |
215 | Part2.Parent = owner.Character.Humanoid | |
216 | Part2.CFrame = CFrame.new(10.0499878, 6.5000062, 45.8500061, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
217 | - | |
217 | + | |
218 | Part2.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
219 | Part2.Size = Vector3.new(0.600000024, 0.600000024, 0.600000024) | |
220 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
221 | Part2.BrickColor = BrickColor.new("Institutional white") | |
222 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
223 | Part2.brickColor = BrickColor.new("Institutional white") | |
224 | SpecialMesh2.Parent = Part2 | |
225 | SpecialMesh2.MeshId = "http://www.roblox.com/Asset/?id=9856898" | |
226 | SpecialMesh2.Scale = Vector3.new(-1.25, -1.25, -1.25) | |
227 | SpecialMesh2.MeshType = Enum.MeshType.FileMesh | |
228 | Weld3.Name = "BTWeld" | |
229 | Weld3.Parent = Part2 | |
230 | Weld3.C1 = CFrame.new(0, 2.38418579e-06, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
231 | Weld3.Part0 = Part2 | |
232 | Weld3.Part1 = Part4 | |
233 | Weld3.part1 = Part4 | |
234 | Part4.Name = "RightArm" | |
235 | Part4.Parent = owner.Character.Humanoid | |
236 | Part4.CFrame = CFrame.new(10.0499878, 6.50000381, 45.8500061, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
237 | Part4.Position = Vector3.new(10.0499878, 6.50000381, 45.8500061) | |
238 | Part4.Color = Color3.new(0, 0, 0) | |
239 | Part4.Size = Vector3.new(0.5, 0.5, 0.5) | |
240 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
241 | Part4.BrickColor = BrickColor.new("Really black") | |
242 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
243 | Part4.brickColor = BrickColor.new("Really black") | |
244 | ||
245 | ||
246 | Part131 = Instance.new("Part") | |
247 | - | |
247 | + | |
248 | - | |
248 | + | |
249 | Weld431 = Instance.new("Weld") | |
250 | Weld531 = Instance.new("Weld") | |
251 | - | |
251 | + | |
252 | Part131.Name = "rar" | |
253 | Part131.Parent = owner.Character.Humanoid | |
254 | - | |
254 | + | |
255 | Part131.Position = Vector3.new(9.29998779, 7.25002956, 45.8500061) | |
256 | Part131.Transparency = 22 | |
257 | Part131.Size = Vector3.new(1.5, 1.5, 1.5) | |
258 | Part131.BottomSurface = Enum.SurfaceType.Smooth | |
259 | Part131.CanCollide = false | |
260 | Part131.TopSurface = Enum.SurfaceType.Smooth | |
261 | Part231=Part1 | |
262 | ||
263 | Part331.Name = "lal" | |
264 | Part331.Parent = owner.Character.Humanoid | |
265 | - | |
265 | + | |
266 | Part331.Position = Vector3.new(6.79998779, 7.25002956, 45.8500061) | |
267 | Part331.Transparency = 22 | |
268 | Part331.Size = Vector3.new(1.5, 1.5, 1.5) | |
269 | Part331.BottomSurface = Enum.SurfaceType.Smooth | |
270 | Part331.CanCollide = false | |
271 | Part331.TopSurface = Enum.SurfaceType.Smooth | |
272 | Weld431.Name = "BTWeld" | |
273 | Weld431.Parent = Part331 | |
274 | Weld431.C1 = CFrame.new(-1.25, -0.999974251, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
275 | Weld431.Part0 = Part331 | |
276 | Weld431.Part1 = Part231 | |
277 | Weld431.part1 = Part231 | |
278 | Weld531.Name = "BTWeld" | |
279 | Weld531.Parent = Part331 | |
280 | Weld531.C1 = CFrame.new(-2.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
281 | Weld531.Part0 = Part331 | |
282 | Weld531.Part1 = Part131 | |
283 | Weld531.part1 = Part131 | |
284 | ||
285 | Part4.CanCollide=false | |
286 | Part2.CanCollide=false | |
287 | - | |
287 | + | |
288 | BillboardGui0 = Instance.new("BillboardGui") | |
289 | TextLabel1 = Instance.new("TextLabel") | |
290 | - | |
290 | + | |
291 | ||
292 | BillboardGui0.Parent = Part1 | |
293 | BillboardGui0.LightInfluence = 1 | |
294 | - | |
294 | + | |
295 | BillboardGui0.Active = true | |
296 | BillboardGui0.ClipsDescendants = true | |
297 | BillboardGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling | |
298 | BillboardGui0.StudsOffset = Vector3.new(0, 2, 0) | |
299 | TextLabel1.Parent = BillboardGui0 | |
300 | TextLabel1.Size = UDim2.new(0, 200, 0, 50) | |
301 | TextLabel1.BackgroundColor = BrickColor.new("Institutional white") | |
302 | TextLabel1.BackgroundColor3 = Color3.new(1, 1, 1) | |
303 | TextLabel1.BackgroundTransparency = 0 | |
304 | TextLabel1.BorderColor3 = Color3.new(1, 1, 1) | |
305 | TextLabel1.Font = Enum.Font.SourceSans | |
306 | TextLabel1.FontSize = Enum.FontSize.Size14 | |
307 | TextLabel1.Text = "MEDIC!" | |
308 | TextLabel1.TextColor = BrickColor.new("Really black") | |
309 | TextLabel1.TextColor3 = Color3.new(0, 0, 0) | |
310 | TextLabel1.TextScaled = true | |
311 | TextLabel1.TextSize = 14 | |
312 | TextLabel1.TextWrap = true | |
313 | TextLabel1.TextWrapped = true | |
314 | ||
315 | TextLabel2.Parent = BillboardGui0 | |
316 | TextLabel2.Size = UDim2.new(0, 200, 0, 50) | |
317 | - | |
317 | + | |
318 | TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1) | |
319 | TextLabel2.BackgroundTransparency = 0 | |
320 | TextLabel2.BorderColor3 = Color3.new(1, 1, 1) | |
321 | TextLabel2.Font = Enum.Font.SourceSans | |
322 | TextLabel2.FontSize = Enum.FontSize.Size14 | |
323 | TextLabel2.Text = "DOCTOR" | |
324 | TextLabel2.TextColor = BrickColor.new("Really black") | |
325 | TextLabel2.TextColor3 = Color3.new(0, 0, 0) | |
326 | TextLabel2.TextScaled = true | |
327 | TextLabel2.TextSize = 14 | |
328 | TextLabel2.TextWrap = true | |
329 | TextLabel2.TextWrapped = true | |
330 | TextLabel2.Visible=false | |
331 | TextLabel1.Visible=false | |
332 | ||
333 | ||
334 | ||
335 | - | |
335 | + | |
336 | - | |
336 | + | |
337 | - | |
337 | + | |
338 | - | |
338 | + | |
339 | SpecialMesh2 | |
340 | --]] | |
341 | ||
342 | ||
343 | Part1312 = Instance.new("Part") | |
344 | - | |
344 | + | |
345 | - | |
345 | + | |
346 | Part1312.Name = "Handle" | |
347 | Part1312.Transparency=1 | |
348 | Part1312.Parent = owner.Character.Humanoid | |
349 | Part1312.CFrame = CFrame.new(8.1398077, 6.27500963, 44.1000061, 1, 0, 0, 0, -2.98023224e-08, 0.999999821, 0, -0.999999821, -2.98023224e-08) | |
350 | Part1312.Orientation = Vector3.new(-89.9700012, 180, 180) | |
351 | Part1312.Position = Vector3.new(8.1398077, 6.27500963, 44.1000061) | |
352 | Part1312.Rotation = Vector3.new(-90, 0, 0) | |
353 | Part1312.Color = Color3.new(0, 0.560784, 0.611765) | |
354 | Part1312.Size = Vector3.new(0.610000014, 2.18999934, 3.74999857) | |
355 | Part1312.BrickColor = BrickColor.new("Bright bluish green") | |
356 | Part1312.CanCollide = false | |
357 | Part1312.Locked = true | |
358 | Part1312.brickColor = BrickColor.new("Bright bluish green") | |
359 | Part1312.FormFactor = Enum.FormFactor.Custom | |
360 | Part1312.formFactor = Enum.FormFactor.Custom | |
361 | SpecialMesh222.Parent = Part1312 | |
362 | SpecialMesh222.MeshId = "http://www.roblox.com/asset/?id=44410178" | |
363 | SpecialMesh222.Scale = Vector3.new(2, 2, 2) | |
364 | SpecialMesh222.TextureId = "http://www.roblox.com/asset/?id=44410320" | |
365 | SpecialMesh222.MeshType = Enum.MeshType.FileMesh | |
366 | Weld4312.Name = "BTWeld" | |
367 | Weld4312.Parent = Part1 | |
368 | Weld4312.C1 = CFrame.new(-0.0898199081, -1.75, 1.97499275, 1, 0, 0, 0, -2.98023117e-08, -0.999999464, 0, 0.999999464, -2.98023117e-08) | |
369 | Weld4312.Part0 = Part1 | |
370 | Weld4312.Part1 = Part1312 | |
371 | Weld4312.part1 = Part1312 | |
372 | ||
373 | ||
374 | ||
375 | - | |
375 | + | |
376 | - | |
376 | + | |
377 | - | |
377 | + | |
378 | Music.Volume=7 | |
379 | local Music2=Instance.new("Sound",owner.Character) | |
380 | Music2.SoundId="rbxassetid://897063944" | |
381 | - | Music.Volume=5 |
381 | + | |
382 | Music2.Volume=7 | |
383 | ||
384 | owner.Character["Right Arm"]:Destroy() | |
385 | - | Music2.Volume=5 |
385 | + | |
386 | - | |
386 | + | |
387 | for i,v in pairs(owner.Character:children()) do | |
388 | if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("Hair") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") then | |
389 | - | |
389 | + | |
390 | end | |
391 | end | |
392 | owner.Character.Humanoid.Animator.Parent=nil | |
393 | for i,v in pairs(owner.Character.Torso:children()) do | |
394 | if v:IsA("Motor6D") and v.Name~=Neck then | |
395 | v.C0=CFrame.new(owner.Character.Torso.Neck.C0.X,owner.Character.Torso.Neck.C0.Y,owner.Character.Torso.Neck.C0.Z) | |
396 | end | |
397 | end | |
398 | for i,v in pairs(owner.Character:children()) do | |
399 | if v:IsA("Part") then | |
400 | v.Transparency=1 | |
401 | end | |
402 | end | |
403 | ||
404 | function Chatted(MusicPart,SoundID,Mode) | |
405 | MusicPart.SoundId="rbxassetid://"..SoundID | |
406 | - | |
406 | + | |
407 | if Mode==false then | |
408 | Part1312.Transparency=1 | |
409 | elseif Mode==true then | |
410 | Part1312.Transparency=0 | |
411 | end | |
412 | end | |
413 | ||
414 | owner.Chatted:connect(function(msg) | |
415 | if msg:sub(1,7):lower() == "lostt" then | |
416 | - | |
416 | + | |
417 | elseif msg:sub(1,7):lower() == "victory" then | |
418 | Chatted(Music2,897063944,false) | |
419 | elseif msg:sub(1,7):lower() == "lost" then | |
420 | Chatted(Music2,161251304,false) | |
421 | elseif msg:sub(1,7):lower() == "purple" then | |
422 | Chatted(Music2,4860788494,false) | |
423 | elseif msg:sub(1,5):lower() == "timer" then | |
424 | Chatted(Music2,357644762,false) | |
425 | elseif msg:sub(1,6):lower() == "saxo" then | |
426 | Chatted(Music,487941512,true) | |
427 | elseif msg:sub(1,6):lower() == "stal" then | |
428 | Chatted(Music,3581586451,false) | |
429 | elseif msg:sub(1,6):lower() == "calm" then | |
430 | Chatted(Music,273580309,false) | |
431 | elseif msg:sub(1,6):lower() == "chirp" then | |
432 | Chatted(Music,3225701810,false) | |
433 | elseif msg:sub(1,6):lower() == "sand" then | |
434 | Chatted(Music,4418536638,false) | |
435 | elseif msg:sub(1,6):lower() == "cat" then | |
436 | Chatted(Music,559923778,false) | |
437 | elseif msg:sub(1,6):lower() == "blocks" then | |
438 | Chatted(Music,3645059009,false) | |
439 | elseif msg:sub(1,6):lower() == "wait" then | |
440 | Chatted(Music,3497446695,false) | |
441 | elseif msg:sub(1,6):lower() == "dorime" then | |
442 | Chatted(Music,4361093477,false) | |
443 | elseif msg:sub(1,6):lower() == "music;" then | |
444 | local Id = string.sub(7,msg) | |
445 | print("MusicId changed to "..Id) | |
446 | Chatted(Music,Id,false) | |
447 | elseif msg:sub(1,6):lower() == "stop;" then | |
448 | Chatted(Music,0,false) | |
449 | print("Music stopped") | |
450 | elseif msg:sub(1,6):lower() == "volum;" then | |
451 | local vol = string.sub(msg:sub(),7) | |
452 | Music.Volume=vol | |
453 | print("Volume set "..vol) | |
454 | elseif msg:sub(1,6):lower() == "global" then | |
455 | Music:Stop() | |
456 | Music2:Stop() | |
457 | Music.Parent=owner.Character | |
458 | print("global") | |
459 | elseif msg:sub(1,6):lower() == "normal" then | |
460 | Music:Stop() | |
461 | Music2:Stop() | |
462 | Music.Parent=owner.Character.Torso | |
463 | print("normal") | |
464 | end | |
465 | end) | |
466 | ||
467 | - | |
467 | + | |
468 | - | |
468 | + | |
469 | Aimpart.Size=Vector3.new(0.05,0.05,0.05) | |
470 | Aimpart.Anchored=false | |
471 | Aimpart.CanCollide=false | |
472 | Aimpart.Transparency=1 | |
473 | ||
474 | - | |
474 | + | |
475 | remote.Name = "fat" | |
476 | local remote2 = Instance.new("RemoteEvent", owner.Character) | |
477 | remote2.Name = "fater" | |
478 | ||
479 | - | |
479 | + | |
480 | HeadBP.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
481 | local HeadBP2 = Instance.new("BodyPosition", Part1) | |
482 | HeadBP2.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
483 | ||
484 | - | |
484 | + | |
485 | - | |
485 | + | |
486 | HeadBG.MaxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
487 | ||
488 | - | |
488 | + | |
489 | LABP.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
490 | local LABG = Instance.new("BodyGyro",Part41) | |
491 | LABG.MaxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
492 | ||
493 | - | |
493 | + | |
494 | RABP.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
495 | local RABG = Instance.new("BodyGyro",Part4) | |
496 | RABG.MaxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
497 | ||
498 | - | |
498 | + | |
499 | - | |
499 | + | |
500 | - | |
500 | + | |
501 | - | |
501 | + | |
502 | ||
503 | - | |
503 | + | |
504 | ||
505 | - | |
505 | + | |
506 | owner.Character.Torso.CanCollide=false | |
507 | ||
508 | - | |
508 | + | |
509 | - | |
509 | + | |
510 | ||
511 | - | |
511 | + | |
512 | grebpos=4 | |
513 | sleeping=false | |
514 | ||
515 | - | |
515 | + | |
516 | - | |
516 | + | |
517 | - | |
517 | + | |
518 | ||
519 | - | |
519 | + | |
520 | MEDIC1.SoundId="rbxassetid://435756181" | |
521 | MEDIC1.Looped=false | |
522 | MEDIC1.Volume=5 | |
523 | local flange1 = Instance.new("FlangeSoundEffect", MEDIC1) | |
524 | flange1.Depth = 4 | |
525 | flange1.Mix =4 | |
526 | flange1.Rate = 4 | |
527 | ||
528 | - | |
528 | + | |
529 | --MEDIC3.SoundId="rbxassetid://435756249" | |
530 | ||
531 | - | |
531 | + | |
532 | poop=math.random(0,1) | |
533 | if poop==0 then | |
534 | TextLabel1.Visible=true | |
535 | TextLabel1.Text="DOCTOR!" | |
536 | MEDIC1.SoundId="rbxassetid://435756181" | |
537 | MEDIC1:Play() | |
538 | elseif poop==1 then | |
539 | poop2= math.random(1,2) | |
540 | if poop2==1 then | |
541 | - | if poop2==1 then |
541 | + | |
542 | TextLabel1.Text="MEDIC!" | |
543 | MEDIC1.SoundId="rbxassetid://435756212" | |
544 | MEDIC1:Play() | |
545 | - | MEDIC1:Play() |
545 | + | |
546 | TextLabel1.Visible=true | |
547 | TextLabel1.Text="MEDIC!" | |
548 | MEDIC1.SoundId="rbxassetid://435756249" | |
549 | MEDIC1:Play() | |
550 | - | MEDIC1:Play() |
550 | + | |
551 | end | |
552 | wait(1) | |
553 | TextLabel2.Visible=false | |
554 | TextLabel1.Visible=false | |
555 | end | |
556 | ||
557 | - | |
557 | + | |
558 | welded=false | |
559 | --[[ | |
560 | Aimpart.Touched:Connect(function(hit) | |
561 | function grab() | |
562 | if clicked==true and welded==false and hit~=nil then | |
563 | wew=Instance.new("Weld",owner.Character.Humanoid) | |
564 | wew.Part0=Part4 | |
565 | wew.Part1=hit | |
566 | welded=true | |
567 | hit=nil | |
568 | elseif welded==true then | |
569 | wew:Destroy() | |
570 | welded=false | |
571 | hit=nil | |
572 | end | |
573 | end | |
574 | end) | |
575 | --]] | |
576 | --Crimson_Knights=cool | |
577 | ||
578 | - | |
578 | + | |
579 | function grab(part) | |
580 | if welded==false then | |
581 | if part~=nil and part.Name~="CMain" and part.Name~="CSub" and part.Parent.Name~="Crimson_Knights" then | |
582 | wew=Instance.new("Weld",owner.Character.Humanoid) | |
583 | wew.Part0=Part4 | |
584 | wew.Part1=part | |
585 | wew.C0=CFrame.new(wew.C0.X,wew.C0.Y-part.Size.Y+part.Size.Y/2,wew.C0.Z) | |
586 | welded=true | |
587 | -- do weld stuff here | |
588 | end | |
589 | else | |
590 | welded=false | |
591 | wew:Destroy() | |
592 | end | |
593 | end | |
594 | ||
595 | - | |
595 | + | |
596 | if whatt==mospos then | |
597 | ||
598 | - | |
598 | + | |
599 | ||
600 | - | |
600 | + | |
601 | Aimpart.Position=mosposs | |
602 | if owner.Character.Head:findFirstChildOfClass("Decal") then | |
603 | owner.Character.Head:findFirstChildOfClass("Decal"):Destroy() | |
604 | end | |
605 | ||
606 | - | |
606 | + | if welded==false then |
607 | - | if welded==false then |
607 | + | |
608 | elseif welded==true then | |
609 | HeadBG.CFrame=CFrame.new(Part1.Position,Part4.Position) | |
610 | end | |
611 | ||
612 | - | |
612 | + | |
613 | SpecialMesh6.Scale=Vector3.new(-3.25, -3.25, -3.25)-Vector3.new(Vol,Vol,Vol)/1000 | |
614 | SpecialMesh21.Scale=Vector3.new(-1.25, -1.25, -1.25)-Vector3.new(Vol,Vol,Vol)/1000 | |
615 | SpecialMesh2.Scale=Vector3.new(-1.25, -1.25, -1.25)-Vector3.new(Vol,Vol,Vol)/1000 | |
616 | --eyes part7,part8 | |
617 | ||
618 | - | |
618 | + | |
619 | HeadBP.Position = owner.Character.Torso.Position+Vector3.new(0,Vol/100,0) | |
620 | end | |
621 | LABP.Position = Part331.Position | |
622 | - | LABP.Position = Part331.Position |
622 | + | |
623 | if welded==false then | |
624 | RABP.Position = Part131.Position | |
625 | - | RABP.Position = Part131.Position |
625 | + | RABG.CFrame = Part131.CFrame |
626 | - | RABG.CFrame = Part131.CFrame |
626 | + | |
627 | RABP.Position = Aimpart.Position+Vector3.new(0,grebpos,0) | |
628 | RABG.CFrame = Aimpart.CFrame*CFrame.Angles(0,OrientationWEW,0) | |
629 | end | |
630 | ||
631 | - | |
631 | + | |
632 | end) | |
633 | ||
634 | - | |
634 | + | |
635 | ||
636 | - | |
636 | + | |
637 | clicked=true | |
638 | grab(mostargg) | |
639 | --print(mostargg) | |
640 | --print(mostargg.Size.Y) | |
641 | wait(0.1) | |
642 | clicked=false | |
643 | elseif whatt=="UP" then | |
644 | grebpos=grebpos+1 | |
645 | elseif whatt=="DOWN" then | |
646 | grebpos=grebpos-1 | |
647 | elseif whatt=="UPP" then | |
648 | OrientationWEW=OrientationWEW+1 | |
649 | elseif whatt=="DOWNN" then | |
650 | OrientationWEW=OrientationWEW-1 | |
651 | elseif whatt=="MEDIC!!!" then | |
652 | MEDIC() | |
653 | ||
654 | - | |
654 | + | |
655 | end) |