SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
3 | do | |
4 | print("FE Compatibility code by Mokiros") | |
5 | script.Parent = Player.Character | |
6 | ||
7 | --RemoteEvent for communicating | |
8 | local Event = Instance.new("RemoteEvent") | |
9 | Event.Name = "UserInput_Event" | |
10 | ||
11 | --Fake event to make stuff like Mouse.KeyDown work | |
12 | local function fakeEvent() | |
13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
14 | t.connect = t.Connect | |
15 | return t | |
16 | end | |
17 | ||
18 | --Creating fake input objects with fake variables | |
19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
22 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
23 | end} | |
24 | --Merged 2 functions into one by checking amount of arguments | |
25 | CAS.UnbindAction = CAS.BindAction | |
26 | ||
27 | --This function will trigger the events that have been :Connect()'ed | |
28 | local function te(self,ev,...) | |
29 | local t = m[ev] | |
30 | if t and t._fakeEvent and t.Function then | |
31 | t.Function(...) | |
32 | end | |
33 | end | |
34 | m.TrigEvent = te | |
35 | UIS.TrigEvent = te | |
36 | ||
37 | Event.OnServerEvent:Connect(function(plr,io) | |
38 | if plr~=Player then return end | |
39 | if io.isMouse then | |
40 | m.Target = io.Target | |
41 | m.Hit = io.Hit | |
42 | else | |
43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
46 | end | |
47 | for _,t in pairs(CAS.Actions) do | |
48 | for _,k in pairs(t.Keys) do | |
49 | if k==io.KeyCode then | |
50 | t.Function(t.Name,io.UserInputState,io) | |
51 | end | |
52 | end | |
53 | end | |
54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
56 | end | |
57 | end) | |
58 | Event.Parent = NLS([==[ | |
59 | local Player = game:GetService("Players").LocalPlayer | |
60 | local Event = script:WaitForChild("UserInput_Event") | |
61 | ||
62 | local UIS = game:GetService("UserInputService") | |
63 | local input = function(io,a) | |
64 | if a then return end | |
65 | --Since InputObject is a client-side instance, we create and pass table instead | |
66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
67 | end | |
68 | UIS.InputBegan:Connect(input) | |
69 | UIS.InputEnded:Connect(input) | |
70 | ||
71 | local Mouse = Player:GetMouse() | |
72 | local h,t | |
73 | --Give the server mouse data 30 times every second, but only if the values changed | |
74 | --If player is not moving their mouse, client won't fire events | |
75 | while wait(1/30) do | |
76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
77 | h,t=Mouse.Hit,Mouse.Target | |
78 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
79 | end | |
80 | end]==],Player.Character) | |
81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
82 | end | |
83 | ||
84 | local plrs = game:GetService("Players") | |
85 | local plr = owner | |
86 | local char = plr.Character | |
87 | local tweenserv = game:GetService("TweenService") | |
88 | local lighting = game:GetService("Lighting") | |
89 | local hum = char:FindFirstChildOfClass("Humanoid") | |
90 | local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso") | |
91 | local root = char:FindFirstChild("HumanoidRootPart") | |
92 | local head = char:FindFirstChild("Head") | |
93 | local face = head:FindFirstChildOfClass("Decal") | |
94 | local larm = char:FindFirstChild("Left Arm") or char:FindFirstChild("LeftUpperArm") | |
95 | local rarm = char:FindFirstChild("Right Arm") or char:FindFirstChild("RightUpperArm") | |
96 | local rleg = char:FindFirstChild("Right Leg") or char:FindFirstChild("RightUpperLeg") | |
97 | local lleg = char:FindFirstChild("Left Leg") or char:FindFirstChild("LeftUpperLeg") | |
98 | local neck = tor:FindFirstChild("Neck") | |
99 | local rootj = root:FindFirstChild("RootJoint") | |
100 | local LS = tor:FindFirstChild("Left Shoulder") | |
101 | local RS = tor:FindFirstChild("Right Shoulder") | |
102 | local LH = tor:FindFirstChild("Left Hip") | |
103 | local RH = tor:FindFirstChild("Right Hip") | |
104 | local bp = plr:FindFirstChild("Backpack") | |
105 | local cam = workspace.CurrentCamera | |
106 | ||
107 | hum:ClearAllChildren() | |
108 | char.Animate:remove() | |
109 | ||
110 | --Converted with ttyyuu12345's model to script plugin v4 | |
111 | function sandbox(var,func) | |
112 | local env = getfenv(func) | |
113 | local newenv = setmetatable({},{ | |
114 | __index = function(self,k) | |
115 | if k=="script" then | |
116 | return var | |
117 | else | |
118 | return env[k] | |
119 | end | |
120 | end, | |
121 | }) | |
122 | setfenv(func,newenv) | |
123 | return func | |
124 | end | |
125 | cors = {} | |
126 | mas = Instance.new("Model",game:GetService("Lighting")) | |
127 | Model0 = Instance.new("Model") | |
128 | Part1 = Instance.new("Part") | |
129 | ManualWeld2 = Instance.new("ManualWeld") | |
130 | Part3 = Instance.new("Part") | |
131 | ManualWeld4 = Instance.new("ManualWeld") | |
132 | Part5 = Instance.new("Part") | |
133 | Part6 = Instance.new("Part") | |
134 | ManualWeld7 = Instance.new("ManualWeld") | |
135 | Part8 = Instance.new("Part") | |
136 | ManualWeld9 = Instance.new("ManualWeld") | |
137 | Part10 = Instance.new("Part") | |
138 | ManualWeld11 = Instance.new("ManualWeld") | |
139 | Part12 = Instance.new("Part") | |
140 | ManualWeld13 = Instance.new("ManualWeld") | |
141 | Part14 = Instance.new("Part") | |
142 | ManualWeld15 = Instance.new("ManualWeld") | |
143 | Part16 = Instance.new("Part") | |
144 | ManualWeld17 = Instance.new("ManualWeld") | |
145 | Part18 = Instance.new("Part") | |
146 | ManualWeld19 = Instance.new("ManualWeld") | |
147 | Part20 = Instance.new("Part") | |
148 | ManualWeld21 = Instance.new("ManualWeld") | |
149 | Part22 = Instance.new("Part") | |
150 | ManualWeld23 = Instance.new("ManualWeld") | |
151 | Part24 = Instance.new("Part") | |
152 | ManualWeld25 = Instance.new("ManualWeld") | |
153 | Part26 = Instance.new("Part") | |
154 | ManualWeld27 = Instance.new("ManualWeld") | |
155 | Part28 = Instance.new("Part") | |
156 | ManualWeld29 = Instance.new("ManualWeld") | |
157 | Part30 = Instance.new("Part") | |
158 | ManualWeld31 = Instance.new("ManualWeld") | |
159 | Part32 = Instance.new("Part") | |
160 | ManualWeld33 = Instance.new("ManualWeld") | |
161 | Part34 = Instance.new("Part") | |
162 | ManualWeld35 = Instance.new("ManualWeld") | |
163 | Part36 = Instance.new("Part") | |
164 | ManualWeld37 = Instance.new("ManualWeld") | |
165 | Part38 = Instance.new("Part") | |
166 | ManualWeld39 = Instance.new("ManualWeld") | |
167 | Part40 = Instance.new("Part") | |
168 | ManualWeld41 = Instance.new("ManualWeld") | |
169 | Part42 = Instance.new("Part") | |
170 | ManualWeld43 = Instance.new("ManualWeld") | |
171 | Part44 = Instance.new("Part") | |
172 | ManualWeld45 = Instance.new("ManualWeld") | |
173 | Part46 = Instance.new("Part") | |
174 | ManualWeld47 = Instance.new("ManualWeld") | |
175 | Part48 = Instance.new("Part") | |
176 | ManualWeld49 = Instance.new("ManualWeld") | |
177 | Part50 = Instance.new("Part") | |
178 | ManualWeld51 = Instance.new("ManualWeld") | |
179 | Part52 = Instance.new("Part") | |
180 | ManualWeld53 = Instance.new("ManualWeld") | |
181 | Part54 = Instance.new("Part") | |
182 | ManualWeld55 = Instance.new("ManualWeld") | |
183 | Part56 = Instance.new("Part") | |
184 | ManualWeld57 = Instance.new("ManualWeld") | |
185 | Part58 = Instance.new("Part") | |
186 | ManualWeld59 = Instance.new("ManualWeld") | |
187 | Part60 = Instance.new("Part") | |
188 | ManualWeld61 = Instance.new("ManualWeld") | |
189 | Part62 = Instance.new("Part") | |
190 | ManualWeld63 = Instance.new("ManualWeld") | |
191 | Part64 = Instance.new("Part") | |
192 | ManualWeld65 = Instance.new("ManualWeld") | |
193 | Part66 = Instance.new("Part") | |
194 | SpecialMesh67 = Instance.new("SpecialMesh") | |
195 | ManualWeld68 = Instance.new("ManualWeld") | |
196 | Part69 = Instance.new("Part") | |
197 | SpecialMesh70 = Instance.new("SpecialMesh") | |
198 | ManualWeld71 = Instance.new("ManualWeld") | |
199 | Part72 = Instance.new("Part") | |
200 | ManualWeld73 = Instance.new("ManualWeld") | |
201 | Part74 = Instance.new("Part") | |
202 | ManualWeld75 = Instance.new("ManualWeld") | |
203 | Part76 = Instance.new("Part") | |
204 | ManualWeld77 = Instance.new("ManualWeld") | |
205 | Part78 = Instance.new("Part") | |
206 | ManualWeld79 = Instance.new("ManualWeld") | |
207 | Part80 = Instance.new("Part") | |
208 | ManualWeld81 = Instance.new("ManualWeld") | |
209 | Part82 = Instance.new("Part") | |
210 | ManualWeld83 = Instance.new("ManualWeld") | |
211 | Part84 = Instance.new("Part") | |
212 | ManualWeld85 = Instance.new("ManualWeld") | |
213 | Part86 = Instance.new("Part") | |
214 | ManualWeld87 = Instance.new("ManualWeld") | |
215 | Part88 = Instance.new("Part") | |
216 | ManualWeld89 = Instance.new("ManualWeld") | |
217 | Part90 = Instance.new("Part") | |
218 | ManualWeld91 = Instance.new("ManualWeld") | |
219 | Part92 = Instance.new("Part") | |
220 | ManualWeld93 = Instance.new("ManualWeld") | |
221 | Model0.Name = "SNOW-MACHINE-PROTOTYPE" | |
222 | Model0.Parent = mas | |
223 | Part1.Name = "beltringtop" | |
224 | Part1.Parent = Model0 | |
225 | Part1.Material = Enum.Material.Glass | |
226 | Part1.BrickColor = BrickColor.new("Institutional white") | |
227 | Part1.Rotation = Vector3.new(0, 90, 0) | |
228 | Part1.CanCollide = false | |
229 | Part1.Size = Vector3.new(0.150000006, 0.0500000007, 0.649999857) | |
230 | Part1.CFrame = CFrame.new(-104.79953, 115.807907, -80.4814758, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -0.999999166, 0, -4.37113528e-08) | |
231 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
232 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
233 | Part1.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
234 | Part1.Position = Vector3.new(-104.79953, 115.807907, -80.4814758) | |
235 | Part1.Orientation = Vector3.new(0, 90, 0) | |
236 | Part1.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
237 | ManualWeld2.Name = "Weld" | |
238 | ManualWeld2.Parent = Part1 | |
239 | ManualWeld2.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -0.999999762, 0, 0.99999994, 0, 1, 0, -4.37113776e-08) | |
240 | ManualWeld2.C1 = CFrame.new(1.49293518, -0.959716797, -1.58792877, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762) | |
241 | ManualWeld2.Part0 = Part1 | |
242 | ManualWeld2.Part1 = Part5 | |
243 | Part3.Name = "frontbelt" | |
244 | Part3.Parent = Model0 | |
245 | Part3.Material = Enum.Material.Glass | |
246 | Part3.BrickColor = BrickColor.new("Deep blue") | |
247 | Part3.Rotation = Vector3.new(0, 90, 0) | |
248 | Part3.CanCollide = false | |
249 | Part3.Size = Vector3.new(0.0999999046, 0.300000012, 2.14999986) | |
250 | Part3.CFrame = CFrame.new(-104.849541, 115.657906, -80.4814758, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -0.999998689, 0, -4.3711335e-08) | |
251 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
252 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
253 | Part3.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
254 | Part3.Position = Vector3.new(-104.849541, 115.657906, -80.4814758) | |
255 | Part3.Orientation = Vector3.new(0, 90, 0) | |
256 | Part3.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
257 | ManualWeld4.Name = "Weld" | |
258 | ManualWeld4.Parent = Part3 | |
259 | ManualWeld4.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -0.999999404, 0, 0.99999994, 0, 1, 0, -4.37113634e-08) | |
260 | ManualWeld4.C1 = CFrame.new(1.4429245, -1.10971832, -1.58792877, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
261 | ManualWeld4.Part0 = Part3 | |
262 | ManualWeld4.Part1 = Part5 | |
263 | Part5.Name = "Level1" | |
264 | Part5.Parent = Model0 | |
265 | Part5.Material = Enum.Material.Neon | |
266 | Part5.BrickColor = BrickColor.new("Cyan") | |
267 | Part5.Transparency = 1 | |
268 | Part5.CanCollide = false | |
269 | Part5.Size = Vector3.new(0.100000024, 0.200000018, 0.699999988) | |
270 | Part5.CFrame = CFrame.new(-106.292465, 116.767624, -78.8935471, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
271 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
272 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
273 | Part5.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
274 | Part5.Position = Vector3.new(-106.292465, 116.767624, -78.8935471) | |
275 | Part5.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
276 | Part6.Name = "Level2" | |
277 | Part6.Parent = Model0 | |
278 | Part6.Material = Enum.Material.Neon | |
279 | Part6.BrickColor = BrickColor.new("Cyan") | |
280 | Part6.Transparency = 1 | |
281 | Part6.CanCollide = false | |
282 | Part6.Size = Vector3.new(0.100000024, 0.200000018, 0.699999988) | |
283 | Part6.CFrame = CFrame.new(-106.292465, 116.967613, -78.8935471, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999166) | |
284 | Part6.BottomSurface = Enum.SurfaceType.Smooth | |
285 | Part6.TopSurface = Enum.SurfaceType.Smooth | |
286 | Part6.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
287 | Part6.Position = Vector3.new(-106.292465, 116.967613, -78.8935471) | |
288 | Part6.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
289 | ManualWeld7.Name = "Weld" | |
290 | ManualWeld7.Parent = Part6 | |
291 | ManualWeld7.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762) | |
292 | ManualWeld7.C1 = CFrame.new(0, 0.199989319, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762) | |
293 | ManualWeld7.Part0 = Part6 | |
294 | ManualWeld7.Part1 = Part5 | |
295 | Part8.Name = "framebottom" | |
296 | Part8.Parent = Model0 | |
297 | Part8.Material = Enum.Material.Glass | |
298 | Part8.BrickColor = BrickColor.new("Really black") | |
299 | Part8.CanCollide = false | |
300 | Part8.Size = Vector3.new(0.100000024, 0.0500000007, 0.699999988) | |
301 | Part8.CFrame = CFrame.new(-106.292465, 116.642616, -78.8935471, 1, 0, 0, 0, 1, 0, 0, 0, 0.999998689) | |
302 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
303 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
304 | Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
305 | Part8.Position = Vector3.new(-106.292465, 116.642616, -78.8935471) | |
306 | Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
307 | ManualWeld9.Name = "Weld" | |
308 | ManualWeld9.Parent = Part8 | |
309 | ManualWeld9.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999404) | |
310 | ManualWeld9.C1 = CFrame.new(0, -0.125007629, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
311 | ManualWeld9.Part0 = Part8 | |
312 | ManualWeld9.Part1 = Part5 | |
313 | Part10.Name = "Level3" | |
314 | Part10.Parent = Model0 | |
315 | Part10.Material = Enum.Material.Neon | |
316 | Part10.BrickColor = BrickColor.new("New Yeller") | |
317 | Part10.Transparency = 1 | |
318 | Part10.CanCollide = false | |
319 | Part10.Size = Vector3.new(0.100000024, 0.200000018, 0.699999988) | |
320 | Part10.CFrame = CFrame.new(-106.292465, 117.16761, -78.8935471, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999166) | |
321 | Part10.BottomSurface = Enum.SurfaceType.Smooth | |
322 | Part10.TopSurface = Enum.SurfaceType.Smooth | |
323 | Part10.Color = Color3.new(1, 1, 0) | |
324 | Part10.Position = Vector3.new(-106.292465, 117.16761, -78.8935471) | |
325 | Part10.Color = Color3.new(1, 1, 0) | |
326 | ManualWeld11.Name = "Weld" | |
327 | ManualWeld11.Parent = Part10 | |
328 | ManualWeld11.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762) | |
329 | ManualWeld11.C1 = CFrame.new(0, 0.399986267, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762) | |
330 | ManualWeld11.Part0 = Part10 | |
331 | ManualWeld11.Part1 = Part5 | |
332 | Part12.Name = "Level4" | |
333 | Part12.Parent = Model0 | |
334 | Part12.Material = Enum.Material.Neon | |
335 | Part12.BrickColor = BrickColor.new("Maroon") | |
336 | Part12.Transparency = 1 | |
337 | Part12.CanCollide = false | |
338 | Part12.Size = Vector3.new(0.100000024, 0.200000018, 0.699999988) | |
339 | Part12.CFrame = CFrame.new(-106.292465, 117.367607, -78.8935471, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999166) | |
340 | Part12.BottomSurface = Enum.SurfaceType.Smooth | |
341 | Part12.TopSurface = Enum.SurfaceType.Smooth | |
342 | Part12.Color = Color3.new(0.458824, 0, 0) | |
343 | Part12.Position = Vector3.new(-106.292465, 117.367607, -78.8935471) | |
344 | Part12.Color = Color3.new(0.458824, 0, 0) | |
345 | ManualWeld13.Name = "Weld" | |
346 | ManualWeld13.Parent = Part12 | |
347 | ManualWeld13.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762) | |
348 | ManualWeld13.C1 = CFrame.new(0, 0.599983215, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762) | |
349 | ManualWeld13.Part0 = Part12 | |
350 | ManualWeld13.Part1 = Part5 | |
351 | Part14.Name = "frametop" | |
352 | Part14.Parent = Model0 | |
353 | Part14.Material = Enum.Material.Glass | |
354 | Part14.BrickColor = BrickColor.new("Really black") | |
355 | Part14.CanCollide = false | |
356 | Part14.Size = Vector3.new(0.100000024, 0.0500000007, 0.699999988) | |
357 | Part14.CFrame = CFrame.new(-106.292465, 117.492615, -78.8935471, 1, 0, 0, 0, 1, 0, 0, 0, 0.999998689) | |
358 | Part14.BottomSurface = Enum.SurfaceType.Smooth | |
359 | Part14.TopSurface = Enum.SurfaceType.Smooth | |
360 | Part14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
361 | Part14.Position = Vector3.new(-106.292465, 117.492615, -78.8935471) | |
362 | Part14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
363 | ManualWeld15.Name = "Weld" | |
364 | ManualWeld15.Parent = Part14 | |
365 | ManualWeld15.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999404) | |
366 | ManualWeld15.C1 = CFrame.new(0, 0.724990845, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
367 | ManualWeld15.Part0 = Part14 | |
368 | ManualWeld15.Part1 = Part5 | |
369 | Part16.Name = "frameright" | |
370 | Part16.Parent = Model0 | |
371 | Part16.Material = Enum.Material.Glass | |
372 | Part16.BrickColor = BrickColor.new("Really black") | |
373 | Part16.CanCollide = false | |
374 | Part16.Size = Vector3.new(0.100000024, 0.900000036, 0.0500000007) | |
375 | Part16.CFrame = CFrame.new(-106.292465, 117.067612, -78.5185471, 1, 0, 0, 0, 1, 0, 0, 0, 0.999998689) | |
376 | Part16.BottomSurface = Enum.SurfaceType.Smooth | |
377 | Part16.TopSurface = Enum.SurfaceType.Smooth | |
378 | Part16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
379 | Part16.Position = Vector3.new(-106.292465, 117.067612, -78.5185471) | |
380 | Part16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
381 | ManualWeld17.Name = "Weld" | |
382 | ManualWeld17.Parent = Part16 | |
383 | ManualWeld17.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999404) | |
384 | ManualWeld17.C1 = CFrame.new(0, 0.299987793, 0.375, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
385 | ManualWeld17.Part0 = Part16 | |
386 | ManualWeld17.Part1 = Part5 | |
387 | Part18.Name = "frameleft" | |
388 | Part18.Parent = Model0 | |
389 | Part18.Material = Enum.Material.Glass | |
390 | Part18.BrickColor = BrickColor.new("Really black") | |
391 | Part18.CanCollide = false | |
392 | Part18.Size = Vector3.new(0.100000024, 0.900000036, 0.0500000007) | |
393 | Part18.CFrame = CFrame.new(-106.292465, 117.067612, -79.2685471, 1, 0, 0, 0, 1, 0, 0, 0, 0.999998689) | |
394 | Part18.BottomSurface = Enum.SurfaceType.Smooth | |
395 | Part18.TopSurface = Enum.SurfaceType.Smooth | |
396 | Part18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
397 | Part18.Position = Vector3.new(-106.292465, 117.067612, -79.2685471) | |
398 | Part18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
399 | ManualWeld19.Name = "Weld" | |
400 | ManualWeld19.Parent = Part18 | |
401 | ManualWeld19.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999404) | |
402 | ManualWeld19.C1 = CFrame.new(0, 0.299987793, -0.375, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
403 | ManualWeld19.Part0 = Part18 | |
404 | ManualWeld19.Part1 = Part5 | |
405 | Part20.Name = "snowmanbod1" | |
406 | Part20.Parent = Model0 | |
407 | Part20.Material = Enum.Material.Glass | |
408 | Part20.BrickColor = BrickColor.new("Institutional white") | |
409 | Part20.CanCollide = false | |
410 | Part20.Shape = Enum.PartType.Cylinder | |
411 | Part20.Size = Vector3.new(0.0500000007, 0.450000048, 0.450000048) | |
412 | Part20.CFrame = CFrame.new(-103.413956, 116.832909, -78.8948059, 1, -5.56362707e-08, 0, 5.56362707e-08, 1, 0, 0, 0, 0.999998629) | |
413 | Part20.BottomSurface = Enum.SurfaceType.Smooth | |
414 | Part20.TopSurface = Enum.SurfaceType.Smooth | |
415 | Part20.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
416 | Part20.Position = Vector3.new(-103.413956, 116.832909, -78.8948059) | |
417 | Part20.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
418 | ManualWeld21.Name = "Weld" | |
419 | ManualWeld21.Parent = Part20 | |
420 | ManualWeld21.C0 = CFrame.new(0, 0, 0, 1, 5.56362707e-08, 0, -5.56362707e-08, 1, 0, 0, 0, 0.999999344) | |
421 | ManualWeld21.C1 = CFrame.new(2.87850952, 0.065284729, -0.0012588501, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
422 | ManualWeld21.Part0 = Part20 | |
423 | ManualWeld21.Part1 = Part5 | |
424 | Part22.Name = "snowmanbod2" | |
425 | Part22.Parent = Model0 | |
426 | Part22.Material = Enum.Material.Glass | |
427 | Part22.BrickColor = BrickColor.new("Institutional white") | |
428 | Part22.CanCollide = false | |
429 | Part22.Shape = Enum.PartType.Cylinder | |
430 | Part22.Size = Vector3.new(0.0500000007, 0.350000054, 0.350000054) | |
431 | Part22.CFrame = CFrame.new(-103.413956, 117.082909, -78.8948059, 1, -5.56362707e-08, 0, 5.56362707e-08, 1, 0, 0, 0, 0.999998629) | |
432 | Part22.BottomSurface = Enum.SurfaceType.Smooth | |
433 | Part22.TopSurface = Enum.SurfaceType.Smooth | |
434 | Part22.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
435 | Part22.Position = Vector3.new(-103.413956, 117.082909, -78.8948059) | |
436 | Part22.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
437 | ManualWeld23.Name = "Weld" | |
438 | ManualWeld23.Parent = Part22 | |
439 | ManualWeld23.C0 = CFrame.new(0, 0, 0, 1, 5.56362707e-08, 0, -5.56362707e-08, 1, 0, 0, 0, 0.999999344) | |
440 | ManualWeld23.C1 = CFrame.new(2.87850952, 0.315284729, -0.0012588501, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
441 | ManualWeld23.Part0 = Part22 | |
442 | ManualWeld23.Part1 = Part5 | |
443 | Part24.Name = "snowmanhead" | |
444 | Part24.Parent = Model0 | |
445 | Part24.Material = Enum.Material.Glass | |
446 | Part24.BrickColor = BrickColor.new("Institutional white") | |
447 | Part24.CanCollide = false | |
448 | Part24.Shape = Enum.PartType.Cylinder | |
449 | Part24.Size = Vector3.new(0.0500000007, 0.25000006, 0.25000006) | |
450 | Part24.CFrame = CFrame.new(-103.413956, 117.282913, -78.8948059, 1, -5.56362707e-08, 0, 5.56362707e-08, 1, 0, 0, 0, 0.999998629) | |
451 | Part24.BottomSurface = Enum.SurfaceType.Smooth | |
452 | Part24.TopSurface = Enum.SurfaceType.Smooth | |
453 | Part24.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
454 | Part24.Position = Vector3.new(-103.413956, 117.282913, -78.8948059) | |
455 | Part24.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
456 | ManualWeld25.Name = "Weld" | |
457 | ManualWeld25.Parent = Part24 | |
458 | ManualWeld25.C0 = CFrame.new(0, 0, 0, 1, 5.56362707e-08, 0, -5.56362707e-08, 1, 0, 0, 0, 0.999999344) | |
459 | ManualWeld25.C1 = CFrame.new(2.87850952, 0.515289307, -0.0012588501, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
460 | ManualWeld25.Part0 = Part24 | |
461 | ManualWeld25.Part1 = Part5 | |
462 | Part26.Name = "snowmaneye2" | |
463 | Part26.Parent = Model0 | |
464 | Part26.Material = Enum.Material.Glass | |
465 | Part26.BrickColor = BrickColor.new("Really black") | |
466 | Part26.CanCollide = false | |
467 | Part26.Shape = Enum.PartType.Cylinder | |
468 | Part26.Size = Vector3.new(0.100000001, 0.0500000529, 0.0500000529) | |
469 | Part26.CFrame = CFrame.new(-103.388954, 117.332916, -78.854805, 1, -5.56362707e-08, 0, 5.56362707e-08, 1, 0, 0, 0, 0.999998629) | |
470 | Part26.BottomSurface = Enum.SurfaceType.Smooth | |
471 | Part26.TopSurface = Enum.SurfaceType.Smooth | |
472 | Part26.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
473 | Part26.Position = Vector3.new(-103.388954, 117.332916, -78.854805) | |
474 | Part26.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
475 | ManualWeld27.Name = "Weld" | |
476 | ManualWeld27.Parent = Part26 | |
477 | ManualWeld27.C0 = CFrame.new(0, 0, 0, 1, 5.56362707e-08, 0, -5.56362707e-08, 1, 0, 0, 0, 0.999999344) | |
478 | ManualWeld27.C1 = CFrame.new(2.90351105, 0.565292358, 0.0387420654, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
479 | ManualWeld27.Part0 = Part26 | |
480 | ManualWeld27.Part1 = Part5 | |
481 | Part28.Name = "snowmaneye1" | |
482 | Part28.Parent = Model0 | |
483 | Part28.Material = Enum.Material.Glass | |
484 | Part28.BrickColor = BrickColor.new("Really black") | |
485 | Part28.CanCollide = false | |
486 | Part28.Shape = Enum.PartType.Cylinder | |
487 | Part28.Size = Vector3.new(0.100000001, 0.0500000529, 0.0500000529) | |
488 | Part28.CFrame = CFrame.new(-103.388954, 117.332916, -78.9448013, 1, -5.56362707e-08, 0, 5.56362707e-08, 1, 0, 0, 0, 0.999998629) | |
489 | Part28.BottomSurface = Enum.SurfaceType.Smooth | |
490 | Part28.TopSurface = Enum.SurfaceType.Smooth | |
491 | Part28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
492 | Part28.Position = Vector3.new(-103.388954, 117.332916, -78.9448013) | |
493 | Part28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
494 | ManualWeld29.Name = "Weld" | |
495 | ManualWeld29.Parent = Part28 | |
496 | ManualWeld29.C0 = CFrame.new(0, 0, 0, 1, 5.56362707e-08, 0, -5.56362707e-08, 1, 0, 0, 0, 0.999999344) | |
497 | ManualWeld29.C1 = CFrame.new(2.90351105, 0.565292358, -0.0512542725, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
498 | ManualWeld29.Part0 = Part28 | |
499 | ManualWeld29.Part1 = Part5 | |
500 | Part30.Name = "snowmanmouth2" | |
501 | Part30.Parent = Model0 | |
502 | Part30.Material = Enum.Material.Glass | |
503 | Part30.BrickColor = BrickColor.new("Really black") | |
504 | Part30.CanCollide = false | |
505 | Part30.Shape = Enum.PartType.Cylinder | |
506 | Part30.Size = Vector3.new(0.100000001, 0.0500000529, 0.0500000529) | |
507 | Part30.CFrame = CFrame.new(-103.388954, 117.232918, -78.904808, 1, -5.56362707e-08, 0, 5.56362707e-08, 1, 0, 0, 0, 0.999998629) | |
508 | Part30.BottomSurface = Enum.SurfaceType.Smooth | |
509 | Part30.TopSurface = Enum.SurfaceType.Smooth | |
510 | Part30.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
511 | Part30.Position = Vector3.new(-103.388954, 117.232918, -78.904808) | |
512 | Part30.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
513 | ManualWeld31.Name = "Weld" | |
514 | ManualWeld31.Parent = Part30 | |
515 | ManualWeld31.C0 = CFrame.new(0, 0, 0, 1, 5.56362707e-08, 0, -5.56362707e-08, 1, 0, 0, 0, 0.999999344) | |
516 | ManualWeld31.C1 = CFrame.new(2.90351105, 0.465293884, -0.0112609863, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
517 | ManualWeld31.Part0 = Part30 | |
518 | ManualWeld31.Part1 = Part5 | |
519 | Part32.Name = "snowmannose" | |
520 | Part32.Parent = Model0 | |
521 | Part32.Material = Enum.Material.Glass | |
522 | Part32.BrickColor = BrickColor.new("Deep orange") | |
523 | Part32.CanCollide = false | |
524 | Part32.Shape = Enum.PartType.Cylinder | |
525 | Part32.Size = Vector3.new(0.100000001, 0.0500000529, 0.0500000529) | |
526 | Part32.CFrame = CFrame.new(-103.388954, 117.282921, -78.904808, 1, -5.56362707e-08, 0, 5.56362707e-08, 1, 0, 0, 0, 0.999998629) | |
527 | Part32.BottomSurface = Enum.SurfaceType.Smooth | |
528 | Part32.TopSurface = Enum.SurfaceType.Smooth | |
529 | Part32.Color = Color3.new(1, 0.690196, 0) | |
530 | Part32.Position = Vector3.new(-103.388954, 117.282921, -78.904808) | |
531 | Part32.Color = Color3.new(1, 0.690196, 0) | |
532 | ManualWeld33.Name = "Weld" | |
533 | ManualWeld33.Parent = Part32 | |
534 | ManualWeld33.C0 = CFrame.new(0, 0, 0, 1, 5.56362707e-08, 0, -5.56362707e-08, 1, 0, 0, 0, 0.999999344) | |
535 | ManualWeld33.C1 = CFrame.new(2.90351105, 0.515296936, -0.0112609863, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
536 | ManualWeld33.Part0 = Part32 | |
537 | ManualWeld33.Part1 = Part5 | |
538 | Part34.Name = "snowmanmouth3" | |
539 | Part34.Parent = Model0 | |
540 | Part34.Material = Enum.Material.Glass | |
541 | Part34.BrickColor = BrickColor.new("Really black") | |
542 | Part34.CanCollide = false | |
543 | Part34.Shape = Enum.PartType.Cylinder | |
544 | Part34.Size = Vector3.new(0.100000001, 0.0500000529, 0.0500000529) | |
545 | Part34.CFrame = CFrame.new(-103.388954, 117.252914, -78.8448105, 1, -5.56362707e-08, 0, 5.56362707e-08, 1, 0, 0, 0, 0.999998629) | |
546 | Part34.BottomSurface = Enum.SurfaceType.Smooth | |
547 | Part34.TopSurface = Enum.SurfaceType.Smooth | |
548 | Part34.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
549 | Part34.Position = Vector3.new(-103.388954, 117.252914, -78.8448105) | |
550 | Part34.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
551 | ManualWeld35.Name = "Weld" | |
552 | ManualWeld35.Parent = Part34 | |
553 | ManualWeld35.C0 = CFrame.new(0, 0, 0, 1, 5.56362707e-08, 0, -5.56362707e-08, 1, 0, 0, 0, 0.999999344) | |
554 | ManualWeld35.C1 = CFrame.new(2.90351105, 0.485290527, 0.0487365723, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
555 | ManualWeld35.Part0 = Part34 | |
556 | ManualWeld35.Part1 = Part5 | |
557 | Part36.Name = "snowmanmouth1" | |
558 | Part36.Parent = Model0 | |
559 | Part36.Material = Enum.Material.Glass | |
560 | Part36.BrickColor = BrickColor.new("Really black") | |
561 | Part36.CanCollide = false | |
562 | Part36.Shape = Enum.PartType.Cylinder | |
563 | Part36.Size = Vector3.new(0.100000001, 0.0500000529, 0.0500000529) | |
564 | Part36.CFrame = CFrame.new(-103.388954, 117.252914, -78.9748077, 1, -5.56362707e-08, 0, 5.56362707e-08, 1, 0, 0, 0, 0.999998629) | |
565 | Part36.BottomSurface = Enum.SurfaceType.Smooth | |
566 | Part36.TopSurface = Enum.SurfaceType.Smooth | |
567 | Part36.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
568 | Part36.Position = Vector3.new(-103.388954, 117.252914, -78.9748077) | |
569 | Part36.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
570 | ManualWeld37.Name = "Weld" | |
571 | ManualWeld37.Parent = Part36 | |
572 | ManualWeld37.C0 = CFrame.new(0, 0, 0, 1, 5.56362707e-08, 0, -5.56362707e-08, 1, 0, 0, 0, 0.999999344) | |
573 | ManualWeld37.C1 = CFrame.new(2.90351105, 0.485290527, -0.0812606812, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
574 | ManualWeld37.Part0 = Part36 | |
575 | ManualWeld37.Part1 = Part5 | |
576 | Part38.Name = "snowmanbutton1" | |
577 | Part38.Parent = Model0 | |
578 | Part38.Material = Enum.Material.Glass | |
579 | Part38.BrickColor = BrickColor.new("Really black") | |
580 | Part38.CanCollide = false | |
581 | Part38.Shape = Enum.PartType.Cylinder | |
582 | Part38.Size = Vector3.new(0.100000001, 0.100000054, 0.100000054) | |
583 | Part38.CFrame = CFrame.new(-103.388954, 117.107918, -78.904808, 1, -5.56362707e-08, 0, 5.56362707e-08, 1, 0, 0, 0, 0.999998629) | |
584 | Part38.BottomSurface = Enum.SurfaceType.Smooth | |
585 | Part38.TopSurface = Enum.SurfaceType.Smooth | |
586 | Part38.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
587 | Part38.Position = Vector3.new(-103.388954, 117.107918, -78.904808) | |
588 | Part38.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
589 | ManualWeld39.Name = "Weld" | |
590 | ManualWeld39.Parent = Part38 | |
591 | ManualWeld39.C0 = CFrame.new(0, 0, 0, 1, 5.56362707e-08, 0, -5.56362707e-08, 1, 0, 0, 0, 0.999999344) | |
592 | ManualWeld39.C1 = CFrame.new(2.90351105, 0.340293884, -0.0112609863, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
593 | ManualWeld39.Part0 = Part38 | |
594 | ManualWeld39.Part1 = Part5 | |
595 | Part40.Name = "snowmanbutton2" | |
596 | Part40.Parent = Model0 | |
597 | Part40.Material = Enum.Material.Glass | |
598 | Part40.BrickColor = BrickColor.new("Really black") | |
599 | Part40.CanCollide = false | |
600 | Part40.Shape = Enum.PartType.Cylinder | |
601 | Part40.Size = Vector3.new(0.100000001, 0.100000054, 0.100000054) | |
602 | Part40.CFrame = CFrame.new(-103.388954, 116.957916, -78.904808, 1, -5.56362707e-08, 0, 5.56362707e-08, 1, 0, 0, 0, 0.999998629) | |
603 | Part40.BottomSurface = Enum.SurfaceType.Smooth | |
604 | Part40.TopSurface = Enum.SurfaceType.Smooth | |
605 | Part40.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
606 | Part40.Position = Vector3.new(-103.388954, 116.957916, -78.904808) | |
607 | Part40.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
608 | ManualWeld41.Name = "Weld" | |
609 | ManualWeld41.Parent = Part40 | |
610 | ManualWeld41.C0 = CFrame.new(0, 0, 0, 1, 5.56362707e-08, 0, -5.56362707e-08, 1, 0, 0, 0, 0.999999344) | |
611 | ManualWeld41.C1 = CFrame.new(2.90351105, 0.190292358, -0.0112609863, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
612 | ManualWeld41.Part0 = Part40 | |
613 | ManualWeld41.Part1 = Part5 | |
614 | Part42.Name = "snowmanbutton3" | |
615 | Part42.Parent = Model0 | |
616 | Part42.Material = Enum.Material.Glass | |
617 | Part42.BrickColor = BrickColor.new("Really black") | |
618 | Part42.CanCollide = false | |
619 | Part42.Shape = Enum.PartType.Cylinder | |
620 | Part42.Size = Vector3.new(0.100000001, 0.100000054, 0.100000054) | |
621 | Part42.CFrame = CFrame.new(-103.388954, 116.807915, -78.904808, 1, -5.56362707e-08, 0, 5.56362707e-08, 1, 0, 0, 0, 0.999998629) | |
622 | Part42.BottomSurface = Enum.SurfaceType.Smooth | |
623 | Part42.TopSurface = Enum.SurfaceType.Smooth | |
624 | Part42.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
625 | Part42.Position = Vector3.new(-103.388954, 116.807915, -78.904808) | |
626 | Part42.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
627 | ManualWeld43.Name = "Weld" | |
628 | ManualWeld43.Parent = Part42 | |
629 | ManualWeld43.C0 = CFrame.new(0, 0, 0, 1, 5.56362707e-08, 0, -5.56362707e-08, 1, 0, 0, 0, 0.999999344) | |
630 | ManualWeld43.C1 = CFrame.new(2.90351105, 0.0402908325, -0.0112609863, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
631 | ManualWeld43.Part0 = Part42 | |
632 | ManualWeld43.Part1 = Part5 | |
633 | Part44.Name = "snowmantophat1" | |
634 | Part44.Parent = Model0 | |
635 | Part44.Material = Enum.Material.Glass | |
636 | Part44.BrickColor = BrickColor.new("Really black") | |
637 | Part44.CanCollide = false | |
638 | Part44.Size = Vector3.new(0.100000001, 0.0500000529, 0.25000006) | |
639 | Part44.CFrame = CFrame.new(-103.418953, 117.419205, -78.8998032, 1, -5.56362707e-08, 0, 5.56362707e-08, 1, 0, 0, 0, 0.999998629) | |
640 | Part44.BottomSurface = Enum.SurfaceType.Smooth | |
641 | Part44.TopSurface = Enum.SurfaceType.Smooth | |
642 | Part44.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
643 | Part44.Position = Vector3.new(-103.418953, 117.419205, -78.8998032) | |
644 | Part44.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
645 | ManualWeld45.Name = "Weld" | |
646 | ManualWeld45.Parent = Part44 | |
647 | ManualWeld45.C0 = CFrame.new(0, 0, 0, 1, 5.56362707e-08, 0, -5.56362707e-08, 1, 0, 0, 0, 0.999999344) | |
648 | ManualWeld45.C1 = CFrame.new(2.87351227, 0.651580811, -0.00625610352, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
649 | ManualWeld45.Part0 = Part44 | |
650 | ManualWeld45.Part1 = Part5 | |
651 | Part46.Name = "snowmantophat2" | |
652 | Part46.Parent = Model0 | |
653 | Part46.Material = Enum.Material.Glass | |
654 | Part46.BrickColor = BrickColor.new("Really black") | |
655 | Part46.CanCollide = false | |
656 | Part46.Size = Vector3.new(0.100000001, 0.150000051, 0.100000054) | |
657 | Part46.CFrame = CFrame.new(-103.418953, 117.469208, -78.9048004, 1, -5.56362707e-08, 0, 5.56362707e-08, 1, 0, 0, 0, 0.999998629) | |
658 | Part46.BottomSurface = Enum.SurfaceType.Smooth | |
659 | Part46.TopSurface = Enum.SurfaceType.Smooth | |
660 | Part46.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
661 | Part46.Position = Vector3.new(-103.418953, 117.469208, -78.9048004) | |
662 | Part46.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
663 | ManualWeld47.Name = "Weld" | |
664 | ManualWeld47.Parent = Part46 | |
665 | ManualWeld47.C0 = CFrame.new(0, 0, 0, 1, 5.56362707e-08, 0, -5.56362707e-08, 1, 0, 0, 0, 0.999999344) | |
666 | ManualWeld47.C1 = CFrame.new(2.87351227, 0.701583862, -0.0112533569, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
667 | ManualWeld47.Part0 = Part46 | |
668 | ManualWeld47.Part1 = Part5 | |
669 | Part48.Name = "rightbelt" | |
670 | Part48.Parent = Model0 | |
671 | Part48.Material = Enum.Material.Glass | |
672 | Part48.BrickColor = BrickColor.new("Deep blue") | |
673 | Part48.CanCollide = false | |
674 | Part48.Size = Vector3.new(0.0999999046, 0.300000012, 1.60000002) | |
675 | Part48.CFrame = CFrame.new(-103.824539, 115.657906, -79.681488, 1, 0, 0, 0, 1, 0, 0, 0, 0.999998689) | |
676 | Part48.BottomSurface = Enum.SurfaceType.Smooth | |
677 | Part48.TopSurface = Enum.SurfaceType.Smooth | |
678 | Part48.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
679 | Part48.Position = Vector3.new(-103.824539, 115.657906, -79.681488) | |
680 | Part48.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
681 | ManualWeld49.Name = "Weld" | |
682 | ManualWeld49.Parent = Part48 | |
683 | ManualWeld49.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999404) | |
684 | ManualWeld49.C1 = CFrame.new(2.46792603, -1.10971832, -0.787940979, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
685 | ManualWeld49.Part0 = Part48 | |
686 | ManualWeld49.Part1 = Part5 | |
687 | Part50.Name = "leftbelt" | |
688 | Part50.Parent = Model0 | |
689 | Part50.Material = Enum.Material.Glass | |
690 | Part50.BrickColor = BrickColor.new("Deep blue") | |
691 | Part50.CanCollide = false | |
692 | Part50.Size = Vector3.new(0.0999999046, 0.300000012, 1.60000002) | |
693 | Part50.CFrame = CFrame.new(-105.874535, 115.657906, -79.681488, 1, 0, 0, 0, 1, 0, 0, 0, 0.999998689) | |
694 | Part50.BottomSurface = Enum.SurfaceType.Smooth | |
695 | Part50.TopSurface = Enum.SurfaceType.Smooth | |
696 | Part50.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
697 | Part50.Position = Vector3.new(-105.874535, 115.657906, -79.681488) | |
698 | Part50.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
699 | ManualWeld51.Name = "Weld" | |
700 | ManualWeld51.Parent = Part50 | |
701 | ManualWeld51.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999404) | |
702 | ManualWeld51.C1 = CFrame.new(0.417930603, -1.10971832, -0.787940979, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
703 | ManualWeld51.Part0 = Part50 | |
704 | ManualWeld51.Part1 = Part5 | |
705 | Part52.Name = "beltringbottom" | |
706 | Part52.Parent = Model0 | |
707 | Part52.Material = Enum.Material.Glass | |
708 | Part52.BrickColor = BrickColor.new("Institutional white") | |
709 | Part52.Rotation = Vector3.new(0, 90, 0) | |
710 | Part52.CanCollide = false | |
711 | Part52.Size = Vector3.new(0.150000006, 0.0500000007, 0.649999857) | |
712 | Part52.CFrame = CFrame.new(-104.79953, 115.507904, -80.4814682, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -0.999999166, 0, -4.37113528e-08) | |
713 | Part52.BottomSurface = Enum.SurfaceType.Smooth | |
714 | Part52.TopSurface = Enum.SurfaceType.Smooth | |
715 | Part52.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
716 | Part52.Position = Vector3.new(-104.79953, 115.507904, -80.4814682) | |
717 | Part52.Orientation = Vector3.new(0, 90, 0) | |
718 | Part52.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
719 | ManualWeld53.Name = "Weld" | |
720 | ManualWeld53.Parent = Part52 | |
721 | ManualWeld53.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -0.999999762, 0, 0.99999994, 0, 1, 0, -4.37113776e-08) | |
722 | ManualWeld53.C1 = CFrame.new(1.49293518, -1.25971985, -1.58792114, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762) | |
723 | ManualWeld53.Part0 = Part52 | |
724 | ManualWeld53.Part1 = Part5 | |
725 | Part54.Name = "beltringright" | |
726 | Part54.Parent = Model0 | |
727 | Part54.Material = Enum.Material.Glass | |
728 | Part54.BrickColor = BrickColor.new("Institutional white") | |
729 | Part54.Rotation = Vector3.new(0, 90, 0) | |
730 | Part54.CanCollide = false | |
731 | Part54.Size = Vector3.new(0.150000006, 0.300000012, 0.0500000007) | |
732 | Part54.CFrame = CFrame.new(-104.499527, 115.657906, -80.4814682, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -0.999999166, 0, -4.37113528e-08) | |
733 | Part54.BottomSurface = Enum.SurfaceType.Smooth | |
734 | Part54.TopSurface = Enum.SurfaceType.Smooth | |
735 | Part54.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
736 | Part54.Position = Vector3.new(-104.499527, 115.657906, -80.4814682) | |
737 | Part54.Orientation = Vector3.new(0, 90, 0) | |
738 | Part54.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
739 | ManualWeld55.Name = "Weld" | |
740 | ManualWeld55.Parent = Part54 | |
741 | ManualWeld55.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -0.999999762, 0, 0.99999994, 0, 1, 0, -4.37113776e-08) | |
742 | ManualWeld55.C1 = CFrame.new(1.79293823, -1.10971832, -1.58792114, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762) | |
743 | ManualWeld55.Part0 = Part54 | |
744 | ManualWeld55.Part1 = Part5 | |
745 | Part56.Name = "beltringleft" | |
746 | Part56.Parent = Model0 | |
747 | Part56.Material = Enum.Material.Glass | |
748 | Part56.BrickColor = BrickColor.new("Institutional white") | |
749 | Part56.Rotation = Vector3.new(0, 90, 0) | |
750 | Part56.CanCollide = false | |
751 | Part56.Size = Vector3.new(0.150000006, 0.300000012, 0.0500000007) | |
752 | Part56.CFrame = CFrame.new(-105.099525, 115.657906, -80.4814682, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -0.999999166, 0, -4.37113528e-08) | |
753 | Part56.BottomSurface = Enum.SurfaceType.Smooth | |
754 | Part56.TopSurface = Enum.SurfaceType.Smooth | |
755 | Part56.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
756 | Part56.Position = Vector3.new(-105.099525, 115.657906, -80.4814682) | |
757 | Part56.Orientation = Vector3.new(0, 90, 0) | |
758 | Part56.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
759 | ManualWeld57.Name = "Weld" | |
760 | ManualWeld57.Parent = Part56 | |
761 | ManualWeld57.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -0.999999762, 0, 0.99999994, 0, 1, 0, -4.37113776e-08) | |
762 | ManualWeld57.C1 = CFrame.new(1.19293976, -1.10971832, -1.58792114, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762) | |
763 | ManualWeld57.Part0 = Part56 | |
764 | ManualWeld57.Part1 = Part5 | |
765 | Part58.Name = "body" | |
766 | Part58.Parent = Model0 | |
767 | Part58.Material = Enum.Material.Metal | |
768 | Part58.BrickColor = BrickColor.new("Institutional white") | |
769 | Part58.Rotation = Vector3.new(0, 0, 90) | |
770 | Part58.Shape = Enum.PartType.Cylinder | |
771 | Part58.Size = Vector3.new(1.39999998, 2, 2) | |
772 | Part58.CFrame = CFrame.new(-104.838966, 116.207901, -78.4198074, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 0.999999106) | |
773 | Part58.BottomSurface = Enum.SurfaceType.Smooth | |
774 | Part58.TopSurface = Enum.SurfaceType.Smooth | |
775 | Part58.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
776 | Part58.Position = Vector3.new(-104.838966, 116.207901, -78.4198074) | |
777 | Part58.Orientation = Vector3.new(0, 0, 90) | |
778 | Part58.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
779 | ManualWeld59.Name = "Weld" | |
780 | ManualWeld59.Parent = Part58 | |
781 | ManualWeld59.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08, 0, 0, 0, 0.999999702) | |
782 | ManualWeld59.C1 = CFrame.new(1.45349884, -0.5597229, 0.473739624, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762) | |
783 | ManualWeld59.Part0 = Part58 | |
784 | ManualWeld59.Part1 = Part5 | |
785 | Part60.Name = "bodypart2" | |
786 | Part60.Parent = Model0 | |
787 | Part60.Material = Enum.Material.Metal | |
788 | Part60.BrickColor = BrickColor.new("Institutional white") | |
789 | Part60.Rotation = Vector3.new(0, 0, 90) | |
790 | Part60.CanCollide = false | |
791 | Part60.Shape = Enum.PartType.Cylinder | |
792 | Part60.Size = Vector3.new(0.299999952, 2.20000005, 2.20000005) | |
793 | Part60.CFrame = CFrame.new(-104.838966, 115.857903, -78.4198074, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 0.999998629) | |
794 | Part60.BottomSurface = Enum.SurfaceType.Smooth | |
795 | Part60.TopSurface = Enum.SurfaceType.Smooth | |
796 | Part60.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
797 | Part60.Position = Vector3.new(-104.838966, 115.857903, -78.4198074) | |
798 | Part60.Orientation = Vector3.new(0, 0, 90) | |
799 | Part60.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
800 | ManualWeld61.Name = "Weld" | |
801 | ManualWeld61.Parent = Part60 | |
802 | ManualWeld61.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08, 0, 0, 0, 0.999999344) | |
803 | ManualWeld61.C1 = CFrame.new(1.45349884, -0.909721375, 0.473739624, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
804 | ManualWeld61.Part0 = Part60 | |
805 | ManualWeld61.Part1 = Part5 | |
806 | Part62.Name = "bodypart1" | |
807 | Part62.Parent = Model0 | |
808 | Part62.Material = Enum.Material.Metal | |
809 | Part62.BrickColor = BrickColor.new("Institutional white") | |
810 | Part62.Rotation = Vector3.new(0, 0, 90) | |
811 | Part62.CanCollide = false | |
812 | Part62.Shape = Enum.PartType.Cylinder | |
813 | Part62.Size = Vector3.new(0.299999952, 2.20000005, 2.20000005) | |
814 | Part62.CFrame = CFrame.new(-104.838966, 116.582901, -78.4198074, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 0.99999994) | |
815 | Part62.BottomSurface = Enum.SurfaceType.Smooth | |
816 | Part62.TopSurface = Enum.SurfaceType.Smooth | |
817 | Part62.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
818 | Part62.Position = Vector3.new(-104.838966, 116.582901, -78.4198074) | |
819 | Part62.Orientation = Vector3.new(0, 0, 90) | |
820 | Part62.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
821 | ManualWeld63.Name = "Weld" | |
822 | ManualWeld63.Parent = Part62 | |
823 | ManualWeld63.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08, 0, 0, 0, 0.99999994) | |
824 | ManualWeld63.C1 = CFrame.new(1.45349884, -0.1847229, 0.473739624, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762) | |
825 | ManualWeld63.Part0 = Part62 | |
826 | ManualWeld63.Part1 = Part5 | |
827 | Part64.Name = "machineLeft" | |
828 | Part64.Parent = Model0 | |
829 | Part64.Material = Enum.Material.Glass | |
830 | Part64.BrickColor = BrickColor.new("Deep blue") | |
831 | Part64.Size = Vector3.new(1, 1, 1) | |
832 | Part64.CFrame = CFrame.new(-105.74247, 117.117615, -78.8935471, 1, 0, 0, 0, 1, 0, 0, 0, 0.999998689) | |
833 | Part64.BottomSurface = Enum.SurfaceType.Smooth | |
834 | Part64.TopSurface = Enum.SurfaceType.Smooth | |
835 | Part64.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
836 | Part64.Position = Vector3.new(-105.74247, 117.117615, -78.8935471) | |
837 | Part64.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
838 | ManualWeld65.Name = "Weld" | |
839 | ManualWeld65.Parent = Part64 | |
840 | ManualWeld65.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999404) | |
841 | ManualWeld65.C1 = CFrame.new(0.549995422, 0.349990845, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
842 | ManualWeld65.Part0 = Part64 | |
843 | ManualWeld65.Part1 = Part5 | |
844 | Part66.Name = "bodytop" | |
845 | Part66.Parent = Model0 | |
846 | Part66.Material = Enum.Material.Metal | |
847 | Part66.BrickColor = BrickColor.new("Institutional white") | |
848 | Part66.Size = Vector3.new(2, 1.0999999, 2) | |
849 | Part66.CFrame = CFrame.new(-104.840225, 116.792618, -78.4294357, 1, 0, 0, 0, 1, 0, 0, 0, 0.999998689) | |
850 | Part66.BottomSurface = Enum.SurfaceType.Smooth | |
851 | Part66.TopSurface = Enum.SurfaceType.Smooth | |
852 | Part66.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
853 | Part66.Position = Vector3.new(-104.840225, 116.792618, -78.4294357) | |
854 | Part66.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
855 | SpecialMesh67.Parent = Part66 | |
856 | SpecialMesh67.MeshType = Enum.MeshType.Sphere | |
857 | ManualWeld68.Name = "Weld" | |
858 | ManualWeld68.Parent = Part66 | |
859 | ManualWeld68.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999404) | |
860 | ManualWeld68.C1 = CFrame.new(1.45223999, 0.0249938965, 0.464111328, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
861 | ManualWeld68.Part0 = Part66 | |
862 | ManualWeld68.Part1 = Part5 | |
863 | Part69.Name = "bodybottom" | |
864 | Part69.Parent = Model0 | |
865 | Part69.Material = Enum.Material.Metal | |
866 | Part69.BrickColor = BrickColor.new("Institutional white") | |
867 | Part69.Size = Vector3.new(2, 1.0999999, 2) | |
868 | Part69.CFrame = CFrame.new(-104.840225, 115.667618, -78.4294357, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999046) | |
869 | Part69.BottomSurface = Enum.SurfaceType.Smooth | |
870 | Part69.TopSurface = Enum.SurfaceType.Smooth | |
871 | Part69.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
872 | Part69.Position = Vector3.new(-104.840225, 115.667618, -78.4294357) | |
873 | Part69.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
874 | SpecialMesh70.Parent = Part69 | |
875 | SpecialMesh70.MeshType = Enum.MeshType.Sphere | |
876 | ManualWeld71.Name = "Weld" | |
877 | ManualWeld71.Parent = Part69 | |
878 | ManualWeld71.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
879 | ManualWeld71.C1 = CFrame.new(1.45223999, -1.1000061, 0.464111328, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762) | |
880 | ManualWeld71.Part0 = Part69 | |
881 | ManualWeld71.Part1 = Part5 | |
882 | Part72.Name = "machineLeftTank" | |
883 | Part72.Parent = Model0 | |
884 | Part72.Material = Enum.Material.Glass | |
885 | Part72.BrickColor = BrickColor.new("Deep blue") | |
886 | Part72.Rotation = Vector3.new(0, 0, 90) | |
887 | Part72.Shape = Enum.PartType.Cylinder | |
888 | Part72.Size = Vector3.new(1.4000001, 1, 1) | |
889 | Part72.CFrame = CFrame.new(-105.713966, 116.007904, -78.8948059, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 0.999998748) | |
890 | Part72.BottomSurface = Enum.SurfaceType.Smooth | |
891 | Part72.TopSurface = Enum.SurfaceType.Smooth | |
892 | Part72.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
893 | Part72.Position = Vector3.new(-105.713966, 116.007904, -78.8948059) | |
894 | Part72.Orientation = Vector3.new(0, 0, 90) | |
895 | Part72.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
896 | ManualWeld73.Name = "Weld" | |
897 | ManualWeld73.Parent = Part72 | |
898 | ManualWeld73.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08, 0, 0, 0, 0.999999464) | |
899 | ManualWeld73.C1 = CFrame.new(0.57849884, -0.759719849, -0.0012588501, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
900 | ManualWeld73.Part0 = Part72 | |
901 | ManualWeld73.Part1 = Part5 | |
902 | Part74.Name = "machineRightTank" | |
903 | Part74.Parent = Model0 | |
904 | Part74.Material = Enum.Material.Glass | |
905 | Part74.BrickColor = BrickColor.new("Deep blue") | |
906 | Part74.Rotation = Vector3.new(0, 0, 90) | |
907 | Part74.Shape = Enum.PartType.Cylinder | |
908 | Part74.Size = Vector3.new(1.39999998, 1, 1) | |
909 | Part74.CFrame = CFrame.new(-103.963959, 116.007904, -78.8948059, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 0.999998629) | |
910 | Part74.BottomSurface = Enum.SurfaceType.Smooth | |
911 | Part74.TopSurface = Enum.SurfaceType.Smooth | |
912 | Part74.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
913 | Part74.Position = Vector3.new(-103.963959, 116.007904, -78.8948059) | |
914 | Part74.Orientation = Vector3.new(0, 0, 90) | |
915 | Part74.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
916 | ManualWeld75.Name = "Weld" | |
917 | ManualWeld75.Parent = Part74 | |
918 | ManualWeld75.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08, 0, 0, 0, 0.999999344) | |
919 | ManualWeld75.C1 = CFrame.new(2.32850647, -0.759719849, -0.0012588501, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
920 | ManualWeld75.Part0 = Part74 | |
921 | ManualWeld75.Part1 = Part5 | |
922 | Part76.Name = "machineRight" | |
923 | Part76.Parent = Model0 | |
924 | Part76.Material = Enum.Material.Glass | |
925 | Part76.BrickColor = BrickColor.new("Deep blue") | |
926 | Part76.Size = Vector3.new(1, 1, 1) | |
927 | Part76.CFrame = CFrame.new(-103.942467, 117.117615, -78.8935471, 1, 0, 0, 0, 1, 0, 0, 0, 0.999998689) | |
928 | Part76.BottomSurface = Enum.SurfaceType.Smooth | |
929 | Part76.TopSurface = Enum.SurfaceType.Smooth | |
930 | Part76.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
931 | Part76.Position = Vector3.new(-103.942467, 117.117615, -78.8935471) | |
932 | Part76.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
933 | ManualWeld77.Name = "Weld" | |
934 | ManualWeld77.Parent = Part76 | |
935 | ManualWeld77.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999404) | |
936 | ManualWeld77.C1 = CFrame.new(2.34999847, 0.349990845, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
937 | ManualWeld77.Part0 = Part76 | |
938 | ManualWeld77.Part1 = Part5 | |
939 | Part78.Name = "machineLeftPart2" | |
940 | Part78.Parent = Model0 | |
941 | Part78.Material = Enum.Material.Glass | |
942 | Part78.BrickColor = BrickColor.new("Deep blue") | |
943 | Part78.Rotation = Vector3.new(0, 0, 90) | |
944 | Part78.CanCollide = false | |
945 | Part78.Shape = Enum.PartType.Cylinder | |
946 | Part78.Size = Vector3.new(0.399999976, 0.5, 0.5) | |
947 | Part78.CFrame = CFrame.new(-105.713966, 115.307907, -78.8948059, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 0.999998629) | |
948 | Part78.BottomSurface = Enum.SurfaceType.Smooth | |
949 | Part78.TopSurface = Enum.SurfaceType.Smooth | |
950 | Part78.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
951 | Part78.Position = Vector3.new(-105.713966, 115.307907, -78.8948059) | |
952 | Part78.Orientation = Vector3.new(0, 0, 90) | |
953 | Part78.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
954 | ManualWeld79.Name = "Weld" | |
955 | ManualWeld79.Parent = Part78 | |
956 | ManualWeld79.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08, 0, 0, 0, 0.999999344) | |
957 | ManualWeld79.C1 = CFrame.new(0.57849884, -1.4597168, -0.0012588501, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
958 | ManualWeld79.Part0 = Part78 | |
959 | ManualWeld79.Part1 = Part5 | |
960 | Part80.Name = "machineRightPart2" | |
961 | Part80.Parent = Model0 | |
962 | Part80.Material = Enum.Material.Glass | |
963 | Part80.BrickColor = BrickColor.new("Deep blue") | |
964 | Part80.Rotation = Vector3.new(0, 0, 90) | |
965 | Part80.CanCollide = false | |
966 | Part80.Shape = Enum.PartType.Cylinder | |
967 | Part80.Size = Vector3.new(0.399999976, 0.5, 0.5) | |
968 | Part80.CFrame = CFrame.new(-103.963959, 115.307907, -78.8948059, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 0.999998629) | |
969 | Part80.BottomSurface = Enum.SurfaceType.Smooth | |
970 | Part80.TopSurface = Enum.SurfaceType.Smooth | |
971 | Part80.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
972 | Part80.Position = Vector3.new(-103.963959, 115.307907, -78.8948059) | |
973 | Part80.Orientation = Vector3.new(0, 0, 90) | |
974 | Part80.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
975 | ManualWeld81.Name = "Weld" | |
976 | ManualWeld81.Parent = Part80 | |
977 | ManualWeld81.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08, 0, 0, 0, 0.999999344) | |
978 | ManualWeld81.C1 = CFrame.new(2.32850647, -1.4597168, -0.0012588501, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
979 | ManualWeld81.Part0 = Part80 | |
980 | ManualWeld81.Part1 = Part5 | |
981 | Part82.Name = "machineRightPart1" | |
982 | Part82.Parent = Model0 | |
983 | Part82.Material = Enum.Material.Glass | |
984 | Part82.BrickColor = BrickColor.new("Deep blue") | |
985 | Part82.Rotation = Vector3.new(0, 0, 90) | |
986 | Part82.CanCollide = false | |
987 | Part82.Shape = Enum.PartType.Cylinder | |
988 | Part82.Size = Vector3.new(0.399999976, 1.20000005, 1.20000005) | |
989 | Part82.CFrame = CFrame.new(-103.963959, 115.807907, -78.8948059, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 0.999998629) | |
990 | Part82.BottomSurface = Enum.SurfaceType.Smooth | |
991 | Part82.TopSurface = Enum.SurfaceType.Smooth | |
992 | Part82.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
993 | Part82.Position = Vector3.new(-103.963959, 115.807907, -78.8948059) | |
994 | Part82.Orientation = Vector3.new(0, 0, 90) | |
995 | Part82.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
996 | ManualWeld83.Name = "Weld" | |
997 | ManualWeld83.Parent = Part82 | |
998 | ManualWeld83.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08, 0, 0, 0, 0.999999344) | |
999 | ManualWeld83.C1 = CFrame.new(2.32850647, -0.959716797, -0.0012588501, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
1000 | ManualWeld83.Part0 = Part82 | |
1001 | ManualWeld83.Part1 = Part5 | |
1002 | Part84.Name = "machineLeftPart1" | |
1003 | Part84.Parent = Model0 | |
1004 | Part84.Material = Enum.Material.Glass | |
1005 | Part84.BrickColor = BrickColor.new("Deep blue") | |
1006 | Part84.Rotation = Vector3.new(0, 0, 90) | |
1007 | Part84.CanCollide = false | |
1008 | Part84.Shape = Enum.PartType.Cylinder | |
1009 | Part84.Size = Vector3.new(0.399999976, 1.20000005, 1.20000005) | |
1010 | Part84.CFrame = CFrame.new(-105.713966, 115.807907, -78.8948059, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 0.999998629) | |
1011 | Part84.BottomSurface = Enum.SurfaceType.Smooth | |
1012 | Part84.TopSurface = Enum.SurfaceType.Smooth | |
1013 | Part84.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
1014 | Part84.Position = Vector3.new(-105.713966, 115.807907, -78.8948059) | |
1015 | Part84.Orientation = Vector3.new(0, 0, 90) | |
1016 | Part84.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
1017 | ManualWeld85.Name = "Weld" | |
1018 | ManualWeld85.Parent = Part84 | |
1019 | ManualWeld85.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08, 0, 0, 0, 0.999999344) | |
1020 | ManualWeld85.C1 = CFrame.new(0.57849884, -0.959716797, -0.0012588501, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
1021 | ManualWeld85.Part0 = Part84 | |
1022 | ManualWeld85.Part1 = Part5 | |
1023 | Part86.Name = "machineLeftPipe" | |
1024 | Part86.Parent = Model0 | |
1025 | Part86.Material = Enum.Material.Glass | |
1026 | Part86.BrickColor = BrickColor.new("Deep blue") | |
1027 | Part86.Rotation = Vector3.new(-90, 0, 90) | |
1028 | Part86.CanCollide = false | |
1029 | Part86.Shape = Enum.PartType.Cylinder | |
1030 | Part86.Size = Vector3.new(0.399999976, 0.300000042, 0.300000042) | |
1031 | Part86.CFrame = CFrame.new(-105.913963, 116.257904, -78.2948074, -4.37113883e-08, -1, 0, 1.19248806e-08, -5.21253064e-16, 0.99999994, -0.999998689, 4.3711335e-08, 1.19248638e-08) | |
1032 | Part86.BottomSurface = Enum.SurfaceType.Smooth | |
1033 | Part86.TopSurface = Enum.SurfaceType.Smooth | |
1034 | Part86.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
1035 | Part86.Position = Vector3.new(-105.913963, 116.257904, -78.2948074) | |
1036 | Part86.Orientation = Vector3.new(-89.9799957, 0, 90) | |
1037 | Part86.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
1038 | ManualWeld87.Name = "Weld" | |
1039 | ManualWeld87.Parent = Part86 | |
1040 | ManualWeld87.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 1.19248806e-08, -0.999999404, -1, -5.21253064e-16, 4.37113634e-08, 0, 0.99999994, 1.19248726e-08) | |
1041 | ManualWeld87.C1 = CFrame.new(0.378501892, -0.509719849, 0.598739624, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
1042 | ManualWeld87.Part0 = Part86 | |
1043 | ManualWeld87.Part1 = Part5 | |
1044 | Part88.Name = "machinePipe" | |
1045 | Part88.Parent = Model0 | |
1046 | Part88.Material = Enum.Material.Glass | |
1047 | Part88.BrickColor = BrickColor.new("Deep blue") | |
1048 | Part88.Rotation = Vector3.new(-90, 0, -180) | |
1049 | Part88.CanCollide = false | |
1050 | Part88.Shape = Enum.PartType.Cylinder | |
1051 | Part88.Size = Vector3.new(2.5999999, 0.300000042, 0.300000042) | |
1052 | Part88.CFrame = CFrame.new(-104.813957, 116.257904, -78.0948105, -1, 8.74227766e-08, 1.19248798e-08, 1.19248798e-08, -5.21253011e-16, 0.999999881, 8.742267e-08, 0.999998689, -5.21252323e-16) | |
1053 | Part88.BottomSurface = Enum.SurfaceType.Smooth | |
1054 | Part88.TopSurface = Enum.SurfaceType.Smooth | |
1055 | Part88.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
1056 | Part88.Position = Vector3.new(-104.813957, 116.257904, -78.0948105) | |
1057 | Part88.Orientation = Vector3.new(-89.9700012, 90, 90) | |
1058 | Part88.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
1059 | ManualWeld89.Name = "Weld" | |
1060 | ManualWeld89.Parent = Part88 | |
1061 | ManualWeld89.C0 = CFrame.new(0, 0, 0, -1, 1.19248798e-08, 8.74227268e-08, 8.74227766e-08, -5.21253011e-16, 0.999999404, 1.19248798e-08, 0.999999881, -5.21252747e-16) | |
1062 | ManualWeld89.C1 = CFrame.new(1.478508, -0.509719849, 0.798736572, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
1063 | ManualWeld89.Part0 = Part88 | |
1064 | ManualWeld89.Part1 = Part5 | |
1065 | Part90.Name = "machineRightPipe" | |
1066 | Part90.Parent = Model0 | |
1067 | Part90.Material = Enum.Material.Glass | |
1068 | Part90.BrickColor = BrickColor.new("Deep blue") | |
1069 | Part90.Rotation = Vector3.new(-90, 0, 90) | |
1070 | Part90.CanCollide = false | |
1071 | Part90.Shape = Enum.PartType.Cylinder | |
1072 | Part90.Size = Vector3.new(0.399999976, 0.300000042, 0.300000042) | |
1073 | Part90.CFrame = CFrame.new(-103.713966, 116.257904, -78.2948074, -4.37113883e-08, -1, 0, 1.19248806e-08, -5.21253064e-16, 0.99999994, -0.999998689, 4.3711335e-08, 1.19248638e-08) | |
1074 | Part90.BottomSurface = Enum.SurfaceType.Smooth | |
1075 | Part90.TopSurface = Enum.SurfaceType.Smooth | |
1076 | Part90.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
1077 | Part90.Position = Vector3.new(-103.713966, 116.257904, -78.2948074) | |
1078 | Part90.Orientation = Vector3.new(-89.9799957, 0, 90) | |
1079 | Part90.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
1080 | ManualWeld91.Name = "Weld" | |
1081 | ManualWeld91.Parent = Part90 | |
1082 | ManualWeld91.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 1.19248806e-08, -0.999999404, -1, -5.21253064e-16, 4.37113634e-08, 0, 0.99999994, 1.19248726e-08) | |
1083 | ManualWeld91.C1 = CFrame.new(2.57849884, -0.509719849, 0.598739624, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
1084 | ManualWeld91.Part0 = Part90 | |
1085 | ManualWeld91.Part1 = Part5 | |
1086 | Part92.Name = "mainPART" | |
1087 | Part92.Parent = Model0 | |
1088 | Part92.Transparency = 1 | |
1089 | Part92.CanCollide = false | |
1090 | Part92.Size = Vector3.new(1, 1, 1) | |
1091 | Part92.CFrame = CFrame.new(-104.762779, 116.299995, -78.9024048, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999285) | |
1092 | Part92.BottomSurface = Enum.SurfaceType.Smooth | |
1093 | Part92.TopSurface = Enum.SurfaceType.Smooth | |
1094 | Part92.Position = Vector3.new(-104.762779, 116.299995, -78.9024048) | |
1095 | ManualWeld93.Name = "Weld" | |
1096 | ManualWeld93.Parent = Part92 | |
1097 | ManualWeld93.C1 = CFrame.new(1.52968597, -0.467628479, -0.00885772705, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999642) | |
1098 | ManualWeld93.Part0 = Part92 | |
1099 | ManualWeld93.Part1 = Part5 | |
1100 | for i,v in pairs(mas:GetChildren()) do | |
1101 | v.Parent = char | |
1102 | mainpart = Part92 | |
1103 | body = Part58 | |
1104 | level1 = Part5 | |
1105 | level2 = Part6 | |
1106 | level3 = Part10 | |
1107 | level4 = Part12 | |
1108 | pcall(function() v:MakeJoints() end) | |
1109 | end | |
1110 | mas:Destroy() | |
1111 | for i,v in pairs(cors) do | |
1112 | spawn(function() | |
1113 | pcall(v) | |
1114 | end) | |
1115 | end | |
1116 | ||
1117 | local freezepar = Instance.new("ParticleEmitter", Part80) | |
1118 | freezepar.LightInfluence = 1 | |
1119 | freezepar.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 255, 255))}) | |
1120 | freezepar.Texture = "rbxassetid://476778304" | |
1121 | freezepar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 0.5, 0)}) | |
1122 | freezepar.LockedToPart = true | |
1123 | freezepar.Enabled = false | |
1124 | freezepar.Lifetime = NumberRange.new(0.2) | |
1125 | freezepar.Rate = 300 | |
1126 | freezepar.SpreadAngle = Vector2.new(40, 40) | |
1127 | freezepar.EmissionDirection = "Left" | |
1128 | ||
1129 | local freezepar2 = Instance.new("ParticleEmitter", Part78) | |
1130 | freezepar2.LightInfluence = 1 | |
1131 | freezepar2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 255, 255))}) | |
1132 | freezepar2.Texture = "rbxassetid://476778304" | |
1133 | freezepar2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 0.5, 0)}) | |
1134 | freezepar2.LockedToPart = true | |
1135 | freezepar2.Enabled = false | |
1136 | freezepar2.Lifetime = NumberRange.new(0.2) | |
1137 | freezepar2.Rate = 300 | |
1138 | freezepar2.SpreadAngle = Vector2.new(40, 40) | |
1139 | freezepar2.EmissionDirection = "Left" | |
1140 | ||
1141 | local ws = hum.WalkSpeed | |
1142 | local jp = hum.JumpPower | |
1143 | local nws = ws | |
1144 | local njp = jp | |
1145 | ||
1146 | local rootj0 = rootj.C0 | |
1147 | local neck0 = neck.C0 | |
1148 | local LS0 = LS.C0 | |
1149 | local RS0 = RS.C0 | |
1150 | local LH0 = LH.C0 | |
1151 | local RH0 = RH.C0 | |
1152 | local rootj1 = rootj.C1 | |
1153 | local neck1 = neck.C1 | |
1154 | local LS1 = LS.C1 | |
1155 | local RS1 = RS.C1 | |
1156 | local LH1 = LH.C1 | |
1157 | local RH1 = RH.C1 | |
1158 | ||
1159 | ----------------------------------------------------------------------------- | |
1160 | ||
1161 | local CFn = CFrame.new | |
1162 | local CFa = CFrame.Angles | |
1163 | local Rad = math.rad | |
1164 | local Cos = math.cos | |
1165 | local Sin = math.sin | |
1166 | local sine = 1 | |
1167 | local attacking = false | |
1168 | local Reloading = false | |
1169 | local Throwing = false | |
1170 | local makingCone = false | |
1171 | local Snowconing = false | |
1172 | local ThrowingAway = false | |
1173 | local snowmanning = false | |
1174 | local Eating = false | |
1175 | local stage = 0 | |
1176 | local eatstage = 6 | |
1177 | local yumrot = 1 | |
1178 | local BallDamage = 10 | |
1179 | local BallDamage2 = 10 | |
1180 | local SnowBlasting = false | |
1181 | ||
1182 | ----------------------------------------------------------------------------- | |
1183 | ||
1184 | local gloves = Instance.new("Model", char) | |
1185 | gloves.Name = "Glvoes" | |
1186 | ||
1187 | local leftglove = Instance.new("Part", gloves) | |
1188 | leftglove.Size = Vector3.new(1, 1, 1) | |
1189 | leftglove.Transparency = 1 | |
1190 | leftglove.CanCollide = false | |
1191 | ||
1192 | local leftgloveW = Instance.new("Weld", leftglove) | |
1193 | leftgloveW.Part0 = larm | |
1194 | leftgloveW.Part1 = leftglove | |
1195 | leftgloveW.C1 = CFn(0, 0.5, 0) | |
1196 | ||
1197 | local upperleftglove = Instance.new("Part", gloves) | |
1198 | upperleftglove.Size = Vector3.new(1.1, 0.6, 1.1) | |
1199 | upperleftglove.BrickColor = BrickColor.new("Lapis") | |
1200 | upperleftglove.CanCollide = false | |
1201 | upperleftglove.Material = "SmoothPlastic" | |
1202 | ||
1203 | local upperleftgloveW = Instance.new("Weld", upperleftglove) | |
1204 | upperleftgloveW.Part0 = leftglove | |
1205 | upperleftgloveW.Part1 = upperleftglove | |
1206 | upperleftgloveW.C1 = CFn(0, -0.2, 0) | |
1207 | ||
1208 | local lowerleftglove = Instance.new("Part", gloves) | |
1209 | lowerleftglove.Size = Vector3.new(0.7, 0.5, 1.1) | |
1210 | lowerleftglove.BrickColor = BrickColor.new("Lapis") | |
1211 | lowerleftglove.CanCollide = false | |
1212 | lowerleftglove.Material = "SmoothPlastic" | |
1213 | ||
1214 | local lowerleftgloveW = Instance.new("Weld", lowerleftglove) | |
1215 | lowerleftgloveW.Part0 = leftglove | |
1216 | lowerleftgloveW.Part1 = lowerleftglove | |
1217 | lowerleftgloveW.C1 = CFn(0.2, 0.3, 0) | |
1218 | ||
1219 | local rightglove = Instance.new("Part", gloves) | |
1220 | rightglove.Size = Vector3.new(1, 1, 1) | |
1221 | rightglove.Transparency = 1 | |
1222 | rightglove.CanCollide = false | |
1223 | ||
1224 | local rightgloveW = Instance.new("Weld", rightglove) | |
1225 | rightgloveW.Part0 = rarm | |
1226 | rightgloveW.Part1 = rightglove | |
1227 | rightgloveW.C1 = CFn(0, 0.5, 0) | |
1228 | ||
1229 | local upperrightglove = Instance.new("Part", gloves) | |
1230 | upperrightglove.Size = Vector3.new(1.1, 0.6, 1.1) | |
1231 | upperrightglove.BrickColor = BrickColor.new("Lapis") | |
1232 | upperrightglove.CanCollide = false | |
1233 | upperrightglove.Material = "SmoothPlastic" | |
1234 | ||
1235 | local upperrightgloveW = Instance.new("Weld", upperrightglove) | |
1236 | upperrightgloveW.Part0 = rightglove | |
1237 | upperrightgloveW.Part1 = upperrightglove | |
1238 | upperrightgloveW.C1 = CFn(0, -0.2, 0) | |
1239 | ||
1240 | local lowerrightglove = Instance.new("Part", gloves) | |
1241 | lowerrightglove.Size = Vector3.new(0.7, 0.5, 1.1) | |
1242 | lowerrightglove.BrickColor = BrickColor.new("Lapis") | |
1243 | lowerrightglove.CanCollide = false | |
1244 | lowerrightglove.Material = "SmoothPlastic" | |
1245 | ||
1246 | local lowerrightgloveW = Instance.new("Weld", lowerrightglove) | |
1247 | lowerrightgloveW.Part0 = rightglove | |
1248 | lowerrightgloveW.Part1 = lowerrightglove | |
1249 | lowerrightgloveW.C1 = CFn(-0.2, 0.3, 0) | |
1250 | ||
1251 | local machineW = Instance.new("Weld", mainpart) | |
1252 | machineW.Part0 = tor | |
1253 | machineW.Part1 = mainpart | |
1254 | machineW.C1 = CFn(-0.1, 0, -1) | |
1255 | ||
1256 | ----------------------------------------------------------------------------- | |
1257 | ||
1258 | ArtificialHB = Instance.new("BindableEvent", script) | |
1259 | ArtificialHB.Name = "Heartbeat" | |
1260 | script:WaitForChild("Heartbeat") | |
1261 | ||
1262 | frame = 1 / 60 | |
1263 | tf = 0 | |
1264 | allowframeloss = false | |
1265 | tossremainder = false | |
1266 | ||
1267 | ||
1268 | lastframe = tick() | |
1269 | script.Heartbeat:Fire() | |
1270 | ||
1271 | ||
1272 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1273 | tf = tf + s | |
1274 | if tf >= frame then | |
1275 | if allowframeloss then | |
1276 | script.Heartbeat:Fire() | |
1277 | lastframe = tick() | |
1278 | else | |
1279 | for i = 1, math.floor(tf / frame) do | |
1280 | script.Heartbeat:Fire() | |
1281 | end | |
1282 | lastframe = tick() | |
1283 | end | |
1284 | if tossremainder then | |
1285 | tf = 0 | |
1286 | else | |
1287 | tf = tf - frame * math.floor(tf / frame) | |
1288 | end | |
1289 | end | |
1290 | end) | |
1291 | ||
1292 | function swait(num) | |
1293 | if num == 0 or num == nil then | |
1294 | game:service("RunService").Stepped:wait(0) | |
1295 | else | |
1296 | for i = 0, num do | |
1297 | game:service("RunService").Stepped:wait(0) | |
1298 | end | |
1299 | end | |
1300 | end | |
1301 | ||
1302 | function clerp(a, b, t) | |
1303 | return a:lerp(b, t) | |
1304 | end | |
1305 | ||
1306 | function GetTorsos(pos, dis) | |
1307 | local people = workspace:GetChildren() | |
1308 | local peopletab = {} | |
1309 | local temp = nil | |
1310 | local humtor = nil | |
1311 | local temp2 = nil | |
1312 | for x = 1, #people do | |
1313 | temp2 = people[x] | |
1314 | if temp2.className == "Model" and temp2 ~= char and temp2:FindFirstChildOfClass("Humanoid") then | |
1315 | temp = temp2:FindFirstChild("Torso") or temp2:FindFirstChild("UpperTorso") | |
1316 | humtor = temp2:FindFirstChildOfClass("Humanoid") | |
1317 | if temp ~= nil and humtor ~= nil and humtor.Health > 0 then | |
1318 | if (temp.Position - pos).magnitude < dis then | |
1319 | table.insert(peopletab,temp) | |
1320 | dis = (temp.Position - pos).magnitude | |
1321 | end | |
1322 | end | |
1323 | end | |
1324 | end | |
1325 | return peopletab | |
1326 | end | |
1327 | ||
1328 | function FindNearestTorso(pos) | |
1329 | local list = game.Workspace:GetChildren() | |
1330 | local torso = nil | |
1331 | local dist = 10000 | |
1332 | local temp = nil | |
1333 | local human = nil | |
1334 | local temp2 = nil | |
1335 | for x = 1, #list do | |
1336 | temp2 = list[x] | |
1337 | if (temp2.className == "Model") and temp2:FindFirstChildOfClass("Humanoid") and temp2 ~= char then | |
1338 | temp = temp2:FindFirstChild("Torso") or temp2:FindFirstChild("UpperTorso") | |
1339 | human = temp2:FindFirstChildOfClass("Humanoid") | |
1340 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
1341 | if (temp.Position - pos).magnitude < dist then | |
1342 | torso = temp | |
1343 | dist = (temp.Position - pos).magnitude | |
1344 | end | |
1345 | end | |
1346 | end | |
1347 | end | |
1348 | return torso | |
1349 | end | |
1350 | ||
1351 | function Throw() | |
1352 | if attacking == false and Throwing == false and 4 - stage >= 0.25 then | |
1353 | attacking = true | |
1354 | Throwing = true | |
1355 | BallDamage = math.random(5, 15) | |
1356 | local CritorNocrit = math.random(1, 10) | |
1357 | hum.WalkSpeed = 2 | |
1358 | hum.JumpPower = 5 | |
1359 | if not Part80:FindFirstChild("SPOOOOS") then | |
1360 | spraysound = Instance.new("Sound", Part80) | |
1361 | spraysound.SoundId = "rbxassetid://843338638" | |
1362 | spraysound.Looped = true | |
1363 | spraysound.Volume = 2 | |
1364 | spraysound.Name = "SPOOOOS" | |
1365 | spraysound:Play() | |
1366 | else | |
1367 | spraysound = Part80:FindFirstChild("SPOOOOS") | |
1368 | spraysound:Play() | |
1369 | end | |
1370 | freezepar.Enabled = true | |
1371 | for i = 0,1,.15 do | |
1372 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-20), 0, Rad(20)), i) | |
1373 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
1374 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i) | |
1375 | RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(55)), i) | |
1376 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
1377 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1378 | neck.C0 = clerp(neck.C0, neck0, i) | |
1379 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1380 | LS.C0 = clerp(LS.C0, LS0, i) | |
1381 | RS.C0 = clerp(RS.C0, RS0, i) | |
1382 | LH.C0 = clerp(LH.C0, LH0, i) | |
1383 | RH.C0 = clerp(RH.C0, RH0, i) | |
1384 | swait() | |
1385 | end | |
1386 | local snowball = Instance.new("Part", char) | |
1387 | snowball.Size = Vector3.new(0.8, 0.8, 0.8) | |
1388 | snowball.Material = "Sand" | |
1389 | snowball.Shape = "Ball" | |
1390 | if CritorNocrit == 5 then | |
1391 | snowball.BrickColor = BrickColor.new("Gold") | |
1392 | BallDamage = 30 | |
1393 | else | |
1394 | snowball.BrickColor = BrickColor.new("Institutional white") | |
1395 | end | |
1396 | snowball.CanCollide = false | |
1397 | snowball.Locked = true | |
1398 | snowball.CFrame = rarm.CFrame * CFn(0, 1.2, 0) | |
1399 | local snowballW = Instance.new("Weld", snowball) | |
1400 | snowballW.Part0 = rarm | |
1401 | snowballW.Part1 = snowball | |
1402 | snowballW.C1 = CFn(0, 1.2, 0) | |
1403 | freezepar.Enabled = false | |
1404 | spraysound:Stop() | |
1405 | for i = 0,1,.15 do | |
1406 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-25), 0, 0), i) | |
1407 | rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(70)), i) | |
1408 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-45), 0, Rad(80)), i) | |
1409 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(-45), 0, Rad(-80)), i) | |
1410 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), Rad(-70), 0), i) | |
1411 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1412 | neck.C0 = clerp(neck.C0, neck0, i) | |
1413 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1414 | LS.C0 = clerp(LS.C0, LS0, i) | |
1415 | RS.C0 = clerp(RS.C0, RS0, i) | |
1416 | LH.C0 = clerp(LH.C0, LH0, i) | |
1417 | RH.C0 = clerp(RH.C0, RH0, i) | |
1418 | swait() | |
1419 | end | |
1420 | if not rightglove:FindFirstChild("HEYTHEREOMGOMGOMGOMGOGMOGMOGMOGM") then | |
1421 | local throwsound = Instance.new("Sound", rightglove) | |
1422 | throwsound.SoundId = "rbxassetid://711753382" | |
1423 | throwsound.Name = "HEYTHEREOMGOMGOMGOMGOGMOGMOGMOGM" | |
1424 | throwsound.Volume = 2 | |
1425 | if CritorNocrit == 5 then | |
1426 | throwsound.Pitch = 2 | |
1427 | else | |
1428 | throwsound.Pitch = 1 | |
1429 | end | |
1430 | throwsound:Play() | |
1431 | else | |
1432 | local throwsound = rightglove:FindFirstChild("HEYTHEREOMGOMGOMGOMGOGMOGMOGMOGM") | |
1433 | if CritorNocrit == 5 then | |
1434 | throwsound.Pitch = 2 | |
1435 | else | |
1436 | throwsound.Pitch = 1 | |
1437 | end | |
1438 | throwsound:Play() | |
1439 | end | |
1440 | snowballW:Destroy() | |
1441 | local dis = (snowball.Position - Mouse.Hit.p).unit * -1 | |
1442 | snowball.Velocity = dis * 200 + Vector3.new(0, 5, 0) | |
1443 | local snowballBF = Instance.new("BodyForce", snowball) | |
1444 | snowballBF.force = Vector3.new(0, snowball:GetMass() * 140, 0) | |
1445 | local AT0 = Instance.new("Attachment", snowball) | |
1446 | AT0.Position = Vector3.new(-0.1, 0, 0) | |
1447 | local AT1 = Instance.new("Attachment", snowball) | |
1448 | AT1.Position = Vector3.new(0.1, 0, 0) | |
1449 | local snowtrail = Instance.new("Trail", snowball) | |
1450 | snowtrail.Attachment0 = AT0 | |
1451 | snowtrail.Attachment1 = AT1 | |
1452 | snowtrail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.4, 0), NumberSequenceKeypoint.new(1, 1, 0)}) | |
1453 | snowtrail.Lifetime = 0.5 | |
1454 | snowtrail.MaxLength = 50 | |
1455 | snowtrail.MinLength = 0.05 | |
1456 | snowtrail.WidthScale = NumberSequence.new({NumberSequenceKeypoint.new(0, 1, 0), NumberSequenceKeypoint.new(1, 0, 0)}) | |
1457 | if CritorNocrit == 5 then | |
1458 | snowtrail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(239, 184, 56), 0), ColorSequenceKeypoint.new(1, Color3.fromRGB(239, 184, 56), 0)}) | |
1459 | else | |
1460 | snowball.BrickColor = BrickColor.new("Institutional white") | |
1461 | end | |
1462 | game:GetService("Debris"):AddItem(snowball, 30) | |
1463 | snowball.Touched:connect(function(hit) | |
1464 | if not hit:IsDescendantOf(char) then | |
1465 | if hit.Parent:FindFirstChildOfClass("Humanoid") then | |
1466 | hit.Material = "Sand" | |
1467 | if CritorNocrit == 5 then | |
1468 | hit.BrickColor = BrickColor.new("Gold") | |
1469 | else | |
1470 | hit.BrickColor = BrickColor.new("Institutional white") | |
1471 | end | |
1472 | local thrownhum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1473 | thrownhum.Health = thrownhum.Health - BallDamage | |
1474 | elseif hit.Parent.Parent:FindFirstChildOfClass("Humanoid") then | |
1475 | hit.Material = "Sand" | |
1476 | if CritorNocrit == 5 then | |
1477 | hit.BrickColor = BrickColor.new("Gold") | |
1478 | else | |
1479 | hit.BrickColor = BrickColor.new("Institutional white") | |
1480 | end | |
1481 | local thrownhum = hit.Parent.Parent:FindFirstChildOfClass("Humanoid") | |
1482 | thrownhum.Health = thrownhum.Health - BallDamage | |
1483 | end | |
1484 | for i = 1,5 do | |
1485 | local ranAng = math.random(-360, 360) | |
1486 | local ranPos = math.random(-20, 20) | |
1487 | local ranPos2 = math.random(-20, 20) | |
1488 | local ranPos3 = math.random(-20, 20) | |
1489 | local snowf = Instance.new("Part", char) | |
1490 | snowf.Size = Vector3.new(0.5, 0.3, 0.5) | |
1491 | snowf.Material = "Sand" | |
1492 | if CritorNocrit == 5 then | |
1493 | snowf.BrickColor = BrickColor.new("Gold") | |
1494 | else | |
1495 | snowf.BrickColor = BrickColor.new("Institutional white") | |
1496 | end | |
1497 | snowf.Locked = true | |
1498 | snowf.CFrame = snowball.CFrame * CFa(ranAng, ranAng, ranAng) + Vector3.new(ranPos / 10, ranPos2 / 10, ranPos3 / 10) | |
1499 | game:GetService("Debris"):AddItem(snowf, 5) | |
1500 | end | |
1501 | snowtrail:Destroy() | |
1502 | local snowballjustforthesound = snowball:Clone() | |
1503 | snowballjustforthesound.Parent = workspace | |
1504 | snowballjustforthesound.Anchored = true | |
1505 | snowball:Destroy() | |
1506 | snowballjustforthesound.Transparency = 1 | |
1507 | game:GetService("Debris"):AddItem(snowballjustforthesound, 0.3) | |
1508 | local snowhitsound = Instance.new("Sound", snowballjustforthesound) | |
1509 | snowhitsound.Volume = 3 | |
1510 | snowhitsound.Name = "finallyifoundahitsoundGOD" | |
1511 | snowhitsound.SoundId = "rbxassetid://1874310149" | |
1512 | snowhitsound:Play() | |
1513 | end | |
1514 | end) | |
1515 | for i = 0,1,.15 do | |
1516 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(10), 0, 0), i) | |
1517 | rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-30), Rad(-20), Rad(-40)), i) | |
1518 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(5), 0, Rad(-60)), i) | |
1519 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(-5), 0, Rad(-120)), i) | |
1520 | LH.C1 = clerp(LH.C1, LH1 * CFa(0, Rad(20), Rad(40)), i) | |
1521 | RH.C1 = clerp(RH.C1, RH1 * CFa(0, 0, Rad(60)), i) | |
1522 | neck.C0 = clerp(neck.C0, neck0, i) | |
1523 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1524 | LS.C0 = clerp(LS.C0, LS0, i) | |
1525 | RS.C0 = clerp(RS.C0, RS0, i) | |
1526 | LH.C0 = clerp(LH.C0, LH0, i) | |
1527 | RH.C0 = clerp(RH.C0, RH0, i) | |
1528 | swait() | |
1529 | end | |
1530 | hum.WalkSpeed = nws | |
1531 | hum.JumpPower = jp | |
1532 | stage = stage + 0.25 | |
1533 | Throwing = false | |
1534 | attacking = false | |
1535 | elseif attacking == false and 4 - stage < 0.25 then | |
1536 | attacking = true | |
1537 | freezepar.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 0, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))}) | |
1538 | freezepar2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 0, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))}) | |
1539 | if not Part78:FindFirstChild("ASDASDASDASDACOMINE") then | |
1540 | errorsound = Instance.new("Sound", Part78) | |
1541 | errorsound.Volume = 2 | |
1542 | errorsound.Name = "ASDASDASDASDACOMINE" | |
1543 | errorsound.SoundId = "rbxassetid://1388726556" | |
1544 | errorsound.Pitch = 0.5 | |
1545 | errorsound:Play() | |
1546 | else | |
1547 | errorsound = Part78:FindFirstChild("ASDASDASDASDACOMINE") | |
1548 | errorsound:Play() | |
1549 | end | |
1550 | if not Part80:FindFirstChild("ASDASDASDASDACOMINE") then | |
1551 | errorsound2 = Instance.new("Sound", Part80) | |
1552 | errorsound2.Volume = 2 | |
1553 | errorsound2.Name = "ASDASDASDASDACOMINE" | |
1554 | errorsound2.SoundId = "rbxassetid://1388726556" | |
1555 | errorsound2.Pitch = 0.5 | |
1556 | errorsound2:Play() | |
1557 | else | |
1558 | errorsound2 = Part80:FindFirstChild("ASDASDASDASDACOMINE") | |
1559 | errorsound2:Play() | |
1560 | end | |
1561 | freezepar.Enabled = true | |
1562 | freezepar2.Enabled = true | |
1563 | wait(0.15) | |
1564 | freezepar.Enabled = false | |
1565 | freezepar2.Enabled = false | |
1566 | wait(0.2) | |
1567 | freezepar.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 255, 255))}) | |
1568 | freezepar2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 255, 255))}) | |
1569 | attacking = false | |
1570 | end | |
1571 | end | |
1572 | ||
1573 | function Reload() | |
1574 | if attacking == false and Reloading == false and stage > 0 and Snowconing == false then | |
1575 | attacking = true | |
1576 | Reloading = true | |
1577 | hum.WalkSpeed = 0 | |
1578 | hum.JumpPower = 0 | |
1579 | for i = 0,1,.15 do | |
1580 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, Rad(20)), i) | |
1581 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
1582 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(5), 0, 0), i) | |
1583 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(60), 0, Rad(55)), i) | |
1584 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
1585 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1586 | neck.C0 = clerp(neck.C0, neck0, i) | |
1587 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1588 | LS.C0 = clerp(LS.C0, LS0, i) | |
1589 | RS.C0 = clerp(RS.C0, RS0, i) | |
1590 | LH.C0 = clerp(LH.C0, LH0, i) | |
1591 | RH.C0 = clerp(RH.C0, RH0, i) | |
1592 | swait() | |
1593 | end | |
1594 | if not rarm:FindFirstChild("BUMPBUMP") then | |
1595 | relsound = Instance.new("Sound", rightglove) | |
1596 | relsound.SoundId = "rbxassetid://1874401444" | |
1597 | relsound.Volume = 2 | |
1598 | relsound:Play() | |
1599 | else | |
1600 | relsound = rarm:FindFirstChild("BUMPBUMP") | |
1601 | relsound:Play() | |
1602 | end | |
1603 | for i = 0,1,.15 do | |
1604 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-25), 0, Rad(20)), i) | |
1605 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
1606 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(5), 0, 0), i) | |
1607 | RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(55)), i) | |
1608 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
1609 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1610 | neck.C0 = clerp(neck.C0, neck0, i) | |
1611 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1612 | LS.C0 = clerp(LS.C0, LS0, i) | |
1613 | RS.C0 = clerp(RS.C0, RS0, i) | |
1614 | LH.C0 = clerp(LH.C0, LH0, i) | |
1615 | RH.C0 = clerp(RH.C0, RH0, i) | |
1616 | swait() | |
1617 | end | |
1618 | for i = 0,1,.15 do | |
1619 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, Rad(20)), i) | |
1620 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
1621 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(5), 0, 0), i) | |
1622 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(60), 0, Rad(55)), i) | |
1623 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
1624 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1625 | neck.C0 = clerp(neck.C0, neck0, i) | |
1626 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1627 | LS.C0 = clerp(LS.C0, LS0, i) | |
1628 | RS.C0 = clerp(RS.C0, RS0, i) | |
1629 | LH.C0 = clerp(LH.C0, LH0, i) | |
1630 | RH.C0 = clerp(RH.C0, RH0, i) | |
1631 | swait() | |
1632 | end | |
1633 | relsound:Play() | |
1634 | for i = 0,1,.15 do | |
1635 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-25), 0, Rad(20)), i) | |
1636 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
1637 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(5), 0, 0), i) | |
1638 | RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(55)), i) | |
1639 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
1640 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1641 | neck.C0 = clerp(neck.C0, neck0, i) | |
1642 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1643 | LS.C0 = clerp(LS.C0, LS0, i) | |
1644 | RS.C0 = clerp(RS.C0, RS0, i) | |
1645 | LH.C0 = clerp(LH.C0, LH0, i) | |
1646 | RH.C0 = clerp(RH.C0, RH0, i) | |
1647 | swait() | |
1648 | end | |
1649 | hum.WalkSpeed = nws | |
1650 | hum.JumpPower = jp | |
1651 | stage = 0 | |
1652 | Reloading = false | |
1653 | attacking = false | |
1654 | elseif attacking == false and Reloading == false and stage >= 1 and Snowconing == true then | |
1655 | attacking = true | |
1656 | Reloading = true | |
1657 | hum.WalkSpeed = 0 | |
1658 | hum.JumpPower = 0 | |
1659 | for i = 0,1,.15 do | |
1660 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, Rad(20)), i) | |
1661 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
1662 | LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.2, 0.2) * CFa(Rad(-5), Rad(10), Rad(70)), 0.15) | |
1663 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(60), 0, Rad(55)), i) | |
1664 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
1665 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1666 | neck.C0 = clerp(neck.C0, neck0, i) | |
1667 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1668 | LS.C0 = clerp(LS.C0, LS0, i) | |
1669 | RS.C0 = clerp(RS.C0, RS0, i) | |
1670 | LH.C0 = clerp(LH.C0, LH0, i) | |
1671 | RH.C0 = clerp(RH.C0, RH0, i) | |
1672 | swait() | |
1673 | end | |
1674 | for i = 0,1,.15 do | |
1675 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-25), 0, Rad(20)), i) | |
1676 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
1677 | LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.2, 0.2) * CFa(Rad(-5), Rad(10), Rad(70)), 0.15) | |
1678 | RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(55)), i) | |
1679 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
1680 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1681 | neck.C0 = clerp(neck.C0, neck0, i) | |
1682 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1683 | LS.C0 = clerp(LS.C0, LS0, i) | |
1684 | RS.C0 = clerp(RS.C0, RS0, i) | |
1685 | LH.C0 = clerp(LH.C0, LH0, i) | |
1686 | RH.C0 = clerp(RH.C0, RH0, i) | |
1687 | swait() | |
1688 | end | |
1689 | for i = 0,1,.15 do | |
1690 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, Rad(20)), i) | |
1691 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
1692 | LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.2, 0.2) * CFa(Rad(-5), Rad(10), Rad(70)), 0.15) | |
1693 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(60), 0, Rad(55)), i) | |
1694 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
1695 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1696 | neck.C0 = clerp(neck.C0, neck0, i) | |
1697 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1698 | LS.C0 = clerp(LS.C0, LS0, i) | |
1699 | RS.C0 = clerp(RS.C0, RS0, i) | |
1700 | LH.C0 = clerp(LH.C0, LH0, i) | |
1701 | RH.C0 = clerp(RH.C0, RH0, i) | |
1702 | swait() | |
1703 | end | |
1704 | for i = 0,1,.15 do | |
1705 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-25), 0, Rad(20)), i) | |
1706 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
1707 | LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.2, 0.2) * CFa(Rad(-5), Rad(10), Rad(70)), 0.15) | |
1708 | RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(55)), i) | |
1709 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
1710 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1711 | neck.C0 = clerp(neck.C0, neck0, i) | |
1712 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1713 | LS.C0 = clerp(LS.C0, LS0, i) | |
1714 | RS.C0 = clerp(RS.C0, RS0, i) | |
1715 | LH.C0 = clerp(LH.C0, LH0, i) | |
1716 | RH.C0 = clerp(RH.C0, RH0, i) | |
1717 | swait() | |
1718 | end | |
1719 | hum.WalkSpeed = nws | |
1720 | hum.JumpPower = jp | |
1721 | stage = 0 | |
1722 | Reloading = false | |
1723 | attacking = false | |
1724 | end | |
1725 | end | |
1726 | ||
1727 | function Snowcone() | |
1728 | if attacking == false and Snowconing == false and makingCone == false and 4 - stage >= 0.25 then | |
1729 | attacking = true | |
1730 | makingCone = true | |
1731 | hum.WalkSpeed = 2 | |
1732 | hum.JumpPower = 5 | |
1733 | snowcone = Instance.new("Model", char) | |
1734 | cone = Instance.new("Part", snowcone) | |
1735 | cone.Size = Vector3.new(0.8, 0.8, 0.8) | |
1736 | cone.CanCollide = false | |
1737 | cone.BrickColor = BrickColor.new("Institutional white") | |
1738 | cone.Material = "SmoothPlastic" | |
1739 | local conem = Instance.new("SpecialMesh", cone) | |
1740 | conem.MeshId = "rbxassetid://1182397201" | |
1741 | conem.Scale = Vector3.new(0.8, 0.8, 1.2) | |
1742 | conew = Instance.new("Weld", cone) | |
1743 | conew.Part0 = larm | |
1744 | conew.Part1 = cone | |
1745 | conew.Name = "himynameisWELDiweldlarmandcone" | |
1746 | conew.C1 = CFn(0, 1, 0) | |
1747 | if not Part78:FindFirstChild("SPOOOOS") then | |
1748 | spraysound = Instance.new("Sound", Part78) | |
1749 | spraysound.SoundId = "rbxassetid://843338638" | |
1750 | spraysound.Looped = true | |
1751 | spraysound.Volume = 2 | |
1752 | spraysound.Name = "SPOOOOS" | |
1753 | spraysound:Play() | |
1754 | else | |
1755 | spraysound = Part78:FindFirstChild("SPOOOOS") | |
1756 | spraysound:Play() | |
1757 | end | |
1758 | freezepar2.Enabled = true | |
1759 | for i = 0,1,.1 do | |
1760 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-20), 0, Rad(-20)), i) | |
1761 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
1762 | LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(-35)), i) | |
1763 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), i) | |
1764 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
1765 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1766 | neck.C0 = clerp(neck.C0, neck0, i) | |
1767 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1768 | LS.C0 = clerp(LS.C0, LS0, i) | |
1769 | RS.C0 = clerp(RS.C0, RS0, i) | |
1770 | LH.C0 = clerp(LH.C0, LH0, i) | |
1771 | RH.C0 = clerp(RH.C0, RH0, i) | |
1772 | swait() | |
1773 | end | |
1774 | yum = Instance.new("Part", snowcone) | |
1775 | yum.Size = Vector3.new(0.85, 0.85, 0.85) | |
1776 | yum.Shape = "Ball" | |
1777 | yum.BrickColor = BrickColor.new("Institutional white") | |
1778 | yum.Material = "Sand" | |
1779 | yum.CanCollide = false | |
1780 | local yumw = Instance.new("Weld", cone) | |
1781 | yumw.Part0 = cone | |
1782 | yumw.Part1 = yum | |
1783 | yumw.C1 = CFn(0, 0,-0.8) | |
1784 | freezepar2.Enabled = false | |
1785 | spraysound:Stop() | |
1786 | stage = stage + 0.25 | |
1787 | if not leftglove:FindFirstChild("SPINSPINROUNDROUNDDD") then | |
1788 | local SPINSOUND = Instance.new("Sound", leftglove) | |
1789 | SPINSOUND.SoundId = "rbxassetid://158475221" | |
1790 | SPINSOUND.Name = "SPINSPINROUNDROUNDDD" | |
1791 | SPINSOUND.Volume = 2 | |
1792 | SPINSOUND:Play() | |
1793 | else | |
1794 | local SPINSOUND = leftglove:FindFirstChild("SPINSPINROUNDROUNDDD") | |
1795 | SPINSOUND:Play() | |
1796 | end | |
1797 | for i = 0,1,.15 do | |
1798 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), i) | |
1799 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
1800 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-5), 0, Rad(55)), i) | |
1801 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(50), 0, Rad(-55)), i) | |
1802 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
1803 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1804 | neck.C0 = clerp(neck.C0, neck0, i) | |
1805 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1806 | LS.C0 = clerp(LS.C0, LS0, i) | |
1807 | RS.C0 = clerp(RS.C0, RS0, i) | |
1808 | LH.C0 = clerp(LH.C0, LH0, i) | |
1809 | RH.C0 = clerp(RH.C0, RH0, i) | |
1810 | conew.C1 = clerp(conew.C1, CFn(0, 1, 0) * CFa(0, Rad(yumrot), 0), i) | |
1811 | swait() | |
1812 | end | |
1813 | for i = 0,1,.1 do | |
1814 | conew.C1 = clerp(conew.C1, CFn(0, 1, 0) * CFa(0, Rad(yumrot), 0), i) | |
1815 | swait() | |
1816 | end | |
1817 | if not leftglove:FindFirstChild("SMACKK") then | |
1818 | local SMACKSOUND = Instance.new("Sound", leftglove) | |
1819 | SMACKSOUND.SoundId = "rbxassetid://511340819" | |
1820 | SMACKSOUND.Name = "SMACKK" | |
1821 | SMACKSOUND.Volume = 2 | |
1822 | SMACKSOUND:Play() | |
1823 | else | |
1824 | local SMACKSOUND = leftglove:FindFirstChild("SMACKK") | |
1825 | SMACKSOUND:Play() | |
1826 | end | |
1827 | for i = 0,1,.1 do | |
1828 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), i) | |
1829 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
1830 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-50), 0, Rad(70)), i) | |
1831 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(-50), 0, Rad(-70)), i) | |
1832 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
1833 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1834 | neck.C0 = clerp(neck.C0, neck0, i) | |
1835 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1836 | LS.C0 = clerp(LS.C0, LS0, i) | |
1837 | RS.C0 = clerp(RS.C0, RS0, i) | |
1838 | LH.C0 = clerp(LH.C0, LH0, i) | |
1839 | RH.C0 = clerp(RH.C0, RH0, i) | |
1840 | conew.C1 = clerp(conew.C1, CFn(0, 1, 0) * CFa(0, Rad(180), 0), i) | |
1841 | swait() | |
1842 | end | |
1843 | hum.WalkSpeed = nws | |
1844 | hum.JumpPower = jp | |
1845 | makingCone = false | |
1846 | Snowconing = true | |
1847 | attacking = false | |
1848 | elseif attacking == false and 4 - stage < 0.25 and Snowconing == false then | |
1849 | attacking = true | |
1850 | freezepar.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 0, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))}) | |
1851 | freezepar2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 0, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))}) | |
1852 | if not Part78:FindFirstChild("ASDASDASDASDACOMINE") then | |
1853 | errorsound = Instance.new("Sound", Part78) | |
1854 | errorsound.Volume = 2 | |
1855 | errorsound.Name = "ASDASDASDASDACOMINE" | |
1856 | errorsound.SoundId = "rbxassetid://1388726556" | |
1857 | errorsound.Pitch = 0.5 | |
1858 | errorsound:Play() | |
1859 | else | |
1860 | errorsound = Part78:FindFirstChild("ASDASDASDASDACOMINE") | |
1861 | errorsound:Play() | |
1862 | end | |
1863 | if not Part80:FindFirstChild("ASDASDASDASDACOMINE") then | |
1864 | errorsound2 = Instance.new("Sound", Part80) | |
1865 | errorsound2.Volume = 2 | |
1866 | errorsound2.Name = "ASDASDASDASDACOMINE" | |
1867 | errorsound2.SoundId = "rbxassetid://1388726556" | |
1868 | errorsound2.Pitch = 0.5 | |
1869 | errorsound2:Play() | |
1870 | else | |
1871 | errorsound2 = Part80:FindFirstChild("ASDASDASDASDACOMINE") | |
1872 | errorsound2:Play() | |
1873 | end | |
1874 | freezepar.Enabled = true | |
1875 | freezepar2.Enabled = true | |
1876 | wait(0.15) | |
1877 | freezepar.Enabled = false | |
1878 | freezepar2.Enabled = false | |
1879 | wait(0.2) | |
1880 | freezepar.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 255, 255))}) | |
1881 | freezepar2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 255, 255))}) | |
1882 | attacking = false | |
1883 | end | |
1884 | end | |
1885 | ||
1886 | function Eat() | |
1887 | if attacking == false and Snowconing == true and Eating == false then | |
1888 | attacking = true | |
1889 | Eating = true | |
1890 | hum.WalkSpeed = 2 | |
1891 | hum.JumpPower = 5 | |
1892 | for i = 0,1,.1 do | |
1893 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-10), 0, 0), i) | |
1894 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
1895 | LS.C1 = clerp(LS.C1, LS1 * CFn(0, -0.2, 0) * CFa(Rad(-55), Rad(40), Rad(120)), i) | |
1896 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(40), 0, 0), i) | |
1897 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
1898 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1899 | neck.C0 = clerp(neck.C0, neck0, i) | |
1900 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1901 | LS.C0 = clerp(LS.C0, LS0, i) | |
1902 | RS.C0 = clerp(RS.C0, RS0, i) | |
1903 | LH.C0 = clerp(LH.C0, LH0, i) | |
1904 | RH.C0 = clerp(RH.C0, RH0, i) | |
1905 | swait() | |
1906 | end | |
1907 | if not head:FindFirstChild("URMINENOW") then | |
1908 | local licksound = Instance.new("Sound", head) | |
1909 | licksound.SoundId = "rbxassetid://1162994853" | |
1910 | licksound.Name = "URMINENOW" | |
1911 | licksound.Volume = 2 | |
1912 | licksound:Play() | |
1913 | else | |
1914 | local licksound = head:FindFirstChild("URMINENOW") | |
1915 | licksound:Play() | |
1916 | end | |
1917 | for i = 0,1,.1 do | |
1918 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(10), 0, 0), i) | |
1919 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
1920 | LS.C1 = clerp(LS.C1, LS1 * CFn(0, -0.2, 0) * CFa(Rad(-55), Rad(30), Rad(100)), i) | |
1921 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(40), 0, 0), i) | |
1922 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
1923 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1924 | neck.C0 = clerp(neck.C0, neck0, i) | |
1925 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1926 | LS.C0 = clerp(LS.C0, LS0, i) | |
1927 | RS.C0 = clerp(RS.C0, RS0, i) | |
1928 | LH.C0 = clerp(LH.C0, LH0, i) | |
1929 | RH.C0 = clerp(RH.C0, RH0, i) | |
1930 | swait() | |
1931 | end | |
1932 | hum.Health = hum.Health + 20 | |
1933 | eatstage = eatstage - 1 | |
1934 | if eatstage <= 0 then | |
1935 | snowcone:Destroy() | |
1936 | Snowconing = false | |
1937 | eatstage = 6 | |
1938 | end | |
1939 | hum.WalkSpeed = nws | |
1940 | hum.JumpPower = jp | |
1941 | Eating = false | |
1942 | attacking = false | |
1943 | end | |
1944 | end | |
1945 | ||
1946 | function ThrowAway() | |
1947 | if attacking == false and ThrowingAway == false and Snowconing == true then | |
1948 | attacking = true | |
1949 | ThrowingAway = true | |
1950 | hum.WalkSpeed = 2 | |
1951 | hum.JumpPower = 5 | |
1952 | eatstage = 6 | |
1953 | for i = 0,1,.1 do | |
1954 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-15), 0, 0), i) | |
1955 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
1956 | LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(10)), i) | |
1957 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), i) | |
1958 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
1959 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1960 | neck.C0 = clerp(neck.C0, neck0, i) | |
1961 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1962 | LS.C0 = clerp(LS.C0, LS0, i) | |
1963 | RS.C0 = clerp(RS.C0, RS0, i) | |
1964 | LH.C0 = clerp(LH.C0, LH0, i) | |
1965 | RH.C0 = clerp(RH.C0, RH0, i) | |
1966 | swait() | |
1967 | end | |
1968 | if not leftglove:FindFirstChild("REKTLOLOLOLOL") then | |
1969 | local throwawaysound = Instance.new("Sound", leftglove) | |
1970 | throwawaysound.SoundId = "rbxassetid://711753382" | |
1971 | throwawaysound.Name = "REKTLOLOLOLOL" | |
1972 | throwawaysound.Volume = 2 | |
1973 | throwawaysound:Play() | |
1974 | else | |
1975 | local throwawaysound = leftglove:FindFirstChild("REKTLOLOLOLOL") | |
1976 | throwawaysound:Play() | |
1977 | end | |
1978 | snowcone.Parent = workspace | |
1979 | cone.CanCollide = true | |
1980 | yum.CanCollide = true | |
1981 | conew:Destroy() | |
1982 | local dis2 = (cone.Position - Mouse.Hit.p).unit * -1 | |
1983 | cone.Velocity = dis2 * 70 + Vector3.new(0, 2, 0) | |
1984 | local coneBF = Instance.new("BodyForce", cone) | |
1985 | coneBF.force = Vector3.new(0, cone:GetMass() * 70, 0) | |
1986 | game:GetService("Debris"):AddItem(snowcone, 6) | |
1987 | for i = 0,1,.1 do | |
1988 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), i) | |
1989 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
1990 | LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(40)), i) | |
1991 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), i) | |
1992 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
1993 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
1994 | neck.C0 = clerp(neck.C0, neck0, i) | |
1995 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
1996 | LS.C0 = clerp(LS.C0, LS0, i) | |
1997 | RS.C0 = clerp(RS.C0, RS0, i) | |
1998 | LH.C0 = clerp(LH.C0, LH0, i) | |
1999 | RH.C0 = clerp(RH.C0, RH0, i) | |
2000 | swait() | |
2001 | end | |
2002 | hum.WalkSpeed = nws | |
2003 | hum.JumpPower = jp | |
2004 | ThrowingAway = false | |
2005 | Snowconing = false | |
2006 | attacking = false | |
2007 | end | |
2008 | end | |
2009 | ||
2010 | function snowMAN() | |
2011 | if attacking == false and snowmanning == false and 4 - stage >= 1 and Snowconing == false then | |
2012 | attacking = true | |
2013 | snowmanning = true | |
2014 | hum.WalkSpeed = 2 | |
2015 | hum.JumpPower = 5 | |
2016 | stage = stage + 1 | |
2017 | ||
2018 | local snowmanbottom = Instance.new("Part", char) | |
2019 | snowmanbottom.Shape = "Ball" | |
2020 | snowmanbottom.BrickColor = BrickColor.new("Institutional white") | |
2021 | snowmanbottom.Material = "Sand" | |
2022 | snowmanbottom.CanCollide = false | |
2023 | snowmanbottom.Locked = true | |
2024 | snowmanbottom.Size = Vector3.new(0.1, 0.1, 0.1) | |
2025 | local bottomsound = Instance.new("Sound", snowmanbottom) | |
2026 | bottomsound.Volume = 3 | |
2027 | bottomsound.Name = "finallyifoundahitsoundGOD1" | |
2028 | bottomsound.SoundId = "rbxassetid://1874310149" | |
2029 | local snowmanbottomM = Instance.new("SpecialMesh", snowmanbottom) | |
2030 | snowmanbottomM.MeshType = "Sphere" | |
2031 | local snowmanbottomW = Instance.new("Weld", snowmanbottom) | |
2032 | snowmanbottomW.Part0 = rarm | |
2033 | snowmanbottomW.Part1 = snowmanbottom | |
2034 | snowmanbottomW.C1 = CFn(0, 1, 0) | |
2035 | if not Part80:FindFirstChild("SPOOOOS") then | |
2036 | spraysound = Instance.new("Sound", Part80) | |
2037 | spraysound.SoundId = "rbxassetid://843338638" | |
2038 | spraysound.Looped = true | |
2039 | spraysound.Volume = 2 | |
2040 | spraysound.Name = "SPOOOOS" | |
2041 | spraysound:Play() | |
2042 | else | |
2043 | spraysound = Part80:FindFirstChild("SPOOOOS") | |
2044 | spraysound:Play() | |
2045 | end | |
2046 | freezepar.Enabled = true | |
2047 | for i = 0,1,.2 do | |
2048 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-20), 0, Rad(20)), i) | |
2049 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
2050 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i) | |
2051 | RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(35)), i) | |
2052 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
2053 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
2054 | neck.C0 = clerp(neck.C0, neck0, i) | |
2055 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
2056 | LS.C0 = clerp(LS.C0, LS0, i) | |
2057 | RS.C0 = clerp(RS.C0, RS0, i) | |
2058 | LH.C0 = clerp(LH.C0, LH0, i) | |
2059 | RH.C0 = clerp(RH.C0, RH0, i) | |
2060 | swait() | |
2061 | end | |
2062 | freezepar.Enabled = false | |
2063 | spraysound:Stop() | |
2064 | for i = 0,1,.2 do | |
2065 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), i) | |
2066 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
2067 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(5), 0, 0), i) | |
2068 | RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(-170)), i) | |
2069 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
2070 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
2071 | neck.C0 = clerp(neck.C0, neck0, i) | |
2072 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
2073 | LS.C0 = clerp(LS.C0, LS0, i) | |
2074 | RS.C0 = clerp(RS.C0, RS0, i) | |
2075 | LH.C0 = clerp(LH.C0, LH0, i) | |
2076 | RH.C0 = clerp(RH.C0, RH0, i) | |
2077 | snowmanbottomM.Scale = clerp(snowmanbottomM.Scale, Vector3.new(45, 45, 45), i) | |
2078 | swait() | |
2079 | end | |
2080 | snowmanbottomW.Part0 = nil | |
2081 | snowmanbottomW.Part1 = nil | |
2082 | snowmanbottom.Anchored = true | |
2083 | for i = 0,1,.2 do | |
2084 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), i) | |
2085 | rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-20), 0, 0), i) | |
2086 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-5), 0, Rad(10)), i) | |
2087 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(-15), 0, Rad(-85)), i) | |
2088 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, Rad(-50)), i) | |
2089 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, Rad(-20)), i) | |
2090 | neck.C0 = clerp(neck.C0, neck0, i) | |
2091 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
2092 | LS.C0 = clerp(LS.C0, LS0, i) | |
2093 | RS.C0 = clerp(RS.C0, RS0, i) | |
2094 | LH.C0 = clerp(LH.C0, LH0, i) | |
2095 | RH.C0 = clerp(RH.C0, RH0, i) | |
2096 | snowmanbottom.CFrame = clerp(snowmanbottom.CFrame, tor.CFrame * CFn(0, 0.3, -4), i) | |
2097 | swait() | |
2098 | end | |
2099 | local snowmanMod = Instance.new("Model", workspace) | |
2100 | snowmanMod.Name = "THESNOWMANMADEBYSNOWMACHINEPROTOTYPEAAAAAAAAAAA" | |
2101 | snowmanbottom.Parent = snowmanMod | |
2102 | snowmanbottom.CFrame = tor.CFrame * CFn(0, 0.3, -4) | |
2103 | bottomsound:Play() | |
2104 | snowmanbottom.CanCollide = true | |
2105 | ||
2106 | local snowmanmid = Instance.new("Part", char) | |
2107 | snowmanmid.Shape = "Ball" | |
2108 | snowmanmid.BrickColor = BrickColor.new("Institutional white") | |
2109 | snowmanmid.Material = "Sand" | |
2110 | snowmanmid.CanCollide = false | |
2111 | snowmanmid.Locked = true | |
2112 | snowmanmid.Size = Vector3.new(0.1, 0.1, 0.1) | |
2113 | local midsound = Instance.new("Sound", snowmanmid) | |
2114 | midsound.Volume = 3 | |
2115 | midsound.Name = "finallyifoundahitsoundGOD2" | |
2116 | midsound.SoundId = "rbxassetid://1874310149" | |
2117 | local snowmanmidM = Instance.new("SpecialMesh", snowmanmid) | |
2118 | snowmanmidM.MeshType = "Sphere" | |
2119 | local snowmanmidW = Instance.new("Weld", snowmanmid) | |
2120 | snowmanmidW.Part0 = larm | |
2121 | snowmanmidW.Part1 = snowmanmid | |
2122 | snowmanmidW.C1 = CFn(0, 1, 0) | |
2123 | if not Part78:FindFirstChild("SPOOOOS") then | |
2124 | spraysound = Instance.new("Sound", Part78) | |
2125 | spraysound.SoundId = "rbxassetid://843338638" | |
2126 | spraysound.Looped = true | |
2127 | spraysound.Volume = 2 | |
2128 | spraysound.Name = "SPOOOOS" | |
2129 | spraysound:Play() | |
2130 | else | |
2131 | spraysound = Part78:FindFirstChild("SPOOOOS") | |
2132 | spraysound:Play() | |
2133 | end | |
2134 | freezepar2.Enabled = true | |
2135 | for i = 0,1,.2 do | |
2136 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-20), 0, Rad(20)), i) | |
2137 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
2138 | LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(-35)), i) | |
2139 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), i) | |
2140 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
2141 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
2142 | neck.C0 = clerp(neck.C0, neck0, i) | |
2143 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
2144 | LS.C0 = clerp(LS.C0, LS0, i) | |
2145 | RS.C0 = clerp(RS.C0, RS0, i) | |
2146 | LH.C0 = clerp(LH.C0, LH0, i) | |
2147 | RH.C0 = clerp(RH.C0, RH0, i) | |
2148 | swait() | |
2149 | end | |
2150 | freezepar2.Enabled = false | |
2151 | spraysound:Stop() | |
2152 | for i = 0,1,.2 do | |
2153 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), i) | |
2154 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
2155 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(5), 0, Rad(170)), i) | |
2156 | RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, 0), i) | |
2157 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
2158 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
2159 | neck.C0 = clerp(neck.C0, neck0, i) | |
2160 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
2161 | LS.C0 = clerp(LS.C0, LS0, i) | |
2162 | RS.C0 = clerp(RS.C0, RS0, i) | |
2163 | LH.C0 = clerp(LH.C0, LH0, i) | |
2164 | RH.C0 = clerp(RH.C0, RH0, i) | |
2165 | snowmanmidM.Scale = clerp(snowmanmidM.Scale, Vector3.new(30, 30, 30), i) | |
2166 | swait() | |
2167 | end | |
2168 | snowmanmidW.Part0 = nil | |
2169 | snowmanmidW.Part1 = nil | |
2170 | snowmanmid.Anchored = true | |
2171 | for i = 0,1,.2 do | |
2172 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), i) | |
2173 | rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-20), 0, 0), i) | |
2174 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-15), 0, Rad(115)), i) | |
2175 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(-5), 0, Rad(-10)), i) | |
2176 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, Rad(20)), i) | |
2177 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, Rad(50)), i) | |
2178 | neck.C0 = clerp(neck.C0, neck0, i) | |
2179 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
2180 | LS.C0 = clerp(LS.C0, LS0, i) | |
2181 | RS.C0 = clerp(RS.C0, RS0, i) | |
2182 | LH.C0 = clerp(LH.C0, LH0, i) | |
2183 | RH.C0 = clerp(RH.C0, RH0, i) | |
2184 | snowmanmid.Position = clerp(snowmanmid.Position, snowmanbottom.Position + Vector3.new(0, 2.5, 0), i) | |
2185 | swait() | |
2186 | end | |
2187 | snowmanmid.Parent = snowmanMod | |
2188 | snowmanmid.Position = snowmanbottom.Position + Vector3.new(0, 2.5, 0) | |
2189 | midsound:Play() | |
2190 | snowmanmid.CanCollide = true | |
2191 | ||
2192 | local snowmantop = Instance.new("Part", char) | |
2193 | snowmantop.Shape = "Ball" | |
2194 | snowmantop.BrickColor = BrickColor.new("Institutional white") | |
2195 | snowmantop.Material = "Sand" | |
2196 | snowmantop.CanCollide = false | |
2197 | snowmantop.Locked = true | |
2198 | snowmantop.Size = Vector3.new(0.1, 0.1, 0.1) | |
2199 | local topsound = Instance.new("Sound", snowmantop) | |
2200 | topsound.Volume = 3 | |
2201 | topsound.Name = "finallyifoundahitsoundGOD3" | |
2202 | topsound.SoundId = "rbxassetid://1874310149" | |
2203 | local snowmantopM = Instance.new("SpecialMesh", snowmantop) | |
2204 | snowmantopM.MeshType = "Sphere" | |
2205 | local snowmantopW = Instance.new("Weld", snowmantop) | |
2206 | snowmantopW.Part0 = rarm | |
2207 | snowmantopW.Part1 = snowmantop | |
2208 | snowmantopW.C1 = CFn(0, 1, 0) | |
2209 | if not Part80:FindFirstChild("SPOOOOS") then | |
2210 | spraysound = Instance.new("Sound", Part80) | |
2211 | spraysound.SoundId = "rbxassetid://843338638" | |
2212 | spraysound.Looped = true | |
2213 | spraysound.Volume = 2 | |
2214 | spraysound.Name = "SPOOOOS" | |
2215 | spraysound:Play() | |
2216 | else | |
2217 | spraysound = Part80:FindFirstChild("SPOOOOS") | |
2218 | spraysound:Play() | |
2219 | end | |
2220 | freezepar.Enabled = true | |
2221 | for i = 0,1,.2 do | |
2222 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-20), 0, Rad(20)), i) | |
2223 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
2224 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i) | |
2225 | RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(35)), i) | |
2226 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
2227 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
2228 | neck.C0 = clerp(neck.C0, neck0, i) | |
2229 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
2230 | LS.C0 = clerp(LS.C0, LS0, i) | |
2231 | RS.C0 = clerp(RS.C0, RS0, i) | |
2232 | LH.C0 = clerp(LH.C0, LH0, i) | |
2233 | RH.C0 = clerp(RH.C0, RH0, i) | |
2234 | swait() | |
2235 | end | |
2236 | freezepar.Enabled = false | |
2237 | spraysound:Stop() | |
2238 | for i = 0,1,.2 do | |
2239 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), i) | |
2240 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
2241 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(5), 0, 0), i) | |
2242 | RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(-170)), i) | |
2243 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i) | |
2244 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i) | |
2245 | neck.C0 = clerp(neck.C0, neck0, i) | |
2246 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
2247 | LS.C0 = clerp(LS.C0, LS0, i) | |
2248 | RS.C0 = clerp(RS.C0, RS0, i) | |
2249 | LH.C0 = clerp(LH.C0, LH0, i) | |
2250 | RH.C0 = clerp(RH.C0, RH0, i) | |
2251 | snowmantopM.Scale = clerp(snowmantopM.Scale, Vector3.new(20, 20, 20), i) | |
2252 | swait() | |
2253 | end | |
2254 | snowmantopW.Part0 = nil | |
2255 | snowmantopW.Part1 = nil | |
2256 | snowmantop.Anchored = true | |
2257 | for i = 0,1,.2 do | |
2258 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), i) | |
2259 | rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-20), 0, 0), i) | |
2260 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-5), 0, Rad(10)), i) | |
2261 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(-15), 0, Rad(-85)), i) | |
2262 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, Rad(-50)), i) | |
2263 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, Rad(-20)), i) | |
2264 | neck.C0 = clerp(neck.C0, neck0, i) | |
2265 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
2266 | LS.C0 = clerp(LS.C0, LS0, i) | |
2267 | RS.C0 = clerp(RS.C0, RS0, i) | |
2268 | LH.C0 = clerp(LH.C0, LH0, i) | |
2269 | RH.C0 = clerp(RH.C0, RH0, i) | |
2270 | snowmantop.Position = clerp(snowmantop.Position, snowmanmid.Position + Vector3.new(0, 2, 0), i) | |
2271 | swait() | |
2272 | end | |
2273 | snowmantop.Parent = snowmanMod | |
2274 | snowmantop.Position = snowmanmid.Position + Vector3.new(0, 2, 0) | |
2275 | topsound:Play() | |
2276 | snowmantop.CanCollide = true | |
2277 | if snowmanMod then | |
2278 | game:GetService("Debris"):AddItem(snowmanMod, 60) | |
2279 | local EYESONU = FindNearestTorso(snowmanmid.Position) | |
2280 | coroutine.resume(coroutine.create(function() | |
2281 | if EYESONU ~= nil then | |
2282 | for i = 1, math.huge do | |
2283 | wait(1) | |
2284 | BallDamage2 = math.random(5, 15) | |
2285 | EYESONU = FindNearestTorso(snowmanmid.Position) | |
2286 | local snowmanball = Instance.new("Part", snowmanMod) | |
2287 | snowmanball.Shape = "Ball" | |
2288 | snowmanball.Size = Vector3.new(0.8, 0.8, 0.8) | |
2289 | snowmanball.Material = "Sand" | |
2290 | snowmanball.CanCollide = false | |
2291 | snowmanball.BrickColor = BrickColor.new("Institutional white") | |
2292 | snowmanball.Locked = true | |
2293 | snowmanball.CFrame = snowmanmid.CFrame | |
2294 | local dis = (snowmanball.Position - EYESONU.CFrame.p).unit * -1 | |
2295 | snowmanball.Velocity = dis * 200 + Vector3.new(0, 10, 0) | |
2296 | local snowmanballBF = Instance.new("BodyForce", snowmanball) | |
2297 | snowmanballBF.force = Vector3.new(0, snowmanball:GetMass() * 140, 0) | |
2298 | local AT0 = Instance.new("Attachment", snowmanball) | |
2299 | AT0.Position = Vector3.new(-0.1, 0, 0) | |
2300 | local AT1 = Instance.new("Attachment", snowmanball) | |
2301 | AT1.Position = Vector3.new(0.1, 0, 0) | |
2302 | local snowmantrail = Instance.new("Trail", snowmanball) | |
2303 | snowmantrail.Attachment0 = AT0 | |
2304 | snowmantrail.Attachment1 = AT1 | |
2305 | snowmantrail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.4, 0), NumberSequenceKeypoint.new(1, 1, 0)}) | |
2306 | snowmantrail.Lifetime = 0.5 | |
2307 | snowmantrail.MaxLength = 50 | |
2308 | snowmantrail.MinLength = 0.05 | |
2309 | snowmantrail.WidthScale = NumberSequence.new({NumberSequenceKeypoint.new(0, 1, 0), NumberSequenceKeypoint.new(1, 0, 0)}) | |
2310 | game:GetService("Debris"):AddItem(snowmanball, 30) | |
2311 | snowmanball.Touched:connect(function(hit) | |
2312 | if not hit:IsDescendantOf(char) and hit.Parent.Name ~= "THESNOWMANMADEBYSNOWMACHINEPROTOTYPEAAAAAAAAAAA" then | |
2313 | if hit.Parent:FindFirstChildOfClass("Humanoid") then | |
2314 | hit.Material = "Sand" | |
2315 | hit.BrickColor = BrickColor.new("Institutional white") | |
2316 | local thrownhum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
2317 | thrownhum.Health = thrownhum.Health - BallDamage2 | |
2318 | elseif hit.Parent.Parent:FindFirstChildOfClass("Humanoid") then | |
2319 | hit.Material = "Sand" | |
2320 | hit.BrickColor = BrickColor.new("Institutional white") | |
2321 | local thrownhum = hit.Parent.Parent:FindFirstChildOfClass("Humanoid") | |
2322 | thrownhum.Health = thrownhum.Health - BallDamage2 | |
2323 | end | |
2324 | for i = 1,5 do | |
2325 | local ranAng = math.random(-360, 360) | |
2326 | local ranPos = math.random(-20, 20) | |
2327 | local ranPos2 = math.random(-20, 20) | |
2328 | local ranPos3 = math.random(-20, 20) | |
2329 | local snowf = Instance.new("Part", snowmanMod) | |
2330 | snowf.Size = Vector3.new(0.5, 0.3, 0.5) | |
2331 | snowf.Material = "Sand" | |
2332 | snowf.BrickColor = BrickColor.new("Institutional white") | |
2333 | snowf.Locked = true | |
2334 | snowf.CFrame = snowmanball.CFrame * CFa(ranAng, ranAng, ranAng) + Vector3.new(ranPos / 10, ranPos2 / 10, ranPos3 / 10) | |
2335 | game:GetService("Debris"):AddItem(snowf, 5) | |
2336 | end | |
2337 | snowmanball:Destroy() | |
2338 | end | |
2339 | end) | |
2340 | wait(1) | |
2341 | end | |
2342 | end | |
2343 | end)) | |
2344 | end | |
2345 | hum.WalkSpeed = nws | |
2346 | hum.JumpPower = jp | |
2347 | attacking = false | |
2348 | snowmanning = false | |
2349 | elseif attacking == false and 4 - stage < 1 then | |
2350 | attacking = true | |
2351 | freezepar.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 0, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))}) | |
2352 | freezepar2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 0, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))}) | |
2353 | if not Part78:FindFirstChild("ASDASDASDASDACOMINE") then | |
2354 | errorsound = Instance.new("Sound", Part78) | |
2355 | errorsound.Volume = 2 | |
2356 | errorsound.Name = "ASDASDASDASDACOMINE" | |
2357 | errorsound.SoundId = "rbxassetid://1388726556" | |
2358 | errorsound.Pitch = 0.5 | |
2359 | errorsound:Play() | |
2360 | else | |
2361 | errorsound = Part78:FindFirstChild("ASDASDASDASDACOMINE") | |
2362 | errorsound:Play() | |
2363 | end | |
2364 | if not Part80:FindFirstChild("ASDASDASDASDACOMINE") then | |
2365 | errorsound2 = Instance.new("Sound", Part80) | |
2366 | errorsound2.Volume = 2 | |
2367 | errorsound2.Name = "ASDASDASDASDACOMINE" | |
2368 | errorsound2.SoundId = "rbxassetid://1388726556" | |
2369 | errorsound2.Pitch = 0.5 | |
2370 | errorsound2:Play() | |
2371 | else | |
2372 | errorsound2 = Part80:FindFirstChild("ASDASDASDASDACOMINE") | |
2373 | errorsound2:Play() | |
2374 | end | |
2375 | freezepar.Enabled = true | |
2376 | freezepar2.Enabled = true | |
2377 | wait(0.15) | |
2378 | freezepar.Enabled = false | |
2379 | freezepar2.Enabled = false | |
2380 | wait(0.2) | |
2381 | freezepar.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 255, 255))}) | |
2382 | freezepar2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 255, 255))}) | |
2383 | attacking = false | |
2384 | end | |
2385 | end | |
2386 | ||
2387 | function SnowBlast() | |
2388 | if attacking == false and SnowBlasting == false and 4 - stage >= 0.5 then | |
2389 | attacking = true | |
2390 | SnowBlasting = true | |
2391 | hum.WalkSpeed = 2 | |
2392 | hum.JumpPower = 0 | |
2393 | stage = stage + 0.5 | |
2394 | for i = 0,1,.1 do | |
2395 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(40), 0, 0), i) | |
2396 | rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 1) * CFa(Rad(-55), 0, 0), i) | |
2397 | LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.2, 0.2) * CFa(0, 0, Rad(50)), i) | |
2398 | RS.C1 = clerp(RS.C1, RS1 * CFn(0, 0.2, 0.2) * CFa(0, 0, Rad(-50)), i) | |
2399 | LH.C1 = clerp(LH.C1, LH1 * CFn(1, -0.1, 0) * CFa(Rad(5), 0, Rad(60)), i) | |
2400 | RH.C1 = clerp(RH.C1, RH1 * CFn(-0.5, -0.3, 0) * CFa(Rad(5), 0, Rad(30)), i) | |
2401 | neck.C0 = clerp(neck.C0, neck0, i) | |
2402 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
2403 | LS.C0 = clerp(LS.C0, LS0, i) | |
2404 | RS.C0 = clerp(RS.C0, RS0, i) | |
2405 | LH.C0 = clerp(LH.C0, LH0, i) | |
2406 | RH.C0 = clerp(RH.C0, RH0, i) | |
2407 | swait() | |
2408 | end | |
2409 | local bv = Instance.new("BodyVelocity", tor) | |
2410 | bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
2411 | bv.Velocity = CFn(tor.Position).upVector * 110 | |
2412 | freezepar.Enabled = true | |
2413 | freezepar2.Enabled = true | |
2414 | local left = true | |
2415 | coroutine.resume(coroutine.create(function() | |
2416 | for i = 1,10 do | |
2417 | left = not left | |
2418 | local snowball = Instance.new("Part", char) | |
2419 | snowball.Size = Vector3.new(0.8, 0.8, 0.8) | |
2420 | snowball.Material = "Sand" | |
2421 | snowball.Shape = "Ball" | |
2422 | snowball.CanCollide = false | |
2423 | snowball.BrickColor = BrickColor.new("Institutional white") | |
2424 | snowball.Locked = true | |
2425 | if left == true then | |
2426 | snowball.CFrame = Part78.CFrame | |
2427 | else | |
2428 | snowball.CFrame = Part80.CFrame | |
2429 | end | |
2430 | local sbv = Instance.new("BodyVelocity", snowball) | |
2431 | sbv.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
2432 | sbv.Velocity = tor.CFrame.upVector * -220 | |
2433 | snowball.Touched:connect(function(hit) | |
2434 | if not hit:IsDescendantOf(char) then | |
2435 | if hit.Parent:FindFirstChildOfClass("Humanoid") then | |
2436 | hit.Material = "Sand" | |
2437 | BallDamage = 5 | |
2438 | local thrownhum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
2439 | thrownhum.Health = thrownhum.Health - BallDamage | |
2440 | elseif hit.Parent.Parent:FindFirstChildOfClass("Humanoid") then | |
2441 | hit.Material = "Sand" | |
2442 | BallDamage = 5 | |
2443 | local thrownhum = hit.Parent.Parent:FindFirstChildOfClass("Humanoid") | |
2444 | thrownhum.Health = thrownhum.Health - BallDamage | |
2445 | end | |
2446 | for i = 1,5 do | |
2447 | local ranAng = math.random(-360, 360) | |
2448 | local ranPos = math.random(-20, 20) | |
2449 | local ranPos2 = math.random(-20, 20) | |
2450 | local ranPos3 = math.random(-20, 20) | |
2451 | local snowf = Instance.new("Part", char) | |
2452 | snowf.Size = Vector3.new(0.5, 0.3, 0.5) | |
2453 | snowf.Material = "Sand" | |
2454 | snowf.BrickColor = BrickColor.new("Institutional white") | |
2455 | snowf.Locked = true | |
2456 | snowf.CFrame = snowball.CFrame * CFa(ranAng, ranAng, ranAng) + Vector3.new(ranPos / 10, ranPos2 / 10, ranPos3 / 10) | |
2457 | game:GetService("Debris"):AddItem(snowf, 5) | |
2458 | end | |
2459 | local snowballjustforthesound = snowball:Clone() | |
2460 | snowballjustforthesound.Parent = workspace | |
2461 | snowballjustforthesound.Anchored = true | |
2462 | snowball:Destroy() | |
2463 | snowballjustforthesound.Transparency = 1 | |
2464 | game:GetService("Debris"):AddItem(snowballjustforthesound, 0.3) | |
2465 | local snowhitsound = Instance.new("Sound", snowballjustforthesound) | |
2466 | snowhitsound.Volume = 3 | |
2467 | snowhitsound.Name = "finallyifoundahitsoundGOD" | |
2468 | snowhitsound.SoundId = "rbxassetid://1874310149" | |
2469 | snowhitsound:Play() | |
2470 | end | |
2471 | end) | |
2472 | wait(0.05) | |
2473 | end | |
2474 | end)) | |
2475 | for i = 0,1,.15 do | |
2476 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(30), 0, 0), i) | |
2477 | rootj.C1 = clerp(rootj.C1, rootj1, i) | |
2478 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i) | |
2479 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), i) | |
2480 | LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(10), 0, 0), i) | |
2481 | RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(10), 0, 0), i) | |
2482 | neck.C0 = clerp(neck.C0, neck0, i) | |
2483 | rootj.C0 = clerp(rootj.C0, rootj0, i) | |
2484 | LS.C0 = clerp(LS.C0, LS0, i) | |
2485 | RS.C0 = clerp(RS.C0, RS0, i) | |
2486 | LH.C0 = clerp(LH.C0, LH0, i) | |
2487 | RH.C0 = clerp(RH.C0, RH0, i) | |
2488 | swait() | |
2489 | end | |
2490 | wait(0.3) | |
2491 | bv:Destroy() | |
2492 | freezepar.Enabled = false | |
2493 | freezepar2.Enabled = false | |
2494 | hum.WalkSpeed = nws | |
2495 | hum.JumpPower = njp | |
2496 | SnowBlasting = false | |
2497 | attacking = false | |
2498 | elseif attacking == false and 4 - stage < 0.5 then | |
2499 | attacking = true | |
2500 | freezepar.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 0, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))}) | |
2501 | freezepar2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 0, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))}) | |
2502 | if not Part78:FindFirstChild("ASDASDASDASDACOMINE") then | |
2503 | errorsound = Instance.new("Sound", Part78) | |
2504 | errorsound.Volume = 2 | |
2505 | errorsound.Name = "ASDASDASDASDACOMINE" | |
2506 | errorsound.SoundId = "rbxassetid://1388726556" | |
2507 | errorsound.Pitch = 0.5 | |
2508 | errorsound:Play() | |
2509 | else | |
2510 | errorsound = Part78:FindFirstChild("ASDASDASDASDACOMINE") | |
2511 | errorsound:Play() | |
2512 | end | |
2513 | if not Part80:FindFirstChild("ASDASDASDASDACOMINE") then | |
2514 | errorsound2 = Instance.new("Sound", Part80) | |
2515 | errorsound2.Volume = 2 | |
2516 | errorsound2.Name = "ASDASDASDASDACOMINE" | |
2517 | errorsound2.SoundId = "rbxassetid://1388726556" | |
2518 | errorsound2.Pitch = 0.5 | |
2519 | errorsound2:Play() | |
2520 | else | |
2521 | errorsound2 = Part80:FindFirstChild("ASDASDASDASDACOMINE") | |
2522 | errorsound2:Play() | |
2523 | end | |
2524 | freezepar.Enabled = true | |
2525 | freezepar2.Enabled = true | |
2526 | wait(0.15) | |
2527 | freezepar.Enabled = false | |
2528 | freezepar2.Enabled = false | |
2529 | wait(0.2) | |
2530 | freezepar.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 255, 255))}) | |
2531 | freezepar2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 255, 255))}) | |
2532 | attacking = false | |
2533 | end | |
2534 | end | |
2535 | ||
2536 | ----------------------------------------------------------------------------- | |
2537 | ||
2538 | function kdown(k) | |
2539 | if k == "r" then | |
2540 | Reload() | |
2541 | elseif k == "e" then | |
2542 | Snowcone() | |
2543 | elseif k == "x" and Snowconing == true then | |
2544 | ThrowAway() | |
2545 | elseif k == "f" then | |
2546 | snowMAN() | |
2547 | elseif k == "q" then | |
2548 | SnowBlast() | |
2549 | end | |
2550 | end | |
2551 | ||
2552 | function lmdown() | |
2553 | if Snowconing == false then | |
2554 | Throw() | |
2555 | else | |
2556 | Eat() | |
2557 | end | |
2558 | end | |
2559 | ||
2560 | Mouse.Button1Down:connect(lmdown) | |
2561 | Mouse.KeyDown:connect(kdown) | |
2562 | ||
2563 | ----------------------------------------------------------------------------- | |
2564 | ||
2565 | warn([[ | |
2566 | ||
2567 | ||
2568 | SNOW-MACHINE-PROTOTYPE. | |
2569 | last updated: 2018/6/26, 20:50 JST. | |
2570 | ||
2571 | Please do not leak this script. | |
2572 | ]]) | |
2573 | ||
2574 | ----------------------------------------------------------------------------- | |
2575 | ||
2576 | while true do | |
2577 | swait() | |
2578 | yumrot = yumrot + 25 | |
2579 | if yumrot == 360 then | |
2580 | yumrot = 1 | |
2581 | end | |
2582 | if stage == 0 then | |
2583 | level1.Transparency = 1 | |
2584 | level2.Transparency = 1 | |
2585 | level3.Transparency = 1 | |
2586 | level4.Transparency = 1 | |
2587 | elseif stage >= 1 and stage < 2 then | |
2588 | level1.Transparency = 0 | |
2589 | level2.Transparency = 1 | |
2590 | level3.Transparency = 1 | |
2591 | level4.Transparency = 1 | |
2592 | elseif stage >= 2 and stage < 3 then | |
2593 | level1.Transparency = 0 | |
2594 | level2.Transparency = 0 | |
2595 | level3.Transparency = 1 | |
2596 | level4.Transparency = 1 | |
2597 | elseif stage >= 3 and stage < 4 then | |
2598 | level1.Transparency = 0 | |
2599 | level2.Transparency = 0 | |
2600 | level3.Transparency = 0 | |
2601 | level4.Transparency = 1 | |
2602 | elseif stage >= 4 then | |
2603 | stage = 4 | |
2604 | level1.Transparency = 0 | |
2605 | level2.Transparency = 0 | |
2606 | level3.Transparency = 0 | |
2607 | level4.Transparency = 0 | |
2608 | end | |
2609 | sine = sine + 1 | |
2610 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2611 | if Throwing == true then | |
2612 | state = "Throwing" | |
2613 | elseif SnowBlasting == true then | |
2614 | state = "Blasting" | |
2615 | elseif Eating == true then | |
2616 | state = "Eating" | |
2617 | elseif makingCone == true then | |
2618 | state = "MakingCone" | |
2619 | elseif ThrowingAway == true then | |
2620 | state = "ThrowingAway" | |
2621 | elseif Reloading == true then | |
2622 | state = "Reloading" | |
2623 | elseif Snowconing == true and torvel < 1 then | |
2624 | state = "Snowconing" | |
2625 | elseif snowmanning == true then | |
2626 | state = "Snowmanning" | |
2627 | elseif 1 < root.Velocity.y then | |
2628 | state = "Jump" | |
2629 | elseif -1 > root.Velocity.y then | |
2630 | state = "Fall" | |
2631 | elseif torvel < 1 then | |
2632 | state = "Idle" | |
2633 | elseif tor.Velocity.magnitude < 50 then | |
2634 | state = "Walk" | |
2635 | end | |
2636 | if state == "Jump" then | |
2637 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-20), 0, 0), 0.15) | |
2638 | rootj.C1 = clerp(rootj.C1, rootj1, 0.15) | |
2639 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, Rad(-10)), 0.15) | |
2640 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(20), 0, Rad(-10)), 0.15) | |
2641 | LH.C1 = clerp(LH.C1, LH1 * CFn(0.7, -1.3, -0.1) * CFa(Rad(-15), 0, Rad(-55)), 0.15) | |
2642 | RH.C1 = clerp(RH.C1, RH1 * CFn(-0.5, -1.1, 0) * CFa(Rad(-10), 0, Rad(45)), 0.15) | |
2643 | neck.C0 = clerp(neck.C0, neck0, 0.15) | |
2644 | rootj.C0 = clerp(rootj.C0, rootj0, 0.15) | |
2645 | LS.C0 = clerp(LS.C0, LS0, 0.15) | |
2646 | RS.C0 = clerp(RS.C0, RS0, 0.15) | |
2647 | LH.C0 = clerp(LH.C0, LH0, 0.15) | |
2648 | RH.C0 = clerp(RH.C0, RH0, 0.15) | |
2649 | elseif state == "Fall" then | |
2650 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), 0.15) | |
2651 | rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(10), 0, 0), 0.15) | |
2652 | LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(50), 0, Rad(-10)), 0.15) | |
2653 | RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(50), 0, Rad(-10)), 0.15) | |
2654 | LH.C1 = clerp(LH.C1, LH1 * CFn(0.4, -0.7, 0) * CFa(Rad(20), 0, Rad(10)), 0.15) | |
2655 | RH.C1 = clerp(RH.C1, RH1 * CFn(-0.2, -0.5, 0) * CFa(Rad(20), 0, Rad(10)), 0.15) | |
2656 | neck.C0 = clerp(neck.C0, neck0, 0.15) | |
2657 | rootj.C0 = clerp(rootj.C0, rootj0, 0.15) | |
2658 | LS.C0 = clerp(LS.C0, LS0, 0.15) | |
2659 | RS.C0 = clerp(RS.C0, RS0, 0.15) | |
2660 | LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15) | |
2661 | RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15) | |
2662 | elseif state == "Snowconing" then | |
2663 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(5 * Cos(sine / 25)), 0, Rad(-15)), 0.15) | |
2664 | rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 20)) * CFa(Rad(-5 * Cos(sine / 20)), 0, 0), 0.15) | |
2665 | LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.2, 0.2) * CFa(Rad(-5), Rad(10), Rad(80)), 0.15) | |
2666 | RS.C1 = clerp(RS.C1, RS1 * CFn(0, 0.2, 0.2) * CFa(Rad(-70), Rad(10), Rad(-50)), 0.15) | |
2667 | LH.C1 = clerp(LH.C1, LH1 * CFn(0.1 * Cos(sine / 20), -0.1 * Cos(sine / 20), 0) * CFa(Rad(5), Rad(-5), Rad(5 * Cos(sine / 20))), 0.15) | |
2668 | RH.C1 = clerp(RH.C1, RH1 * CFn(-0.1 * Cos(sine / 20), -0.1 * Cos(sine / 20), 0) * CFa(Rad(5), Rad(5), Rad(-5 * Cos(sine / 20))), 0.15) | |
2669 | neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), 0.15) | |
2670 | rootj.C0 = clerp(rootj.C0, rootj0 * CFa(Rad(5), 0, 0), 0.15) | |
2671 | LS.C0 = clerp(LS.C0, LS0, 0.15) | |
2672 | RS.C0 = clerp(RS.C0, RS0, 0.15) | |
2673 | LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(-5)), 0.15) | |
2674 | RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(5)), 0.15) | |
2675 | elseif state == "Idle" then | |
2676 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(5 * Cos(sine / 25)), 0, Rad(-15)), 0.15) | |
2677 | rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 20)) * CFa(Rad(-5 * Cos(sine / 20)), 0, 0), 0.15) | |
2678 | LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.2, 0.2) * CFa(Rad(-70), Rad(10), Rad(50)), 0.15) | |
2679 | RS.C1 = clerp(RS.C1, RS1 * CFn(0, 0.2, 0.2) * CFa(Rad(-70), Rad(10), Rad(-50)), 0.15) | |
2680 | LH.C1 = clerp(LH.C1, LH1 * CFn(0.1 * Cos(sine / 20), -0.1 * Cos(sine / 20), 0) * CFa(Rad(5), Rad(-5), Rad(5 * Cos(sine / 20))), 0.15) | |
2681 | RH.C1 = clerp(RH.C1, RH1 * CFn(-0.1 * Cos(sine / 20), -0.1 * Cos(sine / 20), 0) * CFa(Rad(5), Rad(5), Rad(-5 * Cos(sine / 20))), 0.15) | |
2682 | neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), 0.15) | |
2683 | rootj.C0 = clerp(rootj.C0, rootj0 * CFa(Rad(5), 0, 0), 0.15) | |
2684 | LS.C0 = clerp(LS.C0, LS0, 0.15) | |
2685 | RS.C0 = clerp(RS.C0, RS0, 0.15) | |
2686 | LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(-5)), 0.15) | |
2687 | RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(5)), 0.15) | |
2688 | elseif state == "Walk" then | |
2689 | neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), 0.15) | |
2690 | rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-5 * Cos(sine / 3)), 0, Rad(5 * Cos(sine / 6))), 0.15) | |
2691 | LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(-35 * Cos(sine / 6))), 0.15) | |
2692 | RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(-35 * Cos(sine / 6))), 0.15) | |
2693 | LH.C1 = clerp(LH.C1, LH1 * CFa(0, 0, Rad(50 * Cos(sine / 6))), 0.15) | |
2694 | RH.C1 = clerp(RH.C1, RH1 * CFa(0, 0, Rad(50 * Cos(sine / 6))), 0.15) | |
2695 | neck.C0 = clerp(neck.C0, neck0, 0.15) | |
2696 | rootj.C0 = clerp(rootj.C0, rootj0 * CFa(Rad(5), 0, 0), 0.15) | |
2697 | LS.C0 = clerp(LS.C0, LS0, 0.15) | |
2698 | RS.C0 = clerp(RS.C0, RS0, 0.15) | |
2699 | LH.C0 = clerp(LH.C0, LH0, 0.15) | |
2700 | RH.C0 = clerp(RH.C0, RH0, 0.15) | |
2701 | end | |
2702 | end |