SHOW:
|
|
- or go back to the newest paste.
1 | do | |
2 | local filteredMessages = { ['___'] = '___' }; | |
3 | local onPropertyChanged = function (obj) | |
4 | if (obj:isDescendantOf (workspace)) then | |
5 | local objText = obj.Text; | |
6 | ||
7 | if (objText ~= '___' and objText:find '(%S)') then | |
8 | if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then | |
9 | obj.Text = filteredMessages [objText]; | |
10 | elseif (not filteredMessages [objText]) then | |
11 | obj.Text = '___'; | |
12 | ||
13 | local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer); | |
14 | ||
15 | filteredMessages [objText] = filtered; | |
16 | filteredMessages [filtered] = filtered; | |
17 | ||
18 | obj.Text = filtered; | |
19 | end; | |
20 | end; | |
21 | end; | |
22 | end; | |
23 | ||
24 | local newInstance = Instance.new; | |
25 | Instance = { | |
26 | new = function (class, parent) | |
27 | local obj = newInstance (class, parent); | |
28 | ||
29 | if (pcall (function()return obj.Text;end)) then | |
30 | obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end); | |
31 | obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end); | |
32 | end; | |
33 | ||
34 | return obj; | |
35 | end; | |
36 | }; | |
37 | ||
38 | local filteredMessages = { ['___'] = '___' }; | |
39 | local onPropertyChanged = function (obj) | |
40 | if (obj:isDescendantOf (workspace)) then | |
41 | local objText = obj.Text; | |
42 | ||
43 | if (objText ~= '___' and objText:find '(%S)') then | |
44 | if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then | |
45 | obj.Text = filteredMessages [objText]; | |
46 | elseif (not filteredMessages [objText]) then | |
47 | obj.Text = '___'; | |
48 | ||
49 | local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer); | |
50 | ||
51 | filteredMessages [objText] = filtered; | |
52 | filteredMessages [filtered] = filtered; | |
53 | ||
54 | obj.Text = filtered; | |
55 | end; | |
56 | end; | |
57 | end; | |
58 | end; | |
59 | ||
60 | ||
61 | local newInstance = Instance.new; | |
62 | Instance = { | |
63 | new = function (class, parent) | |
64 | local obj = newInstance (class, parent); | |
65 | ||
66 | if (pcall (function()return obj.Text;end)) then | |
67 | obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end); | |
68 | obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end); | |
69 | end; | |
70 | ||
71 | return obj; | |
72 | end; | |
73 | }; | |
74 | end; | |
75 | ||
76 | ||
77 | ||
78 | ||
79 | plr = game.Players.LocalPlayer | |
80 | char = game.Players.LocalPlayer.Character | |
81 | wait(0.016666666666666666) | |
82 | ||
83 | mse = plr:GetMouse() | |
84 | local Head = char.Head | |
85 | local Players=game:service'Players' | |
86 | local Player=Players.LocalPlayer | |
87 | local Mouse=Player:GetMouse'' | |
88 | ||
89 | char.Humanoid.MaxHealth = math.huge | |
90 | char.Humanoid.Health = math.huge | |
91 | char.Humanoid.MaxHealth = math.huge | |
92 | char.Humanoid.Health = math.huge | |
93 | char.Humanoid.MaxHealth = math.huge | |
94 | char.Humanoid.Health = math.huge | |
95 | char.Humanoid.MaxHealth = math.huge | |
96 | char.Humanoid.Health = math.huge | |
97 | char.Humanoid.MaxHealth = math.huge | |
98 | char.Humanoid.Health = math.huge | |
99 | char.Humanoid.MaxHealth = math.huge | |
100 | char.Humanoid.Health = math.huge | |
101 | char.Humanoid.MaxHealth = math.huge | |
102 | char.Humanoid.Health = math.huge | |
103 | char.Humanoid.MaxHealth = math.huge | |
104 | char.Humanoid.Health = math.huge | |
105 | ||
106 | Instance.new("ForceField",char).Visible = false | |
107 | ||
108 | ||
109 | ||
110 | - | Par1=Instance.new('ParticleEmitter',char['Torso']) |
110 | + | |
111 | - | Par1.LightEmission=100 |
111 | + | |
112 | - | Par1.LightInfluence=5 |
112 | + | |
113 | - | Par1.LockedToPart=true |
113 | + | |
114 | - | Par1.Texture='rbxassetid://300899516' |
114 | + | |
115 | - | Par1.Color=ColorSequence.new(Color3.new(0.1,0,10)) |
115 | + | |
116 | - | Par1.Transparency=NumberSequence.new(0) |
116 | + | |
117 | - | Par1.Lifetime=NumberRange.new(0.3) |
117 | + | |
118 | - | Par1.Rate=1000 |
118 | + | |
119 | bbgTl.BackgroundTransparency = 1 | |
120 | bbgTl.Size = UDim2.new(10,0,1,0) | |
121 | bbgTl.Position = UDim2.new(-4.5,0,0,0) | |
122 | bbgTl.Font = "Fantasy" | |
123 | bbgTl.Text = " " | |
124 | bbgTl.TextSize = 25 | |
125 | bbgTl.TextStrokeColor3 = Color3.new(100,0,100) | |
126 | bbgTl.TextColor3 = Color3.new(0,0,100) | |
127 | bbgTl.TextStrokeTransparency = 0 | |
128 | bbgTl.TextWrapped = true | |
129 | plr.Chatted:connect(function(msg) | |
130 | bbgTl.Text = msg | |
131 | wait(1) | |
132 | TextFade() | |
133 | end | |
134 | ) | |
135 | ||
136 | function TextFade() | |
137 | ||
138 | bbgTl.TextTransparency = 0.1 | |
139 | bbgTl.TextStrokeTransparency = 0.1 | |
140 | wait(0.1) | |
141 | bbgTl.TextTransparency = 0.2 | |
142 | bbgTl.TextStrokeTransparency = 0.2 | |
143 | wait(0.1) | |
144 | bbgTl.TextTransparency = 0.3 | |
145 | bbgTl.TextStrokeTransparency = 0.3 | |
146 | wait(0.1) | |
147 | bbgTl.TextTransparency = 0.4 | |
148 | bbgTl.TextStrokeTransparency = 0.4 | |
149 | wait(0.1) | |
150 | bbgTl.TextTransparency = 0.5 | |
151 | bbgTl.TextStrokeTransparency = 0.5 | |
152 | wait(0.1) | |
153 | bbgTl.TextTransparency = 0.6 | |
154 | bbgTl.TextStrokeTransparency = 0.6 | |
155 | wait(0.1) | |
156 | bbgTl.TextTransparency = 0.7 | |
157 | bbgTl.TextStrokeTransparency = 0.7 | |
158 | wait(0.1) | |
159 | bbgTl.TextTransparency = 0.8 | |
160 | bbgTl.TextStrokeTransparency = 0.8 | |
161 | wait(0.1) | |
162 | bbgTl.TextTransparency = 0.9 | |
163 | bbgTl.TextStrokeTransparency = 0.9 | |
164 | wait(0.1) | |
165 | bbgTl.Text = " " | |
166 | wait(0.00000000000000001) | |
167 | bbgTl.TextTransparency = 0 | |
168 | bbgTl.TextStrokeTransparency = 0 | |
169 | end | |
170 | ||
171 | local Orin = "rbxassetid://1250061532" | |
172 | Head.face.Texture = Orin | |
173 | spawn(function() | |
174 | while wait() do | |
175 | char["Body Colors"].HeadColor = BrickColor.new("Quill grey") | |
176 | char["Body Colors"].TorsoColor = BrickColor.new("Quill grey") | |
177 | char["Body Colors"].LeftArmColor = BrickColor.new("Quill grey") | |
178 | char["Body Colors"].RightArmColor = BrickColor.new("Quill grey") | |
179 | char["Body Colors"].LeftLegColor = BrickColor.new("Quill grey") | |
180 | char["Body Colors"].RightLegColor = BrickColor.new("Quill grey") | |
181 | end | |
182 | end) | |
183 | ||
184 | shirt = Instance.new("Shirt", char) | |
185 | - | local Orin = "rbxassetid://639034904" |
185 | + | |
186 | pants = Instance.new("Pants", char) | |
187 | pants.Name = "Pants" | |
188 | - | while wait() do |
188 | + | char.Shirt.ShirtTemplate = "rbxassetid://751273816" |
189 | - | char["Body Colors"].HeadColor = BrickColor.new("Med. yellowish orange") |
189 | + | char.Pants.PantsTemplate = "rbxassetid://746124715" |
190 | - | char["Body Colors"].TorsoColor = BrickColor.new("Med. yellowish orange") |
190 | + | |
191 | - | char["Body Colors"].LeftArmColor = BrickColor.new("Med. yellowish orange") |
191 | + | |
192 | - | char["Body Colors"].RightArmColor = BrickColor.new("Med. yellowish orange") |
192 | + | if v.ClassName == "Accessory" then |
193 | - | char["Body Colors"].LeftLegColor = BrickColor.new("Med. yellowish orange") |
193 | + | v:Remove() |
194 | - | char["Body Colors"].RightLegColor = BrickColor.new("Med. yellowish orange") |
194 | + | end |
195 | end | |
196 | ||
197 | Hat3 = Instance.new("Model") | |
198 | Hat3.Parent = char | |
199 | - | char.Shirt:Remove() |
199 | + | |
200 | - | char.Pants:Remove() |
200 | + | |
201 | rh.Parent = Hat3 | |
202 | rh.BrickColor = BrickColor.new("Really black") | |
203 | rh.Locked = true | |
204 | rh.CanCollide = false | |
205 | mesh = Instance.new("SpecialMesh") | |
206 | - | char.Shirt.ShirtTemplate = "rbxassetid://763105737" |
206 | + | |
207 | - | char.Pants.PantsTemplate = "rbxassetid://1174714081" |
207 | + | |
208 | mesh.MeshId = "rbxassetid://431511681" | |
209 | - | if v.ClassName == "Accessory" then |
209 | + | mesh.TextureId = "rbxassetid://431511684" |
210 | mesh.Parent = rh | |
211 | local weld = Instance.new("Weld") | |
212 | weld.Parent = rh | |
213 | weld.Part0 = rh | |
214 | weld.Part1 =char.Head | |
215 | weld.C0 = CFrame.new(0, 0.67, 0.5)*CFrame.Angles(0, 3, 0) | |
216 | mesh.Scale = Vector3.new(0.0032,0.0035, 0.0032) | |
217 | Hat3.Part.Transparency = 0 | |
218 | ||
219 | Hat = Instance.new("Model") | |
220 | Hat.Parent = char | |
221 | Hat.Name = "Hat" | |
222 | rh = Instance.new("Part") | |
223 | rh.Parent = Hat | |
224 | rh.BrickColor = BrickColor.new("Quill grey") | |
225 | rh.Locked = true | |
226 | rh.CanCollide = false | |
227 | mesh = Instance.new("SpecialMesh") | |
228 | - | mesh.MeshId = "rbxassetid://887129419" |
228 | + | |
229 | - | mesh.TextureId = "rbxassetid://887029299" |
229 | + | |
230 | mesh.MeshId = "rbxassetid://955724194" | |
231 | mesh.Parent = rh | |
232 | local weld = Instance.new("Weld") | |
233 | weld.Parent = rh | |
234 | weld.Part0 = rh | |
235 | - | weld.C0 = CFrame.new(0, -0.2, 0)*CFrame.Angles(0, 6, 0) |
235 | + | |
236 | - | mesh.Scale = Vector3.new(0.032,0.029, 0.024) |
236 | + | weld.C0 = CFrame.new(0, -0.5, 0)*CFrame.Angles(12.4, 0, 0) |
237 | mesh.Scale = Vector3.new(0.03,0.028, 0.03) | |
238 | ||
239 | Pipe = Instance.new("Model") | |
240 | Pipe.Parent = char | |
241 | Pipe.Name = "Pipe" | |
242 | rh = Instance.new("Part") | |
243 | rh.Parent = Pipe | |
244 | rh.BrickColor = BrickColor.new("Tr. Flu. Yellow") | |
245 | rh.Locked = true | |
246 | rh.CanCollide = false | |
247 | mesh = Instance.new("SpecialMesh") | |
248 | rh.formFactor = "Symmetric" | |
249 | mesh.MeshType = "FileMesh" | |
250 | - | mesh.MeshId = "rbxassetid://874044556" |
250 | + | mesh.MeshId = "rbxassetid://956069283" |
251 | - | mesh.TextureId = "rbxassetid://875114591" |
251 | + | |
252 | local weld = Instance.new("Weld") | |
253 | weld.Parent = rh | |
254 | weld.Part0 = rh | |
255 | weld.Part1 =char.Head | |
256 | weld.C0 = CFrame.new(0, -0.5, -0.5)*CFrame.Angles(12.4, 0, 0) | |
257 | mesh.Scale = Vector3.new(0.04,0.04, 0.04) | |
258 | - | mesh.Scale = Vector3.new(0.04,0.038, 0.04) |
258 | + | |
259 | Armor = Instance.new("Model") | |
260 | - | muscle = Instance.new("Model") |
260 | + | Armor.Parent = char |
261 | - | muscle.Parent = char |
261 | + | Armor.Name = "Armor" |
262 | - | muscle.Name = "muscle" |
262 | + | |
263 | rh.Parent = Armor | |
264 | - | rh.Parent = muscle |
264 | + | |
265 | - | rh.BrickColor = BrickColor.new("Lilac") |
265 | + | |
266 | rh.CanCollide = false | |
267 | mesh = Instance.new("SpecialMesh") | |
268 | rh.formFactor = "Symmetric" | |
269 | mesh.MeshType = "FileMesh" | |
270 | mesh.MeshId = "rbxassetid://958074736" | |
271 | mesh.Parent = rh | |
272 | local weld = Instance.new("Weld") | |
273 | weld.Parent = rh | |
274 | weld.Part0 = rh | |
275 | weld.Part1 =char.Torso | |
276 | weld.C0 = CFrame.new(0, 0.1, 0.5)*CFrame.Angles(12.4, 0, 0) | |
277 | mesh.Scale = Vector3.new(0.01,0.01,0.01) | |
278 | - | mesh.Scale = Vector3.new(0.009,0.01,0.01) |
278 | + | |
279 | armban1 = Instance.new("Model") | |
280 | armban1.Parent = char | |
281 | armban1.Name = "armban1" | |
282 | rh = Instance.new("Part") | |
283 | - | scarf = Instance.new("Model") |
283 | + | rh.Parent = armban1 |
284 | - | scarf.Parent = char |
284 | + | rh.BrickColor = BrickColor.new("Tr. Flu. Yellow") |
285 | - | scarf.Name = "scarf" |
285 | + | |
286 | rh.CanCollide = false | |
287 | - | rh.Parent = scarf |
287 | + | |
288 | - | rh.BrickColor = BrickColor.new("Maroon") |
288 | + | |
289 | mesh.MeshType = "FileMesh" | |
290 | mesh.MeshId = "rbxassetid://958788075" | |
291 | mesh.Parent = rh | |
292 | local weld = Instance.new("Weld") | |
293 | weld.Parent = rh | |
294 | - | mesh.MeshId = "rbxassetid://873798502" |
294 | + | |
295 | - | mesh.TextureId = "rbxassetid://875114591" |
295 | + | |
296 | weld.C0 = CFrame.new(-0.6, -0.28, 0)*CFrame.Angles(12.4, 0, 0) | |
297 | mesh.Scale = Vector3.new(0.015,0.015,0.015) | |
298 | ||
299 | armban2 = Instance.new("Model") | |
300 | armban2.Parent = char | |
301 | - | weld.C0 = CFrame.new(0, -1., 0)*CFrame.Angles(0, 0, 0) |
301 | + | armban2.Name = "armban2" |
302 | - | mesh.Scale = Vector3.new(0.0155,0.0155,0.0155) |
302 | + | |
303 | rh.Parent = armban2 | |
304 | - | rs = Instance.new("Model") |
304 | + | rh.BrickColor = BrickColor.new("Tr. Flu. Yellow") |
305 | - | rs.Parent = char |
305 | + | |
306 | - | rs.Name = "rs" |
306 | + | |
307 | mesh = Instance.new("SpecialMesh") | |
308 | - | rh.Parent = rs |
308 | + | |
309 | - | rh.BrickColor = BrickColor.new("Bright yellow") |
309 | + | |
310 | mesh.MeshId = "rbxassetid://958788277" | |
311 | mesh.Parent = rh | |
312 | local weld = Instance.new("Weld") | |
313 | weld.Parent = rh | |
314 | weld.Part0 = rh | |
315 | - | mesh.MeshId = "rbxassetid://874040321" |
315 | + | |
316 | - | mesh.TextureId = "rbxassetid://875114591" |
316 | + | weld.C0 = CFrame.new(0.6, -0.28, 0)*CFrame.Angles(12.4, 0, 0) |
317 | mesh.Scale = Vector3.new(0.015,0.015,0.015) | |
318 | ||
319 | lhip = Instance.new("Model") | |
320 | lhip.Parent = char | |
321 | - | weld.Part1 =char["Right Arm"] |
321 | + | lhip.Name = "lhip" |
322 | - | weld.C0 = CFrame.new(0, -1, 0)*CFrame.Angles(0, 0, 0) |
322 | + | |
323 | - | mesh.Scale = Vector3.new(0.012,0.012,0.012) |
323 | + | rh.Parent = lhip |
324 | rh.BrickColor = BrickColor.new("Tr. Flu. Yellow") | |
325 | - | ls = Instance.new("Model") |
325 | + | |
326 | - | ls.Parent = char |
326 | + | |
327 | - | ls.Name = "ls" |
327 | + | |
328 | rh.formFactor = "Symmetric" | |
329 | - | rh.Parent = ls |
329 | + | |
330 | - | rh.BrickColor = BrickColor.new("Bright yellow") |
330 | + | mesh.MeshId = "rbxassetid://971395227" |
331 | mesh.Parent = rh | |
332 | local weld = Instance.new("Weld") | |
333 | weld.Parent = rh | |
334 | weld.Part0 = rh | |
335 | weld.Part1 =char.Torso | |
336 | - | mesh.MeshId = "rbxassetid://874041559" |
336 | + | weld.C0 = CFrame.new(1, 1, 0)*CFrame.Angles(12.4, 0, 0) |
337 | - | mesh.TextureId = "rbxassetid://875114591" |
337 | + | mesh.Scale = Vector3.new(0.02,0.02,0.02) |
338 | ||
339 | rhip = Instance.new("Model") | |
340 | rhip.Parent = char | |
341 | rhip.Name = "rhip" | |
342 | - | weld.Part1 =char["Left Arm"] |
342 | + | |
343 | - | weld.C0 = CFrame.new(0, -1, 0)*CFrame.Angles(0, 0, 0) |
343 | + | rh.Parent = rhip |
344 | - | mesh.Scale = Vector3.new(0.012,0.012,0.012) |
344 | + | rh.BrickColor = BrickColor.new("Tr. Flu. Yellow") |
345 | rh.Locked = true | |
346 | - | cloth = Instance.new("Model") |
346 | + | |
347 | - | cloth.Parent = char |
347 | + | |
348 | - | cloth.Name = "cloth" |
348 | + | |
349 | mesh.MeshType = "FileMesh" | |
350 | - | rh.Parent = cloth |
350 | + | mesh.MeshId = "rbxassetid://971396150" |
351 | mesh.Parent = rh | |
352 | local weld = Instance.new("Weld") | |
353 | weld.Parent = rh | |
354 | weld.Part0 = rh | |
355 | weld.Part1 =char.Torso | |
356 | weld.C0 = CFrame.new(-1, 1, 0)*CFrame.Angles(12.4, 0, 0) | |
357 | - | mesh.MeshId = "rbxassetid://874045262" |
357 | + | mesh.Scale = Vector3.new(0.02,0.02,0.02) |
358 | - | mesh.TextureId = "rbxassetid://875114591" |
358 | + | |
359 | h1 = Instance.new("Model") | |
360 | h1.Parent = char | |
361 | h1.Name = "h1" | |
362 | rh = Instance.new("Part") | |
363 | rh.Parent = h1 | |
364 | - | weld.C0 = CFrame.new(0, 1.6, 0.2)*CFrame.Angles(-0.5, 0, 0) |
364 | + | rh.BrickColor = BrickColor.new("Tr. Flu. Yellow") |
365 | - | mesh.Scale = Vector3.new(0.0065,0.008,0.008) |
365 | + | |
366 | rh.CanCollide = false | |
367 | - | ear1 = Instance.new("Model") |
367 | + | |
368 | - | ear1.Parent = char |
368 | + | |
369 | - | ear1.Name = "ear1" |
369 | + | |
370 | mesh.MeshId = "rbxassetid://964265074" | |
371 | - | rh.Parent = ear1 |
371 | + | |
372 | - | rh.BrickColor = BrickColor.new("Lilac") |
372 | + | |
373 | weld.Parent = rh | |
374 | weld.Part0 = rh | |
375 | weld.Part1 =char.Head | |
376 | weld.C0 = CFrame.new(0, -0.6, 0.6)*CFrame.Angles(14, 0, 0) | |
377 | mesh.Scale = Vector3.new(0.002,0.002,0.002) | |
378 | - | mesh.MeshId = "rbxassetid://431119824" |
378 | + | |
379 | h2 = Instance.new("Model") | |
380 | h2.Parent = char | |
381 | h2.Name = "h2" | |
382 | rh = Instance.new("Part") | |
383 | rh.Parent = h2 | |
384 | - | weld.C0 = CFrame.new(0, -0.2, 0.65)*CFrame.Angles(0, 64, 0) |
384 | + | rh.BrickColor = BrickColor.new("Tr. Flu. Yellow") |
385 | - | mesh.Scale = Vector3.new(0.025,0.025, 0.025) |
385 | + | |
386 | rh.CanCollide = false | |
387 | - | ear2 = Instance.new("Model") |
387 | + | |
388 | - | ear2.Parent = char |
388 | + | |
389 | - | ear2.Name = "ear2" |
389 | + | |
390 | mesh.MeshId = "rbxassetid://964265074" | |
391 | - | rh.Parent = ear2 |
391 | + | |
392 | - | rh.BrickColor = BrickColor.new("Lilac") |
392 | + | |
393 | weld.Parent = rh | |
394 | weld.Part0 = rh | |
395 | weld.Part1 =char.Torso | |
396 | weld.C0 = CFrame.new(0, -0.6, 1.2)*CFrame.Angles(14, 0, 0) | |
397 | mesh.Scale = Vector3.new(0.005,0.005,0.005) | |
398 | - | mesh.MeshId = "rbxassetid://431119824" |
398 | + | |
399 | h3 = Instance.new("Model") | |
400 | h3.Parent = char | |
401 | h3.Name = "h3" | |
402 | rh = Instance.new("Part") | |
403 | rh.Parent = h3 | |
404 | - | weld.C0 = CFrame.new(0, -0.2, 0.65)*CFrame.Angles(0, -64, 0) |
404 | + | rh.BrickColor = BrickColor.new("Tr. Flu. Yellow") |
405 | - | mesh.Scale = Vector3.new(0.025,0.025, 0.025) |
405 | + | |
406 | rh.CanCollide = false | |
407 | - | belt = Instance.new("Model") |
407 | + | |
408 | - | belt.Parent = char |
408 | + | |
409 | - | belt.Name = "belt" |
409 | + | |
410 | mesh.MeshId = "rbxassetid://964265074" | |
411 | - | rh.Parent = belt |
411 | + | |
412 | - | rh.BrickColor = BrickColor.new("Tr. Yellow") |
412 | + | |
413 | weld.Parent = rh | |
414 | weld.Part0 = rh | |
415 | weld.Part1 = char["Right Leg"] | |
416 | weld.C0 = CFrame.new(0.2, -0.8, 0)*CFrame.Angles(14, 0.2, 0) | |
417 | mesh.Scale = Vector3.new(0.003,0.003, 0.003) | |
418 | - | mesh.MeshId = "rbxassetid://965627950" |
418 | + | |
419 | h4 = Instance.new("Model") | |
420 | h4.Parent = char | |
421 | h4.Name = "h4" | |
422 | rh = Instance.new("Part") | |
423 | rh.Parent = h4 | |
424 | - | weld.C0 = CFrame.new(0, 1, 0)*CFrame.Angles(0, -4.7, 0) |
424 | + | rh.BrickColor = BrickColor.new("Tr. Flu. Yellow") |
425 | - | mesh.Scale = Vector3.new(0.65, 0.1, 0.65) |
425 | + | |
426 | rh.CanCollide = false | |
427 | - | belt2 = Instance.new("Model") |
427 | + | |
428 | - | belt2.Parent = char |
428 | + | |
429 | - | belt2.Name = "belt2" |
429 | + | |
430 | mesh.MeshId = "rbxassetid://964265074" | |
431 | - | rh.Parent = belt2 |
431 | + | |
432 | - | rh.BrickColor = BrickColor.new("Tr. Yellow") |
432 | + | |
433 | weld.Parent = rh | |
434 | weld.Part0 = rh | |
435 | weld.Part1 = char["Left Leg"] | |
436 | weld.C0 = CFrame.new(-0.2, -0.8, 0)*CFrame.Angles(14, -0.2, 0) | |
437 | mesh.Scale = Vector3.new(0.003,0.003, 0.003) | |
438 | - | mesh.MeshId = "rbxassetid://475668276" |
438 | + | |
439 | ||
440 | pack = Instance.new("Model") | |
441 | pack.Parent = char | |
442 | pack.Name = "pack" | |
443 | rh = Instance.new("Part") | |
444 | - | weld.C0 = CFrame.new(-1.05, -1, 0)*CFrame.Angles(0, 0, 1.5) |
444 | + | rh.Parent = pack |
445 | - | mesh.Scale = Vector3.new(0.0025, 0.0025, 0.0035) |
445 | + | rh.BrickColor = BrickColor.new("Tr. Flu. Yellow") |
446 | rh.Locked = true | |
447 | - | belt3 = Instance.new("Model") |
447 | + | |
448 | - | belt3.Parent = char |
448 | + | |
449 | - | belt3.Name = "belt3" |
449 | + | |
450 | mesh.MeshType = "FileMesh" | |
451 | - | rh.Parent = belt3 |
451 | + | mesh.MeshId = "rbxassetid://882255459" |
452 | - | rh.BrickColor = BrickColor.new("Tr. Yellow") |
452 | + | |
453 | local weld = Instance.new("Weld") | |
454 | weld.Parent = rh | |
455 | weld.Part0 = rh | |
456 | weld.Part1 = char.Torso | |
457 | weld.C0 = CFrame.new(0, -0.8, -0.5)*CFrame.Angles(0, 0, 0) | |
458 | - | mesh.MeshId = "rbxassetid://475668276" |
458 | + | mesh.Scale = Vector3.new(0.018,0.0125,0.02) |
459 | ||
460 | hand1 = Instance.new("Model") | |
461 | hand1.Parent = char | |
462 | hand1.Name = "hand1" | |
463 | rh = Instance.new("Part") | |
464 | - | weld.C0 = CFrame.new(1.05, -1, 0)*CFrame.Angles(0, 0, -1.5) |
464 | + | rh.Parent = hand1 |
465 | - | mesh.Scale = Vector3.new(0.0025, 0.0025, 0.0035) |
465 | + | |
466 | rh.Locked = true | |
467 | - | cloth2 = Instance.new("Model") |
467 | + | |
468 | - | cloth2.Parent = char |
468 | + | |
469 | - | cloth2.Name = "cloth2" |
469 | + | |
470 | mesh.MeshType = "FileMesh" | |
471 | - | rh.Parent = cloth2 |
471 | + | mesh.MeshId = "rbxassetid://1208185808" |
472 | mesh.Parent = rh | |
473 | local weld = Instance.new("Weld") | |
474 | weld.Parent = rh | |
475 | weld.Part0 = rh | |
476 | weld.Part1 = char["Right Arm"] | |
477 | weld.C0 = CFrame.new(-0.05, 0.6, 0.635)*CFrame.Angles(0, 1.5, 0) | |
478 | - | mesh.MeshId = "rbxassetid://874045262" |
478 | + | mesh.Scale = Vector3.new(0.07,0.07, 0.07) |
479 | - | mesh.TextureId = "rbxassetid://875114591" |
479 | + | |
480 | hand2 = Instance.new("Model") | |
481 | hand2.Parent = char | |
482 | hand2.Name = "hand2" | |
483 | rh = Instance.new("Part") | |
484 | rh.Parent = hand2 | |
485 | - | weld.C0 = CFrame.new(0, 1.6, -0.2)*CFrame.Angles(0.2, 0, 0) |
485 | + | |
486 | - | mesh.Scale = Vector3.new(0.0065,0.008,0.008) |
486 | + | |
487 | rh.CanCollide = false | |
488 | - | gr = Instance.new("Model") |
488 | + | |
489 | - | gr.Parent = char |
489 | + | |
490 | - | gr.Name = "gr" |
490 | + | |
491 | mesh.MeshId = "rbxassetid://1208185808" | |
492 | - | rh.Parent = gr |
492 | + | |
493 | - | rh.BrickColor = BrickColor.new("Daisy orange") |
493 | + | |
494 | weld.Parent = rh | |
495 | weld.Part0 = rh | |
496 | weld.Part1 = char["Left Arm"] | |
497 | weld.C0 = CFrame.new(0.05, 0.6, 0.635)*CFrame.Angles(0, -1.5, 0) | |
498 | mesh.Scale = Vector3.new(0.07,0.07, 0.07) | |
499 | - | mesh.MeshId = "rbxassetid://1476756293" |
499 | + | |
500 | ||
501 | New = function(Object, Parent, Name, Data) | |
502 | local Object = Instance.new(Object) | |
503 | for Index, Value in pairs(Data or {}) do | |
504 | - | weld.Part1 =char["Right Arm"] |
504 | + | Object[Index] = Value |
505 | - | weld.C0 = CFrame.new(-0.6, 0.66, 0)*CFrame.Angles(0, 0, 0) |
505 | + | end |
506 | - | mesh.Scale = Vector3.new(0.03,0.03,0.03) |
506 | + | Object.Parent = Parent |
507 | Object.Name = Name | |
508 | - | gl = Instance.new("Model") |
508 | + | return Object |
509 | - | gl.Parent = char |
509 | + | |
510 | - | gl.Name = "gl" |
510 | + | |
511 | mse.KeyDown:connect(function(key) | |
512 | - | rh.Parent = gl |
512 | + | |
513 | - | rh.BrickColor = BrickColor.new("Daisy orange") |
513 | + | |
514 | canworld = true | |
515 | one:Play() | |
516 | end | |
517 | end | |
518 | ) | |
519 | - | mesh.MeshId = "rbxassetid://1476756293" |
519 | + | |
520 | mse.KeyDown:connect(function(key) | |
521 | key = key:lower() | |
522 | if key == "j" then | |
523 | canworld = true | |
524 | - | weld.Part1 =char["Left Arm"] |
524 | + | two:Play() |
525 | - | weld.C0 = CFrame.new(0.6, 0.66, 0)*CFrame.Angles(0, 0, 0) |
525 | + | |
526 | - | mesh.Scale = Vector3.new(0.03,0.03,0.03) |
526 | + | |
527 | ) | |
528 | - | ap1 = Instance.new("Model") |
528 | + | |
529 | - | ap1.Parent = char |
529 | + | |
530 | - | ap1.Name = "ap1" |
530 | + | |
531 | if key == "k" then | |
532 | - | rh.Parent = ap1 |
532 | + | |
533 | three:Play() | |
534 | end | |
535 | end | |
536 | ) | |
537 | ||
538 | mse.KeyDown:connect(function(key) | |
539 | - | mesh.MeshId = "rbxassetid://965627950" |
539 | + | |
540 | if key == "l" then | |
541 | canworld = true | |
542 | four:Play() | |
543 | end | |
544 | - | weld.Part1 =char["Right Arm"] |
544 | + | |
545 | - | weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, 3.1, 0) |
545 | + | |
546 | - | mesh.Scale = Vector3.new(0.65, 0.25, 0.35) |
546 | + | |
547 | mse.KeyDown:connect(function(key) | |
548 | - | ap2 = Instance.new("Model") |
548 | + | |
549 | - | ap2.Parent = char |
549 | + | |
550 | - | ap2.Name = "ap2" |
550 | + | |
551 | five:Play() | |
552 | - | rh.Parent = ap2 |
552 | + | |
553 | end | |
554 | ) | |
555 | ||
556 | mse.KeyDown:connect(function(key) | |
557 | key = key:lower() | |
558 | if key == "m" then | |
559 | - | mesh.MeshId = "rbxassetid://965627950" |
559 | + | |
560 | six:Play() | |
561 | end | |
562 | end | |
563 | ) | |
564 | - | weld.Part1 =char["Left Arm"] |
564 | + | |
565 | - | weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, 0, 0) |
565 | + | |
566 | - | mesh.Scale = Vector3.new(0.65, 0.25, 0.35) |
566 | + | |
567 | if key == "," then | |
568 | - | circ1 = Instance.new("Model") |
568 | + | |
569 | - | circ1.Parent = char |
569 | + | seven:Play() |
570 | - | circ1.Name = "circ1" |
570 | + | |
571 | end | |
572 | - | rh.Parent = circ1 |
572 | + | |
573 | - | rh.BrickColor = BrickColor.new("Tr. Yellow") |
573 | + | |
574 | mse.KeyDown:connect(function(key) | |
575 | key = key:lower() | |
576 | if key == "." then | |
577 | canworld = true | |
578 | eight:Play() | |
579 | - | mesh.MeshId = "rbxassetid://475668276" |
579 | + | |
580 | end | |
581 | ) | |
582 | ||
583 | mse.KeyDown:connect(function(key) | |
584 | - | weld.Part1 =char["Right Arm"] |
584 | + | |
585 | - | weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(0, 0, 1.5) |
585 | + | if key == "r" then |
586 | - | mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025) |
586 | + | |
587 | nine:Play() | |
588 | - | circ2 = Instance.new("Model") |
588 | + | |
589 | - | circ2.Parent = char |
589 | + | |
590 | - | circ2.Name = "circ2" |
590 | + | |
591 | ||
592 | - | rh.Parent = circ2 |
592 | + | |
593 | - | rh.BrickColor = BrickColor.new("Tr. Yellow") |
593 | + | |
594 | if key == "t" then | |
595 | canworld = true | |
596 | ten:Play() | |
597 | end | |
598 | end | |
599 | - | mesh.MeshId = "rbxassetid://475668276" |
599 | + | |
600 | ||
601 | ||
602 | ||
603 | mse.KeyDown:connect(function(key) | |
604 | - | weld.Part1 =char["Left Arm"] |
604 | + | |
605 | - | weld.C0 = CFrame.new(-0.35, -0.6, 0)*CFrame.Angles(0, 0, -1.5) |
605 | + | if key == "y" then |
606 | - | mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025) |
606 | + | |
607 | laugh = CFuncs.Sound.Create("1384420463") | |
608 | laugh.Volume = 7 | |
609 | bbgTl.Text = "*laughs in japanese*" | |
610 | - | ap3 = Instance.new("Model") |
610 | + | wait(10) |
611 | - | ap3.Parent = char |
611 | + | bbgTl.Text = " " |
612 | - | ap3.Name = "ap3" |
612 | + | |
613 | end | |
614 | - | rh.Parent = ap3 |
614 | + | |
615 | ||
616 | ||
617 | ||
618 | ||
619 | function clerp(a,b,c,d) | |
620 | for i = 0,d,.01 do | |
621 | - | mesh.MeshId = "rbxassetid://965627950" |
621 | + | |
622 | wait() | |
623 | end | |
624 | end | |
625 | function slerp(a2,b2,c2,d2) | |
626 | - | weld.Part1 =char["Right Leg"] |
626 | + | |
627 | - | weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, -4.7, 0) |
627 | + | |
628 | - | mesh.Scale = Vector3.new(0.65, 0.25, 0.35) |
628 | + | |
629 | end | |
630 | - | ap4 = Instance.new("Model") |
630 | + | |
631 | - | ap4.Parent = char |
631 | + | |
632 | - | ap4.Name = "ap4" |
632 | + | |
633 | if key == "e" and part == nil then | |
634 | - | rh.Parent = ap4 |
634 | + | |
635 | plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mse.hit.p.X,mse.hit.p.Y+1.5,mse.hit.p.Z),plr.Character.Torso.CFrame.p) | |
636 | end | |
637 | end | |
638 | ) | |
639 | ||
640 | mse.KeyDown:connect(function(key) | |
641 | - | mesh.MeshId = "rbxassetid://965627950" |
641 | + | if key == "e" and part == nil then |
642 | ||
643 | bam = CFuncs.Sound.Create("1180230203") | |
644 | bam.Volume = 10 | |
645 | Instance.new("DistortionSoundEffect", bam).Level = 0.1 | |
646 | - | weld.Part1 =char["Left Leg"] |
646 | + | |
647 | - | weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, -4.7, 0) |
647 | + | |
648 | - | mesh.Scale = Vector3.new(0.65, 0.25, 0.35) |
648 | + | |
649 | ) | |
650 | - | circ3 = Instance.new("Model") |
650 | + | |
651 | - | circ3.Parent = char |
651 | + | |
652 | - | circ3.Name = "circ3" |
652 | + | if key == "e" and part == nil then |
653 | ||
654 | - | rh.Parent = circ3 |
654 | + | cce = Instance.new("ColorCorrectionEffect", game.Lighting) |
655 | - | rh.BrickColor = BrickColor.new("Tr. Yellow") |
655 | + | cce.Saturation = -2.5 |
656 | wait(0.000004) | |
657 | cce.Saturation = 0 | |
658 | end | |
659 | end | |
660 | ) | |
661 | - | mesh.MeshId = "rbxassetid://475668276" |
661 | + | |
662 | canworld = true | |
663 | mse.KeyDown:connect(function(key) | |
664 | key = key:lower() | |
665 | if key == "g" then | |
666 | - | weld.Part1 =char["Right Leg"] |
666 | + | |
667 | - | weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(1.5, 0, 1.5) |
667 | + | |
668 | - | mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025) |
668 | + | |
669 | zwoh = CFuncs.Sound.Create("1193182658") | |
670 | - | circ4 = Instance.new("Model") |
670 | + | zwoh.Volume = 7 |
671 | - | circ4.Parent = char |
671 | + | |
672 | - | circ4.Name = "circ4" |
672 | + | bbgTl.Text = "「THE WORLD: OVER HEAVENã€!" |
673 | local function spawnpart() | |
674 | - | rh.Parent = circ4 |
674 | + | sphere = Instance.new("Part") |
675 | - | rh.BrickColor = BrickColor.new("Tr. Yellow") |
675 | + | --game.Debris:AddItem(sphere,3) |
676 | local sm = Instance.new("SpecialMesh", sphere) | |
677 | sm.MeshType = "Sphere" | |
678 | sphere.Transparency = 1 | |
679 | sphere.Anchored = true | |
680 | sphere.CanCollide = false | |
681 | - | mesh.MeshId = "rbxassetid://475668276" |
681 | + | sphere.Material = "Neon" |
682 | sphere.BrickColor = BrickColor.new("White") | |
683 | end | |
684 | wait(1.5) | |
685 | xd:Play() | |
686 | - | weld.Part1 =char["Left Leg"] |
686 | + | |
687 | - | weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(1.5, 0, 1.5) |
687 | + | |
688 | - | mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025) |
688 | + | |
689 | weld.Part0 = plr.Character.Torso | |
690 | - | boot1 = Instance.new("Model") |
690 | + | |
691 | - | boot1.Parent = char |
691 | + | |
692 | - | boot1.Name = "boot1" |
692 | + | |
693 | end | |
694 | - | rh.Parent = boot1 |
694 | + | wait(1.4) |
695 | spawnpart() | |
696 | for i, v in pairs(game.Players:GetChildren()) do | |
697 | t = v.Character:FindFirstChild("Torso") | |
698 | if t then | |
699 | t.Anchored = true | |
700 | plr.Character:FindFirstChild("Torso").Anchored = false | |
701 | - | mesh.MeshId = "rbxassetid://1154325543" |
701 | + | |
702 | RA = v.Character:FindFirstChild("Right Arm") | |
703 | if RA then | |
704 | RA.Anchored = true | |
705 | plr.Character:FindFirstChild("Right Arm").Anchored = false | |
706 | - | weld.Part1 =char["Right Leg"] |
706 | + | |
707 | - | weld.C0 = CFrame.new(0, 0.4, 0)*CFrame.Angles(0, 0, 0) |
707 | + | |
708 | - | mesh.Scale = Vector3.new(0.2, 0.23, 0.2) |
708 | + | |
709 | LA.Anchored = true | |
710 | - | boot2 = Instance.new("Model") |
710 | + | |
711 | - | boot2.Parent = char |
711 | + | |
712 | - | boot2.Name = "boot2" |
712 | + | |
713 | if RL then | |
714 | - | rh.Parent = boot2 |
714 | + | |
715 | plr.Character:FindFirstChild("Right Leg").Anchored = false | |
716 | end | |
717 | LL = v.Character:FindFirstChild("Left Leg") | |
718 | if LL then | |
719 | LL.Anchored = true | |
720 | plr.Character:FindFirstChild("Left Leg").Anchored = false | |
721 | - | mesh.MeshId = "rbxassetid://1154325543" |
721 | + | |
722 | end | |
723 | ||
724 | weld(sphere) | |
725 | cce = Instance.new("ColorCorrectionEffect", game.Lighting) | |
726 | - | weld.Part1 =char["Left Leg"] |
726 | + | cce.Saturation = -1.6 |
727 | - | weld.C0 = CFrame.new(0, 0.4, 0)*CFrame.Angles(0, 0, 0) |
727 | + | --game.Debris:AddItem(cce, 5) |
728 | - | mesh.Scale = Vector3.new(0.2, 0.23, 0.2) |
728 | + | sphere.Parent = game.Workspace |
729 | for i = 1,10 do | |
730 | - | glo1 = Instance.new("Model") |
730 | + | sphere.Size = sphere.Size + Vector3.new(100,100,100) |
731 | - | glo1.Parent = char |
731 | + | |
732 | - | glo1.Name = "glo1" |
732 | + | |
733 | --wait(5) | |
734 | - | rh.Parent = glo1 |
734 | + | |
735 | wait(2) | |
736 | bbgTl.Text = " " | |
737 | end | |
738 | end | |
739 | end) | |
740 | ||
741 | - | mesh.MeshId = "rbxassetid://1154325543" |
741 | + | |
742 | key = key:lower() | |
743 | if key == "h" then | |
744 | canworld = true | |
745 | ugoki:Play() | |
746 | - | weld.Part1 =char["Right Arm"] |
746 | + | wait(.5) |
747 | - | weld.C0 = CFrame.new(0, 0.6, 0)*CFrame.Angles(0, 0, 0) |
747 | + | move:Play() |
748 | - | mesh.Scale = Vector3.new(0.2, 0.15, 0.2) |
748 | + | xd:Stop() |
749 | bbgTl.Text = "..Time resumes once again." | |
750 | - | glo2 = Instance.new("Model") |
750 | + | |
751 | - | glo2.Parent = char |
751 | + | |
752 | - | glo2.Name = "glo2" |
752 | + | |
753 | t.Anchored = false | |
754 | - | rh.Parent = glo2 |
754 | + | |
755 | RA = v.Character:FindFirstChild("Right Arm") | |
756 | if RA then | |
757 | RA.Anchored = false | |
758 | end | |
759 | LA = v.Character:FindFirstChild("Left Arm") | |
760 | if LA then | |
761 | - | mesh.MeshId = "rbxassetid://1154325543" |
761 | + | |
762 | end | |
763 | RL = v.Character:FindFirstChild("Right Leg") | |
764 | if RL then | |
765 | RL.Anchored = false | |
766 | - | weld.Part1 =char["Left Arm"] |
766 | + | |
767 | - | weld.C0 = CFrame.new(0, 0.6, 0)*CFrame.Angles(0, 0, 0) |
767 | + | |
768 | - | mesh.Scale = Vector3.new(0.2, 0.15, 0.2) |
768 | + | |
769 | LL.Anchored = false | |
770 | end | |
771 | end | |
772 | ||
773 | cce.Saturation = -1.5 | |
774 | - | yyd = CFuncs.Sound.Create("921051148") |
774 | + | wait(0.01) |
775 | - | yyd.TimePosition = 0.5 |
775 | + | cce.Saturation = -1.4 |
776 | - | yyd.Volume = 7 |
776 | + | wait(0.01) |
777 | cce.Saturation = -1.3 | |
778 | wait(0.01) | |
779 | - | bbgTl.Text = "Gimme a break." |
779 | + | cce.Saturation = -1.2 |
780 | wait(0.01) | |
781 | - | TextFade() |
781 | + | cce.Saturation = -1.1 |
782 | wait(0.01) | |
783 | cce.Saturation = -1 | |
784 | wait(0.01) | |
785 | cce.Saturation = -0.9 | |
786 | wait(0.01) | |
787 | cce.Saturation = -0.8 | |
788 | wait(0.01) | |
789 | cce.Saturation = -0.7 | |
790 | wait(0.01) | |
791 | - | teme = CFuncs.Sound.Create("499396245") |
791 | + | cce.Saturation = -0.6 |
792 | - | teme.Volume = 7 |
792 | + | wait(0.01) |
793 | - | bbgTl.Text = "You..!" |
793 | + | cce.Saturation = -0.5 |
794 | wait(0.01) | |
795 | - | TextFade() |
795 | + | cce.Saturation = -0.4 |
796 | wait(0.01) | |
797 | cce.Saturation = -0.3 | |
798 | wait(0.01) | |
799 | cce.Saturation = -0.2 | |
800 | wait(0.01) | |
801 | cce.Saturation = -0.1 | |
802 | wait(0.01) | |
803 | cce.Saturation = 0 | |
804 | ||
805 | - | kono = CFuncs.Sound.Create("645811027") |
805 | + | |
806 | - | bbgTl.Text = "T-This power..!" |
806 | + | |
807 | wait(0.5) | |
808 | - | TextFade() |
808 | + | bbgTl.Text = " " |
809 | ||
810 | sphere:Destroy() | |
811 | end | |
812 | end) | |
813 | ||
814 | ||
815 | ||
816 | Effects = {} | |
817 | local Player = game.Players.localPlayer | |
818 | - | kk = CFuncs.Sound.Create("1212328051") |
818 | + | |
819 | - | bbgTl.Text = "You really p#ssed me off." |
819 | + | |
820 | - | wait(2) |
820 | + | |
821 | - | TextFade() |
821 | + | AdvancingFortress.Parent = Character |
822 | torso = AdvancingFortress.Torso | |
823 | hum = AdvancingFortress.Humanoid | |
824 | AdvancingFortress.Name = "Advancing Fortress" | |
825 | pl = AdvancingFortress | |
826 | local FOrin = "rbxassetid://541645615" | |
827 | AdvancingFortress.Head.face.Texture = FOrin | |
828 | Character["Advancing Fortress"].Hat3:Destroy() | |
829 | Character["Advancing Fortress"].Hat.Part.Transparency = 1 | |
830 | Character["Advancing Fortress"].Pipe.Part.Transparency = 1 | |
831 | - | st1 = CFuncs.Sound.Create("873240542") |
831 | + | Character["Advancing Fortress"].Armor.Part.Transparency = 1 |
832 | - | st1.Volume = 7 |
832 | + | Character["Advancing Fortress"].armban1.Part.Transparency = 1 |
833 | - | bbgTl.Text = "You truly are the lowest scum in history.." |
833 | + | Character["Advancing Fortress"].armban2.Part.Transparency = 1 |
834 | - | wait(2.5) |
834 | + | Character["Advancing Fortress"].lhip.Part.Transparency = 1 |
835 | - | TextFade() |
835 | + | Character["Advancing Fortress"].rhip.Part.Transparency = 1 |
836 | - | wait(0.75) |
836 | + | Character["Advancing Fortress"].h1.Part.Transparency = 1 |
837 | - | st2 = CFuncs.Sound.Create("873240410") |
837 | + | Character["Advancing Fortress"].h2.Part.Transparency = 1 |
838 | - | st2.Volume = 7 |
838 | + | Character["Advancing Fortress"].h3.Part.Transparency = 1 |
839 | - | bbgTl.Text = "The debt you owe.." |
839 | + | Character["Advancing Fortress"].h4.Part.Transparency = 1 |
840 | Character["Advancing Fortress"].pack.Part.Transparency = 1 | |
841 | - | TextFade() |
841 | + | Character["Advancing Fortress"].hand1.Part.Transparency = 1 |
842 | Character["Advancing Fortress"].hand2.Part.Transparency = 1 | |
843 | - | st3 = CFuncs.Sound.Create("1207959412") |
843 | + | |
844 | - | st3.Volume = 7 |
844 | + | |
845 | - | bbgTl.Text = "can't be repaid with money!" |
845 | + | Character.Pipe:Destroy() |
846 | - | wait(2.4) |
846 | + | Character.Armor:Destroy() |
847 | Character.armban1:Destroy() | |
848 | - | TextFade() |
848 | + | Character.armban2:Destroy() |
849 | Character.lhip:Destroy() | |
850 | Character.rhip:Destroy() | |
851 | Character.h1:Destroy() | |
852 | Character.h2:Destroy() | |
853 | Character.h3:Destroy() | |
854 | Character.h4:Destroy() | |
855 | Character.pack:Destroy() | |
856 | Character.hand1:Destroy() | |
857 | - | jk = CFuncs.Sound.Create("1212328340") |
857 | + | Character.hand2:Destroy() |
858 | - | bbgTl.Text = "I will personally kick your [OOPS KID FRIENDLY SORRY]!" |
858 | + | |
859 | - | wait(4) |
859 | + | |
860 | - | TextFade() |
860 | + | |
861 | end | |
862 | end | |
863 | local Humanoid = AdvancingFortress.Humanoid | |
864 | local Mouse = Player:GetMouse() | |
865 | local LeftArm = AdvancingFortress["Left Arm"] | |
866 | local RightArm = AdvancingFortress["Right Arm"] | |
867 | local LeftLeg = AdvancingFortress["Left Leg"] | |
868 | - | if key == "h" and cooldown == false then |
868 | + | |
869 | local Head = AdvancingFortress.Head | |
870 | local Torso = AdvancingFortress.Torso | |
871 | - | judge = CFuncs.Sound.Create("1300588094") |
871 | + | |
872 | - | judge.Volume = 7 |
872 | + | |
873 | - | bbgTl.Text = "I shall be the judge!" |
873 | + | |
874 | local attack = false | |
875 | local Anim = "Idle" | |
876 | - | TextFade() |
876 | + | |
877 | - | judge:Destroy() |
877 | + | |
878 | - | cooldown = false |
878 | + | |
879 | local sine = 0 | |
880 | local change = 1 | |
881 | local Create = LoadLibrary("RbxUtility").Create | |
882 | local TimeStop = false | |
883 | local m = Create("Model")({ | |
884 | Parent = AdvancingFortress, | |
885 | - | if key == "r" and cooldown == false then |
885 | + | |
886 | }) | |
887 | ||
888 | - | standjudge = CFuncs.Sound.Create("1300588094") |
888 | + | |
889 | - | standjudge.Volume = 7 |
889 | + | |
890 | - | standjudge.TimePosition = 8.9 |
890 | + | |
891 | - | bbgTl.Text = "Your judge.. will be my Stand!" |
891 | + | |
892 | - | wait(3) |
892 | + | |
893 | local function newMotor(part0, part1, c0, c1) | |
894 | - | TextFade() |
894 | + | |
895 | Parent = part0, | |
896 | - | cooldown = false |
896 | + | |
897 | Part1 = part1, | |
898 | C0 = c0, | |
899 | C1 = c1 | |
900 | }) | |
901 | return w | |
902 | end | |
903 | - | if key == ";" then |
903 | + | |
904 | return a:lerp(b, t) | |
905 | - | wagh = CFuncs.Sound.Create("998999809") |
905 | + | |
906 | - | wagh.Volume = 10 |
906 | + | |
907 | NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
908 | - | bbgTl.Text = "*inaudible*" |
908 | + | |
909 | - | wait(2) |
909 | + | |
910 | - | TextFade() |
910 | + | |
911 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0)) | |
912 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
913 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
914 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
915 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
916 | local rarmc1 = RW.C1 | |
917 | local larmc1 = LW.C1 | |
918 | - | yaro = CFuncs.Sound.Create("869850439") |
918 | + | |
919 | - | yaro.Volume = 5 |
919 | + | |
920 | - | bbgTl.Text = "You b#$+@rd!" |
920 | + | |
921 | - | wait(1.4) |
921 | + | |
922 | - | TextFade() |
922 | + | |
923 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
924 | RW.C0 = clerp(RW.C0, table[3], speed) | |
925 | LW.C0 = clerp(LW.C0, table[4], speed) | |
926 | RH.C0 = clerp(RH.C0, table[5], speed) | |
927 | LH.C0 = clerp(LH.C0, table[6], speed) | |
928 | if bool == true and resetc1 == false then | |
929 | resetc1 = true | |
930 | RootJoint.C1 = RootJoint.C1 | |
931 | Torso.Neck.C1 = Torso.Neck.C1 | |
932 | RW.C1 = rarmc1 | |
933 | LW.C1 = larmc1 | |
934 | - | local ScreenGui = Instance.new("ScreenGui", plr.PlayerGui) |
934 | + | |
935 | - | local ImageLabel = Instance.new("ImageLabel") |
935 | + | |
936 | - | ImageLabel.Parent = ScreenGui |
936 | + | |
937 | - | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) |
937 | + | |
938 | - | ImageLabel.BackgroundTransparency = 1 |
938 | + | |
939 | - | ImageLabel.Position = UDim2.new(0, 0, 0, 0) |
939 | + | |
940 | - | ImageLabel.Size = UDim2.new(0, 300, 0, 200) |
940 | + | |
941 | - | ImageLabel.Image = "rbxassetid://1539214808" |
941 | + | |
942 | - | for i = 1,10 do |
942 | + | |
943 | - | ImageLabel.Position = ImageLabel.Position - UDim2.new(0,25,0,15) + UDim2.new(0,math.random(-20,20),0,math.random(-20,20)) |
943 | + | |
944 | - | ImageLabel.Size = ImageLabel.Size + UDim2.new(0,100,0,100) |
944 | + | |
945 | - | wait() |
945 | + | |
946 | - | end |
946 | + | |
947 | - | ScreenGui:remove() |
947 | + | |
948 | - | sptw = CFuncs.Sound.Create("1515909034") |
948 | + | |
949 | - | sptw.Volume = 8 |
949 | + | |
950 | - | sptw.TimePosition = 0.05 |
950 | + | |
951 | - | bbgTl.Text = "Star Platinum: The World!" |
951 | + | |
952 | - | wait(1.5) |
952 | + | |
953 | - | lasers = CFuncs.Sound.Create("926382097") |
953 | + | |
954 | - | lasers.Volume = 5 |
954 | + | |
955 | end | |
956 | lastframe = tick() | |
957 | end | |
958 | - | wait(1.5) |
958 | + | |
959 | tf = 0 | |
960 | else | |
961 | tf = tf - frame * math.floor(tf / frame) | |
962 | end | |
963 | end | |
964 | end) | |
965 | function swait(num) | |
966 | if num == 0 or num == nil then | |
967 | ArtificialHB.Event:wait() | |
968 | else | |
969 | for i = 0, num do | |
970 | ArtificialHB.Event:wait() | |
971 | - | h = v.Character:FindFirstChild("Head") |
971 | + | |
972 | - | if h then |
972 | + | |
973 | - | h.Anchored = true |
973 | + | |
974 | - | plr.Character:FindFirstChild("Head").Anchored = false |
974 | + | |
975 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
976 | end | |
977 | CFuncs = { | |
978 | Part = { | |
979 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
980 | local Part = Create("Part")({ | |
981 | Parent = Parent, | |
982 | Reflectance = Reflectance, | |
983 | Transparency = Transparency, | |
984 | CanCollide = false, | |
985 | Locked = true, | |
986 | BrickColor = BrickColor.new(tostring(BColor)), | |
987 | Name = Name, | |
988 | Size = Size, | |
989 | Material = Material | |
990 | }) | |
991 | RemoveOutlines(Part) | |
992 | return Part | |
993 | end | |
994 | }, | |
995 | Mesh = { | |
996 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
997 | local Msh = Create(Mesh)({ | |
998 | Parent = Part, | |
999 | Offset = OffSet, | |
1000 | Scale = Scale | |
1001 | }) | |
1002 | if Mesh == "SpecialMesh" then | |
1003 | Msh.MeshType = MeshType | |
1004 | Msh.MeshId = MeshId | |
1005 | end | |
1006 | - | game.Lighting.TimeOfDay="00:00:00" |
1006 | + | |
1007 | - | game.Lighting.OutdoorAmbient=Color3.new(50,0,350) |
1007 | + | |
1008 | - | wait(0.1) |
1008 | + | |
1009 | - | game.Lighting.OutdoorAmbient=Color3.new(0,114,235) |
1009 | + | |
1010 | - | wait(0.1) |
1010 | + | |
1011 | - | game.Lighting.OutdoorAmbient=Color3.new(0,0,235) |
1011 | + | |
1012 | - | wait(0.1) |
1012 | + | |
1013 | - | game.Lighting.OutdoorAmbient=Color3.new(0,114,0) |
1013 | + | |
1014 | - | wait(0.1) |
1014 | + | |
1015 | - | game.Lighting.OutdoorAmbient=Color3.new(255, 255, 355) |
1015 | + | |
1016 | - | tiock = CFuncs.Sound.Create("627730102") |
1016 | + | |
1017 | - | tiock.Looped = true |
1017 | + | |
1018 | return Weld | |
1019 | - | --game.Debris:AddItem(cce, 5) |
1019 | + | |
1020 | }, | |
1021 | Sound = { | |
1022 | Create = function(id, par, vol, pit) | |
1023 | local Sound = Create("Sound")({ | |
1024 | Volume = vol, | |
1025 | Pitch = pit or 1, | |
1026 | - | wait(5) |
1026 | + | |
1027 | Parent = par or workspace | |
1028 | }) | |
1029 | Sound:play() | |
1030 | - | tiock:Stop() |
1030 | + | |
1031 | - | tokiu = CFuncs.Sound.Create("923033530") |
1031 | + | |
1032 | - | tokiu.Volume = 5 |
1032 | + | |
1033 | - | bbgTl.Text = "..Time resumes once again." |
1033 | + | |
1034 | - | wait(1.5) |
1034 | + | |
1035 | - | brmpbrmp = CFuncs.Sound.Create("757514877") |
1035 | + | |
1036 | - | brmpbrmp.Volume = 5 |
1036 | + | |
1037 | Color3 = Color, | |
1038 | - | h = v.Character:FindFirstChild("Head") |
1038 | + | |
1039 | - | if h then |
1039 | + | |
1040 | - | h.Anchored = false |
1040 | + | |
1041 | Parent = Parent | |
1042 | }) | |
1043 | return Decal | |
1044 | end | |
1045 | }, | |
1046 | BillboardGui = { | |
1047 | Create = function(Parent, Image, Position, Size) | |
1048 | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1)) | |
1049 | BillPar.CFrame = CFrame.new(Position) | |
1050 | local Bill = Create("BillboardGui")({ | |
1051 | Parent = BillPar, | |
1052 | Adornee = BillPar, | |
1053 | Size = UDim2.new(1, 0, 1, 0), | |
1054 | SizeOffset = Vector2.new(Size, Size) | |
1055 | }) | |
1056 | local d = Create("ImageLabel", Bill)({ | |
1057 | Parent = Bill, | |
1058 | BackgroundTransparency = 1, | |
1059 | Size = UDim2.new(1, 0, 1, 0), | |
1060 | Image = "rbxassetid://" .. Image | |
1061 | }) | |
1062 | return BillPar | |
1063 | end | |
1064 | - | game.Lighting.OutdoorAmbient=Color3.new(0,114,0) |
1064 | + | |
1065 | - | wait(0.1) |
1065 | + | |
1066 | - | game.Lighting.OutdoorAmbient=Color3.new(50,0,350) |
1066 | + | |
1067 | - | wait(0.1) |
1067 | + | |
1068 | - | game.Lighting.OutdoorAmbient=Color3.new(0,114,235) |
1068 | + | |
1069 | - | wait(0.1) |
1069 | + | |
1070 | - | game.Lighting.OutdoorAmbient=Color3.new(0,0,235) |
1070 | + | |
1071 | Size = Size, | |
1072 | - | game.Lighting.OutdoorAmbient=Color3.new(135/255, 135/255, 128/255) |
1072 | + | |
1073 | - | game.Lighting.TimeOfDay="15:00:00" |
1073 | + | |
1074 | ZOffset = ZOffset, | |
1075 | - | canworld = true |
1075 | + | |
1076 | Drag = Drag, | |
1077 | LockedToPart = LockedToPart, | |
1078 | VelocityInheritance = VelocityInheritance, | |
1079 | EmissionDirection = EmissionDirection, | |
1080 | Enabled = Enabled, | |
1081 | Lifetime = LifeTime, | |
1082 | Rate = Rate, | |
1083 | - | function clerp(a,b,c,d) |
1083 | + | |
1084 | RotSpeed = RotSpeed, | |
1085 | Speed = Speed, | |
1086 | VelocitySpread = VelocitySpread | |
1087 | }) | |
1088 | return Particle | |
1089 | end | |
1090 | }, | |
1091 | CreateTemplate = {} | |
1092 | } | |
1093 | function rayCast(Position, Direction, Range, Ignore) | |
1094 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
1095 | end | |
1096 | function FindNearestTorso(pos) | |
1097 | - | Mouse.KeyDown:connect(function(key) |
1097 | + | |
1098 | - | if key == "e" and part == nil and cooldown == false and canworld == true then |
1098 | + | |
1099 | local dist = 1000 | |
1100 | - | game.Lighting.OutdoorAmbient=Color3.new(0,14,135) |
1100 | + | |
1101 | - | game.Lighting.TimeOfDay="00:00:00" |
1101 | + | |
1102 | temp2 = list[x] | |
1103 | - | game.Lighting.OutdoorAmbient=Color3.new(135/255, 135/255, 128/255) |
1103 | + | |
1104 | - | game.Lighting.TimeOfDay="15:00:00" |
1104 | + | |
1105 | - | plr.Character.Torso.CFrame = CFrame.new(Vector3.new(Mouse.hit.p.X,Mouse.hit.p.Y+1.5,Mouse.hit.p.Z),plr.Character.Torso.CFrame.p) |
1105 | + | |
1106 | - | bam = CFuncs.Sound.Create("872436640") |
1106 | + | |
1107 | local dohit = true | |
1108 | if dohit == true then | |
1109 | - | wait(1.1) |
1109 | + | |
1110 | - | bam:Destroy() |
1110 | + | |
1111 | end | |
1112 | end | |
1113 | end | |
1114 | end | |
1115 | - | ) |
1115 | + | |
1116 | end | |
1117 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1118 | if hit.Parent == nil then | |
1119 | return | |
1120 | end | |
1121 | local h = hit.Parent:FindFirstChild("Humanoid") | |
1122 | - | AdvancingFortress.Parent = char |
1122 | + | |
1123 | if v:IsA("Humanoid") then | |
1124 | h = v | |
1125 | end | |
1126 | end | |
1127 | - | local FOrin = "rbxassetid://1036828417" |
1127 | + | |
1128 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
1129 | return | |
1130 | - | HOLYFUCKTHATSSOMEGOODMUSICDAMN = Instance.new("Sound", hum) |
1130 | + | |
1131 | - | HOLYFUCKTHATSSOMEGOODMUSICDAMN.SoundId = "rbxassetid://748183600" |
1131 | + | |
1132 | - | HOLYFUCKTHATSSOMEGOODMUSICDAMN.Volume = 0.5 |
1132 | + | |
1133 | - | HOLYFUCKTHATSSOMEGOODMUSICDAMN.Looped = true |
1133 | + | |
1134 | - | HOLYFUCKTHATSSOMEGOODMUSICDAMN:Play() |
1134 | + | |
1135 | - | muted = false |
1135 | + | |
1136 | game:GetService("Debris"):AddItem(c, 0.5) | |
1137 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
1138 | local Damage = math.random(minim, maxim) | |
1139 | - | if key == "t" and muted == false then |
1139 | + | |
1140 | local block = hit.Parent:findFirstChild("Block") | |
1141 | - | HOLYFUCKTHATSSOMEGOODMUSICDAMN.Volume = 0 |
1141 | + | |
1142 | - | muted = true |
1142 | + | |
1143 | block.Value = block.Value - 1 | |
1144 | print(block.Value) | |
1145 | end | |
1146 | if TimeStop == false then | |
1147 | - | pl.Shirt:Remove() |
1147 | + | |
1148 | - | pl.Pants:Remove() |
1148 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Tr. Flu. Yellow").Color) |
1149 | elseif TimeStop == true then | |
1150 | - | FShirt = Instance.new("Shirt", pl) |
1150 | + | repeat wait() until TimeStop == false |
1151 | - | FShirt.Name = "FShirt" |
1151 | + | h.Health = h.Health - Damage / 2 |
1152 | - | FPants = Instance.new("Pants", pl) |
1152 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Tr. Flu. Yellow").Color) |
1153 | - | FPants.Name = "FPants" |
1153 | + | |
1154 | - | pl.FShirt.ShirtTemplate = "rbxassetid://572240895" |
1154 | + | |
1155 | - | pl.FPants.PantsTemplate = "rbxassetid://572240895" |
1155 | + | |
1156 | hum.PlatformStand = true | |
1157 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1158 | swait(1) | |
1159 | HHumanoid.PlatformStand = false | |
1160 | end), hum) | |
1161 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
1162 | local bodvol = Create("BodyVelocity")({ | |
1163 | velocity = angle * knockback, | |
1164 | P = 5000, | |
1165 | maxForce = Vector3.new(8000, 8000, 8000), | |
1166 | Parent = hit | |
1167 | }) | |
1168 | local rl = Create("BodyAngularVelocity")({ | |
1169 | P = 3000, | |
1170 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1171 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1172 | Parent = hit | |
1173 | - | Character["Advancing Fortress"].belt2.Part.Transparency = 1 |
1173 | + | |
1174 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
1175 | game:GetService("Debris"):AddItem(rl, 0.5) | |
1176 | elseif Type == "Normal" then | |
1177 | local vp = Create("BodyVelocity")({ | |
1178 | P = 500, | |
1179 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1180 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
1181 | }) | |
1182 | if knockback > 0 then | |
1183 | vp.Parent = hit.Parent.Torso | |
1184 | end | |
1185 | game:GetService("Debris"):AddItem(vp, 0.5) | |
1186 | elseif Type == "Up" then | |
1187 | local bodyVelocity = Create("BodyVelocity")({ | |
1188 | velocity = Vector3.new(0, 20, 0), | |
1189 | P = 5000, | |
1190 | maxForce = Vector3.new(8000, 8000, 8000), | |
1191 | - | Character.boot1:Destroy() |
1191 | + | |
1192 | - | Character.boot2:Destroy() |
1192 | + | |
1193 | - | Character.glo1:Destroy() |
1193 | + | |
1194 | - | Character.glo2:Destroy() |
1194 | + | |
1195 | - | Character.scarf:Destroy() |
1195 | + | |
1196 | - | Character.cloth:Destroy() |
1196 | + | |
1197 | - | Character.rs:Destroy() |
1197 | + | |
1198 | - | Character.ls:Destroy() |
1198 | + | |
1199 | - | Character.ear1:Destroy() |
1199 | + | |
1200 | - | Character.ear2:Destroy() |
1200 | + | |
1201 | - | Character.belt:Destroy() |
1201 | + | |
1202 | - | Character.belt2:Destroy() |
1202 | + | |
1203 | - | Character.belt3:Destroy() |
1203 | + | |
1204 | - | Character.cloth2:Destroy() |
1204 | + | |
1205 | - | Character.ap1:Destroy() |
1205 | + | |
1206 | - | Character.ap2:Destroy() |
1206 | + | |
1207 | - | Character.ap3:Destroy() |
1207 | + | |
1208 | - | Character.ap4:Destroy() |
1208 | + | |
1209 | - | Character.muscle:Destroy() |
1209 | + | |
1210 | - | Character.circ1:Destroy() |
1210 | + | |
1211 | - | Character.circ2:Destroy() |
1211 | + | |
1212 | - | Character.circ3:Destroy() |
1212 | + | |
1213 | - | Character.circ4:Destroy() |
1213 | + | |
1214 | - | Character.gr:Destroy() |
1214 | + | |
1215 | - | Character.gl:Destroy() |
1215 | + | |
1216 | game:GetService("Debris"):AddItem(bp, 1) | |
1217 | elseif Type == "Freeze" then | |
1218 | local BodPos = Create("BodyPosition")({ | |
1219 | P = 50000, | |
1220 | D = 1000, | |
1221 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1222 | position = hit.Parent.Torso.Position, | |
1223 | Parent = hit.Parent.Torso | |
1224 | }) | |
1225 | local BodGy = Create("BodyGyro")({ | |
1226 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
1227 | P = 20000, | |
1228 | Parent = hit.Parent.Torso, | |
1229 | cframe = hit.Parent.Torso.CFrame | |
1230 | }) | |
1231 | hit.Parent.Torso.Anchored = true | |
1232 | coroutine.resume(coroutine.create(function(Part) | |
1233 | swait(1.5) | |
1234 | Part.Anchored = false | |
1235 | end), hit.Parent.Torso) | |
1236 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1237 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1238 | end | |
1239 | local debounce = Create("BoolValue")({ | |
1240 | Name = "DebounceHit", | |
1241 | Parent = hit.Parent, | |
1242 | Value = true | |
1243 | }) | |
1244 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1245 | c = Create("ObjectValue")({ | |
1246 | Name = "creator", | |
1247 | Value = Player, | |
1248 | Parent = h | |
1249 | }) | |
1250 | game:GetService("Debris"):AddItem(c, 0.5) | |
1251 | end | |
1252 | end | |
1253 | function ShowDamage(Pos, Text, Time, Color) | |
1254 | local Rate = 0.03333333333333333 | |
1255 | local Pos = Pos or Vector3.new(0, 0, 0) | |
1256 | local Text = Text or "" | |
1257 | local Time = Time or 2 | |
1258 | local Color = Color or Color3.new(1, 0, 1) | |
1259 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1260 | EffectPart.Anchored = true | |
1261 | local BillboardGui = Create("BillboardGui")({ | |
1262 | Size = UDim2.new(3, 0, 3, 0), | |
1263 | Adornee = EffectPart, | |
1264 | Parent = EffectPart | |
1265 | }) | |
1266 | local TextLabel = Create("TextLabel")({ | |
1267 | BackgroundTransparency = 1, | |
1268 | Size = UDim2.new(1, 0, 1, 0), | |
1269 | Text = Text, | |
1270 | Font = "SciFi", | |
1271 | TextColor3 = Color, | |
1272 | TextScaled = true, | |
1273 | Parent = BillboardGui | |
1274 | }) | |
1275 | game.Debris:AddItem(EffectPart, Time) | |
1276 | EffectPart.Parent = game:GetService("Workspace") | |
1277 | delay(0, function() | |
1278 | local Frames = Time / Rate | |
1279 | for Frame = 1, Frames do | |
1280 | wait(Rate) | |
1281 | local Percent = Frame / Frames | |
1282 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1283 | TextLabel.TextTransparency = Percent | |
1284 | end | |
1285 | if EffectPart and EffectPart.Parent then | |
1286 | EffectPart:Destroy() | |
1287 | end | |
1288 | end) | |
1289 | end | |
1290 | local STDamage = false | |
1291 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
1292 | for _, c in pairs(workspace:children()) do | |
1293 | local hum = c:findFirstChild("Humanoid") | |
1294 | if hum ~= nil then | |
1295 | local head = c:findFirstChild("Torso") | |
1296 | if head ~= nil then | |
1297 | local targ = head.Position - Part.Position | |
1298 | local mag = targ.magnitude | |
1299 | if Magnitude >= mag and c.Name ~= Player.Name then | |
1300 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch) | |
1301 | if STDamage == true then | |
1302 | for i = 1, 3 do | |
1303 | Effects.Block.Create(BrickColor.new("Maroon"), head.CFrame, 1, 1, 1, 4, 4, 4, 0.07, 1) | |
1304 | end | |
1305 | for i = 1, 10 do | |
1306 | CamShake(1, 70000) | |
1307 | Effects.Break.Create(BrickColor.new("Maroon"), head.CFrame, 1, 1, 1) | |
1308 | end | |
1309 | elseif STDamage == false then | |
1310 | CamShake(1, 90000) | |
1311 | Effects.Block.Create(BrickColor.new("Maroon"), head.CFrame, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.07, 1) | |
1312 | for i = 1, 2 do | |
1313 | Effects.Break.Create(BrickColor.new("Maroon"), head.CFrame, 0.4, 0.4, 0.4) | |
1314 | end | |
1315 | end | |
1316 | end | |
1317 | end | |
1318 | end | |
1319 | end | |
1320 | end | |
1321 | ||
1322 | ||
1323 | ||
1324 | ||
1325 | HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999)) | |
1326 | HHandleWeld = CFuncs.Weld.Create(m, Head, HHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0646438599, -0.0500068665, -0.0646400452, -0.707107365, -3.21031663E-8, 0.707106411, -8.19564079E-8, 1.00000119, -1.41561088E-7, -0.707106352, 1.38630043E-7, -0.707107484)) | |
1327 | Eye1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Really black", "Eye1", Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
1328 | PartWeld = CFuncs.Weld.Create(m, HHandle, Eye1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0381011963, -0.0574798584, 0.471725464, -2.89082527E-6, 0.173647985, -0.984807968, -6.2584877E-7, 0.984808922, 0.173648104, 1.00000012, 1.02902288E-6, -2.77161598E-6)) | |
1329 | CFuncs.Mesh.Create("SpecialMesh", Eye1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1330 | Eye2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Really black", "Eye2", Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
1331 | PartWeld = CFuncs.Weld.Create(m, HHandle, Eye2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0115432739, -0.0487277508, 0.482452393, -0.981060266, -0.173648134, -0.0858327746, -0.172987267, 0.984808922, -0.0151339322, 0.0871568322, 3.96735317E-7, -0.996194839)) | |
1332 | CFuncs.Mesh.Create("SpecialMesh", Eye2, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1333 | THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "THandle", Vector3.new(1, 0.799999893, 1)) | |
1334 | THandleWeld = CFuncs.Weld.Create(m, Torso, THandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) | |
1335 | AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003)) | |
1336 | AHandleRWeld = CFuncs.Weld.Create(m, RightArm, AHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209915161, 0.00999641418, -3.81469727E-6, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) | |
1337 | HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003)) | |
1338 | HitboxRWeld = CFuncs.Weld.Create(m, AHandleR, HitboxR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) | |
1339 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998)) | |
1340 | PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550004005, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) | |
1341 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003)) | |
1342 | PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.150001526, 0.200003624, -0.359994888, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) | |
1343 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003)) | |
1344 | PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.20000267, 0.359992981, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) | |
1345 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005)) | |
1346 | PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209899902, -0.809997559, 5.7220459E-6, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024)) | |
1347 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998)) | |
1348 | PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.300003052, 0.650004387, 1.71661377E-5, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) | |
1349 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998)) | |
1350 | PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.650003433, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) | |
1351 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041)) | |
1352 | PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199996948, -0.049996376, -3.81469727E-6, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) | |
1353 | HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003)) | |
1354 | HitboxRWeld = CFuncs.Weld.Create(m, AHandleR, HitboxR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) | |
1355 | AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003)) | |
1356 | AHandleLWeld = CFuncs.Weld.Create(m, LeftArm, AHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.210014343, 0.00999736786, 1.14440918E-5, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024)) | |
1357 | HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003)) | |
1358 | HitboxLWeld = CFuncs.Weld.Create(m, AHandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) | |
1359 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003)) | |
1360 | PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, -0.360012054, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) | |
1361 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041)) | |
1362 | PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199989319, -0.0499982834, -9.53674316E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) | |
1363 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003)) | |
1364 | PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, 0.359992981, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) | |
1365 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005)) | |
1366 | PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.21005249, -0.81000042, 2.28881836E-5, -1, -8.19564079E-8, -5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, -5.96046519E-8, -1.41561088E-7, -1.00000024)) | |
1367 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998)) | |
1368 | PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550003052, -5.7220459E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) | |
1369 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998)) | |
1370 | PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.299995422, 0.650003433, -3.81469727E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) | |
1371 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998)) | |
1372 | PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.65000248, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) | |
1373 | LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006)) | |
1374 | LHandleRWeld = CFuncs.Weld.Create(m, RightLeg, LHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498962402, -0.0950021744, 0.00499534607, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024)) | |
1375 | HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003)) | |
1376 | HitboxLWeld = CFuncs.Weld.Create(m, AHandleR, HitboxR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024)) | |
1377 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.800000012, 0.800000012, 0.200000003)) | |
1378 | PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00499916077, -0.604999542, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) | |
1379 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006)) | |
1380 | PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600002289, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) | |
1381 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006)) | |
1382 | PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454998016, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) | |
1383 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.400000006, 1.20000005, 0.200000003)) | |
1384 | PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00499916077, -0.604999542, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) | |
1385 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Quill grey", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012)) | |
1386 | PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499725342, 0.0149993896, 0.00500297546, 2.28095047E-7, 1.00000775, 2.99581131E-7, -1.00000417, 5.63755016E-8, -4.06898749E-7, -2.98379774E-7, 2.07959161E-8, 1.0000037)) | |
1387 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1388 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1389 | WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.604999542, -0.504998207, 0.29499054, -2.98023224E-8, -6.70552254E-8, -1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8)) | |
1390 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1391 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1392 | WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.60499382, -0.495001793, 0.305000305, -5.96046519E-8, -1.41561088E-7, -1.00000024, -8.19564079E-8, -1.00000119, -1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8)) | |
1393 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1394 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1395 | WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.495001793, 0.29499054, 2.98023224E-8, 6.70552254E-8, 1.00000012, -3.7252903E-8, -1.0000006, -7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8)) | |
1396 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1397 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1398 | WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.504998207, 0.305000305, 2.98023224E-8, 6.70552254E-8, 1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, -1, -4.47034836E-8, -2.98023224E-8)) | |
1399 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1400 | LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006)) | |
1401 | LHandleLWeld = CFuncs.Weld.Create(m, LeftLeg, LHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498199463, -0.095000267, 0.00502204895, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024)) | |
1402 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1403 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006)) | |
1404 | PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600001335, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) | |
1405 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.400000006, 1.20000005, 0.300000012)) | |
1406 | PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00500106812, -0.554998398, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) | |
1407 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006)) | |
1408 | PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454999924, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) | |
1409 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Quill grey", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012)) | |
1410 | PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499534607, 0.0149993896, 0.00500297546, 2.28095047E-7, 1.00000775, 2.99581131E-7, -1.00000417, 5.63755016E-8, -4.06898749E-7, -2.98379774E-7, 2.07959161E-8, 1.0000037)) | |
1411 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1412 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.800000012, 0.800000012, 0.300000012)) | |
1413 | PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00500106812, -0.554998398, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024)) | |
1414 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003)) | |
1415 | WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.505000114, 0.305000305, 2.98023224E-8, 6.70552254E-8, 1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, -1, -4.47034836E-8, -2.98023224E-8)) | |
1416 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1417 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003)) | |
1418 | WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.505000114, 0.29499054, -2.98023224E-8, -6.70552254E-8, -1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8)) | |
1419 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1420 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003)) | |
1421 | WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.494999886, 0.29499054, 2.98023224E-8, 6.70552254E-8, 1.00000012, -3.7252903E-8, -1.0000006, -7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8)) | |
1422 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1423 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003)) | |
1424 | WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.494999886, 0.305000305, -5.96046519E-8, -1.41561088E-7, -1.00000024, -8.19564079E-8, -1.00000119, -1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8)) | |
1425 | Shield = CFuncs.Part.Create(m, "Neon", 0, 0, "Tr. Flu. Yellow", "Part", Vector3.new(9.1, 8.5, 0.2)) | |
1426 | CFuncs.Mesh.Create("SpecialMesh", Shield, "FileMesh", "rbxassetid://0", Vector3.new(0, 0, 0), Vector3.new(0.04, 0.04, 0.04)) | |
1427 | Shield.Parent = nil | |
1428 | EffectModel = Create("Model")({Parent = Character, Name = "Effects"}) | |
1429 | Effects = { | |
1430 | Block = { | |
1431 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1432 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1433 | prt.Anchored = true | |
1434 | prt.CFrame = cframe | |
1435 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1436 | game:GetService("Debris"):AddItem(prt, 10) | |
1437 | if Type == 1 or Type == nil then | |
1438 | table.insert(Effects, { | |
1439 | prt, | |
1440 | "Block1", | |
1441 | delay, | |
1442 | x3, | |
1443 | y3, | |
1444 | z3, | |
1445 | msh | |
1446 | }) | |
1447 | elseif Type == 2 then | |
1448 | table.insert(Effects, { | |
1449 | prt, | |
1450 | "Block2", | |
1451 | delay, | |
1452 | x3, | |
1453 | y3, | |
1454 | z3, | |
1455 | msh | |
1456 | }) | |
1457 | end | |
1458 | end | |
1459 | }, | |
1460 | Cylinder = { | |
1461 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1462 | local prt = CFuncs.Part .. Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2)) | |
1463 | prt.Anchored = true | |
1464 | prt.CFrame = cframe | |
1465 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1466 | game:GetService("Debris"):AddItem(prt, 2) | |
1467 | Effects[#Effects + 1] = { | |
1468 | prt, | |
1469 | "Cylinder", | |
1470 | delay, | |
1471 | x3, | |
1472 | y3, | |
1473 | z3 | |
1474 | } | |
1475 | end | |
1476 | }, | |
1477 | Head = { | |
1478 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1479 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1480 | prt.Anchored = true | |
1481 | prt.CFrame = cframe | |
1482 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1483 | game:GetService("Debris"):AddItem(prt, 10) | |
1484 | table.insert(Effects, { | |
1485 | prt, | |
1486 | "Cylinder", | |
1487 | delay, | |
1488 | x3, | |
1489 | y3, | |
1490 | z3, | |
1491 | msh | |
1492 | }) | |
1493 | end | |
1494 | }, | |
1495 | Sphere = { | |
1496 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1497 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1498 | prt.Anchored = true | |
1499 | prt.CFrame = cframe | |
1500 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1501 | game:GetService("Debris"):AddItem(prt, 10) | |
1502 | table.insert(Effects, { | |
1503 | - | local Damage = math.random(999999999, 999999999) |
1503 | + | |
1504 | "Cylinder", | |
1505 | delay, | |
1506 | x3, | |
1507 | y3, | |
1508 | z3, | |
1509 | msh | |
1510 | }) | |
1511 | end | |
1512 | - | if canworld == true then |
1512 | + | |
1513 | Sphere2 = { | |
1514 | - | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Lilac").Color) |
1514 | + | |
1515 | - | elseif canworld == false then |
1515 | + | |
1516 | - | repeat |
1516 | + | |
1517 | prt.CFrame = cframe | |
1518 | - | until canworld == true |
1518 | + | |
1519 | game:GetService("Debris"):AddItem(prt, 10) | |
1520 | - | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Lilac").Color) |
1520 | + | |
1521 | prt, | |
1522 | "Cylinder", | |
1523 | delay, | |
1524 | x3, | |
1525 | y3, | |
1526 | z3, | |
1527 | msh | |
1528 | }) | |
1529 | end | |
1530 | }, | |
1531 | Elec = { | |
1532 | Create = function(cff, x, y, z) | |
1533 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Tr. Flu. Yellow"), "Part", Vector3.new(1, 1, 1)) | |
1534 | prt.Anchored = true | |
1535 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
1536 | prt.CFrame = CFrame.new(prt.Position) | |
1537 | game:GetService("Debris"):AddItem(prt, 2) | |
1538 | local xval = math.random() / 2 | |
1539 | local yval = math.random() / 2 | |
1540 | local zval = math.random() / 2 | |
1541 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
1542 | table.insert(Effects, { | |
1543 | prt, | |
1544 | "Elec", | |
1545 | 0.1, | |
1546 | x, | |
1547 | y, | |
1548 | z, | |
1549 | xval, | |
1550 | yval, | |
1551 | zval | |
1552 | }) | |
1553 | end | |
1554 | }, | |
1555 | Ring = { | |
1556 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1557 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1558 | prt.Anchored = true | |
1559 | prt.CFrame = cframe | |
1560 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1561 | game:GetService("Debris"):AddItem(prt, 10) | |
1562 | table.insert(Effects, { | |
1563 | prt, | |
1564 | "Cylinder", | |
1565 | delay, | |
1566 | x3, | |
1567 | y3, | |
1568 | z3, | |
1569 | msh | |
1570 | }) | |
1571 | end | |
1572 | }, | |
1573 | Wave = { | |
1574 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1575 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1576 | prt.Anchored = true | |
1577 | prt.CFrame = cframe | |
1578 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1579 | game:GetService("Debris"):AddItem(prt, 10) | |
1580 | table.insert(Effects, { | |
1581 | prt, | |
1582 | "Cylinder", | |
1583 | delay, | |
1584 | x3, | |
1585 | y3, | |
1586 | z3, | |
1587 | msh | |
1588 | }) | |
1589 | end | |
1590 | }, | |
1591 | Break = { | |
1592 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1593 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1594 | prt.Anchored = true | |
1595 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1596 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1597 | local num = math.random(10, 50) / 1000 | |
1598 | game:GetService("Debris"):AddItem(prt, 10) | |
1599 | table.insert(Effects, { | |
1600 | prt, | |
1601 | "Shatter", | |
1602 | num, | |
1603 | prt.CFrame, | |
1604 | math.random() - math.random(), | |
1605 | 0, | |
1606 | math.random(50, 100) / 100 | |
1607 | }) | |
1608 | end | |
1609 | }, | |
1610 | Fire = { | |
1611 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
1612 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1613 | prt.Anchored = true | |
1614 | prt.CFrame = cframe | |
1615 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1616 | game:GetService("Debris"):AddItem(prt, 10) | |
1617 | table.insert(Effects, { | |
1618 | prt, | |
1619 | "Fire", | |
1620 | delay, | |
1621 | 1, | |
1622 | 1, | |
1623 | 1, | |
1624 | msh | |
1625 | }) | |
1626 | end | |
1627 | }, | |
1628 | FireWave = { | |
1629 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1630 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
1631 | prt.Anchored = true | |
1632 | prt.CFrame = cframe | |
1633 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1634 | local d = Create("Decal")({ | |
1635 | Parent = prt, | |
1636 | Texture = "rbxassetid://26356434", | |
1637 | Face = "Top" | |
1638 | }) | |
1639 | local d = Create("Decal")({ | |
1640 | Parent = prt, | |
1641 | Texture = "rbxassetid://26356434", | |
1642 | Face = "Bottom" | |
1643 | }) | |
1644 | game:GetService("Debris"):AddItem(prt, 10) | |
1645 | table.insert(Effects, { | |
1646 | prt, | |
1647 | "FireWave", | |
1648 | 1, | |
1649 | 30, | |
1650 | math.random(400, 600) / 100, | |
1651 | msh | |
1652 | }) | |
1653 | end | |
1654 | }, | |
1655 | Lightning = { | |
1656 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
1657 | local magz = (p0 - p1).magnitude | |
1658 | local curpos = p0 | |
1659 | local trz = { | |
1660 | -ofs, | |
1661 | ofs | |
1662 | } | |
1663 | for i = 1, tym do | |
1664 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
1665 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1666 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1667 | li.Material = "Neon" | |
1668 | if tym == i then | |
1669 | local magz2 = (curpos - p1).magnitude | |
1670 | li.Size = Vector3.new(th, th, magz2) | |
1671 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1672 | table.insert(Effects, { | |
1673 | li, | |
1674 | "Disappear", | |
1675 | last | |
1676 | }) | |
1677 | - | |
1677 | + | |
1678 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1679 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1680 | game.Debris:AddItem(li, 10) | |
1681 | table.insert(Effects, { | |
1682 | li, | |
1683 | "Disappear", | |
1684 | last | |
1685 | }) | |
1686 | end | |
1687 | end | |
1688 | end | |
1689 | }, | |
1690 | EffectTemplate = {} | |
1691 | } | |
1692 | local Invisible = true | |
1693 | function Reappear() | |
1694 | for _, i in pairs(AdvancingFortress:children()) do | |
1695 | - | HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999)) |
1695 | + | |
1696 | coroutine.resume(coroutine.create(function(Part) | |
1697 | - | ---- |
1697 | + | |
1698 | - | THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "THandle", Vector3.new(1, 0.799999893, 1)) |
1698 | + | |
1699 | Part.Transparency = -i | |
1700 | - | ---- |
1700 | + | |
1701 | - | AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003)) |
1701 | + | |
1702 | end), i) | |
1703 | end | |
1704 | end | |
1705 | for _, i in pairs(m:children()) do | |
1706 | - | HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003)) |
1706 | + | |
1707 | coroutine.resume(coroutine.create(function(Part) | |
1708 | - | ---- |
1708 | + | |
1709 | - | AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003)) |
1709 | + | |
1710 | Part.Transparency = i | |
1711 | end | |
1712 | - | HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003)) |
1712 | + | |
1713 | end), i) | |
1714 | end | |
1715 | end | |
1716 | - | ---- |
1716 | + | |
1717 | - | LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006)) |
1717 | + | |
1718 | - | LHandleRWeld = CFuncs.Weld.Create(m, RightLeg, LHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498962402, -0.0950021744, 0.00499534607, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024)) |
1718 | + | |
1719 | if i:IsA("BasePart") then | |
1720 | coroutine.resume(coroutine.create(function(Part) | |
1721 | - | ---- |
1721 | + | |
1722 | - | LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006)) |
1722 | + | |
1723 | Part.Transparency = i | |
1724 | end | |
1725 | Part.Transparency = 0 | |
1726 | - | ---- |
1726 | + | |
1727 | - | Shield = CFuncs.Part.Create(m, "Neon", 0, 1, "Really black", "Part", Vector3.new(9.1, 8.5, 0.2)) |
1727 | + | |
1728 | end | |
1729 | end | |
1730 | function Disappear() | |
1731 | for _, i in pairs(AdvancingFortress:children()) do | |
1732 | if i:IsA("BasePart") then | |
1733 | coroutine.resume(coroutine.create(function(Part) | |
1734 | for i = 0, 1, 0.3 do | |
1735 | swait() | |
1736 | Part.Transparency = i | |
1737 | end | |
1738 | Part.Transparency = 1 | |
1739 | end), i) | |
1740 | end | |
1741 | end | |
1742 | for _, i in pairs(m:children()) do | |
1743 | if i:IsA("BasePart") then | |
1744 | coroutine.resume(coroutine.create(function(Part) | |
1745 | for i = 0, 1, 0.3 do | |
1746 | swait() | |
1747 | Part.Transparency = i | |
1748 | end | |
1749 | Part.Transparency = 1 | |
1750 | end), i) | |
1751 | end | |
1752 | end | |
1753 | end | |
1754 | function DisappearArmorOnly() | |
1755 | for _, i in pairs(m:children()) do | |
1756 | if i:IsA("BasePart") then | |
1757 | coroutine.resume(coroutine.create(function(Part) | |
1758 | for i = 0, 1, 0.3 do | |
1759 | swait() | |
1760 | Part.Transparency = i | |
1761 | end | |
1762 | Part.Transparency = 1 | |
1763 | end), i) | |
1764 | end | |
1765 | end | |
1766 | end | |
1767 | function CamShake(time, freq) | |
1768 | coroutine.resume(coroutine.create(function() | |
1769 | local cam = game:GetService("Workspace").CurrentCamera | |
1770 | local time = 10 | |
1771 | local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0) | |
1772 | if math.random(1, 2) == 1 then | |
1773 | seed = Vector3.new(-seed.x, seed.y, 0) | |
1774 | end | |
1775 | if math.random(1, 2) == 1 then | |
1776 | seed = Vector3.new(seed.x, -seed.y, 0) | |
1777 | end | |
1778 | cam.CoordinateFrame = CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(seed.x * time, seed.y * time, 0) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude) | |
1779 | for i = 1, time do | |
1780 | cam.CoordinateFrame = CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(-seed.x, -seed.y, 0) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude) | |
1781 | wait() | |
1782 | end | |
1783 | end)) | |
1784 | end | |
1785 | ||
1786 | local bigg = false | |
1787 | function PE() | |
1788 | pep = Instance.new("ParticleEmitter") | |
1789 | pep.Name = "pep" | |
1790 | pep.Lifetime = NumberRange.new(1) | |
1791 | pep.Rate = 5 | |
1792 | pep.Texture = "rbxassetid://298768656" | |
1793 | pep.VelocitySpread = 60 | |
1794 | pep.Parent = char.Head | |
1795 | end | |
1796 | ||
1797 | local ora = false | |
1798 | function ORA() | |
1799 | attack = true | |
1800 | local S = CFuncs.Sound.Create("601465752", Torso, 1, 1) | |
1801 | S.Looped = true | |
1802 | S.Volume = 10 | |
1803 | if ora == true then | |
1804 | while ora == true do | |
1805 | CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2)) | |
1806 | MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "131070686", 1) | |
1807 | for i = 0, 1, 0.8 do | |
1808 | swait() | |
1809 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5) | |
1810 | PlayAnimationFromTable({ | |
1811 | CFrame.new(-0.561874092, -0.346845925, -0.435822666, 0.64278698, -0.323744029, 0.694272816, 0, 0.906308115, 0.422617555, -0.766044974, -0.271653026, 0.582563102) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1812 | CFrame.new(8.9481473E-6, 1.49999249, 5.2684918E-6, 0.704669476, 0.0560214818, -0.707321048, -0.0868221819, 0.996195257, -0.0075956285, 0.704204142, 0.0667634308, 0.706852198) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1813 | CFrame.new(1.97048378, 0.808467984, -0.254994273, -0.457079947, -0.7819345, 0.423859, 0.842444837, -0.227779076, 0.488266319, -0.285246044, 0.580254436, 0.762849629) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1814 | CFrame.new(-1.18535733, 0.530705392, -0.713678956, 0.778861284, -0.400152355, 0.482962847, 0.492400557, -0.0868335962, -0.866026342, 0.388479888, 0.912325621, 0.129403993) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1815 | CFrame.new(0.708622813, -1.45549953, -0.199998885, 0.984808087, -0.167729571, -0.0449446738, 0.173646823, 0.951251328, 0.254887581, 1.4603138E-6, -0.258819878, 0.965925694) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1816 | CFrame.new(-0.604502141, -1.943735, 5.15520573E-4, 0.982544005, 0.00845471025, 0.185841322, -0.0717865527, 0.938827574, 0.336824685, -0.17162481, -0.34428525, 0.923045695) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
1817 | }, 0.8, false) | |
1818 | end | |
1819 | CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2)) | |
1820 | MagnitudeDamage(HitboxR, 5, 20, 20, 0, "Normal", "131070686", 1) | |
1821 | for i = 0, 1, 0.8 do | |
1822 | swait() | |
1823 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5) | |
1824 | PlayAnimationFromTable({ | |
1825 | CFrame.new(1.1920929E-6, -0.0170394331, -0.52941519, 0.70710516, -2.21270369E-7, -0.707108498, 0.18301405, 0.965925574, 0.183012888, 0.683014154, -0.258820117, 0.683010995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1826 | CFrame.new(-1.22189522E-6, 1.49999356, 1.04308128E-6, 0.707110465, 0.122788236, 0.696360528, -1.4748274E-6, 0.98480773, -0.173648238, -0.707103193, 0.122787461, 0.696368098) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1827 | CFrame.new(1.44562268, 0.333473027, -0.475224167, 0.907739162, 0.217196256, 0.358959734, 0.40125221, -0.199453548, -0.893991232, -0.122576535, 0.955528319, -0.268199235) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1828 | CFrame.new(-1.884794, 0.881342709, -0.770847201, 0.0912726, 0.688403964, -0.719562054, -0.91795665, -0.221949756, -0.328776807, -0.386037856, 0.690535009, 0.611666858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1829 | CFrame.new(0.789779902, -1.8586235, 0.161380947, 0.965926766, -0.258817255, -8.10623169E-6, 0.243211254, 0.907672405, 0.342022836, -0.0885141194, -0.330371499, 0.939691722) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1830 | CFrame.new(-0.73783946, -1.45406294, -0.215006173, 0.882573366, -0.0180292428, 0.469829261, -0.163172901, 0.925412893, 0.342031717, -0.440952569, -0.378531486, 0.813802838) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
1831 | }, 0.8, false) | |
1832 | end | |
1833 | CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2)) | |
1834 | MagnitudeDamage(HitboxL, 5, 20, 20, 0, "Normal", "131070686", 1) | |
1835 | - | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lilac"), "Part", Vector3.new(1, 1, 1)) |
1835 | + | |
1836 | swait() | |
1837 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5) | |
1838 | PlayAnimationFromTable({ | |
1839 | CFrame.new(0.215482175, -0.0393944569, -0.126133978, 0.259671897, -0.351393819, 0.8994959, -0.075478971, 0.921212733, 0.381667405, -0.962742627, -0.167001322, 0.212690249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1840 | CFrame.new(-1.26510859E-5, 1.49999118, -2.16066837E-7, 0.420251548, -0.0215960592, -0.90715003, -0.100918382, 0.992402375, -0.0703775883, 0.901778162, 0.12112467, 0.414879382) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1841 | CFrame.new(1.81840861, 0.705381036, -0.347923756, -0.236346364, -0.883376777, 0.404705286, 0.945798516, -0.113677993, 0.304209948, -0.222726092, 0.454668403, 0.862362981) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1842 | CFrame.new(-1.21960759, 0.420275182, -0.728423595, -0.57802856, -0.255150676, 0.775100708, 0.665436089, -0.697164714, 0.266751111, 0.472311139, 0.669969678, 0.572767615) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1843 | CFrame.new(0.620917439, -1.53014767, -0.12091887, 0.707106113, 0.241845652, -0.66446346, -1.2293458E-6, 0.939692676, 0.342019886, 0.707107484, -0.241843566, 0.664462805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1844 | CFrame.new(-0.873213649, -1.89646459, -0.100004375, 0.933012128, 0.353242815, -0.0686147735, -0.258823931, 0.791241407, 0.554028153, 0.249997303, -0.499155849, 0.829665601) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
1845 | }, 0.8, false) | |
1846 | end | |
1847 | CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2)) | |
1848 | MagnitudeDamage(HitboxR, 5, 20, 20, 0, "Normal", "131070686", 1) | |
1849 | for i = 0, 1, 0.8 do | |
1850 | swait() | |
1851 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5) | |
1852 | PlayAnimationFromTable({ | |
1853 | CFrame.new(0.299998224, -0.0468490347, -0.211314023, 0.642786682, -2.87348001E-7, -0.766045272, 0.323744863, 0.906307757, 0.271653205, 0.694272637, -0.42261824, 0.582562685) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1854 | CFrame.new(2.71201134E-6, 1.4999969, 8.94069672E-7, 0.642777503, 0.133020476, 0.754416466, 4.31999706E-6, 0.984809279, -0.173647597, -0.766052961, 0.111620098, 0.633012772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1855 | CFrame.new(1.27057993, 0.327670783, -0.599993467, 0.638493001, 0.280156553, -0.716825664, -0.769049883, 0.196164608, -0.608343422, -0.0298155248, 0.939697862, 0.340704083) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1856 | CFrame.new(-1.86040878, 1.02262986, -0.452570885, 0.386218816, 0.717701018, -0.579433978, -0.403004408, -0.433759809, -0.805879354, -0.829712272, 0.544763446, 0.121709965) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1857 | CFrame.new(0.779964924, -1.75316048, -0.0263362825, 0.826099217, -0.36394459, 0.43023771, 0.181541473, 0.894650102, 0.40822047, -0.533481896, -0.259124577, 0.805140793) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1858 | CFrame.new(-0.724003315, -1.47219872, -0.266945302, 0.766038954, -0.166370958, 0.620890498, 4.09781933E-6, 0.965925932, 0.258819997, -0.642794192, -0.198263675, 0.739937425) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
1859 | }, 0.8, false) | |
1860 | end | |
1861 | CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2)) | |
1862 | MagnitudeDamage(HitboxL, 5, 20, 20, 0, "Normal", "131070686", 1) | |
1863 | end | |
1864 | end | |
1865 | S:Stop() | |
1866 | local S2 = CFuncs.Sound.Create("933302532", Torso, 1.5, 1) | |
1867 | ||
1868 | S2.Volume = 7 | |
1869 | ||
1870 | for i = 0, 1, 0.13 do | |
1871 | swait() | |
1872 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -3), 0.5) | |
1873 | PlayAnimationFromTable({ | |
1874 | CFrame.new(2.68220901E-6, -0.0739577487, 0.0232374109, 0.707105994, -3.47710994E-7, -0.707107604, -0.122787997, 0.98480767, -0.122788213, 0.696364999, 0.173648596, 0.696363389) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1875 | CFrame.new(-5.36441803E-7, 1.49999356, -1.28149986E-6, 0.707105994, -0.122788511, 0.696365297, -3.47710994E-7, 0.984808028, 0.173649326, -0.707107604, -0.122788727, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1876 | CFrame.new(1.13747835, 0.382733107, -0.729447305, 0.579597414, 0.772029877, -0.260839432, -0.351051509, -0.0523141921, -0.934893906, -0.735411942, 0.633429527, 0.240701318) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1877 | CFrame.new(-1.53455412, 0.605712295, -0.542039633, 0.786121905, 0.427828372, -0.446066588, -0.606968522, 0.398195386, -0.687771559, -0.116626531, 0.811420619, 0.572708428) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1878 | CFrame.new(0.903839946, -1.70734286, 0.373858094, 0.863655448, -0.430708885, 0.261895239, 0.187955216, 0.757234871, 0.625514567, -0.46773085, -0.491004646, 0.734943748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1879 | CFrame.new(-0.596739769, -1.62411702, -0.0967329144, 0.725493789, -0.291957259, 0.623233199, -0.081900157, 0.86250174, 0.499382436, -0.683338165, -0.41334182, 0.601828396) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
1880 | }, 0.2, false) | |
1881 | end | |
1882 | Effects.Wave.Create(BrickColor.new("Tr. Flu. Yellow"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06) | |
1883 | CFuncs.Sound.Create("471881954", HitboxR, 1, 1) | |
1884 | MagnitudeDamage(HitboxR, 7, 40, 40, 40, "Normal", "610359590", 1) | |
1885 | for i = 0, 1, 0.1 do | |
1886 | swait() | |
1887 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3) | |
1888 | PlayAnimationFromTable({ | |
1889 | CFrame.new(-0.338160992, -0.0772590488, -0.484170675, 0.307024002, -0.153706044, 0.939207554, -0.403236002, 0.872901201, 0.274671286, -0.86205399, -0.463052958, 0.206021816) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1890 | CFrame.new(-0.0502282679, 1.50051379, -0.0864891857, 0.502356887, -0.246090144, -0.828901231, -0.00520065427, 0.957766473, -0.287500501, 0.864644766, 0.148738697, 0.479860842) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1891 | CFrame.new(1.81698525, 1.20575511, -0.168038458, 0.0800605565, -0.859217465, 0.505307972, 0.457053572, -0.418860257, -0.784640014, 0.885828495, 0.293771386, 0.359173566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1892 | CFrame.new(-1.66351938, 0.691055655, 0.203685582, 0.309526145, 0.793331623, -0.524231553, -0.937197804, 0.347743452, -0.0271089375, 0.160791725, 0.499699503, 0.851144433) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1893 | CFrame.new(0.971616864, -1.6145575, 0.096719563, 0.544056833, -0.203144252, -0.814085484, 0.51142931, 0.849463344, 0.129818588, 0.665161908, -0.486975014, 0.566052973) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1894 | CFrame.new(-0.676943898, -1.44413579, 0.206094518, 0.884253025, 0.0570309162, -0.463512957, 0.209485695, 0.838620007, 0.502824426, 0.417387724, -0.541723251, 0.729605079) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
1895 | }, 0.6, false) | |
1896 | end | |
1897 | attack = false | |
1898 | end | |
1899 | function CastleCrusherFist() | |
1900 | attack = true | |
1901 | STDamage = true | |
1902 | local S3 = CFuncs.Sound.Create("1368114767", Torso, 1, 1) | |
1903 | ||
1904 | for i = 0, 1, 0.1 do | |
1905 | S3.Volume = 7 | |
1906 | swait() | |
1907 | Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 2, 1, 1, 4, 4, 4, 0.3, 1) | |
1908 | Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5) | |
1909 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.2) | |
1910 | PlayAnimationFromTable({ | |
1911 | CFrame.new(-5.99771738E-7, -0.00717129931, 0.169464022, 0.422617912, -2.2671E-7, -0.906308055, -0.309975952, 0.939692557, -0.144544229, 0.851650834, 0.342020661, 0.397130787) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1912 | CFrame.new(-0.0102166235, 1.52751005, -0.239579424, 0.456926107, -0.171424359, 0.872835577, -0.167732254, 0.94705075, 0.273807496, -0.87355268, -0.271512181, 0.403976858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1913 | CFrame.new(0.944673777, 0.474064022, -0.539126158, 0.229199454, 0.762564063, 0.604949772, 0.809601307, 0.195682317, -0.553402781, -0.540382624, 0.616607308, -0.572522938) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1914 | CFrame.new(-1.61232829, 0.309644789, -0.24482432, 0.455398798, 0.536860108, -0.710207343, -0.887026072, 0.205374956, -0.413530886, -0.076149486, 0.818293095, 0.569735885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1915 | CFrame.new(1.08113468, -1.48232126, 0.656104684, 0.81421864, -0.517612338, 0.262917578, 0.175395042, 0.651024699, 0.738514543, -0.553430021, -0.555197835, 0.620862961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1916 | CFrame.new(-0.427128136, -1.50760674, -0.0473105907, 0.804508269, -0.373179317, 0.462065101, -0.173640698, 0.596196175, 0.783836842, -0.567992628, -0.71083647, 0.414845526) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
1917 | }, 0.2, false) | |
1918 | end | |
1919 | MagnitudeDamage(HitboxR, 100, 40, 170, 190, "Normal", "705598350", 1) | |
1920 | Effects.Wave.Create(BrickColor.new("Tr. Flu. Yellow"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06) | |
1921 | CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9) | |
1922 | CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8) | |
1923 | for i = 0, 1, 0.08 do | |
1924 | swait() | |
1925 | Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1) | |
1926 | Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5) | |
1927 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3) | |
1928 | PlayAnimationFromTable({ | |
1929 | CFrame.new(-3.57627869E-7, -0.116980031, -2.22140098, 0.342020035, -6.11579551E-8, 0.939692736, -0.604023039, 0.766044259, 0.219846413, -0.71984607, -0.642787933, 0.262002468) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1930 | CFrame.new(-1.13248825E-6, 1.49999046, 8.94069672E-7, 0.422608167, -0.383014679, -0.82140249, -1.36196613E-5, 0.906310022, -0.422613323, 0.906312764, 0.17861104, 0.383008778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1931 | CFrame.new(1.72490048, 1.25688744, -0.021425128, -0.678134382, -0.731868863, 0.0670941696, 0.667953849, -0.575675249, 0.47163111, -0.306547582, 0.364645123, 0.879239857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1932 | CFrame.new(-1.70565486, 0.469353855, 0.162862837, 0.82686162, 0.55728358, 0.0757693052, -0.414878726, 0.513436973, 0.751176, 0.379712611, -0.652546048, 0.655748963) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1933 | CFrame.new(0.757160306, -1.48393714, -0.193787217, 0.601814985, 0.305624545, -0.737842917, -2.98023224E-8, 0.923879623, 0.382683486, 0.798635662, -0.230304718, 0.556004763) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1934 | CFrame.new(-0.908789515, -1.60188651, -0.0663503706, 0.696367741, 0.548584938, -0.462741733, -0.173660636, 0.7544052, 0.633021533, 0.696362019, -0.360454619, 0.620610356) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
1935 | }, 0.6, false) | |
1936 | end | |
1937 | STDamage = false | |
1938 | attack = false | |
1939 | end | |
1940 | function CastleCrusherFist() | |
1941 | attack = true | |
1942 | STDamage = true | |
1943 | local S2 = CFuncs.Sound.Create("1368114767", Torso, 1, 1) | |
1944 | ||
1945 | for i = 0, 1, 0.1 do | |
1946 | S2.Volume = 10 | |
1947 | swait() | |
1948 | Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1) | |
1949 | Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5) | |
1950 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.5) | |
1951 | PlayAnimationFromTable({ | |
1952 | CFrame.new(-5.99771738E-7, -0.00717129931, 0.169464022, 0.422617912, -2.2671E-7, -0.906308055, -0.309975952, 0.939692557, -0.144544229, 0.851650834, 0.342020661, 0.397130787) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1953 | CFrame.new(-0.0102166235, 1.52751005, -0.239579424, 0.456926107, -0.171424359, 0.872835577, -0.167732254, 0.94705075, 0.273807496, -0.87355268, -0.271512181, 0.403976858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1954 | CFrame.new(0.944673777, 0.474064022, -0.539126158, 0.229199454, 0.762564063, 0.604949772, 0.809601307, 0.195682317, -0.553402781, -0.540382624, 0.616607308, -0.572522938) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1955 | CFrame.new(-1.61232829, 0.309644789, -0.24482432, 0.455398798, 0.536860108, -0.710207343, -0.887026072, 0.205374956, -0.413530886, -0.076149486, 0.818293095, 0.569735885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1956 | CFrame.new(1.08113468, -1.48232126, 0.656104684, 0.81421864, -0.517612338, 0.262917578, 0.175395042, 0.651024699, 0.738514543, -0.553430021, -0.555197835, 0.620862961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1957 | CFrame.new(-0.427128136, -1.50760674, -0.0473105907, 0.804508269, -0.373179317, 0.462065101, -0.173640698, 0.596196175, 0.783836842, -0.567992628, -0.71083647, 0.414845526) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
1958 | }, 0.2, false) | |
1959 | end | |
1960 | Effects.Wave.Create(BrickColor.new("Tr. Flu. Yellow"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06) | |
1961 | Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 140 | |
1962 | CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9) | |
1963 | CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8) | |
1964 | for i = 0, 1, 0.08 do | |
1965 | swait() | |
1966 | MagnitudeDamage(HitboxR, 5, 50, 80, 100, "Normal", "610359515", 1) | |
1967 | Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1) | |
1968 | Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5) | |
1969 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 1) | |
1970 | PlayAnimationFromTable({ | |
1971 | CFrame.new(-3.57627869E-7, -0.116980031, -2.22140098, 0.342020035, -6.11579551E-8, 0.939692736, -0.604023039, 0.766044259, 0.219846413, -0.71984607, -0.642787933, 0.262002468) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1972 | CFrame.new(-1.13248825E-6, 1.49999046, 8.94069672E-7, 0.422608167, -0.383014679, -0.82140249, -1.36196613E-5, 0.906310022, -0.422613323, 0.906312764, 0.17861104, 0.383008778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1973 | CFrame.new(1.72490048, 1.25688744, -0.021425128, -0.678134382, -0.731868863, 0.0670941696, 0.667953849, -0.575675249, 0.47163111, -0.306547582, 0.364645123, 0.879239857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1974 | CFrame.new(-1.70565486, 0.469353855, 0.162862837, 0.82686162, 0.55728358, 0.0757693052, -0.414878726, 0.513436973, 0.751176, 0.379712611, -0.652546048, 0.655748963) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1975 | CFrame.new(0.757160306, -1.48393714, -0.193787217, 0.601814985, 0.305624545, -0.737842917, -2.98023224E-8, 0.923879623, 0.382683486, 0.798635662, -0.230304718, 0.556004763) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1976 | CFrame.new(-0.908789515, -1.60188651, -0.0663503706, 0.696367741, 0.548584938, -0.462741733, -0.173660636, 0.7544052, 0.633021533, 0.696362019, -0.360454619, 0.620610356) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
1977 | }, 0.6, false) | |
1978 | end | |
1979 | STDamage = false | |
1980 | attack = false | |
1981 | end | |
1982 | function weld5(part0, part1, c0, c1) | |
1983 | local weeld = Instance.new("Weld", part0) | |
1984 | weeld.Part0 = part0 | |
1985 | weeld.Part1 = part1 | |
1986 | weeld.C0 = c0 | |
1987 | weeld.C1 = c1 | |
1988 | return weeld | |
1989 | end | |
1990 | local Grab = false | |
1991 | function GRABEMBOIGRABEM() | |
1992 | attack = true | |
1993 | gp = nil | |
1994 | con1 = HitboxR.Touched:connect(function(hit) | |
1995 | local ht = hit.Parent | |
1996 | local hum1 = ht:FindFirstChild("Humanoid") | |
1997 | if Grab == false then | |
1998 | if hum1 ~= nil and hit.Parent ~= Character then | |
1999 | hum1.PlatformStand = true | |
2000 | gp = ht | |
2001 | Grab = true | |
2002 | local asd = weld5(RightArm, ht:FindFirstChild("Head"), CFrame.new(0, -1.5, 0), CFrame.new(0, 0, 0)) | |
2003 | asd.Parent = RightArm | |
2004 | asd.Name = "asd" | |
2005 | asd.C0 = asd.C0 * CFrame.Angles(math.rad(-90), 0, 0) | |
2006 | CFuncs.Sound.Create("200632821", Torso, 1, 1) | |
2007 | elseif hum1 == nil then | |
2008 | con1:disconnect() | |
2009 | wait() | |
2010 | return | |
2011 | end | |
2012 | end | |
2013 | end) | |
2014 | for i = 0, 1, 0.2 do | |
2015 | swait() | |
2016 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.3) | |
2017 | PlayAnimationFromTable({ | |
2018 | CFrame.new(3, -0.233785003, -0.0873367637, 0.499999821, -1.78813863E-7, -0.866025507, 0.150383934, 0.984807789, 0.0868239477, 0.852868676, -0.173648283, 0.492403716) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2019 | CFrame.new(-1.2665987E-7, 1.49999368, -1.02072954E-6, 0.573575675, 0.0713936985, 0.816035628, -5.01982868E-7, 0.996194899, -0.0871551931, -0.819152594, 0.049989678, 0.571393132) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2020 | CFrame.new(1.47017705, 0.884583473, 0.0280318335, 0.886720777, -0.205462068, 0.414139926, 0.236241817, -0.568640172, -0.787933052, 0.397386849, 0.796513736, -0.455686152) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2021 | CFrame.new(-1.76647317, 0.409804255, -0.03838256, 0.444113791, 0.836516619, -0.320940912, -0.836516619, 0.258818626, -0.482962757, -0.320940822, 0.482962757, 0.814704895) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2022 | CFrame.new(0.838749349, -1.98392951, 0.15807499, 0.830397308, -0.277826965, 0.48296237, 0.167731524, 0.951251447, 0.258818328, -0.53132534, -0.133914024, 0.836516857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2023 | CFrame.new(-0.811016142, -1.63281643, -0.179561377, 0.642214835, 0.00870995224, 0.76647532, -0.0151349902, 0.999884725, 0.00131897628, -0.766375303, -0.0124476701, 0.642272472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2024 | }, 0.3, false) | |
2025 | end | |
2026 | for i = 0, 1, 0.1 do | |
2027 | swait() | |
2028 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3) | |
2029 | PlayAnimationFromTable({ | |
2030 | CFrame.new(0.159273595, -0.292363107, -0.115490548, 0.0844330043, -0.144068986, 0.985959053, -0.357129037, 0.919379771, 0.164923266, -0.930231094, -0.366039604, 0.0261747837) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2031 | CFrame.new(4.81307507E-6, 1.49999106, -3.65450978E-6, 0.171444774, -0.100317284, -0.980072975, -0.0616287738, 0.991762042, -0.11229457, 0.983264267, 0.0796530023, 0.163850009) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2032 | CFrame.new(1.73932612, 1.06159639, 0.141945362, -0.153680667, -0.913934886, 0.375639945, 0.659919798, -0.377877831, -0.649395287, 0.735450923, 0.148092732, 0.661196351) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2033 | CFrame.new(-1.68730593, 0.429691374, -0.418232322, 0.633863091, 0.519853055, -0.57268703, -0.772902489, 0.453472316, -0.443829596, 0.028971523, 0.723958433, 0.689235032) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2034 | CFrame.new(0.51381135, -1.74729896, 0.0663300753, 0.422899842, 0.615153313, -0.665388703, -0.0435856879, 0.747240186, 0.66312325, 0.905127704, -0.251433372, 0.342819571) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2035 | CFrame.new(-0.991570175, -1.5009346, -0.1830419, 0.415304065, 0.586875141, -0.695054054, -0.166150108, 0.800146103, 0.576333642, 0.894380629, -0.123870395, 0.429813296) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2036 | }, 0.3, false) | |
2037 | end | |
2038 | if Grab == true then | |
2039 | for i = 1, 5 do | |
2040 | for i = 0, 1, 0.35 do | |
2041 | swait() | |
2042 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 13, -6), 0.3) | |
2043 | PlayAnimationFromTable({ | |
2044 | CFrame.new(-0.0701122433, -0.336599797, -0.467321932, 0.694850504, -0.140219957, -0.70535183, 0.704946458, 0.326802045, 0.629484713, 0.142244101, -0.934633017, 0.325926095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2045 | CFrame.new(-3.05473804E-6, 1.49998987, 8.94069672E-7, 0.707109332, 0.122785509, 0.696362555, 1.49011612E-6, 0.984807491, -0.173649877, -0.707104206, 0.122789055, 0.696367502) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2046 | CFrame.new(1.23286271, 0.549701929, -0.640782475, 0.740093768, 0.612683415, 0.277277708, 0.0735714883, 0.336068332, -0.938959956, -0.668469429, 0.715318501, 0.203645304) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2047 | CFrame.new(-1.63418663, 0.202915072, -0.0286649466, 0.865367413, 0.490698665, 0.101754986, -0.445756227, 0.846484005, -0.291146517, -0.228999093, 0.206590697, 0.951251805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2048 | CFrame.new(0.702593744, -1.71321297, 0.369734973, 0.965928972, -0.148447216, 0.212003857, 1.10641122E-6, 0.819153726, 0.573574424, -0.258809477, -0.554031372, 0.791244447) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2049 | CFrame.new(-0.577289343, -1.34221494, -0.247686923, 0.766049445, -0.219846189, 0.604016602, 1.58697367E-6, 0.939692199, 0.342021465, -0.642781496, -0.262004316, 0.719851196) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2050 | }, 0.4, false) | |
2051 | end | |
2052 | Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 2, 1, 1, 4, 4, 4, 0.3, 1) | |
2053 | ||
2054 | for i = 0, 1, 0.3 do | |
2055 | swait() | |
2056 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3) | |
2057 | PlayAnimationFromTable({ | |
2058 | CFrame.new(-0.170705646, -0.774955988, -0.472947001, 0.827218175, 0.130671635, 0.546475112, -0.561879098, 0.194839522, 0.803946257, -0.00142200035, -0.972091854, 0.234596446) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2059 | CFrame.new(-1.76951289E-7, 1.49999058, 2.2649765E-6, 0.80180192, -0.161171481, -0.575445414, 0.176131338, 0.983905077, -0.0301590711, 0.571044207, -0.0771723837, 0.817283988) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2060 | CFrame.new(1.59014189, 0.537312388, -0.263691217, 0.798337102, -0.524361372, 0.296147287, 0.455999702, 0.205153137, -0.866011977, 0.393347621, 0.826412499, 0.402889967) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2061 | CFrame.new(-1.41546631, 0.414666086, 0.337005794, 0.716736436, 0.581529975, 0.384852976, -0.56681174, 0.807305396, -0.164264664, -0.406218559, -0.100404784, 0.908243656) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2062 | CFrame.new(0.793360233, -1.59947133, 0.0620805621, 0.876221955, -0.148448378, -0.458477885, 0.368687749, 0.81915307, 0.439383447, 0.310339272, -0.55403173, 0.772486985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2063 | CFrame.new(-0.535338402, -1.81867206, 0.817932665, 0.829598367, 0.11430642, -0.546535134, 0.32139504, 0.702652454, 0.634810925, 0.456587166, -0.702291727, 0.546181798) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2064 | }, 0.7, false) | |
2065 | end | |
2066 | local hit, pos = rayCast(HitboxR.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character) | |
2067 | if hit ~= nil then | |
2068 | MagnitudeDamage(HitboxR, 5, 10, 30, 0, "Normal", "610359515", 1.3) | |
2069 | Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09, 1) | |
2070 | Effects.Wave.Create(BrickColor.new("Tr. Flu. Yellow"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09) | |
2071 | Effects.Sphere.Create(BrickColor.new("Tr. Flu. Yellow"), CFrame.new(pos), 3, 3, 3, 5, 5, 5, 0.09) | |
2072 | Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5) | |
2073 | end | |
2074 | end | |
2075 | end | |
2076 | for i, v in pairs(RightArm:GetChildren()) do | |
2077 | if v.Name == "asd" and v:IsA("Weld") then | |
2078 | v:Remove() | |
2079 | end | |
2080 | end | |
2081 | Grab = false | |
2082 | con1:disconnect() | |
2083 | attack = false | |
2084 | end | |
2085 | local IsWearingArmor = false | |
2086 | function Armor(Mode) | |
2087 | attack = true | |
2088 | if IsWearingArmor == false and Mode == "On" then | |
2089 | - | if key == "q" and Invisible == false then |
2089 | + | |
2090 | Disappear() | |
2091 | - | sf = CFuncs.Sound.Create("1125531635") |
2091 | + | |
2092 | - | sf.Volume = 10 |
2092 | + | |
2093 | Character.Humanoid.MaxHealth = math.huge | |
2094 | - | sf:Destroy() |
2094 | + | |
2095 | HHandleWeld.Part0 = Character.Head | |
2096 | THandleWeld.Part0 = Character.Torso | |
2097 | AHandleRWeld.Part0 = Character["Right Arm"] | |
2098 | AHandleLWeld.Part0 = Character["Left Arm"] | |
2099 | LHandleRWeld.Part0 = Character["Right Leg"] | |
2100 | LHandleLWeld.Part0 = Character["Left Leg"] | |
2101 | for i, v in pairs(AdvancingFortress:GetChildren()) do | |
2102 | if v:IsA("BasePart") then | |
2103 | v.Transparency = 1 | |
2104 | end | |
2105 | end | |
2106 | for i, v in pairs(Character:GetChildren()) do | |
2107 | if v:IsA("Accessory") then | |
2108 | v.Handle.Transparency = 1 | |
2109 | for i, v in pairs(Character:GetChildren()) do | |
2110 | if v:IsA("Model") then | |
2111 | - | local S = CFuncs.Sound.Create("627578508", Torso, 1, 1) |
2111 | + | |
2112 | end | |
2113 | - | S.Volume = 10 |
2113 | + | |
2114 | end | |
2115 | end | |
2116 | elseif IsWearingArmor == true and Mode == "Off" then | |
2117 | - | MagnitudeDamage(HitboxL, 5, 20, 20, 0, "Normal", "330706798", 1) |
2117 | + | |
2118 | DisappearArmorOnly() | |
2119 | for i, v in pairs(Character:GetChildren()) do | |
2120 | if v:IsA("Accessory") then | |
2121 | v.Handle.Transparency = 0 | |
2122 | for i, v in pairs(Character:GetChildren()) do | |
2123 | if v:IsA("Model") then | |
2124 | v.Handle.Transparency = 0 | |
2125 | end | |
2126 | end | |
2127 | end | |
2128 | end | |
2129 | swait(10) | |
2130 | Reappear() | |
2131 | - | MagnitudeDamage(HitboxR, 5, 20, 20, 0, "Normal", "330706798", 1) |
2131 | + | |
2132 | Character.Humanoid.Health = math.huge | |
2133 | Character.Humanoid.MaxHealth = math.huge | |
2134 | Character.Humanoid.Health = math.huge | |
2135 | Character.Humanoid.MaxHealth = math.huge | |
2136 | Character.Humanoid.Health = math.huge | |
2137 | Character.Humanoid.MaxHealth = math.huge | |
2138 | Character.Humanoid.Health = math.huge | |
2139 | ||
2140 | HHandleWeld.Part0 = Head | |
2141 | THandleWeld.Part0 = Torso | |
2142 | AHandleRWeld.Part0 = RightArm | |
2143 | AHandleLWeld.Part0 = LeftArm | |
2144 | LHandleRWeld.Part0 = RightLeg | |
2145 | - | MagnitudeDamage(HitboxL, 5, 20, 20, 0, "Normal", "330706798", 1) |
2145 | + | |
2146 | for i, v in pairs(AdvancingFortress:GetChildren()) do | |
2147 | if v:IsA("BasePart") then | |
2148 | v.Transparency = 0 | |
2149 | end | |
2150 | end | |
2151 | end | |
2152 | attack = false | |
2153 | end | |
2154 | local ShieldMode = false | |
2155 | local ShieldCharge = false | |
2156 | function HoloHexShield() | |
2157 | attack = true | |
2158 | Shield.Parent = m | |
2159 | - | MagnitudeDamage(HitboxR, 5, 20, 20, 0, "Normal", "330706798", 1) |
2159 | + | |
2160 | if ShieldMode == true then | |
2161 | while ShieldMode == true do | |
2162 | swait() | |
2163 | Effects.Elec.Create(Shield.CFrame, 6, 6, 6) | |
2164 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3) | |
2165 | PlayAnimationFromTable({ | |
2166 | CFrame.new(-1.35600567E-6, -0.00759640103, -0.0868249983, 0.499999046, -1.78813579E-7, -0.866026044, 0.150384009, 0.984807789, 0.0868238211, 0.852869093, -0.173648283, 0.492402941) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2167 | CFrame.new(1.49011612E-7, 1.4999963, -2.08616257E-7, 0.499999046, 0.0754797831, 0.862731695, -1.78813579E-7, 0.996196151, -0.0871563852, -0.866026044, 0.0435779616, 0.498097092) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2168 | CFrame.new(1.50238657, 0.320674658, 0.252193451, 0.855209947, -0.376432747, -0.356249839, 0.469514668, 0.853786647, 0.224954769, 0.219480619, -0.35964793, 0.906907678) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2169 | CFrame.new(-0.944740474, 0.689363539, -0.718644142, 0.836517215, -0.545084715, 0.0558781698, -0.258834839, -0.482974619, -0.836504936, 0.482953727, 0.685287297, -0.545103252) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2170 | CFrame.new(0.61525929, -1.85127568, 0.120779425, 0.928754449, -0.162676111, 0.333104134, 0.0394990072, 0.93689239, 0.347407103, -0.368597984, -0.309496939, 0.876555264) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2171 | CFrame.new(-0.849455297, -1.60697818, -0.270956695, 0.696359396, -0.136922374, 0.704511464, -0.122786656, 0.944430828, 0.30491665, -0.707112312, -0.298836082, 0.640850842) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2172 | }, 0.3, false) | |
2173 | - | MagnitudeDamage(HitboxL, 5, 20, 20, 0, "Normal", "330706798", 1) |
2173 | + | |
2174 | end | |
2175 | Shield.CanCollide = false | |
2176 | CFuncs.Sound.Create("200632211", HitboxR, 1, 0.8) | |
2177 | CFuncs.Sound.Create("200632875", HitboxR, 1, 0.9) | |
2178 | Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 160 | |
2179 | Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06) | |
2180 | for i = 0, 1, 0.05 do | |
2181 | swait() | |
2182 | MagnitudeDamage(Shield, 5, 10, 15, 20, "Normal", "610359515", 1.3) | |
2183 | Effects.Elec.Create(Shield.CFrame, 6, 6, 6) | |
2184 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -3), 1) | |
2185 | PlayAnimationFromTable({ | |
2186 | CFrame.new(8.64267349E-7, -0.183445007, -0.748600185, 0.499999046, -1.19209105E-7, -0.866026044, 0.496732056, 0.819152176, 0.28678751, 0.709407032, -0.573576331, 0.409575343) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2187 | CFrame.new(-7.15255737E-7, 1.50001967, -6.2584877E-7, 0.499999046, 0.36600244, 0.784893453, -1.19209105E-7, 0.90631634, -0.42262283, -0.866026044, 0.211310923, 0.453157306) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2188 | CFrame.new(1.76569033, 0.610707581, 0.171269983, 0.658267856, -0.680293143, -0.322312057, 0.725086272, 0.457917482, 0.514355659, -0.202320263, -0.572288036, 0.794703186) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2189 | CFrame.new(-1.07552779, 1.01543474, -0.975205183, 0.645357251, -0.653341353, -0.39580214, -0.64124006, -0.181770697, -0.745500326, 0.4151209, 0.734918237, -0.536255598) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2190 | CFrame.new(0.630614281, -1.76328135, 0.440194428, 0.866077662, -0.24334389, 0.436684549, -0.0614839792, 0.815044224, 0.57612747, -0.496114343, -0.525820255, 0.69092983) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2191 | CFrame.new(-0.857700765, -1.25810766, -0.239681423, 0.499215126, -0.257185757, 0.827429712, -0.238765404, 0.877132356, 0.416689515, -0.832931936, -0.405579239, 0.376470625) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2192 | }, 0.5, false) | |
2193 | - | Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06) |
2193 | + | |
2194 | Shield.Parent = nil | |
2195 | attack = false | |
2196 | end | |
2197 | Mouse.Button1Down:connect(function() | |
2198 | if attack == false and Invisible == false and IsWearingArmor == false and attacktype == 1 then | |
2199 | attacktype = 2 | |
2200 | attackone() | |
2201 | elseif attack == false and Invisible == false and IsWearingArmor == false and attacktype == 2 then | |
2202 | attacktype = 1 | |
2203 | attacktwo() | |
2204 | end | |
2205 | end) | |
2206 | game.Lighting.Outlines = false | |
2207 | function attackone() | |
2208 | attack = true | |
2209 | for i = 0, 1, 0.12 do | |
2210 | swait() | |
2211 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3) | |
2212 | PlayAnimationFromTable({ | |
2213 | - | local S3 = CFuncs.Sound.Create("271120244", Torso, 1, 1) |
2213 | + | |
2214 | CFrame.new(0.101928703, 1.50244772, -0.0383823365, 0.76589334, 0.0762532279, 0.638430059, -0.0196644422, 0.995256186, -0.095281601, -0.642666996, 0.0604211651, 0.763759375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2215 | CFrame.new(1.01774633, 0.557527065, -0.776187301, 0.541353703, 0.741649806, 0.396095604, 0.711713314, -0.153383806, -0.685520053, -0.447661191, 0.653015316, -0.610876858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2216 | CFrame.new(-1.07208586, 0.264054269, -0.716768324, 0.529938459, -0.260122895, -0.807156265, -0.752277017, 0.295165181, -0.589030504, 0.39146477, 0.919355154, -0.039265126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2217 | CFrame.new(0.81415844, -1.89738977, 0.144144416, 0.866025925, -0.171008825, 0.469845951, -1.40815973E-6, 0.939692497, 0.342020512, -0.499999285, -0.296199232, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2218 | - | Effects.Block.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 2, 1, 1, 4, 4, 4, 0.3, 1) |
2218 | + | |
2219 | - | Effects.Break.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 0.5, 0.5, 0.5) |
2219 | + | |
2220 | end | |
2221 | MagnitudeDamage(HitboxR, 7, 10, 15, math.random(1, 3), "Normal", "131070686", 1) | |
2222 | CFuncs.Sound.Create("200632136", HitboxR, 1, 1) | |
2223 | RootPart.Velocity = RootPart.CFrame.lookVector * 40 | |
2224 | for i = 0, 1, 0.11 do | |
2225 | swait() | |
2226 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3) | |
2227 | PlayAnimationFromTable({ | |
2228 | CFrame.new(0.31380862, -0.320521832, 0.0252371654, 0.249517962, -0.150383011, 0.956622124, -0.0458769947, 0.984923244, 0.166798219, -0.967282891, -0.0855060965, 0.238856897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2229 | CFrame.new(0.101926193, 1.50244832, -0.0383800864, 0.337979913, 0.0762555003, -0.938059092, -0.0828148723, 0.995255768, 0.051067099, 0.937502801, 0.0604255944, 0.342691481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2230 | - | MagnitudeDamage(HitboxR, 100, 40, 170, 190, "Normal", "610359515", 1) |
2230 | + | |
2231 | CFrame.new(-1.36170578, 0.526111126, -0.597925961, 0.81348151, -0.212761745, -0.541276693, -0.539894938, 0.0697831511, -0.838834763, 0.216243982, 0.974609077, -0.0581016839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2232 | CFrame.new(0.970680714, -1.68610644, -0.0975568295, 0.579166114, -0.127570763, -0.805166125, 0.110368893, 0.990856647, -0.0776019096, 0.807703912, -0.0439208932, 0.587950349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2233 | CFrame.new(-0.827146292, -1.8113209, -0.0556658059, 0.816036701, 0.217413262, -0.535551846, -0.0871567726, 0.962250471, 0.257832885, 0.571391284, -0.163724124, 0.804180741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2234 | }, 0.45, false) | |
2235 | end | |
2236 | - | Effects.Block.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1) |
2236 | + | |
2237 | - | Effects.Break.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 0.5, 0.5, 0.5) |
2237 | + | |
2238 | function attacktwo() | |
2239 | attack = true | |
2240 | for i = 0, 1, 0.12 do | |
2241 | swait() | |
2242 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3) | |
2243 | PlayAnimationFromTable({ | |
2244 | CFrame.new(-0.0382043272, -0.447743475, -0.209081307, 0.653245032, -0.0733856931, 0.753581822, -0.271655023, 0.906307638, 0.323743671, -0.706735075, -0.416198224, 0.572105408) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2245 | CFrame.new(-2.74181366E-6, 1.49999321, -3.4570694E-6, 0.707105815, -0.183012873, -0.683013678, -8.7171793E-7, 0.965925694, -0.258819759, 0.707107782, 0.183013588, 0.683011472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2246 | CFrame.new(1.65075588, 0.743636727, -0.356577665, 0.542998552, -0.115416825, 0.831764221, 0.839699984, 0.0834951103, -0.536593378, -0.00751632452, 0.989801884, 0.142253295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2247 | CFrame.new(-1.08620656, -0.00580590963, -0.864283919, 0.656464815, -0.698875248, 0.283949524, 0.478162557, 0.0943745971, -0.873186052, 0.583450615, 0.708990037, 0.396129608) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2248 | CFrame.new(0.856426239, -1.40340364, -0.356423855, 0.707105279, -0.122788861, -0.696365654, 9.42498446E-7, 0.98480767, -0.173648372, 0.707108438, 0.122787014, 0.696362913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2249 | CFrame.new(-0.695387185, -1.90375674, -0.304245114, 0.92541647, 0.246137589, -0.288133472, -0.173648298, 0.951251149, 0.254887551, 0.336824656, -0.185843274, 0.923044682) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2250 | }, 0.34, false) | |
2251 | end | |
2252 | MagnitudeDamage(HitboxL, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1.1) | |
2253 | CFuncs.Sound.Create("200632136", HitboxL, 1, 1) | |
2254 | - | local S2 = CFuncs.Sound.Create("271120244", Torso, 1, 1) |
2254 | + | |
2255 | aroa.Volume = 5 | |
2256 | ||
2257 | ||
2258 | ||
2259 | - | Effects.Block.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1) |
2259 | + | |
2260 | - | Effects.Break.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 0.5, 0.5, 0.5) |
2260 | + | |
2261 | swait() | |
2262 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3) | |
2263 | PlayAnimationFromTable({ | |
2264 | CFrame.new(-0.479634404, -0.393727064, -0.220339894, 0.248309121, 0.219825819, -0.94340837, 0.019257009, 0.972597659, 0.231695861, 0.968489468, -0.0756994039, 0.237271711) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2265 | CFrame.new(-4.01586294E-6, 1.4999907, -1.59628689E-6, 0.237956509, -0.0991817266, 0.966198623, 0.22414881, 0.973527908, 0.0447304621, -0.945057809, 0.205928385, 0.253888786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2266 | CFrame.new(1.08192515, 0.657660127, -1.1749661, 0.228772208, 0.493058115, 0.839379132, 0.874719322, 0.27430138, -0.399530977, -0.427234828, 0.825622678, -0.368534833) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2267 | CFrame.new(-1.23054802, 1.29996836, -0.754827142, 0.94838953, -0.316170156, 0.0243683457, -0.269034386, -0.84291333, -0.465958893, 0.167862713, 0.43535465, -0.88447094) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2268 | CFrame.new(0.839919031, -1.81287205, 0.0102108568, 0.808574855, -0.267538428, 0.524051666, 0.171010748, 0.95905602, 0.22575888, -0.562994003, -0.0929245204, 0.821220458) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2269 | CFrame.new(-0.846072078, -1.7213496, -0.247524291, 0.693717241, 0.0689389557, 0.716940701, -0.0478171073, 0.997620881, -0.0496601462, -0.718658566, 1.68083934E-4, 0.695363283) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2270 | }, 0.45, false) | |
2271 | end | |
2272 | ||
2273 | attack = false | |
2274 | wait(1) | |
2275 | aroa:Destroy() | |
2276 | end | |
2277 | function findNearestTorso(pos) | |
2278 | - | Effects.Block.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1) |
2278 | + | |
2279 | - | Effects.Break.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 0.5, 0.5, 0.5) |
2279 | + | |
2280 | local dist = 1000 | |
2281 | local temp, human, temp2 | |
2282 | for x = 1, #list do | |
2283 | temp2 = list[x] | |
2284 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
2285 | temp = temp2:findFirstChild("Torso") | |
2286 | human = temp2:findFirstChild("Humanoid") | |
2287 | if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then | |
2288 | local dohit = true | |
2289 | if dohit == true then | |
2290 | torso = temp | |
2291 | dist = (temp.Position - pos).magnitude | |
2292 | end | |
2293 | end | |
2294 | end | |
2295 | end | |
2296 | return torso, dist | |
2297 | end | |
2298 | function TrueAim(aim) | |
2299 | local target, distance = findNearestTorso(Mouse.Hit.p) | |
2300 | local tehcf = HitboxR.CFrame * CFrame.fromEulerAnglesXYZ(1.57, 0, 0).lookVector | |
2301 | if aim ~= nil then | |
2302 | tehcf = aim | |
2303 | end | |
2304 | table.insert(Effects, { | |
2305 | tehcf, | |
2306 | "Shoot", | |
2307 | 30, | |
2308 | HitboxR.Position, | |
2309 | 10, | |
2310 | 15, | |
2311 | 0, | |
2312 | 3, | |
2313 | HitboxR, | |
2314 | target | |
2315 | }) | |
2316 | ||
2317 | end | |
2318 | ||
2319 | ||
2320 | ||
2321 | ||
2322 | ||
2323 | ||
2324 | ||
2325 | function SutaFinga() | |
2326 | attack = true | |
2327 | Humanoid.WalkSpeed = 20 | |
2328 | for i = 0, 1, 0.1 do | |
2329 | swait() | |
2330 | Effects.Elec.Create(HitboxR.CFrame, 0, 0, 0) | |
2331 | PlayAnimationFromTable({ | |
2332 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.55, 0), | |
2333 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.15, 0), | |
2334 | CFrame.new(0.45,0.5,-1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(0,-0.5,-1.55), | |
2335 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0), | |
2336 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
2337 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), }, .5, false) | |
2338 | end | |
2339 | local RA = Instance.new("Part",RightArm) | |
2340 | RA.Size = Vector3.new(1.1,2.1,1.1) | |
2341 | ||
2342 | RA.BrickColor = BrickColor.new("Tr. Flu. Yellow") | |
2343 | RA.Material = "Neon" | |
2344 | ||
2345 | RA.Transparency = 0 | |
2346 | local RA2 = Instance.new("Weld",RA) | |
2347 | RA2.Part0 = RightArm | |
2348 | RA2.Part1 = RA | |
2349 | RA2.C0 = CFrame.new(0,0,0) | |
2350 | ||
2351 | for i = 1,2 do ----15 | |
2352 | for i = 1,5 do | |
2353 | RA.Transparency = RA.Transparency + 0.1 | |
2354 | game:GetService("RunService").RenderStepped:wait() | |
2355 | end | |
2356 | wait(0.1) | |
2357 | for i = 1,5 do | |
2358 | RA.Transparency = RA.Transparency - 0.1 | |
2359 | game:GetService("RunService").RenderStepped:wait() | |
2360 | end | |
2361 | end | |
2362 | for i = 1,10 do | |
2363 | - | Effects.Block.Create(BrickColor.new("White"), HitboxR.CFrame, 2, 1, 1, 4, 4, 4, 0.3, 1) |
2363 | + | |
2364 | game:GetService("RunService").RenderStepped:wait() | |
2365 | end | |
2366 | Effects.Wave.Create(BrickColor.new("Tr. Flu. Yellow"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06) | |
2367 | RightArm.Transparency = 1 | |
2368 | local owo = Instance.new("Model",Torso) | |
2369 | Instance.new("Humanoid",owo) | |
2370 | stretch = CFuncs.Sound.Create("1033003355") | |
2371 | stretch.Volume = 5 | |
2372 | local R = Instance.new("Part",owo) | |
2373 | R.Size = Vector3.new(1,2,1) | |
2374 | R.TopSurface = 0 | |
2375 | R.BottomSurface = 0 | |
2376 | R.Name = 'Right Arm' | |
2377 | R.BrickColor = RightArm.BrickColor | |
2378 | R.CanCollide = false | |
2379 | R.Anchored = true | |
2380 | - | Effects.Block.Create(BrickColor.new("Lilac"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09, 1) |
2380 | + | |
2381 | - | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09) |
2381 | + | |
2382 | - | Effects.Sphere.Create(BrickColor.new("Lilac"), CFrame.new(pos), 3, 3, 3, 5, 5, 5, 0.09) |
2382 | + | |
2383 | - | Effects.Break.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 0.5, 0.5, 0.5) |
2383 | + | |
2384 | hit.Parent.Humanoid:TakeDamage(999999999999) | |
2385 | ||
2386 | local Fl = Instance.new("BodyVelocity",hit.Parent.Torso) | |
2387 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
2388 | Fl.velocity = RootPart.CFrame.lookVector*130 | |
2389 | wait(0.1) | |
2390 | Fl:remove() | |
2391 | wait(0.00001) | |
2392 | ZZ = false | |
2393 | end | |
2394 | end | |
2395 | end) | |
2396 | coroutine.resume(coroutine.create(function() | |
2397 | for i = 1,20 do | |
2398 | R.Size = R.Size + Vector3.new(0,0.8,0) | |
2399 | R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.5,0) | |
2400 | game:GetService("RunService").RenderStepped:wait() | |
2401 | end | |
2402 | end)) | |
2403 | for i = 0,1,0.1 do | |
2404 | swait() | |
2405 | PlayAnimationFromTable({ | |
2406 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.5, 0), | |
2407 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.2, 0), | |
2408 | CFrame.new(1.95,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
2409 | CFrame.new(-1.5,0,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.7, 0, 0), | |
2410 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
2411 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1) | |
2412 | }, .5, false) | |
2413 | end | |
2414 | wait(1) | |
2415 | for i = 1,20 do | |
2416 | R.Size = R.Size - Vector3.new(0,0.8,0) | |
2417 | R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.75,0) | |
2418 | game:GetService("RunService").RenderStepped:wait() | |
2419 | end | |
2420 | RightArm.Transparency = 0 | |
2421 | R:Destroy() | |
2422 | RA:Destroy() | |
2423 | stretch:Destroy() | |
2424 | ||
2425 | ||
2426 | ||
2427 | Humanoid.WalkSpeed = 20 | |
2428 | attack = false | |
2429 | ||
2430 | ||
2431 | end | |
2432 | ||
2433 | ||
2434 | ||
2435 | Mouse.KeyDown:connect(function(k) | |
2436 | k = k:lower() | |
2437 | if attack == false and ora == false and k == "z" and IsWearingArmor == false and Invisible == false then | |
2438 | ora = true | |
2439 | ORA() | |
2440 | elseif k == "m" and bigg == false then | |
2441 | bigg = true | |
2442 | PE() | |
2443 | elseif k == "m" and bigg == true then | |
2444 | bigg = false | |
2445 | pep:Destroy() | |
2446 | elseif attack == false and k == "x" and IsWearingArmor == false and Invisible == false then | |
2447 | GRABEMBOIGRABEM() | |
2448 | elseif attack == false and k == "q" and IsWearingArmor == false and Invisible == false then | |
2449 | SutaFinga() | |
2450 | elseif attack == false and k == "f" and Invisible == false and IsWearingArmor == false then | |
2451 | Invisible = true | |
2452 | Character["Advancing Fortress"].Hat.Part.Transparency = 1 | |
2453 | Par1.Enabled = false | |
2454 | Character["Advancing Fortress"].scarf.Part.Transparency = 1 | |
2455 | Character["Advancing Fortress"].cloth.Part.Transparency = 1 | |
2456 | Character["Advancing Fortress"].cloth2.Part.Transparency = 1 | |
2457 | Character["Advancing Fortress"].rs.Part.Transparency = 1 | |
2458 | Character["Advancing Fortress"].ls.Part.Transparency = 1 | |
2459 | Character["Advancing Fortress"].FHead.face.Transparency = 1 | |
2460 | Character["Advancing Fortress"].ear1.Part.Transparency = 1 | |
2461 | Character["Advancing Fortress"].ear2.Part.Transparency = 1 | |
2462 | Character["Advancing Fortress"].belt.Part.Transparency = 1 | |
2463 | Character["Advancing Fortress"].belt2.Part.Transparency = 1 | |
2464 | Character["Advancing Fortress"].belt3.Part.Transparency = 1 | |
2465 | Character["Advancing Fortress"].gr.Part.Transparency = 1 | |
2466 | Character["Advancing Fortress"].gl.Part.Transparency = 1 | |
2467 | Character["Advancing Fortress"].ap1.Part.Transparency = 1 | |
2468 | Character["Advancing Fortress"].ap2.Part.Transparency = 1 | |
2469 | Character["Advancing Fortress"].ap3.Part.Transparency = 1 | |
2470 | Character["Advancing Fortress"].ap4.Part.Transparency = 1 | |
2471 | Character["Advancing Fortress"].muscle.Part.Transparency = 1 | |
2472 | Character["Advancing Fortress"].circ1.Part.Transparency = 1 | |
2473 | Character["Advancing Fortress"].circ2.Part.Transparency = 1 | |
2474 | Character["Advancing Fortress"].circ3.Part.Transparency = 1 | |
2475 | Character["Advancing Fortress"].circ4.Part.Transparency = 1 | |
2476 | Character["Advancing Fortress"].boot1.Part.Transparency = 1 | |
2477 | Character["Advancing Fortress"].boot2.Part.Transparency = 1 | |
2478 | Character["Advancing Fortress"].glo1.Part.Transparency = 1 | |
2479 | Character["Advancing Fortress"].glo2.Part.Transparency = 1 | |
2480 | Effects.Sphere.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1) | |
2481 | Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1) | |
2482 | Disappear() | |
2483 | ||
2484 | elseif attack == false and k == "f" and Invisible == true and IsWearingArmor == false and cooldown == false then | |
2485 | Invisible = false | |
2486 | summon = CFuncs.Sound.Create("1033003355", Torso, 1, 1) | |
2487 | summon.Volume = 7 | |
2488 | cooldown = true | |
2489 | Character["Advancing Fortress"].Hat.Part.Transparency = 0 | |
2490 | Par1.Enabled = true | |
2491 | Character["Advancing Fortress"].scarf.Part.Transparency = 0 | |
2492 | Character["Advancing Fortress"].cloth.Part.Transparency = 0 | |
2493 | Character["Advancing Fortress"].cloth2.Part.Transparency = 0 | |
2494 | Character["Advancing Fortress"].rs.Part.Transparency = 0 | |
2495 | Character["Advancing Fortress"].ls.Part.Transparency = 0 | |
2496 | Character["Advancing Fortress"].FHead.face.Transparency = 0 | |
2497 | Character["Advancing Fortress"].ear1.Part.Transparency = 0 | |
2498 | Character["Advancing Fortress"].ear2.Part.Transparency = 0 | |
2499 | Character["Advancing Fortress"].belt.Part.Transparency = 0 | |
2500 | Character["Advancing Fortress"].belt2.Part.Transparency = 0 | |
2501 | Character["Advancing Fortress"].belt3.Part.Transparency = 0 | |
2502 | Character["Advancing Fortress"].gr.Part.Transparency = 0 | |
2503 | Character["Advancing Fortress"].gl.Part.Transparency = 0 | |
2504 | Character["Advancing Fortress"].ap1.Part.Transparency = 0 | |
2505 | Character["Advancing Fortress"].ap2.Part.Transparency = 0 | |
2506 | Character["Advancing Fortress"].ap3.Part.Transparency = 0 | |
2507 | Character["Advancing Fortress"].ap4.Part.Transparency = 0 | |
2508 | Character["Advancing Fortress"].muscle.Part.Transparency = 0 | |
2509 | Character["Advancing Fortress"].circ1.Part.Transparency = 0 | |
2510 | Character["Advancing Fortress"].circ2.Part.Transparency = 0 | |
2511 | Character["Advancing Fortress"].circ3.Part.Transparency = 0 | |
2512 | Character["Advancing Fortress"].circ4.Part.Transparency = 0 | |
2513 | Character["Advancing Fortress"].boot1.Part.Transparency = 0 | |
2514 | Character["Advancing Fortress"].boot2.Part.Transparency = 0 | |
2515 | Character["Advancing Fortress"].glo1.Part.Transparency = 0 | |
2516 | Character["Advancing Fortress"].glo2.Part.Transparency = 0 | |
2517 | ||
2518 | Effects.Sphere.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.08) | |
2519 | for i = 1, 2 do | |
2520 | Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1) | |
2521 | end | |
2522 | for i = 1, 20 do | |
2523 | Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1) | |
2524 | end | |
2525 | Reappear() | |
2526 | - | MagnitudeDamage(HitboxR, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1) |
2526 | + | |
2527 | staplachinuh.TimePosition = 0.4 | |
2528 | staplachinuh.Volume = 7 | |
2529 | wait(0.96) | |
2530 | staplachinuh:Destroy() | |
2531 | cooldown = false | |
2532 | elseif attack == false and ShieldMode == false and k == "c" and IsWearingArmor == false and Invisible == false then | |
2533 | ShieldMode = true | |
2534 | HoloHexShield() | |
2535 | elseif attack == false and k == "v" and IsWearingArmor == false and Invisible == false then | |
2536 | CastleCrusherFist() | |
2537 | end | |
2538 | if k == "[" and IsWearingArmor == false and Invisible == false then | |
2539 | Armor("On") | |
2540 | Character["Advancing Fortress"].Hat.Part.Transparency = 1 | |
2541 | Character["Advancing Fortress"].boot1.Part.Transparency = 1 | |
2542 | Character["Advancing Fortress"].boot2.Part.Transparency = 1 | |
2543 | Character["Advancing Fortress"].glo1.Part.Transparency = 1 | |
2544 | Character["Advancing Fortress"].glo2.Part.Transparency = 1 | |
2545 | Character["Advancing Fortress"].scarf.Part.Transparency = 1 | |
2546 | Character["Advancing Fortress"].cloth.Part.Transparency = 1 | |
2547 | Character["Advancing Fortress"].cloth2.Part.Transparency = 1 | |
2548 | Character["Advancing Fortress"].rs.Part.Transparency = 1 | |
2549 | Character["Advancing Fortress"].ls.Part.Transparency = 1 | |
2550 | Character["Advancing Fortress"].FHead.face.Transparency = 1 | |
2551 | Character["Advancing Fortress"].ear1.Part.Transparency = 1 | |
2552 | Character["Advancing Fortress"].ear2.Part.Transparency = 1 | |
2553 | Character["Advancing Fortress"].belt.Part.Transparency = 1 | |
2554 | Character["Advancing Fortress"].belt2.Part.Transparency = 1 | |
2555 | Character["Advancing Fortress"].belt3.Part.Transparency = 1 | |
2556 | Character["Advancing Fortress"].gr.Part.Transparency = 1 | |
2557 | Character["Advancing Fortress"].gl.Part.Transparency = 1 | |
2558 | Character["Advancing Fortress"].ap1.Part.Transparency = 1 | |
2559 | Character["Advancing Fortress"].ap2.Part.Transparency = 1 | |
2560 | Character["Advancing Fortress"].ap3.Part.Transparency = 1 | |
2561 | Character["Advancing Fortress"].ap4.Part.Transparency = 1 | |
2562 | Character["Advancing Fortress"].muscle.Part.Transparency = 1 | |
2563 | Character["Advancing Fortress"].circ1.Part.Transparency = 1 | |
2564 | Character["Advancing Fortress"].circ2.Part.Transparency = 1 | |
2565 | Character["Advancing Fortress"].circ3.Part.Transparency = 1 | |
2566 | Character["Advancing Fortress"].circ4.Part.Transparency = 1 | |
2567 | end | |
2568 | if k == "]" and IsWearingArmor == true and Invisible == false then | |
2569 | Armor("Off") | |
2570 | Character["Advancing Fortress"].Hat.Part.Transparency = 0 | |
2571 | Character["Advancing Fortress"].boot1.Part.Transparency = 0 | |
2572 | Character["Advancing Fortress"].boot2.Part.Transparency = 0 | |
2573 | Character["Advancing Fortress"].glo1.Part.Transparency = 0 | |
2574 | Character["Advancing Fortress"].glo2.Part.Transparency = 0 | |
2575 | Character["Advancing Fortress"].scarf.Part.Transparency = 0 | |
2576 | Character["Advancing Fortress"].cloth.Part.Transparency = 0 | |
2577 | Character["Advancing Fortress"].cloth2.Part.Transparency = 0 | |
2578 | Character["Advancing Fortress"].rs.Part.Transparency = 0 | |
2579 | Character["Advancing Fortress"].ls.Part.Transparency = 0 | |
2580 | Character["Advancing Fortress"].FHead.face.Transparency = 0 | |
2581 | Character["Advancing Fortress"].ear1.Part.Transparency = 0 | |
2582 | Character["Advancing Fortress"].ear2.Part.Transparency = 0 | |
2583 | Character["Advancing Fortress"].belt.Part.Transparency = 0 | |
2584 | Character["Advancing Fortress"].belt2.Part.Transparency = 0 | |
2585 | Character["Advancing Fortress"].belt3.Part.Transparency = 0 | |
2586 | Character["Advancing Fortress"].gr.Part.Transparency = 0 | |
2587 | Character["Advancing Fortress"].gl.Part.Transparency = 0 | |
2588 | Character["Advancing Fortress"].ap1.Part.Transparency = 0 | |
2589 | Character["Advancing Fortress"].ap2.Part.Transparency = 0 | |
2590 | Character["Advancing Fortress"].ap3.Part.Transparency = 0 | |
2591 | Character["Advancing Fortress"].ap4.Part.Transparency = 0 | |
2592 | Character["Advancing Fortress"].muscle.Part.Transparency = 0 | |
2593 | Character["Advancing Fortress"].circ1.Part.Transparency = 0 | |
2594 | Character["Advancing Fortress"].circ2.Part.Transparency = 0 | |
2595 | Character["Advancing Fortress"].circ3.Part.Transparency = 0 | |
2596 | Character["Advancing Fortress"].circ4.Part.Transparency = 0 | |
2597 | ||
2598 | end | |
2599 | end) | |
2600 | Mouse.KeyUp:connect(function(k) | |
2601 | k = k:lower() | |
2602 | if attack == true and ora == true and k == "z" and IsWearingArmor == false then | |
2603 | ora = false | |
2604 | elseif attack == true and ShieldMode == true and k == "c" and IsWearingArmor == false then | |
2605 | ShieldMode = false | |
2606 | end | |
2607 | end) | |
2608 | coroutine.resume(coroutine.create(function(Part, Part2) | |
2609 | while Part.Parent ~= nil do | |
2610 | swait(math.random(100, 150)) | |
2611 | for i = 0, 1, 0.2 do | |
2612 | wait() | |
2613 | Eye1.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1) | |
2614 | Eye2.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1) | |
2615 | end | |
2616 | for i = 0, 1, 0.2 do | |
2617 | swait() | |
2618 | Eye1.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1) | |
2619 | Eye2.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1) | |
2620 | end | |
2621 | end | |
2622 | end), Eye1, Eye2) | |
2623 | while true do | |
2624 | swait() | |
2625 | for i, v in pairs(Character:children()) do | |
2626 | if v:IsA("Part") and IsWearingArmor == true then | |
2627 | v.Anchored = false | |
2628 | end | |
2629 | end | |
2630 | for i, v in pairs(AdvancingFortress:GetChildren()) do | |
2631 | if v:IsA("Part") then | |
2632 | v.Material = "SmoothPlastic" | |
2633 | ||
2634 | v.CanCollide = false | |
2635 | ||
2636 | elseif v:IsA("Humanoid") then | |
2637 | v.PlatformStand = true | |
2638 | ||
2639 | ||
2640 | ||
2641 | ||
2642 | end | |
2643 | end | |
2644 | HHandle.Transparency = 1 | |
2645 | THandle.Transparency = 1 | |
2646 | AHandleR.Transparency = 1 | |
2647 | - | RA.BrickColor = BrickColor.new("White") |
2647 | + | |
2648 | LHandleR.Transparency = 1 | |
2649 | LHandleL.Transparency = 1 | |
2650 | RootPart.Transparency = 1 | |
2651 | HitboxR.Transparency = 1 | |
2652 | HitboxL.Transparency = 1 | |
2653 | Head.BrickColor = BrickColor.new("Lilac") | |
2654 | Torso.BrickColor = BrickColor.new("Lilac") | |
2655 | RightArm.BrickColor = BrickColor.new("Lilac") | |
2656 | LeftArm.BrickColor = BrickColor.new("Lilac") | |
2657 | RightLeg.BrickColor = BrickColor.new("Lilac") | |
2658 | LeftLeg.BrickColor = BrickColor.new("Lilac") | |
2659 | RootPart.Anchored = true | |
2660 | Torsovelocity = (Character.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2661 | velocity = Character.HumanoidRootPart.Velocity.y | |
2662 | sine = sine + change | |
2663 | Shield.Anchored = true | |
2664 | Shield.CFrame = Shield.CFrame:lerp(RootPart.CFrame * CFrame.new(0, 0, -3.2), 1) | |
2665 | local hit, pos = rayCast(Character.HumanoidRootPart.Position, CFrame.new(Character.HumanoidRootPart.Position, Character.HumanoidRootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
2666 | if Character.HumanoidRootPart.Velocity.y > 1 and hit == nil then | |
2667 | Anim = "Jump" | |
2668 | if attack == false then | |
2669 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5) | |
2670 | PlayAnimationFromTable({ | |
2671 | - | Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06) |
2671 | + | |
2672 | CFrame.new(0, 1.49999177, -1.49011612E-7, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0), | |
2673 | CFrame.new(1.64140427, 0.273908556, 0.192029893, 0.946035206, -0.31541416, 0.0743736848, 0.284469575, 0.91821146, 0.275617331, -0.155224368, -0.239586651, 0.958386064) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2674 | CFrame.new(-1.59350562, 0.239538491, 0.192243189, 0.935008764, 0.347148597, -0.0724328309, -0.312019885, 0.902400434, 0.297181845, 0.168529674, -0.255267143, 0.952069581) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2675 | - | stretch = CFuncs.Sound.Create("463010917") |
2675 | + | |
2676 | CFrame.new(-0.41903314, -1.41877925, -0.229210436, 0.962251842, -0.0299757104, 0.270510197, -0.084186092, 0.912393093, 0.400567293, -0.258819073, -0.408219665, 0.875425339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2677 | }, 0.3, false) | |
2678 | end | |
2679 | elseif Character.HumanoidRootPart.Velocity.y < -1 and hit == nil then | |
2680 | Anim = "Fall" | |
2681 | if attack == false then | |
2682 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5) | |
2683 | PlayAnimationFromTable({ | |
2684 | CFrame.new(0, -0.0366669223, -0.0478199311, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2685 | CFrame.new(0, 1.58110774, -0.115850762, 1, 0, 0, 0, 0.98480767, 0.173647821, 0, -0.173647821, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2686 | CFrame.new(1.72150326, 0.610064566, 0.0891361833, 0.724097908, -0.685675204, 0.0743751749, 0.645872176, 0.711960018, 0.275611937, -0.241932437, -0.151533186, 0.958387375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2687 | CFrame.new(-1.69228244, 0.568353653, 0.082095027, 0.759895504, 0.646005511, -0.0724337399, -0.601845145, 0.741260946, 0.297183931, 0.24567467, -0.182231784, 0.952074111) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2688 | CFrame.new(0.60271728, -1.95556188, 0.410093039, 0.978470623, -0.00292155147, -0.206365243, 0.0853614658, 0.916095972, 0.391767859, 0.187905625, -0.400949359, 0.896622121) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2689 | CFrame.new(-0.453899324, -1.81726217, -0.229221463, 0.962255239, -0.00628663599, 0.272094905, -0.0841865242, 0.943832874, 0.319526881, -0.258820891, -0.33037129, 0.90767473) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2690 | }, 0.3, false) | |
2691 | end | |
2692 | elseif Torsovelocity < 1 and hit ~= nil then | |
2693 | Anim = "Idle" | |
2694 | if attack == false then | |
2695 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5) | |
2696 | PlayAnimationFromTable({ | |
2697 | CFrame.new(0, -0.00190299738, -0.0435779989, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1, 0), | |
2698 | CFrame.new(0, 1.49999213, 3.27825546E-7, 1, 0, 0, 0, 0.99619478, 0.0871553123, 0, -0.0871553123, 0.99619478) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0), | |
2699 | CFrame.new(1.64141297, 0.173907071, -0.107973814, 0.946035922, -0.270955235, 0.177766502, 0.284470022, 0.957103431, -0.055051513, -0.155224428, 0.102649838, 0.982532144) * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0.1, 0), | |
2700 | CFrame.new(-1.59350157, 0.139536366, -0.107754946, 0.935009062, 0.284010828, -0.212358981, -0.312018842, 0.943447471, -0.11203292, 0.168530986, 0.171011835, 0.970748305) * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0.1, 0), | |
2701 | CFrame.new(0.602711678, -1.89952374, -0.0967197716, 0.978471398, -0.0562333167, -0.198576227, 0.0853610933, 0.986278713, 0.141314447, 0.187904745, -0.155223012, 0.969844699) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2702 | CFrame.new(-0.619029164, -1.90815639, -0.0860156417, 0.962250412, 0.0410595387, 0.269051194, -0.0841863081, 0.984977186, 0.150772721, -0.258818805, -0.167731494, 0.951251626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2703 | }, 0.3, false) | |
2704 | end | |
2705 | elseif Torsovelocity > 2 and hit ~= nil then | |
2706 | Anim = "Walk" | |
2707 | if attack == false then | |
2708 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5) | |
2709 | PlayAnimationFromTable({ | |
2710 | CFrame.new(0, -0.0234659836, -0.171147972, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1, 0), | |
2711 | CFrame.new(0, 1.49999166, 1.1920929E-7, 1, 0, 0, 0, 0.98480773, -0.173648983, 0, 0.173648953, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0), | |
2712 | CFrame.new(1.60905385, 0.122740321, 0.227665678, 0.946036339, -0.320693314, 0.0465966538, 0.284468234, 0.89069742, 0.354595304, -0.155219615, -0.322205007, 0.93385905) * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0.1, 0), | |
2713 | CFrame.new(-1.55878484, 0.127169654, 0.148623466, 0.93500936, 0.339513272, -0.102411598, -0.312018752, 0.924868107, 0.217401206, 0.168527737, -0.171317667, 0.970695019) * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0.1, 0), | |
2714 | CFrame.new(0.585851789, -1.60362172, -0.143285036, 0.978476226, 0.0150748575, -0.205834031, 0.0853618756, 0.878461003, 0.470117748, 0.187905103, -0.477570593, 0.858265638) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2715 | CFrame.new(-0.563320339, -1.90456724, 0.225245774, 0.982039452, -0.00800410938, 0.188514173, -0.0707257539, 0.910641074, 0.407099873, -0.174927384, -0.413120717, 0.893718541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2716 | }, 0.3, false) | |
2717 | end | |
2718 | ||
2719 | ||
2720 | ||
2721 | end | |
2722 | if 0 < #Effects then | |
2723 | for e = 1, #Effects do | |
2724 | if Effects[e] ~= nil then | |
2725 | local Thing = Effects[e] | |
2726 | if Thing ~= nil then | |
2727 | local Part = Thing[1] | |
2728 | local Mode = Thing[2] | |
2729 | local Delay = Thing[3] | |
2730 | local IncX = Thing[4] | |
2731 | local IncY = Thing[5] | |
2732 | local IncZ = Thing[6] | |
2733 | if Thing[2] == "Shoot" then | |
2734 | local Look = Thing[1] | |
2735 | local move = 30 | |
2736 | if Thing[8] == 3 then | |
2737 | move = 10 | |
2738 | end | |
2739 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
2740 | if Thing[10] ~= nil then | |
2741 | da = pos | |
2742 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
2743 | cfa = CFrame.new(Thing[4], pos) | |
2744 | tehCF = cfa:lerp(cf2, 0.2) | |
2745 | Thing[1] = tehCF.lookVector | |
2746 | end | |
2747 | local mag = (Thing[4] - pos).magnitude | |
2748 | Effects.Head.Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2) | |
2749 | if Thing[8] == 2 then | |
2750 | Effects.Ring.Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1) | |
2751 | end | |
2752 | Thing[4] = Thing[4] + Look * move | |
2753 | Thing[3] = Thing[3] - 1 | |
2754 | if 2 < Thing[5] then | |
2755 | Thing[5] = Thing[5] - 0.3 | |
2756 | Thing[6] = Thing[6] - 0.3 | |
2757 | end | |
2758 | if hit ~= nil then | |
2759 | Thing[3] = 0 | |
2760 | if Thing[8] == 1 or Thing[8] == 3 then | |
2761 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2762 | elseif Thing[8] == 2 then | |
2763 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2764 | if hit.Parent:findFirstChild("Humanoid") ~= nil or hit.Parent.Parent:findFirstChild("Humanoid") ~= nil then | |
2765 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Lilac"), "Reference", Vector3.new()) | |
2766 | ref.Anchored = true | |
2767 | ref.CFrame = CFrame.new(pos) | |
2768 | CFuncs.Sound.Create("161006093", ref, 1, 1.2) | |
2769 | game:GetService("Debris"):AddItem(ref, 0.2) | |
2770 | Effects.Block.Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2) | |
2771 | Effects.Ring.Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1) | |
2772 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
2773 | end | |
2774 | end | |
2775 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Lilac"), "Reference", Vector3.new()) | |
2776 | ref.Anchored = true | |
2777 | ref.CFrame = CFrame.new(pos) | |
2778 | Effects.Sphere.Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
2779 | game:GetService("Debris"):AddItem(ref, 1) | |
2780 | end | |
2781 | if Thing[3] <= 0 then | |
2782 | table.remove(Effects, e) | |
2783 | end | |
2784 | end | |
2785 | - | Effects.Sphere.Create(BrickColor.new("Lilac"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1) |
2785 | + | |
2786 | - | Effects.Block.Create(BrickColor.new("Lilac"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1) |
2786 | + | |
2787 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
2788 | Thing[3] = Thing[3] + 1 | |
2789 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
2790 | else | |
2791 | - | summon = CFuncs.Sound.Create("463010917", Torso, 1, 1) |
2791 | + | |
2792 | table.remove(Effects, e) | |
2793 | end | |
2794 | end | |
2795 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
2796 | if Thing[1].Transparency <= 1 then | |
2797 | if Thing[2] == "Block1" then | |
2798 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2799 | Mesh = Thing[7] | |
2800 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2801 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2802 | elseif Thing[2] == "Block2" then | |
2803 | Thing[1].CFrame = Thing[1].CFrame | |
2804 | Mesh = Thing[7] | |
2805 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2806 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2807 | elseif Thing[2] == "Fire" then | |
2808 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
2809 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2810 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2811 | elseif Thing[2] == "Cylinder" then | |
2812 | Mesh = Thing[7] | |
2813 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2814 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2815 | elseif Thing[2] == "Blood" then | |
2816 | Mesh = Thing[7] | |
2817 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
2818 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2819 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2820 | elseif Thing[2] == "Elec" then | |
2821 | Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2822 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2823 | - | Effects.Sphere.Create(BrickColor.new("Lilac"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.08) |
2823 | + | |
2824 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2825 | - | Effects.Block.Create(BrickColor.new("Lilac"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1) |
2825 | + | |
2826 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2827 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2828 | - | Effects.Break.Create(BrickColor.new("Lilac"), Torso.CFrame, 1, 1, 1) |
2828 | + | |
2829 | Thing[6] = Thing[6] + Thing[5] | |
2830 | end | |
2831 | else | |
2832 | Part.Parent = nil | |
2833 | table.remove(Effects, e) | |
2834 | ||
2835 | ||
2836 | end | |
2837 | end | |
2838 | end | |
2839 | end | |
2840 | end | |
2841 | end | |
2842 | end |