SHOW:
|
|
- or go back to the newest paste.
1 | wait(1)-- i'm gonna make an excuse later of why im lazy | |
2 | warn "Slenercat5's" | |
3 | warn "King Crimson" | |
4 | warn "Q to call stand" | |
5 | warn "E for karate chop attack"-- healf heath attack 10 reload time | |
6 | warn "R for Kick attack"--i needed an attack :P | |
7 | warn "T to erase time(Hold)" | |
8 | warn "Y to say someting"-- idk | |
9 | warn "F (Hold) for epitaph"-- 30 secound reload | |
10 | warn "G to cycle through idle animations" | |
11 | warn "Origional Model by JojofMer"-- i adapted to remove unions and r15 rig | |
12 | warn "Avatar clothing and hair by Masterofroblox1206"-- he made funny valentine which i edited to make diavolo so technically it was him | |
13 | warn"Sorry for model distortion and a big thanks to Model to Script converter by ttyyuu12345" | |
14 | plr = game.Players.LocalPlayer | |
15 | epitaphreload=false | |
16 | epitpah=false | |
17 | ChopR=false | |
18 | ||
19 | ||
20 | mse = plr:GetMouse() | |
21 | sound = Instance.new("Sound", game.Workspace) | |
22 | sound.Volume = 10 | |
23 | canworld = true | |
24 | BeeSpeed = 50 | |
25 | ||
26 | chr=plr.Character | |
27 | tors=torso | |
28 | --[[ | |
29 | for _,v in pairs(plr.Character:GetChildren())do | |
30 | if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Accessory') then | |
31 | v:remove() | |
32 | end | |
33 | end | |
34 | local sh = Instance.new("Shirt",chr) | |
35 | sh.ShirtTemplate = "http://www.roblox.com/asset/?id=394790364" | |
36 | p=Instance.new('Pants',chr) | |
37 | p.PantsTemplate='http://www.roblox.com/asset/?id=394795102'--]] | |
38 | ||
39 | chr['Left Arm'].BrickColor=BrickColor.new('Pastel brown') | |
40 | chr['Right Arm'].BrickColor=BrickColor.new('Pastel brown') | |
41 | chr['Torso'].BrickColor=BrickColor.new('Pastel brown') | |
42 | chr.Head.BrickColor=BrickColor.new('Pastel brown') | |
43 | ||
44 | ||
45 | ||
46 | ||
47 | local Players=game:service'Players' | |
48 | local Player=Players.LocalPlayer | |
49 | local Mouse=Player:GetMouse'' | |
50 | Character=Player.Character | |
51 | ||
52 | local RenderStepped=game:service'RunService'.RenderStepped | |
53 | ||
54 | local MeshId='http://www.roblox.com/asset?id=779592805' | |
55 | local TextureId='http://www.roblox.com/asset/?id=775493027' | |
56 | ||
57 | ||
58 | local QHold=false | |
59 | local EHold=false | |
60 | ||
61 | cut = Instance.new("Sound", chr) | |
62 | cut.SoundId = "https://www.roblox.com/asset/?id=0" | |
63 | cut.Volume = 1.5 | |
64 | thri = Instance.new("Sound", chr) | |
65 | - | thri.SoundId = "https://www.roblox.com/asset/?id=186311262" |
65 | + | |
66 | ||
67 | ||
68 | Sound2=Instance.new('Sound') | |
69 | Sound2.SoundId='rbxassetid://616594063' | |
70 | Sound2.Parent=Player.Character.Head | |
71 | ||
72 | ||
73 | Effects = {} | |
74 | local Player = game.Players.localPlayer | |
75 | local Character = Player.Character | |
76 | Character.Archivable = true | |
77 | AdvancingFortress = Character:Clone() | |
78 | --[[ | |
79 | Hair=Instance.new('Part',Character) | |
80 | Hair.Size=Vector3.new(1,1,1) | |
81 | M=Instance.new('FileMesh',Hair) | |
82 | M.Scale=Vector3.new(.028,.028,.028) | |
83 | M.MeshId='rbxassetid://1450916371' | |
84 | M.TextureId='rbxassetid://1450916523' | |
85 | WARF=Instance.new('Weld',Hair) | |
86 | WARF.Part0=Hair | |
87 | WARF.Part1=Character.Head | |
88 | WARF.C0=CFrame.new(0,-.2,0)--]] | |
89 | ||
90 | ||
91 | --//KingCrimson costume | |
92 | ||
93 | --Converted with ttyyuu12345's model to script plugin v4 | |
94 | function sandbox(var,func) | |
95 | local env = getfenv(func) | |
96 | local newenv = setmetatable({},{ | |
97 | __index = function(self,k) | |
98 | if k=="script" then | |
99 | return var | |
100 | else | |
101 | return env[k] | |
102 | end | |
103 | end, | |
104 | }) | |
105 | setfenv(func,newenv) | |
106 | return func | |
107 | end | |
108 | cors = {} | |
109 | mas = Instance.new("Model",game:GetService("Lighting")) | |
110 | Model0 = Instance.new("Model") | |
111 | Model1 = Instance.new("Model") | |
112 | Part2 = Instance.new("Part") | |
113 | SpecialMesh3 = Instance.new("SpecialMesh") | |
114 | Part4 = Instance.new("Part") | |
115 | SpecialMesh5 = Instance.new("SpecialMesh") | |
116 | Part6 = Instance.new("Part") | |
117 | SpecialMesh7 = Instance.new("SpecialMesh") | |
118 | Part8 = Instance.new("Part") | |
119 | SpecialMesh9 = Instance.new("SpecialMesh") | |
120 | Part10 = Instance.new("Part") | |
121 | SpecialMesh11 = Instance.new("SpecialMesh") | |
122 | Part12 = Instance.new("Part") | |
123 | SpecialMesh13 = Instance.new("SpecialMesh") | |
124 | Part14 = Instance.new("Part") | |
125 | Part15 = Instance.new("Part") | |
126 | Part16 = Instance.new("Part") | |
127 | SpecialMesh17 = Instance.new("SpecialMesh") | |
128 | Part18 = Instance.new("Part") | |
129 | SpecialMesh19 = Instance.new("SpecialMesh") | |
130 | Part20 = Instance.new("Part") | |
131 | SpecialMesh21 = Instance.new("SpecialMesh") | |
132 | Part22 = Instance.new("Part") | |
133 | SpecialMesh23 = Instance.new("SpecialMesh") | |
134 | Part24 = Instance.new("Part") | |
135 | SpecialMesh25 = Instance.new("SpecialMesh") | |
136 | Part26 = Instance.new("Part") | |
137 | SpecialMesh27 = Instance.new("SpecialMesh") | |
138 | Part28 = Instance.new("Part") | |
139 | SpecialMesh29 = Instance.new("SpecialMesh") | |
140 | Model30 = Instance.new("Model") | |
141 | Part31 = Instance.new("Part") | |
142 | Part32 = Instance.new("Part") | |
143 | Part33 = Instance.new("Part") | |
144 | Part34 = Instance.new("Part") | |
145 | Part35 = Instance.new("Part") | |
146 | Model36 = Instance.new("Model") | |
147 | Part37 = Instance.new("Part") | |
148 | Part38 = Instance.new("Part") | |
149 | SpecialMesh39 = Instance.new("SpecialMesh") | |
150 | Part40 = Instance.new("Part") | |
151 | Part41 = Instance.new("Part") | |
152 | Part42 = Instance.new("Part") | |
153 | Part43 = Instance.new("Part") | |
154 | Model44 = Instance.new("Model") | |
155 | Part45 = Instance.new("Part") | |
156 | Part46 = Instance.new("Part") | |
157 | Part47 = Instance.new("Part") | |
158 | Part48 = Instance.new("Part") | |
159 | Part49 = Instance.new("Part") | |
160 | Part50 = Instance.new("Part") | |
161 | Model51 = Instance.new("Model") | |
162 | Part52 = Instance.new("Part") | |
163 | Part53 = Instance.new("Part") | |
164 | Part54 = Instance.new("Part") | |
165 | Part55 = Instance.new("Part") | |
166 | Part56 = Instance.new("Part") | |
167 | Part57 = Instance.new("Part") | |
168 | Model58 = Instance.new("Model") | |
169 | Part59 = Instance.new("Part") | |
170 | Part60 = Instance.new("Part") | |
171 | Part61 = Instance.new("Part") | |
172 | Part62 = Instance.new("Part") | |
173 | Part63 = Instance.new("Part") | |
174 | Part64 = Instance.new("Part") | |
175 | Model0.Name = "Hanged Man" | |
176 | Model0.Parent = mas | |
177 | Model0.PrimaryPart = Part2 | |
178 | Model1.Name = "FHead" | |
179 | Model1.Parent = Model0 | |
180 | Part2.Name = "Middle" | |
181 | Part2.Parent = Model1 | |
182 | Part2.Material = Enum.Material.Concrete | |
183 | Part2.Rotation = Vector3.new(0, 89.8299942, 0) | |
184 | Part2.Anchored = true | |
185 | Part2.FormFactor = Enum.FormFactor.Symmetric | |
186 | Part2.Size = Vector3.new(2, 1, 1) | |
187 | Part2.CFrame = CFrame.new(35.3687477, -1.88997829, -36.617939, 0.00304771727, 0, 0.999995351, 0, 1, 0, -0.999995351, 0, 0.00304771727) | |
188 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
189 | Part2.Position = Vector3.new(35.3687477, -1.88997829, -36.617939) | |
190 | Part2.Orientation = Vector3.new(0, 89.8299942, 0) | |
191 | SpecialMesh3.Parent = Part2 | |
192 | SpecialMesh3.Scale = Vector3.new(1.25, 1.25, 1.25) | |
193 | SpecialMesh3.Scale = Vector3.new(1.25, 1.25, 1.25) | |
194 | Part4.Parent = Model1 | |
195 | Part4.Material = Enum.Material.Sand | |
196 | Part4.BrickColor = BrickColor.new("Brick yellow") | |
197 | Part4.Rotation = Vector3.new(0, 89.8299942, 0) | |
198 | Part4.Anchored = true | |
199 | Part4.FormFactor = Enum.FormFactor.Symmetric | |
200 | Part4.Size = Vector3.new(2.10000014, 0.55000031, 1.05000007) | |
201 | Part4.CFrame = CFrame.new(35.3687477, -2.25498056, -36.617939, 0.00304771727, 0, 0.999995351, 0, 1, 0, -0.999995351, 0, 0.00304771727) | |
202 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
203 | Part4.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
204 | Part4.Position = Vector3.new(35.3687477, -2.25498056, -36.617939) | |
205 | Part4.Orientation = Vector3.new(0, 89.8299942, 0) | |
206 | Part4.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
207 | SpecialMesh5.Parent = Part4 | |
208 | SpecialMesh5.Scale = Vector3.new(1.25, 1.25, 1.25) | |
209 | SpecialMesh5.Scale = Vector3.new(1.25, 1.25, 1.25) | |
210 | Part6.Parent = Model1 | |
211 | Part6.Material = Enum.Material.Sand | |
212 | Part6.BrickColor = BrickColor.new("Brick yellow") | |
213 | Part6.Rotation = Vector3.new(4.46000004, 89.8199997, 0) | |
214 | Part6.Anchored = true | |
215 | Part6.FormFactor = Enum.FormFactor.Symmetric | |
216 | Part6.Size = Vector3.new(2.10000014, 0.55000031, 1.05000007) | |
217 | Part6.CFrame = CFrame.new(35.3687477, -2.1249795, -36.617939, 0.00304799993, 1.78988557e-09, 0.999995232, 0.077715002, 0.996975601, -0.000236878215, -0.996971011, 0.0777153745, 0.00303878076) | |
218 | Part6.TopSurface = Enum.SurfaceType.Smooth | |
219 | Part6.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
220 | Part6.Position = Vector3.new(35.3687477, -2.1249795, -36.617939) | |
221 | Part6.Orientation = Vector3.new(0.00999999978, 89.8299942, 4.46000004) | |
222 | Part6.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
223 | SpecialMesh7.Parent = Part6 | |
224 | SpecialMesh7.Scale = Vector3.new(1.25, 1.25, 1.25) | |
225 | SpecialMesh7.Scale = Vector3.new(1.25, 1.25, 1.25) | |
226 | Part8.Parent = Model1 | |
227 | Part8.Material = Enum.Material.Sand | |
228 | Part8.BrickColor = BrickColor.new("Brick yellow") | |
229 | Part8.Rotation = Vector3.new(-15.7699995, 89.8299942, 0) | |
230 | Part8.Anchored = true | |
231 | Part8.FormFactor = Enum.FormFactor.Symmetric | |
232 | Part8.Size = Vector3.new(2.10000014, 0.55000031, 1.05000007) | |
233 | Part8.CFrame = CFrame.new(35.3687477, -1.95497835, -36.617939, 0.00304799946, 4.65661287e-10, 0.999995351, -0.271810979, 0.962350309, 0.000828483026, -0.962345898, -0.27181229, 0.00293324282) | |
234 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
235 | Part8.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
236 | Part8.Position = Vector3.new(35.3687477, -1.95497835, -36.617939) | |
237 | Part8.Orientation = Vector3.new(-0.049999997, 89.8299942, -15.7699995) | |
238 | Part8.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
239 | SpecialMesh9.Parent = Part8 | |
240 | SpecialMesh9.Scale = Vector3.new(1.25, 1.25, 1.25) | |
241 | SpecialMesh9.Scale = Vector3.new(1.25, 1.25, 1.25) | |
242 | Part10.Parent = Model1 | |
243 | Part10.Material = Enum.Material.Sand | |
244 | Part10.BrickColor = BrickColor.new("Brick yellow") | |
245 | Part10.Rotation = Vector3.new(0.48999998, 89.8299942, 0) | |
246 | Part10.Anchored = true | |
247 | Part10.FormFactor = Enum.FormFactor.Symmetric | |
248 | Part10.Size = Vector3.new(2.10000014, 0.450000316, 1.05000007) | |
249 | Part10.CFrame = CFrame.new(35.3687477, -1.6249789, -36.6175117, 0.00304799993, -1.25510269e-10, 0.999995351, 0.0085359998, 0.999963641, -2.60177148e-05, -0.999958992, 0.00853603799, 0.00304788863) | |
250 | Part10.TopSurface = Enum.SurfaceType.Smooth | |
251 | Part10.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
252 | Part10.Position = Vector3.new(35.3687477, -1.6249789, -36.6175117) | |
253 | Part10.Orientation = Vector3.new(0, 89.8299942, 0.48999998) | |
254 | Part10.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
255 | SpecialMesh11.Parent = Part10 | |
256 | SpecialMesh11.Scale = Vector3.new(1.25, 1.25, 1.25) | |
257 | SpecialMesh11.Scale = Vector3.new(1.25, 1.25, 1.25) | |
258 | Part12.Parent = Model1 | |
259 | Part12.Material = Enum.Material.Sand | |
260 | Part12.BrickColor = BrickColor.new("Brick yellow") | |
261 | Part12.Rotation = Vector3.new(0.48999998, 89.8299942, 0) | |
262 | Part12.Anchored = true | |
263 | Part12.FormFactor = Enum.FormFactor.Symmetric | |
264 | Part12.Size = Vector3.new(2.10000014, 0.460000277, 1.05000007) | |
265 | Part12.CFrame = CFrame.new(35.3687477, -1.49997795, -36.6174698, 0.00304799993, -1.25510269e-10, 0.999995351, 0.0085359998, 0.999963641, -2.60177148e-05, -0.999958992, 0.00853603799, 0.00304788863) | |
266 | Part12.TopSurface = Enum.SurfaceType.Smooth | |
267 | Part12.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
268 | Part12.Position = Vector3.new(35.3687477, -1.49997795, -36.6174698) | |
269 | Part12.Orientation = Vector3.new(0, 89.8299942, 0.48999998) | |
270 | Part12.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
271 | SpecialMesh13.Parent = Part12 | |
272 | SpecialMesh13.Scale = Vector3.new(1.25, 1.25, 1.25) | |
273 | SpecialMesh13.Scale = Vector3.new(1.25, 1.25, 1.25) | |
274 | Part14.Parent = Model1 | |
275 | Part14.Material = Enum.Material.Neon | |
276 | Part14.BrickColor = BrickColor.new("New Yeller") | |
277 | Part14.Rotation = Vector3.new(0.48999998, 89.8299942, 0) | |
278 | Part14.Anchored = true | |
279 | Part14.FormFactor = Enum.FormFactor.Symmetric | |
280 | Part14.Shape = Enum.PartType.Ball | |
281 | Part14.Size = Vector3.new(0.440000862, 0.440000862, 0.440000862) | |
282 | Part14.CFrame = CFrame.new(34.996212, -1.76885259, -36.7468681, 0.00304799993, -1.25510269e-10, 0.999995351, 0.0085359998, 0.999963641, -2.60177148e-05, -0.999958992, 0.00853603799, 0.00304788863) | |
283 | Part14.TopSurface = Enum.SurfaceType.Smooth | |
284 | Part14.Color = Color3.new(1, 1, 0) | |
285 | Part14.Position = Vector3.new(34.996212, -1.76885259, -36.7468681) | |
286 | Part14.Orientation = Vector3.new(0, 89.8299942, 0.48999998) | |
287 | Part14.Color = Color3.new(1, 1, 0) | |
288 | Part15.Parent = Model1 | |
289 | Part15.Material = Enum.Material.Neon | |
290 | Part15.BrickColor = BrickColor.new("New Yeller") | |
291 | Part15.Rotation = Vector3.new(0.48999998, 89.8299942, 0) | |
292 | Part15.Anchored = true | |
293 | Part15.FormFactor = Enum.FormFactor.Symmetric | |
294 | Part15.Shape = Enum.PartType.Ball | |
295 | Part15.Size = Vector3.new(0.440000862, 0.440000862, 0.440000862) | |
296 | Part15.CFrame = CFrame.new(34.996212, -1.76885259, -36.4968681, 0.00304799993, -1.25510269e-10, 0.999995351, 0.0085359998, 0.999963641, -2.60177148e-05, -0.999958992, 0.00853603799, 0.00304788863) | |
297 | Part15.TopSurface = Enum.SurfaceType.Smooth | |
298 | Part15.Color = Color3.new(1, 1, 0) | |
299 | Part15.Position = Vector3.new(34.996212, -1.76885259, -36.4968681) | |
300 | Part15.Orientation = Vector3.new(0, 89.8299942, 0.48999998) | |
301 | Part15.Color = Color3.new(1, 1, 0) | |
302 | Part16.Parent = Model1 | |
303 | Part16.Material = Enum.Material.Sand | |
304 | Part16.BrickColor = BrickColor.new("Brick yellow") | |
305 | Part16.Rotation = Vector3.new(6.67000008, 89.8299942, 0) | |
306 | Part16.Anchored = true | |
307 | Part16.FormFactor = Enum.FormFactor.Symmetric | |
308 | Part16.Size = Vector3.new(2.10000014, 0.460000277, 1.05000007) | |
309 | Part16.CFrame = CFrame.new(35.3687477, -1.49997842, -36.6174698, 0.00304799946, -1.42608769e-09, 0.999995351, 0.116117969, 0.993235409, -0.000353927695, -0.993230879, 0.116118528, 0.00302738068) | |
310 | Part16.TopSurface = Enum.SurfaceType.Smooth | |
311 | Part16.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
312 | Part16.Position = Vector3.new(35.3687477, -1.49997842, -36.6174698) | |
313 | Part16.Orientation = Vector3.new(0.0199999996, 89.8299942, 6.67000008) | |
314 | Part16.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
315 | SpecialMesh17.Parent = Part16 | |
316 | SpecialMesh17.Scale = Vector3.new(1.25, 1.25, 1.25) | |
317 | SpecialMesh17.Scale = Vector3.new(1.25, 1.25, 1.25) | |
318 | Part18.Parent = Model1 | |
319 | Part18.Material = Enum.Material.Sand | |
320 | Part18.BrickColor = BrickColor.new("Brick yellow") | |
321 | Part18.Rotation = Vector3.new(-3.83999991, 89.8299942, 0) | |
322 | Part18.Anchored = true | |
323 | Part18.FormFactor = Enum.FormFactor.Symmetric | |
324 | Part18.Size = Vector3.new(2.10000014, 0.460000277, 1.05000007) | |
325 | Part18.CFrame = CFrame.new(35.3687477, -1.49997842, -36.6174698, 0.00304800109, -2.02271622e-09, 0.999995351, -0.066895023, 0.997760057, 0.000203899035, -0.997755349, -0.066895321, 0.00304117333) | |
326 | Part18.TopSurface = Enum.SurfaceType.Smooth | |
327 | Part18.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
328 | Part18.Position = Vector3.new(35.3687477, -1.49997842, -36.6174698) | |
329 | Part18.Orientation = Vector3.new(-0.00999999978, 89.8299942, -3.83999991) | |
330 | Part18.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
331 | SpecialMesh19.Parent = Part18 | |
332 | SpecialMesh19.Scale = Vector3.new(1.25, 1.25, 1.25) | |
333 | SpecialMesh19.Scale = Vector3.new(1.25, 1.25, 1.25) | |
334 | Part20.Parent = Model1 | |
335 | Part20.Material = Enum.Material.Sand | |
336 | Part20.BrickColor = BrickColor.new("Brick yellow") | |
337 | Part20.Rotation = Vector3.new(-0.979999959, 89.8299942, 0) | |
338 | Part20.Anchored = true | |
339 | Part20.FormFactor = Enum.FormFactor.Symmetric | |
340 | Part20.Size = Vector3.new(2.10000014, 0.460000277, 1.05000007) | |
341 | Part20.CFrame = CFrame.new(35.3687477, -1.42997777, -36.6174698, 0.00304799876, 2.11002771e-10, 0.999995351, -0.0171319935, 0.999853253, 5.22183182e-05, -0.999848664, -0.0171320681, 0.00304755126) | |
342 | Part20.TopSurface = Enum.SurfaceType.Smooth | |
343 | Part20.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
344 | Part20.Position = Vector3.new(35.3687477, -1.42997777, -36.6174698) | |
345 | Part20.Orientation = Vector3.new(0, 89.8299942, -0.979999959) | |
346 | Part20.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
347 | SpecialMesh21.Parent = Part20 | |
348 | SpecialMesh21.Scale = Vector3.new(1.25, 1.25, 1.25) | |
349 | SpecialMesh21.Scale = Vector3.new(1.25, 1.25, 1.25) | |
350 | Part22.Name = "Handle" | |
351 | Part22.Parent = Model1 | |
352 | Part22.BrickColor = BrickColor.new("Maroon") | |
353 | Part22.Rotation = Vector3.new(0, -21.6000004, 90) | |
354 | Part22.Anchored = true | |
355 | Part22.CanCollide = false | |
356 | Part22.Locked = true | |
357 | Part22.FormFactor = Enum.FormFactor.Custom | |
358 | Part22.Size = Vector3.new(0.270000011, 0.360000521, 0.759999931) | |
359 | Part22.CFrame = CFrame.new(35.0600014, -1.99940634, -36.1699905, 0, -0.929807127, -0.368047088, 1, 0, 0, 0, -0.368047088, 0.929807127) | |
360 | Part22.BottomSurface = Enum.SurfaceType.Smooth | |
361 | Part22.TopSurface = Enum.SurfaceType.Smooth | |
362 | Part22.Color = Color3.new(0.458824, 0, 0) | |
363 | Part22.Position = Vector3.new(35.0600014, -1.99940634, -36.1699905) | |
364 | Part22.Orientation = Vector3.new(0, -21.6000004, 90) | |
365 | Part22.Color = Color3.new(0.458824, 0, 0) | |
366 | SpecialMesh23.Parent = Part22 | |
367 | SpecialMesh23.MeshId = "http://www.roblox.com/asset/?id=114019861" | |
368 | SpecialMesh23.Scale = Vector3.new(0.5, 0.5, 0.5) | |
369 | SpecialMesh23.MeshType = Enum.MeshType.FileMesh | |
370 | SpecialMesh23.Scale = Vector3.new(0.5, 0.5, 0.5) | |
371 | Part24.Name = "Handle" | |
372 | Part24.Parent = Model1 | |
373 | Part24.BrickColor = BrickColor.new("Maroon") | |
374 | Part24.Rotation = Vector3.new(0, -21.6000004, 90) | |
375 | Part24.Anchored = true | |
376 | Part24.CanCollide = false | |
377 | Part24.Locked = true | |
378 | Part24.FormFactor = Enum.FormFactor.Custom | |
379 | Part24.Size = Vector3.new(0.270000011, 0.360000521, 0.759999931) | |
380 | Part24.CFrame = CFrame.new(35.0600014, -1.75940645, -36.1699905, 0, -0.929807127, -0.368047088, 1, 0, 0, 0, -0.368047088, 0.929807127) | |
381 | Part24.BottomSurface = Enum.SurfaceType.Smooth | |
382 | Part24.TopSurface = Enum.SurfaceType.Smooth | |
383 | Part24.Color = Color3.new(0.458824, 0, 0) | |
384 | Part24.Position = Vector3.new(35.0600014, -1.75940645, -36.1699905) | |
385 | Part24.Orientation = Vector3.new(0, -21.6000004, 90) | |
386 | Part24.Color = Color3.new(0.458824, 0, 0) | |
387 | SpecialMesh25.Parent = Part24 | |
388 | SpecialMesh25.MeshId = "http://www.roblox.com/asset/?id=114019861" | |
389 | SpecialMesh25.Scale = Vector3.new(0.5, 0.5, 0.5) | |
390 | SpecialMesh25.MeshType = Enum.MeshType.FileMesh | |
391 | SpecialMesh25.Scale = Vector3.new(0.5, 0.5, 0.5) | |
392 | Part26.Name = "Handle" | |
393 | Part26.Parent = Model1 | |
394 | Part26.BrickColor = BrickColor.new("Maroon") | |
395 | Part26.Rotation = Vector3.new(-180, -25.6399994, 90) | |
396 | Part26.Anchored = true | |
397 | Part26.CanCollide = false | |
398 | Part26.Locked = true | |
399 | Part26.FormFactor = Enum.FormFactor.Custom | |
400 | Part26.Size = Vector3.new(0.270000011, 0.360000521, 0.759999931) | |
401 | Part26.CFrame = CFrame.new(35.0300026, -1.99940634, -37.1299934, 0, -0.901557744, -0.432658941, -1, 0, 0, 0, 0.432658911, -0.901557744) | |
402 | Part26.BottomSurface = Enum.SurfaceType.Smooth | |
403 | Part26.TopSurface = Enum.SurfaceType.Smooth | |
404 | Part26.Color = Color3.new(0.458824, 0, 0) | |
405 | Part26.Position = Vector3.new(35.0300026, -1.99940634, -37.1299934) | |
406 | Part26.Orientation = Vector3.new(0, -154.360001, -90) | |
407 | Part26.Color = Color3.new(0.458824, 0, 0) | |
408 | SpecialMesh27.Parent = Part26 | |
409 | SpecialMesh27.MeshId = "http://www.roblox.com/asset/?id=114019861" | |
410 | SpecialMesh27.Scale = Vector3.new(0.5, 0.5, 0.5) | |
411 | SpecialMesh27.MeshType = Enum.MeshType.FileMesh | |
412 | SpecialMesh27.Scale = Vector3.new(0.5, 0.5, 0.5) | |
413 | Part28.Name = "Handle" | |
414 | Part28.Parent = Model1 | |
415 | Part28.BrickColor = BrickColor.new("Maroon") | |
416 | Part28.Rotation = Vector3.new(-180, -25.6399994, 90) | |
417 | Part28.Anchored = true | |
418 | Part28.CanCollide = false | |
419 | Part28.Locked = true | |
420 | Part28.FormFactor = Enum.FormFactor.Custom | |
421 | Part28.Size = Vector3.new(0.270000011, 0.360000521, 0.759999931) | |
422 | Part28.CFrame = CFrame.new(35.0300026, -1.75940645, -37.1299934, 0, -0.901557744, -0.432658941, -1, 0, 0, 0, 0.432658911, -0.901557744) | |
423 | Part28.BottomSurface = Enum.SurfaceType.Smooth | |
424 | Part28.TopSurface = Enum.SurfaceType.Smooth | |
425 | Part28.Color = Color3.new(0.458824, 0, 0) | |
426 | Part28.Position = Vector3.new(35.0300026, -1.75940645, -37.1299934) | |
427 | Part28.Orientation = Vector3.new(0, -154.360001, -90) | |
428 | Part28.Color = Color3.new(0.458824, 0, 0) | |
429 | SpecialMesh29.Parent = Part28 | |
430 | SpecialMesh29.MeshId = "http://www.roblox.com/asset/?id=114019861" | |
431 | SpecialMesh29.Scale = Vector3.new(0.5, 0.5, 0.5) | |
432 | SpecialMesh29.MeshType = Enum.MeshType.FileMesh | |
433 | SpecialMesh29.Scale = Vector3.new(0.5, 0.5, 0.5) | |
434 | Model30.Name = "Left Arm" | |
435 | Model30.Parent = Model0 | |
436 | Part31.Name = "Middle" | |
437 | Part31.Parent = Model30 | |
438 | Part31.Material = Enum.Material.Concrete | |
439 | Part31.Rotation = Vector3.new(0, 89.8299942, 0) | |
440 | Part31.Anchored = true | |
441 | Part31.CanCollide = false | |
442 | Part31.FormFactor = Enum.FormFactor.Symmetric | |
443 | Part31.Size = Vector3.new(1, 2, 1) | |
444 | Part31.CFrame = CFrame.new(35.3641739, -3.46997833, -35.0779495, 0.00304771727, 0, 0.999995351, 0, 1, 0, -0.999995351, 0, 0.00304771727) | |
445 | Part31.Position = Vector3.new(35.3641739, -3.46997833, -35.0779495) | |
446 | Part31.Orientation = Vector3.new(0, 89.8299942, 0) | |
447 | Part32.Parent = Model30 | |
448 | Part32.Material = Enum.Material.Sand | |
449 | Part32.BrickColor = BrickColor.new("Brick yellow") | |
450 | Part32.Rotation = Vector3.new(-4.88999987, 89.8299942, 0) | |
451 | Part32.Anchored = true | |
452 | Part32.CanCollide = false | |
453 | Part32.FormFactor = Enum.FormFactor.Symmetric | |
454 | Part32.Size = Vector3.new(1.13157856, 0.430000216, 1.13157856) | |
455 | Part32.CFrame = CFrame.new(35.3641739, -3.27497935, -35.0779495, 0.00304800109, -1.65891834e-09, 0.999995351, -0.0853160322, 0.996353924, 0.000260046218, -0.996349216, -0.0853164271, 0.00303688692) | |
456 | Part32.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
457 | Part32.Position = Vector3.new(35.3641739, -3.27497935, -35.0779495) | |
458 | Part32.Orientation = Vector3.new(-0.00999999978, 89.8299942, -4.88999987) | |
459 | Part32.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
460 | Part33.Parent = Model30 | |
461 | Part33.Material = Enum.Material.Glass | |
462 | Part33.BrickColor = BrickColor.new("Really black") | |
463 | Part33.Rotation = Vector3.new(0, 89.8299942, 0) | |
464 | Part33.Anchored = true | |
465 | Part33.CanCollide = false | |
466 | Part33.FormFactor = Enum.FormFactor.Symmetric | |
467 | Part33.Size = Vector3.new(1.12157845, 0.430000216, 1.09157848) | |
468 | Part33.CFrame = CFrame.new(35.3641586, -4.28497887, -35.0729485, 0.00304771727, 0, 0.999995351, 0, 1, 0, -0.999995351, 0, 0.00304771727) | |
469 | Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
470 | Part33.Position = Vector3.new(35.3641586, -4.28497887, -35.0729485) | |
471 | Part33.Orientation = Vector3.new(0, 89.8299942, 0) | |
472 | Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
473 | Part34.Parent = Model30 | |
474 | Part34.Material = Enum.Material.Sand | |
475 | Part34.BrickColor = BrickColor.new("Brick yellow") | |
476 | Part34.Rotation = Vector3.new(6.17000008, 89.8299942, 0) | |
477 | Part34.Anchored = true | |
478 | Part34.CanCollide = false | |
479 | Part34.FormFactor = Enum.FormFactor.Symmetric | |
480 | Part34.Size = Vector3.new(1.13157856, 0.430000216, 1.13157856) | |
481 | Part34.CFrame = CFrame.new(35.3641739, -3.27497935, -35.0779495, 0.00304800016, -1.65891834e-09, 0.999995351, 0.107559018, 0.99419868, -0.000327839778, -0.994193971, 0.107559524, 0.00303031737) | |
482 | Part34.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
483 | Part34.Position = Vector3.new(35.3641739, -3.27497935, -35.0779495) | |
484 | Part34.Orientation = Vector3.new(0.0199999996, 89.8299942, 6.17000008) | |
485 | Part34.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
486 | Part35.Parent = Model30 | |
487 | Part35.Material = Enum.Material.Sand | |
488 | Part35.BrickColor = BrickColor.new("Brick yellow") | |
489 | Part35.Rotation = Vector3.new(0, 89.8299942, 0) | |
490 | Part35.Anchored = true | |
491 | Part35.CanCollide = false | |
492 | Part35.FormFactor = Enum.FormFactor.Symmetric | |
493 | Part35.Size = Vector3.new(1.14766145, 0.440000325, 1.1169641) | |
494 | Part35.CFrame = CFrame.new(35.3641586, -4.02997923, -35.0729485, 0.00304771727, 0, 0.999995351, 0, 1, 0, -0.999995351, 0, 0.00304771727) | |
495 | Part35.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
496 | Part35.Position = Vector3.new(35.3641586, -4.02997923, -35.0729485) | |
497 | Part35.Orientation = Vector3.new(0, 89.8299942, 0) | |
498 | Part35.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
499 | Model36.Name = "Right Arm" | |
500 | Model36.Parent = Model0 | |
501 | Part37.Name = "Middle" | |
502 | Part37.Parent = Model36 | |
503 | Part37.Material = Enum.Material.Concrete | |
504 | Part37.Rotation = Vector3.new(90, 89.8299942, 0) | |
505 | Part37.Anchored = true | |
506 | Part37.CanCollide = false | |
507 | Part37.FormFactor = Enum.FormFactor.Symmetric | |
508 | Part37.Size = Vector3.new(1, 2, 1) | |
509 | Part37.CFrame = CFrame.new(35.3733215, -2.99031591, -38.5982666, 0.00304800109, 0, 0.999995351, 0.999995351, 0, -0.00304800109, -9.09494702e-13, 1, 0) | |
510 | Part37.Position = Vector3.new(35.3733215, -2.99031591, -38.5982666) | |
511 | Part37.Orientation = Vector3.new(0.170000002, 90, 90) | |
512 | Part38.Parent = Model36 | |
513 | Part38.Material = Enum.Material.Concrete | |
514 | Part38.Reflectance = 0.0099999997764826 | |
515 | Part38.Rotation = Vector3.new(-180, 0, -180) | |
516 | Part38.Anchored = true | |
517 | Part38.Elasticity = 0 | |
518 | Part38.FormFactor = Enum.FormFactor.Custom | |
519 | Part38.Size = Vector3.new(0.600000024, 0.400000006, 2.4000001) | |
520 | Part38.CFrame = CFrame.new(35.2199936, -3.37826109, -40.0282669, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
521 | Part38.BottomSurface = Enum.SurfaceType.Smooth | |
522 | Part38.TopSurface = Enum.SurfaceType.Smooth | |
523 | Part38.Position = Vector3.new(35.2199936, -3.37826109, -40.0282669) | |
524 | Part38.Orientation = Vector3.new(0, 180, 0) | |
525 | SpecialMesh39.Parent = Part38 | |
526 | SpecialMesh39.MeshId = "http://www.roblox.com/asset/?id=20719463" | |
527 | SpecialMesh39.Scale = Vector3.new(0.5, 0.699999988, 0.5) | |
528 | SpecialMesh39.TextureId = "http://www.roblox.com/asset/?id=20719455" | |
529 | SpecialMesh39.MeshType = Enum.MeshType.FileMesh | |
530 | SpecialMesh39.Scale = Vector3.new(0.5, 0.699999988, 0.5) | |
531 | Part40.Parent = Model36 | |
532 | Part40.Material = Enum.Material.Sand | |
533 | Part40.BrickColor = BrickColor.new("Brick yellow") | |
534 | Part40.Rotation = Vector3.new(-77.909996, 0.170000002, -180) | |
535 | Part40.Anchored = true | |
536 | Part40.CanCollide = false | |
537 | Part40.FormFactor = Enum.FormFactor.Symmetric | |
538 | Part40.Size = Vector3.new(1.13157856, 0.430000216, 1.13157856) | |
539 | Part40.CFrame = CFrame.new(35.3641739, -3.03497934, -38.2979317, -0.999995351, 3.05939466e-07, 0.00304871867, 0.00298100105, -0.209498033, 0.977804482, 0.000638999743, 0.977809131, 0.209497049) | |
540 | Part40.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
541 | Part40.Position = Vector3.new(35.3641739, -3.03497934, -38.2979317) | |
542 | Part40.Orientation = Vector3.new(-77.909996, 0.829999983, 179.179993) | |
543 | Part40.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
544 | Part41.Parent = Model36 | |
545 | Part41.Material = Enum.Material.Glass | |
546 | Part41.BrickColor = BrickColor.new("Really black") | |
547 | Part41.Rotation = Vector3.new(-90, 0.170000002, -180) | |
548 | Part41.Anchored = true | |
549 | Part41.CanCollide = false | |
550 | Part41.FormFactor = Enum.FormFactor.Symmetric | |
551 | Part41.Size = Vector3.new(0.991578519, 0.430000216, 1.11157858) | |
552 | Part41.CFrame = CFrame.new(35.3641739, -2.99497962, -39.477932, -0.999995351, 0, 0.00304800109, 0.00304800109, 0, 0.999995351, 0, 1, -9.09494702e-13) | |
553 | Part41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
554 | Part41.Position = Vector3.new(35.3641739, -2.99497962, -39.477932) | |
555 | Part41.Orientation = Vector3.new(-89.8299942, 90, 90) | |
556 | Part41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
557 | Part42.Parent = Model36 | |
558 | Part42.Material = Enum.Material.Sand | |
559 | Part42.BrickColor = BrickColor.new("Brick yellow") | |
560 | Part42.Rotation = Vector3.new(-103.790001, 0.170000002, -180) | |
561 | Part42.Anchored = true | |
562 | Part42.CanCollide = false | |
563 | Part42.FormFactor = Enum.FormFactor.Symmetric | |
564 | Part42.Size = Vector3.new(1.13157856, 0.430000216, 1.13157856) | |
565 | Part42.CFrame = CFrame.new(35.3641739, -3.03497934, -38.2979317, -0.999995351, 2.95974314e-06, 0.00304920017, 0.00296200113, 0.238382101, 0.971166968, -0.000723999925, 0.971171439, -0.238381028) | |
566 | Part42.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
567 | Part42.Position = Vector3.new(35.3641739, -3.03497934, -38.2979317) | |
568 | Part42.Orientation = Vector3.new(-76.2099991, 179.269989, 0.709999979) | |
569 | Part42.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
570 | Part43.Parent = Model36 | |
571 | Part43.Material = Enum.Material.Sand | |
572 | Part43.BrickColor = BrickColor.new("Brick yellow") | |
573 | Part43.Rotation = Vector3.new(-90, 0.170000002, -180) | |
574 | Part43.Anchored = true | |
575 | Part43.CanCollide = false | |
576 | Part43.FormFactor = Enum.FormFactor.Symmetric | |
577 | Part43.Size = Vector3.new(1.01463842, 0.440000176, 1.13742924) | |
578 | Part43.CFrame = CFrame.new(35.3641739, -2.99497962, -39.3229294, -0.999995351, 0, 0.00304800109, 0.00304800109, 0, 0.999995351, 0, 1, -9.09494702e-13) | |
579 | Part43.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
580 | Part43.Position = Vector3.new(35.3641739, -2.99497962, -39.3229294) | |
581 | Part43.Orientation = Vector3.new(-89.8299942, 90, 90) | |
582 | Part43.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
583 | Model44.Name = "Right Leg" | |
584 | Model44.Parent = Model0 | |
585 | Part45.Name = "Middle" | |
586 | Part45.Parent = Model44 | |
587 | Part45.Material = Enum.Material.Concrete | |
588 | Part45.Rotation = Vector3.new(0, 89.8299942, 0) | |
589 | Part45.Anchored = true | |
590 | Part45.CanCollide = false | |
591 | Part45.FormFactor = Enum.FormFactor.Symmetric | |
592 | Part45.Size = Vector3.new(1, 2, 1) | |
593 | Part45.CFrame = CFrame.new(35.3702698, -5.46997833, -37.1179428, 0.00304771727, 0, 0.999995351, 0, 1, 0, -0.999995351, 0, 0.00304771727) | |
594 | Part45.BottomSurface = Enum.SurfaceType.Smooth | |
595 | Part45.Position = Vector3.new(35.3702698, -5.46997833, -37.1179428) | |
596 | Part45.Orientation = Vector3.new(0, 89.8299942, 0) | |
597 | Part46.Parent = Model44 | |
598 | Part46.Material = Enum.Material.Marble | |
599 | Part46.BrickColor = BrickColor.new("Really black") | |
600 | Part46.Rotation = Vector3.new(0, -0.170000002, 0) | |
601 | Part46.Anchored = true | |
602 | Part46.CanCollide = false | |
603 | Part46.FormFactor = Enum.FormFactor.Symmetric | |
604 | Part46.Size = Vector3.new(0.32747525, 1.73094082, 0.413160145) | |
605 | Part46.CFrame = CFrame.new(35.0228577, -4.97544956, -37.0830803, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) | |
606 | Part46.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
607 | Part46.Position = Vector3.new(35.0228577, -4.97544956, -37.0830803) | |
608 | Part46.Orientation = Vector3.new(0, -0.170000002, 0) | |
609 | Part46.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
610 | Part47.Parent = Model44 | |
611 | Part47.Material = Enum.Material.Marble | |
612 | Part47.BrickColor = BrickColor.new("Burgundy") | |
613 | Part47.Rotation = Vector3.new(0, -0.170000002, 0) | |
614 | Part47.Anchored = true | |
615 | Part47.CanCollide = false | |
616 | Part47.FormFactor = Enum.FormFactor.Symmetric | |
617 | Part47.Size = Vector3.new(1.12758613, 0.300000101, 1.18094397) | |
618 | Part47.CFrame = CFrame.new(35.3928528, -5.27997923, -37.1293983, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) | |
619 | Part47.Color = Color3.new(0.533333, 0.243137, 0.243137) | |
620 | Part47.Position = Vector3.new(35.3928528, -5.27997923, -37.1293983) | |
621 | Part47.Orientation = Vector3.new(0, -0.170000002, 0) | |
622 | Part47.Color = Color3.new(0.533333, 0.243137, 0.243137) | |
623 | Part48.Parent = Model44 | |
624 | Part48.Material = Enum.Material.Sand | |
625 | Part48.BrickColor = BrickColor.new("Brick yellow") | |
626 | Part48.Rotation = Vector3.new(0, -0.170000002, 0) | |
627 | Part48.Anchored = true | |
628 | Part48.CanCollide = false | |
629 | Part48.FormFactor = Enum.FormFactor.Symmetric | |
630 | Part48.Size = Vector3.new(1.08999979, 0.290000081, 1.14157903) | |
631 | Part48.CFrame = CFrame.new(35.3928528, -5.62497902, -37.1128464, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) | |
632 | Part48.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
633 | Part48.Position = Vector3.new(35.3928528, -5.62497902, -37.1128464) | |
634 | Part48.Orientation = Vector3.new(0, -0.170000002, 0) | |
635 | Part48.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
636 | Part49.Parent = Model44 | |
637 | Part49.Material = Enum.Material.Sand | |
638 | Part49.BrickColor = BrickColor.new("Brick yellow") | |
639 | Part49.Rotation = Vector3.new(0, -0.170000002, 0) | |
640 | Part49.Anchored = true | |
641 | Part49.CanCollide = false | |
642 | Part49.FormFactor = Enum.FormFactor.Symmetric | |
643 | Part49.Size = Vector3.new(1.1651721, 0.310000122, 1.22030842) | |
644 | Part49.CFrame = CFrame.new(35.3928528, -5.80497885, -37.1128464, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) | |
645 | Part49.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
646 | Part49.Position = Vector3.new(35.3928528, -5.80497885, -37.1128464) | |
647 | Part49.Orientation = Vector3.new(0, -0.170000002, 0) | |
648 | Part49.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
649 | Part50.Parent = Model44 | |
650 | Part50.Material = Enum.Material.Sand | |
651 | Part50.BrickColor = BrickColor.new("Brick yellow") | |
652 | Part50.Rotation = Vector3.new(0, -0.170000002, 0) | |
653 | Part50.Anchored = true | |
654 | Part50.CanCollide = false | |
655 | Part50.FormFactor = Enum.FormFactor.Symmetric | |
656 | Part50.Size = Vector3.new(1.1299994, 0.2900002, 1.14157856) | |
657 | Part50.CFrame = CFrame.new(35.3928528, -6.09497881, -37.1128464, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) | |
658 | Part50.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
659 | Part50.Position = Vector3.new(35.3928528, -6.09497881, -37.1128464) | |
660 | Part50.Orientation = Vector3.new(0, -0.170000002, 0) | |
661 | Part50.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
662 | Model51.Name = "FTorso" | |
663 | Model51.Parent = Model0 | |
664 | Part52.Name = "Middle" | |
665 | Part52.Parent = Model51 | |
666 | Part52.Material = Enum.Material.Concrete | |
667 | Part52.Rotation = Vector3.new(0, 89.8299942, 0) | |
668 | Part52.Anchored = true | |
669 | Part52.FormFactor = Enum.FormFactor.Symmetric | |
670 | Part52.Size = Vector3.new(2, 2, 1) | |
671 | Part52.CFrame = CFrame.new(35.3687477, -3.46997833, -36.617939, 0.00304771727, 0, 0.999995351, 0, 1, 0, -0.999995351, 0, 0.00304771727) | |
672 | Part52.LeftSurface = Enum.SurfaceType.Weld | |
673 | Part52.RightSurface = Enum.SurfaceType.Weld | |
674 | Part52.Position = Vector3.new(35.3687477, -3.46997833, -36.617939) | |
675 | Part52.Orientation = Vector3.new(0, 89.8299942, 0) | |
676 | Part53.Parent = Model51 | |
677 | Part53.Material = Enum.Material.Sand | |
678 | Part53.BrickColor = BrickColor.new("Brick yellow") | |
679 | Part53.Rotation = Vector3.new(-4.5999999, -0.170000002, 0) | |
680 | Part53.Anchored = true | |
681 | Part53.CanCollide = false | |
682 | Part53.FormFactor = Enum.FormFactor.Symmetric | |
683 | Part53.Size = Vector3.new(1.13157856, 1.24000013, 0.48157829) | |
684 | Part53.CFrame = CFrame.new(35.3651657, -2.81901145, -37.5129356, 0.999995232, 1.65132224e-06, -0.00304870028, 0.00024300009, 0.996775091, 0.0802456364, 0.00303900079, -0.0802460015, 0.996770322) | |
685 | Part53.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
686 | Part53.Position = Vector3.new(35.3651657, -2.81901145, -37.5129356) | |
687 | Part53.Orientation = Vector3.new(-4.5999999, -0.179999992, 0.00999999978) | |
688 | Part53.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
689 | Part54.Parent = Model51 | |
690 | Part54.Material = Enum.Material.Sand | |
691 | Part54.BrickColor = BrickColor.new("Brick yellow") | |
692 | Part54.Rotation = Vector3.new(8.27999973, -0.170000002, 0) | |
693 | Part54.Anchored = true | |
694 | Part54.CanCollide = false | |
695 | Part54.FormFactor = Enum.FormFactor.Symmetric | |
696 | Part54.Size = Vector3.new(1.13157856, 1.24000013, 0.48157829) | |
697 | Part54.CFrame = CFrame.new(35.3651657, -2.81901145, -35.7429276, 0.999995351, 2.05330434e-06, -0.0030480714, -0.000441000157, 0.989575565, -0.144014418, 0.00301600108, 0.144015089, 0.989570916) | |
698 | Part54.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
699 | Part54.Position = Vector3.new(35.3651657, -2.81901145, -35.7429276) | |
700 | Part54.Orientation = Vector3.new(8.27999973, -0.179999992, -0.0299999993) | |
701 | Part54.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
702 | Part55.Parent = Model51 | |
703 | Part55.Material = Enum.Material.Sand | |
704 | Part55.BrickColor = BrickColor.new("Brick yellow") | |
705 | Part55.Rotation = Vector3.new(0, -0.170000002, 0) | |
706 | Part55.Anchored = true | |
707 | Part55.CanCollide = false | |
708 | Part55.FormFactor = Enum.FormFactor.Symmetric | |
709 | Part55.Size = Vector3.new(1.13157856, 0.459999979, 1.2215786) | |
710 | Part55.CFrame = CFrame.new(35.3651657, -2.49901295, -36.5929298, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) | |
711 | Part55.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
712 | Part55.Position = Vector3.new(35.3651657, -2.49901295, -36.5929298) | |
713 | Part55.Orientation = Vector3.new(0, -0.170000002, 0) | |
714 | Part55.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
715 | Part56.Parent = Model51 | |
716 | Part56.Material = Enum.Material.Sand | |
717 | Part56.BrickColor = BrickColor.new("Brick yellow") | |
718 | Part56.Rotation = Vector3.new(0, -0.170000002, 0) | |
719 | Part56.Anchored = true | |
720 | Part56.CanCollide = false | |
721 | Part56.FormFactor = Enum.FormFactor.Symmetric | |
722 | Part56.Size = Vector3.new(1.13157856, 0.459999979, 1.2215786) | |
723 | Part56.CFrame = CFrame.new(35.3651657, -4.29901171, -36.5929298, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) | |
724 | Part56.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
725 | Part56.Position = Vector3.new(35.3651657, -4.29901171, -36.5929298) | |
726 | Part56.Orientation = Vector3.new(0, -0.170000002, 0) | |
727 | Part56.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
728 | Part57.Parent = Model51 | |
729 | Part57.Material = Enum.Material.Sand | |
730 | Part57.BrickColor = BrickColor.new("Brick yellow") | |
731 | Part57.Rotation = Vector3.new(0, -0.170000002, 0) | |
732 | Part57.Anchored = true | |
733 | Part57.CanCollide = false | |
734 | Part57.FormFactor = Enum.FormFactor.Symmetric | |
735 | Part57.Size = Vector3.new(1.04157853, 0.369999975, 2.14157867) | |
736 | Part57.CFrame = CFrame.new(35.3701668, -4.25400972, -36.5929146, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) | |
737 | Part57.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
738 | Part57.Position = Vector3.new(35.3701668, -4.25400972, -36.5929146) | |
739 | Part57.Orientation = Vector3.new(0, -0.170000002, 0) | |
740 | Part57.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
741 | Model58.Name = "Left Leg" | |
742 | Model58.Parent = Model0 | |
743 | Part59.Name = "Middle" | |
744 | Part59.Parent = Model58 | |
745 | Part59.Material = Enum.Material.Concrete | |
746 | Part59.Rotation = Vector3.new(0, 89.8299942, 0) | |
747 | Part59.Anchored = true | |
748 | Part59.CanCollide = false | |
749 | Part59.FormFactor = Enum.FormFactor.Symmetric | |
750 | Part59.Size = Vector3.new(1, 2, 1) | |
751 | Part59.CFrame = CFrame.new(35.3670044, -5.46997833, -36.118, 0.00304771727, 0, 0.999995351, 0, 1, 0, -0.999995351, 0, 0.00304771727) | |
752 | Part59.BottomSurface = Enum.SurfaceType.Smooth | |
753 | Part59.Position = Vector3.new(35.3670044, -5.46997833, -36.118) | |
754 | Part59.Orientation = Vector3.new(0, 89.8299942, 0) | |
755 | Part60.Parent = Model58 | |
756 | Part60.Material = Enum.Material.Marble | |
757 | Part60.BrickColor = BrickColor.new("Really black") | |
758 | Part60.Rotation = Vector3.new(0, -0.170000002, 0) | |
759 | Part60.Anchored = true | |
760 | Part60.CanCollide = false | |
761 | Part60.FormFactor = Enum.FormFactor.Symmetric | |
762 | Part60.Size = Vector3.new(0.32747525, 1.8900001, 0.413160145) | |
763 | Part60.CFrame = CFrame.new(35.0228577, -5.05497932, -36.1848488, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) | |
764 | Part60.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
765 | Part60.Position = Vector3.new(35.0228577, -5.05497932, -36.1848488) | |
766 | Part60.Orientation = Vector3.new(0, -0.170000002, 0) | |
767 | Part60.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
768 | Part61.Parent = Model58 | |
769 | Part61.Material = Enum.Material.Marble | |
770 | Part61.BrickColor = BrickColor.new("Burgundy") | |
771 | Part61.Rotation = Vector3.new(0, -0.170000002, 0) | |
772 | Part61.Anchored = true | |
773 | Part61.CanCollide = false | |
774 | Part61.FormFactor = Enum.FormFactor.Symmetric | |
775 | Part61.Size = Vector3.new(1.12758613, 0.300000101, 1.18094397) | |
776 | Part61.CFrame = CFrame.new(35.3928528, -5.27997923, -36.1362724, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) | |
777 | Part61.Color = Color3.new(0.533333, 0.243137, 0.243137) | |
778 | Part61.Position = Vector3.new(35.3928528, -5.27997923, -36.1362724) | |
779 | Part61.Orientation = Vector3.new(0, -0.170000002, 0) | |
780 | Part61.Color = Color3.new(0.533333, 0.243137, 0.243137) | |
781 | Part62.Parent = Model58 | |
782 | Part62.Material = Enum.Material.Sand | |
783 | Part62.BrickColor = BrickColor.new("Brick yellow") | |
784 | Part62.Rotation = Vector3.new(0, -0.170000002, 0) | |
785 | Part62.Anchored = true | |
786 | Part62.CanCollide = false | |
787 | Part62.FormFactor = Enum.FormFactor.Symmetric | |
788 | Part62.Size = Vector3.new(1.08999979, 0.290000081, 1.14157903) | |
789 | Part62.CFrame = CFrame.new(35.3928528, -5.62497902, -36.1528244, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) | |
790 | Part62.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
791 | Part62.Position = Vector3.new(35.3928528, -5.62497902, -36.1528244) | |
792 | Part62.Orientation = Vector3.new(0, -0.170000002, 0) | |
793 | Part62.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
794 | Part63.Parent = Model58 | |
795 | Part63.Material = Enum.Material.Sand | |
796 | Part63.BrickColor = BrickColor.new("Brick yellow") | |
797 | Part63.Rotation = Vector3.new(0, -0.170000002, 0) | |
798 | Part63.Anchored = true | |
799 | Part63.CanCollide = false | |
800 | Part63.FormFactor = Enum.FormFactor.Symmetric | |
801 | Part63.Size = Vector3.new(1.1651721, 0.310000122, 1.22030842) | |
802 | Part63.CFrame = CFrame.new(35.3928528, -5.80497885, -36.1528244, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) | |
803 | Part63.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
804 | Part63.Position = Vector3.new(35.3928528, -5.80497885, -36.1528244) | |
805 | Part63.Orientation = Vector3.new(0, -0.170000002, 0) | |
806 | Part63.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
807 | Part64.Parent = Model58 | |
808 | Part64.Material = Enum.Material.Sand | |
809 | Part64.BrickColor = BrickColor.new("Brick yellow") | |
810 | Part64.Rotation = Vector3.new(0, -0.170000002, 0) | |
811 | Part64.Anchored = true | |
812 | Part64.CanCollide = false | |
813 | Part64.FormFactor = Enum.FormFactor.Symmetric | |
814 | Part64.Size = Vector3.new(1.1299994, 0.2900002, 1.14157856) | |
815 | Part64.CFrame = CFrame.new(35.3928528, -6.09497881, -36.1528244, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) | |
816 | Part64.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
817 | Part64.Position = Vector3.new(35.3928528, -6.09497881, -36.1528244) | |
818 | Part64.Orientation = Vector3.new(0, -0.170000002, 0) | |
819 | Part64.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
820 | for i,v in pairs(mas:GetChildren()) do | |
821 | v.Parent = game:GetService("Players").LocalPlayer.Character | |
822 | pcall(function() v:MakeJoints() end) | |
823 | end | |
824 | mas:Destroy() | |
825 | for i,v in pairs(cors) do | |
826 | spawn(function() | |
827 | pcall(v) | |
828 | end) | |
829 | end | |
830 | ||
831 | --end of costume | |
832 | ||
833 | ||
834 | AdvancingFortress.Parent = Character | |
835 | torso = AdvancingFortress.Torso | |
836 | hum = AdvancingFortress.Humanoid | |
837 | AdvancingFortress.Name = "Advancing Fortress" | |
838 | pl = AdvancingFortress | |
839 | for i, v in pairs(AdvancingFortress:GetChildren()) do | |
840 | if v:IsA("BasePart") then | |
841 | v.Transparency = 1 | |
842 | end | |
843 | end | |
844 | local Humanoid = AdvancingFortress.Humanoid | |
845 | local Mouse = Player:GetMouse() | |
846 | local LeftArm = AdvancingFortress["Left Arm"] | |
847 | local RightArm = AdvancingFortress["Right Arm"] | |
848 | local LeftLeg = AdvancingFortress["Left Leg"] | |
849 | local RightLeg = AdvancingFortress["Right Leg"] | |
850 | local Head = AdvancingFortress.Head | |
851 | local Torso = AdvancingFortress.Torso | |
852 | local Camera = game.Workspace.CurrentCamera | |
853 | local RootPart = AdvancingFortress.HumanoidRootPart | |
854 | local RootJoint = RootPart.RootJoint | |
855 | local attack = false | |
856 | local Anim = "Idle" | |
857 | local attacktype = 1 | |
858 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
859 | local velocity = RootPart.Velocity.y | |
860 | local sine = 0 | |
861 | local change = 1 | |
862 | local Create = LoadLibrary("RbxUtility").Create | |
863 | local TimeStop = false | |
864 | local m = Create("Model")({ | |
865 | Parent = AdvancingFortress, | |
866 | Name = "WeaponModel" | |
867 | }) | |
868 | --for _,v in pairs(KQ) do | |
869 | --v.Transparency=1 | |
870 | --end | |
871 | KQ={ | |
872 | ||
873 | } | |
874 | ||
875 | ||
876 | for _,v in pairs(Character['Hanged Man']:GetChildren()) do | |
877 | if v:IsA('Model') then | |
878 | for _,g in pairs(v:GetChildren())do | |
879 | if g:IsA('Part') then | |
880 | for _,h in pairs(g:GetChildren())do | |
881 | if h:IsA('Texture') or h:IsA('Decal') then --gets all decals and textures | |
882 | table.insert(KQ,h) | |
883 | end | |
884 | end | |
885 | ||
886 | end | |
887 | end | |
888 | ||
889 | end | |
890 | end | |
891 | ||
892 | AdvancingFortress.Head.Name = "FHead" | |
893 | AdvancingFortress.Torso.Name = "FTorso" | |
894 | wait() | |
895 | for _,v in pairs(Character['Hanged Man']:GetChildren()) do | |
896 | fEF=v.Name | |
897 | if v:IsA('Model') then | |
898 | for _,g in pairs(v:GetChildren()) do | |
899 | if g:IsA('Part') then | |
900 | local W = Instance.new("Weld") | |
901 | W.Part0 = v.Middle | |
902 | W.Part1 =g | |
903 | g.CanCollide=false | |
904 | local CJ = CFrame.new(v.Middle.Position) | |
905 | local C0 = v.Middle.CFrame:inverse()*CJ | |
906 | local C1 = g.CFrame:inverse()*CJ | |
907 | W.C0 = C0 | |
908 | W.C1 = C1 | |
909 | W.Parent = v.Middle | |
910 | end | |
911 | local Y = Instance.new("Weld") | |
912 | Y.Part0 = AdvancingFortress[fEF] | |
913 | Y.Part1 = v.Middle | |
914 | Y.C0 = CFrame.new(0, 0, 0) | |
915 | Y.Parent = Y.Part0 | |
916 | end | |
917 | end | |
918 | end | |
919 | wait() | |
920 | for _,v in pairs(Character['Hanged Man']:GetChildren()) do | |
921 | fEF=v.Name | |
922 | if v:IsA('Model') then | |
923 | for _,g in pairs(v:GetChildren()) do | |
924 | if g:IsA('Part') then | |
925 | g.Anchored=false | |
926 | end | |
927 | end | |
928 | end | |
929 | end | |
930 | --[[ | |
931 | shirt = Instance.new("Shirt", Character) | |
932 | shirt.Name = "Shirt" | |
933 | pants = Instance.new("Pants", Character) | |
934 | pants.Name = "Pants" | |
935 | Character.Shirt.ShirtTemplate = "rbxassetid://769199076" | |
936 | Character.Pants.PantsTemplate = "rbxassetid://693211747" | |
937 | ||
938 | for i, v in pairs(Character:GetChildren()) do | |
939 | if v.ClassName == "Accessory" then | |
940 | v:Remove() | |
941 | end | |
942 | end | |
943 | ||
944 | Hat3 = Instance.new("Model") | |
945 | Hat3.Parent = Character | |
946 | Hat3.Name = "Hat3" | |
947 | rh = Instance.new("Part") | |
948 | rh.Parent = Hat3 | |
949 | rh.BrickColor = BrickColor.new("Pink") | |
950 | rh.Locked = true | |
951 | rh.CanCollide = false | |
952 | mesh = Instance.new("SpecialMesh") | |
953 | rh.formFactor = "Symmetric" | |
954 | mesh.MeshType = "FileMesh" | |
955 | mesh.MeshId = "rbxassetid://495152230" | |
956 | mesh.Parent = rh | |
957 | local weld = Instance.new("Weld") | |
958 | weld.Parent = rh | |
959 | weld.Part0 = rh | |
960 | weld.Part1 =Character.Head | |
961 | weld.C0 = CFrame.new(0, 0.4, 0)*CFrame.Angles(0, 0, 0) | |
962 | mesh.Scale = Vector3.new(1,1,1) | |
963 | Hat3.Part.Transparency = 0--]] | |
964 | ||
965 | for _,v in pairs(AdvancingFortress:GetChildren()) do | |
966 | if v:IsA('Part') then | |
967 | v.BrickColor=BrickColor.new('Really red') | |
968 | end | |
969 | end | |
970 | ||
971 | AdvancingFortress.FTorso.BrickColor=BrickColor.new('Really red') | |
972 | ||
973 | AdvancingFortress.HumanoidRootPart.Name = "FHumanoidRootPart" | |
974 | Humanoid.Animator.Parent = nil | |
975 | AdvancingFortress.Animate.Parent = nil | |
976 | ||
977 | base = Instance.new("ScreenGui",plr.PlayerGui) | |
978 | bbg = Instance.new("BillboardGui",plr.Character.Head) | |
979 | bbg.Size = UDim2.new(0,200,0,50) | |
980 | bbg.StudsOffset = Vector3.new(0,3,0) | |
981 | ||
982 | bbgTl = Instance.new("TextLabel",bbg) | |
983 | bbgTl.BackgroundTransparency = 1 | |
984 | bbgTl.Size = UDim2.new(10,0,1,0) | |
985 | bbgTl.Position = UDim2.new(-4.5,0,0,0) | |
986 | bbgTl.Font = "Code" | |
987 | bbgTl.Text = " " | |
988 | bbgTl.TextSize = 25 | |
989 | bbgTl.TextStrokeColor3 = Color3.new(1,1,1) | |
990 | bbgTl.TextColor3 = Color3.new(0,0,0) | |
991 | bbgTl.TextStrokeTransparency = 0 | |
992 | bbgTl.TextWrapped = true | |
993 | ||
994 | function Chat(msg) | |
995 | if msg=='NANI' then | |
996 | CFuncs.Sound.Create(948494432, Torso, 1, 1) | |
997 | end | |
998 | ff=game.Chat:FilterStringAsync(msg,Player,Player) | |
999 | bbgTl.Text = ff | |
1000 | wait(1) | |
1001 | if bbgTl.Text == ff then | |
1002 | bbgTl.Text = " " | |
1003 | end | |
1004 | end | |
1005 | lknives=false | |
1006 | ||
1007 | ||
1008 | -- Fired when client sends a request to write on the sign | |
1009 | -- Called when button is clicked | |
1010 | ||
1011 | ||
1012 | plr.Chatted:connect(function(msg)-- local messageObject = getTextObject(msg, Player.UserId) | |
1013 | Chat(msg) | |
1014 | end) | |
1015 | ||
1016 | ||
1017 | local function newMotor(part0, part1, c0, c1) | |
1018 | local w = Create("Weld")({ | |
1019 | Parent = part0, | |
1020 | Part0 = part0, | |
1021 | Part1 = part1, | |
1022 | C0 = c0, | |
1023 | C1 = c1 | |
1024 | }) | |
1025 | return w | |
1026 | end | |
1027 | function clerp(a, b, t) | |
1028 | return a:lerp(b, t) | |
1029 | end | |
1030 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
1031 | NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
1032 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
1033 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
1034 | local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0)) | |
1035 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0)) | |
1036 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
1037 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
1038 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
1039 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
1040 | local rarmc1 = RW.C1 | |
1041 | local larmc1 = LW.C1 | |
1042 | local rlegc1 = RH.C1 | |
1043 | local llegc1 = LH.C1 | |
1044 | local resetc1 = false | |
1045 | function PlayAnimationFromTable(table, speed, bool) | |
1046 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
1047 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
1048 | RW.C0 = clerp(RW.C0, table[3], speed) | |
1049 | LW.C0 = clerp(LW.C0, table[4], speed) | |
1050 | RH.C0 = clerp(RH.C0, table[5], speed) | |
1051 | LH.C0 = clerp(LH.C0, table[6], speed) | |
1052 | if bool == true and resetc1 == false then | |
1053 | resetc1 = true | |
1054 | RootJoint.C1 = RootJoint.C1 | |
1055 | Torso.Neck.C1 = Torso.Neck.C1 | |
1056 | RW.C1 = rarmc1 | |
1057 | LW.C1 = larmc1 | |
1058 | RH.C1 = rlegc1 | |
1059 | LH.C1 = llegc1 | |
1060 | end | |
1061 | end | |
1062 | ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"}) | |
1063 | script:WaitForChild("Heartbeat") | |
1064 | frame = 0.03333333333333333 | |
1065 | tf = 0 | |
1066 | allowframeloss = false | |
1067 | tossremainder = false | |
1068 | lastframe = tick() | |
1069 | script.Heartbeat:Fire() | |
1070 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1071 | tf = tf + s | |
1072 | if tf >= frame then | |
1073 | if allowframeloss then | |
1074 | script.Heartbeat:Fire() | |
1075 | lastframe = tick() | |
1076 | else | |
1077 | for i = 1, math.floor(tf / frame) do | |
1078 | script.Heartbeat:Fire() | |
1079 | end | |
1080 | lastframe = tick() | |
1081 | end | |
1082 | if tossremainder then | |
1083 | tf = 0 | |
1084 | else | |
1085 | tf = tf - frame * math.floor(tf / frame) | |
1086 | end | |
1087 | end | |
1088 | end) | |
1089 | function swait(num) | |
1090 | if num == 0 or num == nil then | |
1091 | ArtificialHB.Event:wait() | |
1092 | else | |
1093 | for i = 0, num do | |
1094 | ArtificialHB.Event:wait() | |
1095 | end | |
1096 | end | |
1097 | end | |
1098 | function RemoveOutlines(part) | |
1099 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
1100 | end | |
1101 | CFuncs = { | |
1102 | Part = { | |
1103 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1104 | local Part = Create("Part")({ | |
1105 | Parent = Parent, | |
1106 | Reflectance = Reflectance, | |
1107 | Transparency = Transparency, | |
1108 | CanCollide = false, | |
1109 | Locked = true, | |
1110 | BrickColor = BrickColor.new(tostring(BColor)), | |
1111 | Name = Name, | |
1112 | Size = Size, | |
1113 | Material = Material | |
1114 | }) | |
1115 | RemoveOutlines(Part) | |
1116 | return Part | |
1117 | end | |
1118 | }, | |
1119 | Mesh = { | |
1120 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1121 | local Msh = Create(Mesh)({ | |
1122 | Parent = Part, | |
1123 | Offset = OffSet, | |
1124 | Scale = Scale | |
1125 | }) | |
1126 | if Mesh == "SpecialMesh" then | |
1127 | Msh.MeshType = MeshType | |
1128 | Msh.MeshId = MeshId | |
1129 | end | |
1130 | return Msh | |
1131 | end | |
1132 | }, | |
1133 | Weld = { | |
1134 | Create = function(Parent, Part0, Part1, C0, C1) | |
1135 | local Weld = Create("Weld")({ | |
1136 | Parent = Parent, | |
1137 | Part0 = Part0, | |
1138 | Part1 = Part1, | |
1139 | C0 = C0, | |
1140 | C1 = C1 | |
1141 | }) | |
1142 | return Weld | |
1143 | end | |
1144 | }, | |
1145 | Sound = { | |
1146 | Create = function(id, par, vol, pit) | |
1147 | local Sound = Create("Sound")({ | |
1148 | Volume = vol, | |
1149 | Pitch = pit or 1, | |
1150 | SoundId = "rbxassetid://" .. id, | |
1151 | Parent = par or workspace | |
1152 | }) | |
1153 | Sound:play() | |
1154 | game:GetService("Debris"):AddItem(Sound, 130) | |
1155 | return Sound | |
1156 | end | |
1157 | }, | |
1158 | Decal = { | |
1159 | Create = function(Color, Texture, Transparency, Name, Parent) | |
1160 | local Decal = Create("Decal")({ | |
1161 | Color3 = Color, | |
1162 | Texture = "rbxassetid://" .. Texture, | |
1163 | Transparency = Transparency, | |
1164 | Name = Name, | |
1165 | Parent = Parent | |
1166 | }) | |
1167 | return Decal | |
1168 | end | |
1169 | }, | |
1170 | BillboardGui = { | |
1171 | Create = function(Parent, Image, Position, Size) | |
1172 | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1)) | |
1173 | BillPar.CFrame = CFrame.new(Position) | |
1174 | local Bill = Create("BillboardGui")({ | |
1175 | Parent = BillPar, | |
1176 | Adornee = BillPar, | |
1177 | Size = UDim2.new(1, 0, 1, 0), | |
1178 | SizeOffset = Vector2.new(Size, Size) | |
1179 | }) | |
1180 | local d = Create("ImageLabel", Bill)({ | |
1181 | Parent = Bill, | |
1182 | BackgroundTransparency = 1, | |
1183 | Size = UDim2.new(1, 0, 1, 0), | |
1184 | Image = "rbxassetid://" .. Image | |
1185 | }) | |
1186 | return BillPar | |
1187 | end | |
1188 | }, | |
1189 | ParticleEmitter = { | |
1190 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
1191 | local Particle = Create("ParticleEmitter")({ | |
1192 | Parent = Parent, | |
1193 | Color = ColorSequence.new(Color1, Color2), | |
1194 | LightEmission = LightEmission, | |
1195 | Size = Size, | |
1196 | Texture = Texture, | |
1197 | Transparency = Transparency, | |
1198 | ZOffset = ZOffset, | |
1199 | Acceleration = Accel, | |
1200 | Drag = Drag, | |
1201 | LockedToPart = LockedToPart, | |
1202 | VelocityInheritance = VelocityInheritance, | |
1203 | EmissionDirection = EmissionDirection, | |
1204 | Enabled = Enabled, | |
1205 | Lifetime = LifeTime, | |
1206 | Rate = Rate, | |
1207 | Rotation = Rotation, | |
1208 | RotSpeed = RotSpeed, | |
1209 | Speed = Speed, | |
1210 | VelocitySpread = VelocitySpread | |
1211 | }) | |
1212 | return Particle | |
1213 | end | |
1214 | }, | |
1215 | CreateTemplate = {} | |
1216 | } | |
1217 | function rayCast(Position, Direction, Range, Ignore) | |
1218 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
1219 | end | |
1220 | function FindNearestTorso(pos) | |
1221 | local list = game.Workspace:children() | |
1222 | local torso | |
1223 | local dist = 1000 | |
1224 | local temp, human, temp2 | |
1225 | for x = 1, #list do | |
1226 | temp2 = list[x] | |
1227 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
1228 | temp = temp2:findFirstChild("Torso") | |
1229 | human = temp2:findFirstChild("Humanoid") | |
1230 | if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then | |
1231 | local dohit = true | |
1232 | if dohit == true then | |
1233 | torso = temp | |
1234 | dist = (temp.Position - pos).magnitude | |
1235 | end | |
1236 | end | |
1237 | end | |
1238 | end | |
1239 | return torso, dist | |
1240 | end | |
1241 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1242 | if hit.Parent == nil then | |
1243 | return | |
1244 | end | |
1245 | local h = hit.Parent:FindFirstChild("Humanoid") | |
1246 | for _, v in pairs(hit.Parent:children()) do | |
1247 | c=hit.Parent:findFirstChild('HumanoidRootPart') | |
1248 | if v:IsA("Humanoid") then | |
1249 | h = v | |
1250 | if c~=nil then | |
1251 | end | |
1252 | end | |
1253 | end | |
1254 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
1255 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
1256 | return | |
1257 | end | |
1258 | local c = Create("ObjectValue")({ | |
1259 | Name = "creator", | |
1260 | Value = game:service("Players").LocalPlayer, | |
1261 | Parent = h | |
1262 | }) | |
1263 | game:GetService("Debris"):AddItem(c, 0.5) | |
1264 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
1265 | local Damage = math.random(minim, maxim) | |
1266 | local blocked = false | |
1267 | local block = hit.Parent:findFirstChild("Block") | |
1268 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
1269 | blocked = true | |
1270 | block.Value = block.Value - 1 | |
1271 | print(block.Value) | |
1272 | end | |
1273 | if TimeStop == false then | |
1274 | h.Health = h.Health - Damage | |
1275 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Really red").Color) | |
1276 | elseif TimeStop == true then | |
1277 | repeat | |
1278 | wait() | |
1279 | until TimeStop == false | |
1280 | h.Health = h.Health - Damage / 2 | |
1281 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Really red").Color) | |
1282 | end | |
1283 | if Type == "Knockdown" then | |
1284 | local hum = hit.Parent.Humanoid | |
1285 | hum.PlatformStand = true | |
1286 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1287 | swait(1) | |
1288 | HHumanoid.PlatformStand = false | |
1289 | end), hum) | |
1290 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
1291 | local bodvol = Create("BodyVelocity")({ | |
1292 | velocity = angle * knockback, | |
1293 | P = 5000, | |
1294 | maxForce = Vector3.new(8000, 8000, 8000), | |
1295 | Parent = hit | |
1296 | }) | |
1297 | local rl = Create("BodyAngularVelocity")({ | |
1298 | P = 3000, | |
1299 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1300 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1301 | Parent = hit | |
1302 | }) | |
1303 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
1304 | game:GetService("Debris"):AddItem(rl, 0.5) | |
1305 | elseif Type == "Normal" then | |
1306 | local vp = Create("BodyVelocity")({ | |
1307 | P = 500, | |
1308 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1309 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
1310 | }) | |
1311 | if knockback > 0 then | |
1312 | vp.Parent = hit.Parent.Torso | |
1313 | end | |
1314 | game:GetService("Debris"):AddItem(vp, 0.5) | |
1315 | elseif Type == "Up" then | |
1316 | local bodyVelocity = Create("BodyVelocity")({ | |
1317 | velocity = Vector3.new(0, 20, 0), | |
1318 | P = 5000, | |
1319 | maxForce = Vector3.new(8000, 8000, 8000), | |
1320 | Parent = hit | |
1321 | }) | |
1322 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
1323 | elseif Type == "DarkUp" then | |
1324 | coroutine.resume(coroutine.create(function() | |
1325 | for i = 0, 1, 0.1 do | |
1326 | swait() | |
1327 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1) | |
1328 | end | |
1329 | end)) | |
1330 | local bodyVelocity = Create("BodyVelocity")({ | |
1331 | velocity = Vector3.new(0, 20, 0), | |
1332 | P = 5000, | |
1333 | maxForce = Vector3.new(8000, 8000, 8000), | |
1334 | Parent = hit | |
1335 | }) | |
1336 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1337 | elseif Type == "Snare" then | |
1338 | local bp = Create("BodyPosition")({ | |
1339 | P = 2000, | |
1340 | D = 100, | |
1341 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1342 | position = hit.Parent.Torso.Position, | |
1343 | Parent = hit.Parent.Torso | |
1344 | }) | |
1345 | game:GetService("Debris"):AddItem(bp, 1) | |
1346 | elseif Type == "Freeze" then | |
1347 | local BodPos = Create("BodyPosition")({ | |
1348 | P = 50000, | |
1349 | D = 1000, | |
1350 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1351 | position = hit.Parent.Torso.Position, | |
1352 | Parent = hit.Parent.Torso | |
1353 | }) | |
1354 | local BodGy = Create("BodyGyro")({ | |
1355 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
1356 | P = 20000, | |
1357 | Parent = hit.Parent.Torso, | |
1358 | cframe = hit.Parent.Torso.CFrame | |
1359 | }) | |
1360 | hit.Parent.Torso.Anchored = true | |
1361 | coroutine.resume(coroutine.create(function(Part) | |
1362 | swait(1.5) | |
1363 | Part.Anchored = false | |
1364 | end), hit.Parent.Torso) | |
1365 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1366 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1367 | end | |
1368 | local debounce = Create("BoolValue")({ | |
1369 | Name = "DebounceHit", | |
1370 | Parent = hit.Parent, | |
1371 | Value = true | |
1372 | }) | |
1373 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1374 | c = Create("ObjectValue")({ | |
1375 | Name = "creator", | |
1376 | Value = Player, | |
1377 | Parent = h | |
1378 | }) | |
1379 | game:GetService("Debris"):AddItem(c, 0.5) | |
1380 | end | |
1381 | end | |
1382 | function ShowDamage(Pos, Text, Time, Color) | |
1383 | local Rate = 0.03333333333333333 | |
1384 | local Pos = Pos or Vector3.new(0, 0, 0) | |
1385 | local Text = Text or "" | |
1386 | local Time = Time or 2 | |
1387 | local Color = Color or Color3.new(1, 0, 1) | |
1388 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1389 | EffectPart.Anchored = true | |
1390 | local BillboardGui = Create("BillboardGui")({ | |
1391 | Size = UDim2.new(3, 0, 3, 0), | |
1392 | Adornee = EffectPart, | |
1393 | Parent = EffectPart | |
1394 | }) | |
1395 | local TextLabel = Create("TextLabel")({ | |
1396 | BackgroundTransparency = 1, | |
1397 | Size = UDim2.new(1, 0, 1, 0), | |
1398 | Text = Text, | |
1399 | Font = "SciFi", | |
1400 | TextColor3 = Color, | |
1401 | TextScaled = true, | |
1402 | Parent = BillboardGui | |
1403 | }) | |
1404 | game.Debris:AddItem(EffectPart, Time) | |
1405 | EffectPart.Parent = game:GetService("Workspace") | |
1406 | delay(0, function() | |
1407 | local Frames = Time / Rate | |
1408 | for Frame = 1, Frames do | |
1409 | wait(Rate) | |
1410 | local Percent = Frame / Frames | |
1411 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1412 | TextLabel.TextTransparency = Percent | |
1413 | end | |
1414 | if EffectPart and EffectPart.Parent then | |
1415 | EffectPart:Destroy() | |
1416 | end | |
1417 | end) | |
1418 | end | |
1419 | local STDamage = false | |
1420 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
1421 | for _, c in pairs(workspace:children()) do | |
1422 | local hum = c:findFirstChild("Humanoid") | |
1423 | if hum ~= nil then | |
1424 | local head = c:findFirstChild("Torso") | |
1425 | if head ~= nil then | |
1426 | local targ = head.Position - Part.Position | |
1427 | local mag = targ.magnitude | |
1428 | if Magnitude >= mag and c.Name ~= Player.Name then | |
1429 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch) | |
1430 | if STDamage == true then | |
1431 | for i = 1, 3 do | |
1432 | Effects.Block.Create(BrickColor.new("Really red"), head.CFrame, 1, 1, 1, 4, 4, 4, 0.07, 1) | |
1433 | end | |
1434 | for i = 1, 10 do | |
1435 | CamShake(1, 70000) | |
1436 | Effects.Break.Create(BrickColor.new("Really red"), head.CFrame, 1, 1, 1) | |
1437 | end | |
1438 | elseif STDamage == false then | |
1439 | CamShake(1, 90000) | |
1440 | Effects.Block.Create(BrickColor.new("Really red"), head.CFrame, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.07, 1) | |
1441 | for i = 1, 2 do | |
1442 | Effects.Break.Create(BrickColor.new("Really red"), head.CFrame, 0.4, 0.4, 0.4) | |
1443 | end | |
1444 | end | |
1445 | end | |
1446 | end | |
1447 | end | |
1448 | end | |
1449 | end | |
1450 | --[[ | |
1451 | HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999)) | |
1452 | 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)) | |
1453 | Eye1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "White", "Eye1", Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
1454 | 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)) | |
1455 | CFuncs.Mesh.Create("SpecialMesh", Eye1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1456 | Eye2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "White", "Eye2", Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
1457 | 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)) | |
1458 | CFuncs.Mesh.Create("SpecialMesh", Eye2, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1459 | THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "THandle", Vector3.new(1, 0.799999893, 1)) | |
1460 | 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)) | |
1461 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.80000019, 0.300000012, 1.80000007)) | |
1462 | PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.10351563E-5, -1.04342794, -0.404396057, 1, -8.19564079E-8, 5.96046519E-8, -1.01078633E-7, 0.939694166, -0.342019171, 1.52638329E-8, 0.34201926, 0.939693213)) | |
1463 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1464 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 1.10000002, 0.300000012)) | |
1465 | PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.34057617E-5, -0.943422318, -1.35441589, 1, -8.19564079E-8, 5.96046519E-8, -1.01078633E-7, 0.939694166, -0.342019171, 1.52638329E-8, 0.34201926, 0.939693213)) | |
1466 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1467 | --]] | |
1468 | AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003)) | |
1469 | 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)) | |
1470 | --[[ | |
1471 | ||
1472 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998)) | |
1473 | 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)) | |
1474 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003)) | |
1475 | 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)) | |
1476 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003)) | |
1477 | 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)) | |
1478 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005)) | |
1479 | 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)) | |
1480 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998)) | |
1481 | 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)) | |
1482 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998)) | |
1483 | 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)) | |
1484 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041)) | |
1485 | 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)) | |
1486 | --]] | |
1487 | HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003)) | |
1488 | ||
1489 | 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)) | |
1490 | AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003)) | |
1491 | 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)) | |
1492 | HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003)) | |
1493 | 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)) | |
1494 | ||
1495 | ||
1496 | --[[ | |
1497 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003)) | |
1498 | 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)) | |
1499 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041)) | |
1500 | 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)) | |
1501 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003)) | |
1502 | 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)) | |
1503 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005)) | |
1504 | 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)) | |
1505 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998)) | |
1506 | 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)) | |
1507 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998)) | |
1508 | 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)) | |
1509 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998)) | |
1510 | 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)) | |
1511 | LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006)) | |
1512 | 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)) | |
1513 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.800000012, 0.800000012, 0.200000003)) | |
1514 | 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)) | |
1515 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006)) | |
1516 | 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)) | |
1517 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006)) | |
1518 | 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)) | |
1519 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.400000006, 1.20000005, 0.200000003)) | |
1520 | 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)) | |
1521 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012)) | |
1522 | 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)) | |
1523 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1524 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1525 | 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)) | |
1526 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1527 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1528 | 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)) | |
1529 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1530 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1531 | 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)) | |
1532 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1533 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1534 | 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)) | |
1535 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1536 | LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006)) | |
1537 | 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)) | |
1538 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006)) | |
1539 | 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)) | |
1540 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.400000006, 1.20000005, 0.300000012)) | |
1541 | 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)) | |
1542 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006)) | |
1543 | 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)) | |
1544 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012)) | |
1545 | 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)) | |
1546 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1547 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.800000012, 0.800000012, 0.300000012)) | |
1548 | 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)) | |
1549 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003)) | |
1550 | 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)) | |
1551 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1552 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003)) | |
1553 | 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)) | |
1554 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1555 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003)) | |
1556 | 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)) | |
1557 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1558 | Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003)) | |
1559 | 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)) | |
1560 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1561 | --]] | |
1562 | Shield = CFuncs.Part.Create(m, "Neon", 0, 0.5, "Pastle brown", "Part", Vector3.new(9.1, 8.5, 0.2)) | |
1563 | CFuncs.Mesh.Create("SpecialMesh", Shield, "FileMesh", "rbxassetid://708292865", Vector3.new(0, 0, 0), Vector3.new(0.04, 0.04, 0.04)) | |
1564 | Shield.Parent = nil | |
1565 | ||
1566 | EffectModel = Create("Model")({Parent = Character, Name = "Effects"}) | |
1567 | Effects = { | |
1568 | Block = { | |
1569 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1570 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1571 | prt.Anchored = true | |
1572 | prt.CFrame = cframe | |
1573 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1574 | game:GetService("Debris"):AddItem(prt, 10) | |
1575 | if Type == 1 or Type == nil then | |
1576 | table.insert(Effects, { | |
1577 | prt, | |
1578 | "Block1", | |
1579 | delay, | |
1580 | x3, | |
1581 | y3, | |
1582 | z3, | |
1583 | msh | |
1584 | }) | |
1585 | elseif Type == 2 then | |
1586 | table.insert(Effects, { | |
1587 | prt, | |
1588 | "Block2", | |
1589 | delay, | |
1590 | x3, | |
1591 | y3, | |
1592 | z3, | |
1593 | msh | |
1594 | }) | |
1595 | end | |
1596 | end | |
1597 | }, | |
1598 | Cylinder = { | |
1599 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1600 | local prt = CFuncs.Part .. Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2)) | |
1601 | prt.Anchored = true | |
1602 | prt.CFrame = cframe | |
1603 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1604 | game:GetService("Debris"):AddItem(prt, 2) | |
1605 | Effects[#Effects + 1] = { | |
1606 | prt, | |
1607 | "Cylinder", | |
1608 | delay, | |
1609 | x3, | |
1610 | y3, | |
1611 | z3 | |
1612 | } | |
1613 | end | |
1614 | }, | |
1615 | Head = { | |
1616 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1617 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1618 | prt.Anchored = true | |
1619 | prt.CFrame = cframe | |
1620 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1621 | game:GetService("Debris"):AddItem(prt, 10) | |
1622 | table.insert(Effects, { | |
1623 | prt, | |
1624 | "Cylinder", | |
1625 | delay, | |
1626 | x3, | |
1627 | y3, | |
1628 | z3, | |
1629 | msh | |
1630 | }) | |
1631 | end | |
1632 | }, | |
1633 | Sphere = { | |
1634 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1635 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1636 | prt.Anchored = true | |
1637 | prt.CFrame = cframe | |
1638 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1639 | game:GetService("Debris"):AddItem(prt, 10) | |
1640 | table.insert(Effects, { | |
1641 | prt, | |
1642 | "Cylinder", | |
1643 | delay, | |
1644 | x3, | |
1645 | y3, | |
1646 | z3, | |
1647 | msh | |
1648 | }) | |
1649 | end | |
1650 | }, | |
1651 | Sphere2 = { | |
1652 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1653 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1654 | prt.Anchored = true | |
1655 | prt.CFrame = cframe | |
1656 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1657 | game:GetService("Debris"):AddItem(prt, 10) | |
1658 | table.insert(Effects, { | |
1659 | prt, | |
1660 | "Cylinder", | |
1661 | delay, | |
1662 | x3, | |
1663 | y3, | |
1664 | z3, | |
1665 | msh | |
1666 | }) | |
1667 | end | |
1668 | }, | |
1669 | Elec = { | |
1670 | Create = function(cff, x, y, z) | |
1671 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Really red"), "Part", Vector3.new(1, 1, 1)) | |
1672 | prt.Anchored = true | |
1673 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
1674 | prt.CFrame = CFrame.new(prt.Position) | |
1675 | game:GetService("Debris"):AddItem(prt, 2) | |
1676 | local xval = math.random() / 2 | |
1677 | local yval = math.random() / 2 | |
1678 | local zval = math.random() / 2 | |
1679 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
1680 | table.insert(Effects, { | |
1681 | prt, | |
1682 | "Elec", | |
1683 | 0.1, | |
1684 | x, | |
1685 | y, | |
1686 | z, | |
1687 | xval, | |
1688 | yval, | |
1689 | zval | |
1690 | }) | |
1691 | end | |
1692 | }, | |
1693 | Ring = { | |
1694 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1695 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1696 | prt.Anchored = true | |
1697 | prt.CFrame = cframe | |
1698 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1699 | game:GetService("Debris"):AddItem(prt, 10) | |
1700 | table.insert(Effects, { | |
1701 | prt, | |
1702 | "Cylinder", | |
1703 | delay, | |
1704 | x3, | |
1705 | y3, | |
1706 | z3, | |
1707 | msh | |
1708 | }) | |
1709 | end | |
1710 | }, | |
1711 | Wave = { | |
1712 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1713 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1714 | prt.Anchored = true | |
1715 | prt.CFrame = cframe | |
1716 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1717 | game:GetService("Debris"):AddItem(prt, 10) | |
1718 | table.insert(Effects, { | |
1719 | prt, | |
1720 | "Cylinder", | |
1721 | delay, | |
1722 | x3, | |
1723 | y3, | |
1724 | z3, | |
1725 | msh | |
1726 | }) | |
1727 | end | |
1728 | }, | |
1729 | Break = { | |
1730 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1731 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1732 | prt.Anchored = true | |
1733 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1734 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1735 | local num = math.random(10, 50) / 1000 | |
1736 | game:GetService("Debris"):AddItem(prt, 10) | |
1737 | table.insert(Effects, { | |
1738 | prt, | |
1739 | "Shatter", | |
1740 | num, | |
1741 | prt.CFrame, | |
1742 | math.random() - math.random(), | |
1743 | 0, | |
1744 | math.random(50, 100) / 100 | |
1745 | }) | |
1746 | end | |
1747 | }, | |
1748 | Fire = { | |
1749 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
1750 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1751 | prt.Anchored = true | |
1752 | prt.CFrame = cframe | |
1753 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1754 | game:GetService("Debris"):AddItem(prt, 10) | |
1755 | table.insert(Effects, { | |
1756 | prt, | |
1757 | "Fire", | |
1758 | delay, | |
1759 | 1, | |
1760 | 1, | |
1761 | 1, | |
1762 | msh | |
1763 | }) | |
1764 | end | |
1765 | }, | |
1766 | FireWave = { | |
1767 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1768 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
1769 | prt.Anchored = true | |
1770 | prt.CFrame = cframe | |
1771 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1772 | local d = Create("Decal")({ | |
1773 | Parent = prt, | |
1774 | Texture = "rbxassetid://26356434", | |
1775 | Face = "Top" | |
1776 | }) | |
1777 | local d = Create("Decal")({ | |
1778 | Parent = prt, | |
1779 | Texture = "rbxassetid://26356434", | |
1780 | Face = "Bottom" | |
1781 | }) | |
1782 | game:GetService("Debris"):AddItem(prt, 10) | |
1783 | table.insert(Effects, { | |
1784 | prt, | |
1785 | "FireWave", | |
1786 | 1, | |
1787 | 30, | |
1788 | math.random(400, 600) / 100, | |
1789 | msh | |
1790 | }) | |
1791 | end | |
1792 | }, | |
1793 | Lightning = { | |
1794 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
1795 | local magz = (p0 - p1).magnitude | |
1796 | local curpos = p0 | |
1797 | local trz = { | |
1798 | -ofs, | |
1799 | ofs | |
1800 | } | |
1801 | for i = 1, tym do | |
1802 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
1803 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1804 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1805 | li.Material = "Neon" | |
1806 | if tym == i then | |
1807 | local magz2 = (curpos - p1).magnitude | |
1808 | li.Size = Vector3.new(th, th, magz2) | |
1809 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1810 | table.insert(Effects, { | |
1811 | li, | |
1812 | "Disappear", | |
1813 | last | |
1814 | }) | |
1815 | else | |
1816 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1817 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1818 | game.Debris:AddItem(li, 10) | |
1819 | table.insert(Effects, { | |
1820 | li, | |
1821 | "Disappear", | |
1822 | last | |
1823 | }) | |
1824 | end | |
1825 | end | |
1826 | end | |
1827 | }, | |
1828 | EffectTemplate = {} | |
1829 | } | |
1830 | local Invisible = true | |
1831 | function Reappear() | |
1832 | for _, i in pairs(Character['Hanged Man']:children()) do | |
1833 | if i:IsA("Model") then | |
1834 | for _,v in pairs(i:GetChildren()) do | |
1835 | if v:IsA('Part') then | |
1836 | coroutine.resume(coroutine.create(function(Part) | |
1837 | for v = 0, 1, 0.3 do | |
1838 | swait() | |
1839 | Part.Transparency = -v | |
1840 | end | |
1841 | Part.Transparency = 0 | |
1842 | for _,v in pairs(KQ) do | |
1843 | v.Transparency=0 | |
1844 | end | |
1845 | end), v) | |
1846 | end | |
1847 | end | |
1848 | end | |
1849 | end | |
1850 | for _, i in pairs(m:children()) do | |
1851 | if i:IsA("BasePart") then | |
1852 | coroutine.resume(coroutine.create(function(Part) | |
1853 | for i = 0, 1, 0.3 do | |
1854 | swait() | |
1855 | Part.Transparency = i | |
1856 | end | |
1857 | Part.Transparency = 0 | |
1858 | end), i) | |
1859 | end | |
1860 | end | |
1861 | end | |
1862 | function ReappearArmorOnly() | |
1863 | for _, i in pairs(m:children()) do | |
1864 | if i:IsA("BasePart") then | |
1865 | coroutine.resume(coroutine.create(function(Part) | |
1866 | for i = 0, 1, 0.3 do | |
1867 | swait() | |
1868 | Part.Transparency = i | |
1869 | end | |
1870 | Part.Transparency = 0 | |
1871 | end), i) | |
1872 | end | |
1873 | end | |
1874 | end | |
1875 | function Disappear() | |
1876 | for _, i in pairs(Character['Hanged Man']:children()) do | |
1877 | if i:IsA("Model") then | |
1878 | for _,v in pairs(i:GetChildren()) do | |
1879 | if v:IsA('Part') then | |
1880 | coroutine.resume(coroutine.create(function(Part) | |
1881 | for v = 0, 1, 0.3 do | |
1882 | swait() | |
1883 | Part.Transparency = v | |
1884 | end | |
1885 | Part.Transparency = 1 | |
1886 | for _,v in pairs(KQ) do | |
1887 | v.Transparency=1 | |
1888 | end | |
1889 | end), v) | |
1890 | end | |
1891 | end | |
1892 | end | |
1893 | end | |
1894 | for _, i in pairs(m:children()) do | |
1895 | if i:IsA("BasePart") then | |
1896 | coroutine.resume(coroutine.create(function(Part) | |
1897 | for i = 0, 1, 0.3 do | |
1898 | swait() | |
1899 | Part.Transparency = i | |
1900 | end | |
1901 | Part.Transparency = 1 | |
1902 | end), i) | |
1903 | end | |
1904 | end | |
1905 | end | |
1906 | function DisappearArmorOnly() | |
1907 | for _, i in pairs(m:children()) do | |
1908 | if i:IsA("BasePart") then | |
1909 | coroutine.resume(coroutine.create(function(Part) | |
1910 | for i = 0, 1, 0.3 do | |
1911 | swait() | |
1912 | Part.Transparency = i | |
1913 | end | |
1914 | Part.Transparency = 1 | |
1915 | end), i) | |
1916 | end | |
1917 | end | |
1918 | end | |
1919 | function CamShake(time, freq) | |
1920 | coroutine.resume(coroutine.create(function() | |
1921 | local cam = game:GetService("Workspace").CurrentCamera | |
1922 | local time = 10 | |
1923 | local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0) | |
1924 | if math.random(1, 2) == 1 then | |
1925 | seed = Vector3.new(-seed.x, seed.y, 0) | |
1926 | end | |
1927 | if math.random(1, 2) == 1 then | |
1928 | seed = Vector3.new(seed.x, -seed.y, 0) | |
1929 | end | |
1930 | 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) | |
1931 | for i = 1, time do | |
1932 | 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) | |
1933 | wait() | |
1934 | end | |
1935 | end)) | |
1936 | end | |
1937 | local ora = false | |
1938 | Disappear() | |
1939 | function ORA() | |
1940 | attack = true | |
1941 | local S = CFuncs.Sound.Create("", Torso, 3, 1) | |
1942 | S.Looped = true | |
1943 | if ora == true then | |
1944 | while ora == true do | |
1945 | CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2)) | |
1946 | MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "260430117", 1) | |
1947 | for i = 0, 1, 0.8 do | |
1948 | swait() | |
1949 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5) | |
1950 | PlayAnimationFromTable({ | |
1951 | 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), | |
1952 | 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), | |
1953 | 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), | |
1954 | 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), | |
1955 | 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), | |
1956 | 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) | |
1957 | }, 0.8, false) | |
1958 | end | |
1959 | CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2)) | |
1960 | MagnitudeDamage(HitboxR, 5, 4, 10, 0, "Normal", "260430117", 1) | |
1961 | for i = 0, 1, 0.8 do | |
1962 | swait() | |
1963 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5) | |
1964 | PlayAnimationFromTable({ | |
1965 | 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), | |
1966 | 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), | |
1967 | 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), | |
1968 | 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), | |
1969 | 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), | |
1970 | 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) | |
1971 | }, 0.8, false) | |
1972 | end | |
1973 | CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2)) | |
1974 | MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "260430117", 1) | |
1975 | for i = 0, 1, 0.8 do | |
1976 | swait() | |
1977 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5) | |
1978 | PlayAnimationFromTable({ | |
1979 | 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), | |
1980 | 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), | |
1981 | 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), | |
1982 | 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), | |
1983 | 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), | |
1984 | 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) | |
1985 | }, 0.8, false) | |
1986 | end | |
1987 | CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2)) | |
1988 | MagnitudeDamage(HitboxR, 5, 4, 10, 0, "Normal", "260430117", 1) | |
1989 | for i = 0, 1, 0.8 do | |
1990 | swait() | |
1991 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5) | |
1992 | PlayAnimationFromTable({ | |
1993 | 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), | |
1994 | 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), | |
1995 | 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), | |
1996 | 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), | |
1997 | 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), | |
1998 | 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) | |
1999 | }, 0.8, false) | |
2000 | end | |
2001 | CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2)) | |
2002 | MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "260430117", 1) | |
2003 | end | |
2004 | end | |
2005 | S:Stop() | |
2006 | local S2 = CFuncs.Sound.Create("", Torso, 1.5, 1) | |
2007 | for i = 0, 1, 0.13 do | |
2008 | swait() | |
2009 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -3), 0.5) | |
2010 | PlayAnimationFromTable({ | |
2011 | 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), | |
2012 | 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), | |
2013 | 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), | |
2014 | 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), | |
2015 | 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), | |
2016 | 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) | |
2017 | }, 0.2, false) | |
2018 | end | |
2019 | CFuncs.Sound.Create("471881954", HitboxR, 1, 1) | |
2020 | MagnitudeDamage(HitboxR, 7, 10, 15, 50, "Normal", "610359590", 1) | |
2021 | for i = 0, 1, 0.1 do | |
2022 | swait() | |
2023 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3) | |
2024 | PlayAnimationFromTable({ | |
2025 | 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), | |
2026 | 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), | |
2027 | 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), | |
2028 | 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), | |
2029 | 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), | |
2030 | 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) | |
2031 | }, 0.6, false) | |
2032 | end | |
2033 | attack = false | |
2034 | end | |
2035 | function CastleCrusherFist() | |
2036 | attack = true | |
2037 | STDamage = true | |
2038 | local S2 = CFuncs.Sound.Create("", Torso, 1, 1) | |
2039 | for i = 0, 1, 0.1 do | |
2040 | swait() | |
2041 | Effects.Block.Create(BrickColor.new("Really red"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1) | |
2042 | Effects.Break.Create(BrickColor.new("Really red"), HitboxR.CFrame, 0.5, 0.5, 0.5) | |
2043 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.2) | |
2044 | PlayAnimationFromTable({ | |
2045 | 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), | |
2046 | 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), | |
2047 | 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), | |
2048 | 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), | |
2049 | 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), | |
2050 | 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) | |
2051 | }, 0.2, false) | |
2052 | end | |
2053 | MagnitudeDamage(HitboxR, 10, 50, 80, 100, "Normal", "610359515", 1) | |
2054 | Effects.Wave.Create(BrickColor.new("Really red"), 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) | |
2055 | CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9) | |
2056 | CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8) | |
2057 | for i = 0, 1, 0.08 do | |
2058 | swait() | |
2059 | Effects.Block.Create(BrickColor.new("Really red"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1) | |
2060 | Effects.Break.Create(BrickColor.new("Really red"), HitboxR.CFrame, 0.5, 0.5, 0.5) | |
2061 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3) | |
2062 | PlayAnimationFromTable({ | |
2063 | 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), | |
2064 | 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), | |
2065 | 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), | |
2066 | 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), | |
2067 | 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), | |
2068 | 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) | |
2069 | }, 0.6, false) | |
2070 | end | |
2071 | STDamage = false | |
2072 | attack = false | |
2073 | end | |
2074 | function CastleCrusherFist() | |
2075 | attack = true | |
2076 | STDamage = true | |
2077 | local S2 = CFuncs.Sound.Create("", Torso, 1, 1) | |
2078 | for i = 0, 1, 0.1 do | |
2079 | swait() | |
2080 | Effects.Block.Create(BrickColor.new("Really red"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1) | |
2081 | Effects.Break.Create(BrickColor.new("Really red"), HitboxR.CFrame, 0.5, 0.5, 0.5) | |
2082 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.5) | |
2083 | PlayAnimationFromTable({ | |
2084 | 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), | |
2085 | 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), | |
2086 | 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), | |
2087 | 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), | |
2088 | 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), | |
2089 | 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) | |
2090 | }, 0.2, false) | |
2091 | end | |
2092 | Effects.Wave.Create(BrickColor.new("Really red"), 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) | |
2093 | Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 140 | |
2094 | CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9) | |
2095 | CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8) | |
2096 | for i = 0, 1, 0.08 do | |
2097 | swait() | |
2098 | MagnitudeDamage(HitboxR, 5, 50, 80, 100, "Normal", "610359515", 1) | |
2099 | Effects.Block.Create(BrickColor.new("Really red"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1) | |
2100 | Effects.Break.Create(BrickColor.new("Really red"), HitboxR.CFrame, 0.5, 0.5, 0.5) | |
2101 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 1) | |
2102 | PlayAnimationFromTable({ | |
2103 | 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), | |
2104 | 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), | |
2105 | 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), | |
2106 | 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), | |
2107 | 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), | |
2108 | 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) | |
2109 | }, 0.6, false) | |
2110 | end | |
2111 | STDamage = false | |
2112 | attack = false | |
2113 | end | |
2114 | ||
2115 | ||
2116 | distance2__=-5 | |
2117 | AdvancingFortress.FHead.face:remove() | |
2118 | ||
2119 | function Lattack() | |
2120 | attack = true | |
2121 | local S = CFuncs.Sound.Create("", Torso, 3, 1) | |
2122 | S.Looped = true | |
2123 | if Long then | |
2124 | while Long do-- max range | |
2125 | for i = 0, 1, 0.8 do | |
2126 | swait() | |
2127 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, distance2__)*CFrame.Angles(0,0,0), 0.5) | |
2128 | PlayAnimationFromTable({ | |
2129 | 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), | |
2130 | 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), | |
2131 | 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), | |
2132 | 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), | |
2133 | 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), | |
2134 | 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) | |
2135 | }, 0.8, false) | |
2136 | end | |
2137 | ||
2138 | end | |
2139 | for i = 0, 1, 0.8 do | |
2140 | swait() | |
2141 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, distance2__)*CFrame.Angles(0,1,0), 0.5) | |
2142 | PlayAnimationFromTable({ | |
2143 | ||
2144 | 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, -1, 0), | |
2145 | 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), | |
2146 | 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), | |
2147 | 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), | |
2148 | 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), | |
2149 | 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) | |
2150 | }, 0.8, false) | |
2151 | end | |
2152 | CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2)) | |
2153 | MagnitudeDamage(HitboxL, 5, 50, 50, 0, "Normal", "260430117", 1) | |
2154 | PlayAnimationFromTable({ | |
2155 | 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, 1, 0), | |
2156 | 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), | |
2157 | 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), | |
2158 | 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), | |
2159 | 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), | |
2160 | 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) | |
2161 | }, 0.8, false) | |
2162 | end | |
2163 | wait(1) | |
2164 | STDamage = false | |
2165 | attack = false | |
2166 | end | |
2167 | ||
2168 | ||
2169 | ||
2170 | ||
2171 | ||
2172 | dimension=workspace | |
2173 | ||
2174 | function Kick() | |
2175 | kickR=true | |
2176 | attack = true | |
2177 | local S = CFuncs.Sound.Create("", Torso, 3, 1) | |
2178 | S.Looped = true | |
2179 | if kick then | |
2180 | while kick do-- max range | |
2181 | for i = 0, 1, 0.8 do | |
2182 | swait() | |
2183 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, distance2__)*CFrame.Angles(-1,1,0), 0.5) | |
2184 | PlayAnimationFromTable({ | |
2185 | CFrame.new( | |
2186 | 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 | |
2187 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2188 | CFrame.new( | |
2189 | 0.0364859998, 1.79243505, -0.121018998, 0.998374999, 0.0542896278, -0.0173208918, -0.0535430014, 0.789630473, -0.611242175, -0.0195070002, 0.611176372, 0.791254103 | |
2190 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2191 | CFrame.new( | |
2192 | 1.64196205, 0.612737, 0.52879101, 0.585766852, -0.748857617, -0.309983313, 0.797697842, 0.600352347, 0.0570565537, 0.143371969, -0.280694902, 0.949028373 | |
2193 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2194 | CFrame.new( | |
2195 | -2.03040195, 0.59969002, -0.0860619992, 0.72224164, 0.689503849, -0.0543274544, -0.691111624, 0.716387451, -0.095675312, -0.0270489864, 0.106647037, 0.993929029 | |
2196 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2197 | CFrame.new( | |
2198 | 0.656431019, -1.893978, 0.346643776, 0.990569651, -0.13402614, -0.0284412913, 0.133786961, 0.901427865, 0.411738783, -0.0295459889, -0.411660939, 0.910857975 | |
2199 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2200 | CFrame.new( | |
2201 | -0.548841, -1.27147198, -0.345768005, 0.999999881, -2.65485113e-07, 0.000577550789, -0.000453999935, 0.617766023, 0.786361873, -0.000356999983, -0.786361992, 0.617765963 | |
2202 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2203 | }, 0.3, false) | |
2204 | end | |
2205 | ||
2206 | end | |
2207 | for i = 0, 1, 0.8 do | |
2208 | swait() | |
2209 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, distance2__)*CFrame.Angles(1,0,0), 0.5) | |
2210 | PlayAnimationFromTable({ | |
2211 | CFrame.new( | |
2212 | 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 | |
2213 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2214 | CFrame.new( | |
2215 | 0.0364859998, 1.79243505, -0.121018998, 0.998374999, 0.0542896278, -0.0173208918, -0.0535430014, 0.789630473, -0.611242175, -0.0195070002, 0.611176372, 0.791254103 | |
2216 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2217 | CFrame.new( | |
2218 | 1.64196205, 0.612737, 0.52879101, 0.585766852, -0.748857617, -0.309983313, 0.797697842, 0.600352347, 0.0570565537, 0.143371969, -0.280694902, 0.949028373 | |
2219 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2220 | CFrame.new( | |
2221 | -2.03040195, 0.59969002, -0.0860619992, 0.72224164, 0.689503849, -0.0543274544, -0.691111624, 0.716387451, -0.095675312, -0.0270489864, 0.106647037, 0.993929029 | |
2222 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2223 | CFrame.new( | |
2224 | 0.656431019, -1.893978, 0.346643776, 0.990569651, -0.13402614, -0.0284412913, 0.133786961, 0.901427865, 0.411738783, -0.0295459889, -0.411660939, 0.910857975 | |
2225 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2226 | CFrame.new( | |
2227 | -0.548841, -1.27147198, -0.345768005, 0.999999881, -2.65485113e-07, 0.000577550789, -0.000453999935, 0.617766023, 0.786361873, -0.000356999983, -0.786361992, 0.617765963 | |
2228 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2229 | }, 0.3, false) | |
2230 | ||
2231 | end | |
2232 | CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2)) | |
2233 | MagnitudeDamage(AdvancingFortress['Left Leg'], 5, 50, 50, 0, "Normal", "260430117", 1) | |
2234 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, distance2__)*CFrame.Angles(1,0,0), 0.5) | |
2235 | PlayAnimationFromTable({ | |
2236 | CFrame.new( | |
2237 | 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 | |
2238 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2239 | CFrame.new( | |
2240 | 0.0364859998, 1.79243505, -0.121018998, 0.998374999, 0.0542896278, -0.0173208918, -0.0535430014, 0.789630473, -0.611242175, -0.0195070002, 0.611176372, 0.791254103 | |
2241 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2242 | CFrame.new( | |
2243 | 1.64196205, 0.612737, 0.52879101, 0.585766852, -0.748857617, -0.309983313, 0.797697842, 0.600352347, 0.0570565537, 0.143371969, -0.280694902, 0.949028373 | |
2244 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2245 | CFrame.new( | |
2246 | -2.03040195, 0.59969002, -0.0860619992, 0.72224164, 0.689503849, -0.0543274544, -0.691111624, 0.716387451, -0.095675312, -0.0270489864, 0.106647037, 0.993929029 | |
2247 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2248 | CFrame.new( | |
2249 | 0.656431019, -1.893978, 0.346643776, 0.990569651, -0.13402614, -0.0284412913, 0.133786961, 0.901427865, 0.411738783, -0.0295459889, -0.411660939, 0.910857975 | |
2250 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2251 | CFrame.new( | |
2252 | -0.548841, -1.27147198, -0.345768005, 0.999999881, -2.65485113e-07, 0.000577550789, -0.000453999935, 0.617766023, 0.786361873, -0.000356999983, -0.786361992, 0.617765963 | |
2253 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2254 | }, 0.3, false) | |
2255 | end | |
2256 | wait(1) | |
2257 | STDamage = false | |
2258 | attack = false | |
2259 | wait(4) | |
2260 | kickR=false | |
2261 | end | |
2262 | ||
2263 | ||
2264 | ||
2265 | ||
2266 | function weld5(part0, part1, c0, c1) | |
2267 | local weeld = Instance.new("Weld", part0) | |
2268 | weeld.Part0 = part0 | |
2269 | weeld.Part1 = part1 | |
2270 | weeld.C0 = c0 | |
2271 | weeld.C1 = c1 | |
2272 | return weeld | |
2273 | end | |
2274 | local Grab = false | |
2275 | function GRABEMBOIGRABEM() | |
2276 | attack = true | |
2277 | gp = nil | |
2278 | con1 = HitboxR.Touched:connect(function(hit) | |
2279 | local ht = hit.Parent | |
2280 | local hum1 = ht:FindFirstChild("Humanoid") | |
2281 | if Grab == false then | |
2282 | if hum1 ~= nil and hit.Parent ~= Character then | |
2283 | hum1.PlatformStand = true | |
2284 | gp = ht | |
2285 | Grab = true | |
2286 | local asd = weld5(RightArm, ht:FindFirstChild("Torso"), CFrame.new(0, -1.5, 0), CFrame.new(0, 0, 0)) | |
2287 | asd.Parent = RightArm | |
2288 | asd.Name = "asd" | |
2289 | asd.C0 = asd.C0 * CFrame.Angles(math.rad(-90), 0, 0) | |
2290 | CFuncs.Sound.Create("200632821", Torso, 1, 1) | |
2291 | elseif hum1 == nil then | |
2292 | con1:disconnect() | |
2293 | wait() | |
2294 | return | |
2295 | end | |
2296 | end | |
2297 | end) | |
2298 | ||
2299 | ||
2300 | ||
2301 | ||
2302 | ||
2303 | ||
2304 | for i = 0, 1, 0.2 do | |
2305 | swait() | |
2306 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.3) | |
2307 | PlayAnimationFromTable({ | |
2308 | CFrame.new(-1.08022243E-4, -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), | |
2309 | 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), | |
2310 | 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), | |
2311 | 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), | |
2312 | 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), | |
2313 | 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) | |
2314 | }, 0.3, false) | |
2315 | end | |
2316 | for i = 0, 1, 0.1 do | |
2317 | swait() | |
2318 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3) | |
2319 | PlayAnimationFromTable({ | |
2320 | 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), | |
2321 | 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), | |
2322 | 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), | |
2323 | 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), | |
2324 | 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), | |
2325 | 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) | |
2326 | }, 0.3, false) | |
2327 | end | |
2328 | if Grab == true then | |
2329 | for i = 1, 5 do | |
2330 | for i = 0, 1, 0.35 do | |
2331 | swait() | |
2332 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 13, -6), 0.3) | |
2333 | PlayAnimationFromTable({ | |
2334 | 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), | |
2335 | 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), | |
2336 | 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), | |
2337 | 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), | |
2338 | 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), | |
2339 | 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) | |
2340 | }, 0.4, false) | |
2341 | end | |
2342 | for i = 0, 1, 0.3 do | |
2343 | swait() | |
2344 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3) | |
2345 | PlayAnimationFromTable({ | |
2346 | 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), | |
2347 | 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), | |
2348 | 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), | |
2349 | 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), | |
2350 | 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), | |
2351 | 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) | |
2352 | }, 0.7, false) | |
2353 | end | |
2354 | local hit, pos = rayCast(HitboxR.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character) | |
2355 | if hit ~= nil then | |
2356 | MagnitudeDamage(HitboxR, 5, 10, 30, 0, "Normal", "610359515", 1.3) | |
2357 | Effects.Block.Create(BrickColor.new("Really red"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09, 1) | |
2358 | Effects.Wave.Create(BrickColor.new("Really red"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09) | |
2359 | Effects.Sphere.Create(BrickColor.new("Really red"), CFrame.new(pos), 3, 3, 3, 5, 5, 5, 0.09) | |
2360 | end | |
2361 | end | |
2362 | end | |
2363 | for i, v in pairs(RightArm:GetChildren()) do | |
2364 | if v.Name == "asd" and v:IsA("Weld") then | |
2365 | v:Remove() | |
2366 | end | |
2367 | end | |
2368 | Grab = false | |
2369 | con1:disconnect() | |
2370 | attack = false | |
2371 | end | |
2372 | local IsWearingArmor = false | |
2373 | function Armor(Mode) | |
2374 | attack = true | |
2375 | if IsWearingArmor == false and Mode == "On" then | |
2376 | IsWearingArmor = true | |
2377 | Disappear() | |
2378 | swait(10) | |
2379 | ReappearArmorOnly() | |
2380 | Character.Humanoid.MaxHealth = 500 | |
2381 | Character.Humanoid.Health = 500 | |
2382 | AHandleRWeld.Part0 = Character["Right Arm"] | |
2383 | AHandleLWeld.Part0 = Character["Left Arm"] | |
2384 | for i, v in pairs(AdvancingFortress:GetChildren()) do | |
2385 | if v:IsA("BasePart") then | |
2386 | v.Transparency = 1 | |
2387 | end | |
2388 | end | |
2389 | for i, v in pairs(Character:GetChildren()) do | |
2390 | if v:IsA("Accessory") then | |
2391 | v.Handle.Transparency = 1 | |
2392 | end | |
2393 | end | |
2394 | elseif IsWearingArmor == true and Mode == "Off" then | |
2395 | IsWearingArmor = false | |
2396 | DisappearArmorOnly() | |
2397 | for i, v in pairs(Character:GetChildren()) do | |
2398 | if v:IsA("Accessory") then | |
2399 | v.Handle.Transparency = 0 | |
2400 | end | |
2401 | end | |
2402 | swait(10) | |
2403 | Reappear() | |
2404 | Character.Humanoid.MaxHealth = 100 | |
2405 | Character.Humanoid.Health = 100 | |
2406 | ||
2407 | AHandleRWeld.Part0 = RightArm | |
2408 | AHandleLWeld.Part0 = LeftArm | |
2409 | ||
2410 | for i, v in pairs(AdvancingFortress:GetChildren()) do | |
2411 | if v:IsA("BasePart") then | |
2412 | v.Transparency = 0 | |
2413 | end | |
2414 | end | |
2415 | end | |
2416 | attack = false | |
2417 | end | |
2418 | local ShieldMode = false | |
2419 | local ShieldCharge = false | |
2420 | function HoloHexShield() | |
2421 | attack = true | |
2422 | Shield.Parent = m | |
2423 | Shield.CanCollide = true | |
2424 | if ShieldMode == true then | |
2425 | while ShieldMode == true do | |
2426 | swait() | |
2427 | Effects.Elec.Create(Shield.CFrame, 6, 6, 6) | |
2428 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3) | |
2429 | PlayAnimationFromTable({ | |
2430 | 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), | |
2431 | 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), | |
2432 | 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), | |
2433 | 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), | |
2434 | 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), | |
2435 | 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) | |
2436 | }, 0.3, false) | |
2437 | end | |
2438 | end | |
2439 | Shield.CanCollide = false | |
2440 | CFuncs.Sound.Create("200632211", HitboxR, 1, 0.8) | |
2441 | CFuncs.Sound.Create("200632875", HitboxR, 1, 0.9) | |
2442 | Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 160 | |
2443 | Effects.Wave.Create(BrickColor.new("Really red"), 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) | |
2444 | for i = 0, 1, 0.05 do | |
2445 | swait() | |
2446 | MagnitudeDamage(Shield, 5, 10, 15, 20, "Normal", "610359515", 1.3) | |
2447 | Effects.Elec.Create(Shield.CFrame, 6, 6, 6) | |
2448 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -3), 1) | |
2449 | PlayAnimationFromTable({ | |
2450 | 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), | |
2451 | 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), | |
2452 | 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), | |
2453 | 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), | |
2454 | 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), | |
2455 | 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) | |
2456 | }, 0.5, false) | |
2457 | end | |
2458 | Shield.Parent = nil | |
2459 | attack = false | |
2460 | end | |
2461 | Mouse.Button1Down:connect(function() | |
2462 | if attack == false and attacktype == 1 then | |
2463 | attacktype = 2 | |
2464 | attackone() | |
2465 | elseif attack == false and attacktype == 2 then | |
2466 | attacktype = 1 | |
2467 | attacktwo() | |
2468 | end | |
2469 | end) | |
2470 | game.Lighting.Outlines = false | |
2471 | function attackone() | |
2472 | attack = true | |
2473 | for i = 0, 1, 0.12 do | |
2474 | swait() | |
2475 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3) | |
2476 | PlayAnimationFromTable({ | |
2477 | CFrame.new(1.51857734E-4, -0.310488015, -0.087417841, 0.707106054, 5.26835073E-8, -0.707107484, 0.122787014, 0.984807968, 0.122786865, 0.696365058, -0.173646957, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2478 | 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), | |
2479 | 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), | |
2480 | 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), | |
2481 | 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), | |
2482 | CFrame.new(-0.818738878, -1.59999573, -0.397991776, 0.642786622, 0.0667650178, 0.763130188, 4.3399632E-7, 0.99619472, -0.0871558338, -0.766045213, 0.0560229495, 0.640340626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2483 | }, 0.3, false) | |
2484 | end | |
2485 | MagnitudeDamage(HitboxR, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1) | |
2486 | CFuncs.Sound.Create("200632136", HitboxR, 1, 1) | |
2487 | RootPart.Velocity = RootPart.CFrame.lookVector * 40 | |
2488 | for i = 0, 1, 0.11 do | |
2489 | swait() | |
2490 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3) | |
2491 | PlayAnimationFromTable({ | |
2492 | 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), | |
2493 | 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), | |
2494 | CFrame.new(1.96121001, 0.774859428, -0.462411612, 0.340120375, -0.92077136, 0.191045195, 0.466549307, -0.0111669078, -0.884424806, 0.816486418, 0.389942825, 0.42578721) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2495 | 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), | |
2496 | 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), | |
2497 | 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) | |
2498 | }, 0.45, false) | |
2499 | end | |
2500 | attack = false | |
2501 | end | |
2502 | function attacktwo() | |
2503 | attack = true | |
2504 | for i = 0, 1, 0.12 do | |
2505 | swait() | |
2506 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3) | |
2507 | PlayAnimationFromTable({ | |
2508 | 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), | |
2509 | 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), | |
2510 | 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), | |
2511 | 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), | |
2512 | 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), | |
2513 | 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) | |
2514 | }, 0.34, false) | |
2515 | end | |
2516 | MagnitudeDamage(HitboxL, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1.1) | |
2517 | CFuncs.Sound.Create("200632136", HitboxL, 1, 1) | |
2518 | RootPart.Velocity = RootPart.CFrame.lookVector * 40 | |
2519 | for i = 0, 1, 0.12 do | |
2520 | swait() | |
2521 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3) | |
2522 | PlayAnimationFromTable({ | |
2523 | 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), | |
2524 | 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), | |
2525 | 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), | |
2526 | 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), | |
2527 | 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), | |
2528 | 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) | |
2529 | }, 0.45, false) | |
2530 | end | |
2531 | attack = false | |
2532 | end | |
2533 | function findNearestTorso(pos) | |
2534 | local list = game.Workspace:children() | |
2535 | local torso | |
2536 | local dist = 1000 | |
2537 | local temp, human, temp2 | |
2538 | for x = 1, #list do | |
2539 | temp2 = list[x] | |
2540 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
2541 | temp = temp2:findFirstChild("Torso") | |
2542 | human = temp2:findFirstChild("Humanoid") | |
2543 | if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then | |
2544 | local dohit = true | |
2545 | if dohit == true then | |
2546 | torso = temp | |
2547 | dist = (temp.Position - pos).magnitude | |
2548 | end | |
2549 | end | |
2550 | end | |
2551 | end | |
2552 | return torso, dist | |
2553 | end | |
2554 | function TrueAim(aim) | |
2555 | local target, distance = findNearestTorso(Mouse.Hit.p) | |
2556 | local tehcf = HitboxR.CFrame * CFrame.fromEulerAnglesXYZ(1.57, 0, 0).lookVector | |
2557 | if aim ~= nil then | |
2558 | tehcf = aim | |
2559 | end | |
2560 | table.insert(Effects, { | |
2561 | tehcf, | |
2562 | "Shoot", | |
2563 | 30, | |
2564 | HitboxR.Position, | |
2565 | 10, | |
2566 | 15, | |
2567 | 0, | |
2568 | 3, | |
2569 | HitboxR, | |
2570 | target | |
2571 | }) | |
2572 | end | |
2573 | function FireProjectiles() | |
2574 | attack = true | |
2575 | Humanoid.WalkSpeed = 20 | |
2576 | CFuncs.Sound.Create("300915902", HitboxR, 1, 0.8) | |
2577 | for i = 0, 1, 0.1 do | |
2578 | swait() | |
2579 | Effects.Elec.Create(HitboxR.CFrame, 2, 2, 2) | |
2580 | PlayAnimationFromTable({ | |
2581 | CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2582 | CFrame.new(0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2583 | CFrame.new(0.874554753, 1.14087927, -1.06730831, -0.166365892, 0.198266983, 0.965925813, 0.797995508, -0.548363924, 0.250000268, 0.579245627, 0.812396049, -0.0669871047) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2584 | CFrame.new(-0.257126778, 1.24225974, -0.962940335, 0.692363203, -0.593008757, -0.411064416, -0.708803177, -0.665577948, -0.233675212, -0.135024026, 0.453151852, -0.88114804) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2585 | CFrame.new(0.604643881, -1.9909004, 0.0280392915, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061E-7, 0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2586 | CFrame.new(-0.604644895, -1.99090064, 0.0280393362, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061E-7, -0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2587 | }, 0.3, false) | |
2588 | end | |
2589 | for i = 0, 1, 0.1 do | |
2590 | swait() | |
2591 | Effects.Elec.Create(HitboxR.CFrame, 3, 3, 3) | |
2592 | Effects.Block.Create(BrickColor.new("Really red"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1) | |
2593 | Effects.Sphere2.Create(BrickColor.new("Really red"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1) | |
2594 | PlayAnimationFromTable({ | |
2595 | CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2596 | CFrame.new(0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2597 | CFrame.new(0.661153734, 0.568759024, -0.827975571, -0.166752055, 0.025078943, 0.985679924, 0.98324734, -0.0704026297, 0.168131784, 0.0736110285, 0.99720335, -0.012919019) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2598 | CFrame.new(-0.390097797, 0.861622274, -0.554995477, 0.351840883, -0.837056041, -0.418981194, -0.935129642, -0.294365793, -0.197183579, 0.0417199843, 0.461178988, -0.886325777) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2599 | CFrame.new(0.604644954, -1.9909004, 0.0280390829, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061E-7, 0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2600 | CFrame.new(-0.604644775, -1.99090064, 0.0280380547, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061E-7, -0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2601 | }, 0.2, false) | |
2602 | end | |
2603 | for i = 1, 10 do | |
2604 | for i = 0, 1, 0.3 do | |
2605 | swait() | |
2606 | Effects.Elec.Create(HitboxR.CFrame, 3, 3, 3) | |
2607 | Effects.Sphere2.Create(BrickColor.new("Really red"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1) | |
2608 | PlayAnimationFromTable({ | |
2609 | CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2610 | CFrame.new(0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2611 | CFrame.new(0.661153734, 0.568759024, -0.827975571, -0.166752055, 0.025078943, 0.985679924, 0.98324734, -0.0704026297, 0.168131784, 0.0736110285, 0.99720335, -0.012919019) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2612 | CFrame.new(-0.390097797, 0.861622274, -0.554995477, 0.351840883, -0.837056041, -0.418981194, -0.935129642, -0.294365793, -0.197183579, 0.0417199843, 0.461178988, -0.886325777) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2613 | CFrame.new(0.604644954, -1.9909004, 0.0280390829, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061E-7, 0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2614 | CFrame.new(-0.604644775, -1.99090064, 0.0280380547, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061E-7, -0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2615 | }, 0.3, false) | |
2616 | end | |
2617 | CFuncs.Sound.Create("300916105", HitboxR, 1, 1.2) | |
2618 | CFuncs.Sound.Create("300916014", HitboxR, 1, 1) | |
2619 | Effects.Sphere2.Create(BrickColor.new("Really red"), HitboxR.CFrame, 1, 1, 1, 2, 2, 2, 0.07) | |
2620 | local MouseLook = CFrame.new((HitboxR.Position + Mouse.Hit.p) / 2, Mouse.Hit.p) | |
2621 | TrueAim(MouseLook.lookVector) | |
2622 | for i = 0, 1, 0.3 do | |
2623 | swait() | |
2624 | Effects.Elec.Create(HitboxR.CFrame, 3, 3, 3) | |
2625 | Effects.Sphere2.Create(BrickColor.new("Really red"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1) | |
2626 | PlayAnimationFromTable({ | |
2627 | CFrame.new(1.90734863E-6, -0.25291419, 0.238341585, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2628 | CFrame.new(0, 1.49999189, -1.1920929E-6, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2629 | CFrame.new(0.689965963, 0.767623663, -0.856841147, -0.544456005, 0.160545677, 0.823281765, 0.798456132, -0.201499581, 0.567332089, 0.256973624, 0.966241658, -0.0184810348) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2630 | CFrame.new(-0.392649293, 0.920519292, -0.977094412, 0.403439909, -0.887421727, -0.222977459, -0.91384387, -0.378501445, -0.147058249, 0.0461054072, 0.263095737, -0.963667512) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2631 | CFrame.new(0.598512471, -1.89166105, 0.0173719227, 0.962250233, -0.061308533, -0.265171409, 0.0871564373, 0.992403805, 0.0868248865, 0.257834017, -0.106658652, 0.960284173) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2632 | CFrame.new(-0.598512232, -1.89166129, 0.0173728764, 0.962250233, 0.061308533, 0.265171409, -0.0871564373, 0.992403805, 0.0868248865, -0.257834017, -0.106658652, 0.960284173) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
2633 | }, 0.3, false) | |
2634 | end | |
2635 | end | |
2636 | Humanoid.WalkSpeed = 20 | |
2637 | attack = false | |
2638 | end | |
2639 | SHRA=false | |
2640 | ||
2641 | Check=false | |
2642 | dimension=workspace | |
2643 | Mouse.KeyUp:connect(function(k) | |
2644 | if k=='e' then | |
2645 | Long=false | |
2646 | ChopR=true | |
2647 | wait(10) | |
2648 | ChopR=false | |
2649 | end | |
2650 | end) | |
2651 | reload2=false | |
2652 | kickR=false | |
2653 | hand=true -- collect hands | |
2654 | PRESAVEDHEALTH=100 | |
2655 | Mouse.KeyDown:connect(function(k) | |
2656 | k = k:lower() | |
2657 | ||
2658 | if k=='t' and dimension==workspace then | |
2659 | ||
2660 | dimension=workspace.CurrentCamera | |
2661 | workspace.CurrentCamera.FieldOfView=180 | |
2662 | for _,v in pairs(Character:GetChildren()) do | |
2663 | if v:IsA('Part') then | |
2664 | v.Anchored=true | |
2665 | end | |
2666 | end | |
2667 | local Fake=Character:clone() | |
2668 | Fake.Parent=workspace | |
2669 | Fake.Name=Character.Name.. ":seperated from stand" | |
2670 | ||
2671 | --Converted with ttyyuu12345's model to script plugin v4 | |
2672 | function sandbox(var,func) | |
2673 | local env = getfenv(func) | |
2674 | local newenv = setmetatable({},{ | |
2675 | __index = function(self,k) | |
2676 | if k=="script" then | |
2677 | return var | |
2678 | else | |
2679 | return env[k] | |
2680 | end | |
2681 | end, | |
2682 | }) | |
2683 | setfenv(func,newenv) | |
2684 | return func | |
2685 | end | |
2686 | cors = {} | |
2687 | mas = Instance.new("Model",game:GetService("Lighting")) | |
2688 | Model0 = Instance.new("Model") | |
2689 | Part1 = Instance.new("Part") | |
2690 | Motor6D2 = Instance.new("Motor6D") | |
2691 | Part3 = Instance.new("Part") | |
2692 | Motor6D4 = Instance.new("Motor6D") | |
2693 | Part5 = Instance.new("Part") | |
2694 | Part6 = Instance.new("Part") | |
2695 | Motor6D7 = Instance.new("Motor6D") | |
2696 | Part8 = Instance.new("Part") | |
2697 | Motor6D9 = Instance.new("Motor6D") | |
2698 | Part10 = Instance.new("Part") | |
2699 | Motor6D11 = Instance.new("Motor6D") | |
2700 | Part12 = Instance.new("Part") | |
2701 | Motor6D13 = Instance.new("Motor6D") | |
2702 | Model0.Name = "Mirror" | |
2703 | Model0.Parent = mas | |
2704 | Mif=Part1 | |
2705 | Part1.Name = "This is a mirror Part foHanged man do not name anything else this. Ok thx byer" | |
2706 | Part1.Parent = Model0 | |
2707 | Part1.Material = Enum.Material.Glass | |
2708 | Part1.Reflectance = 1 | |
2709 | Part1.Anchored = true | |
2710 | Part1.Size = Vector3.new(4, 5.47999954, 0.0500000007) | |
2711 | Part1.CFrame = CFrame.new(-3.020015, -3.7299881, 76.7900314, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2712 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
2713 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
2714 | Part1.Position = Vector3.new(-3.020015, -3.7299881, 76.7900314) | |
2715 | Motor6D2.Parent = Part1 | |
2716 | Motor6D2.C1 = CFrame.new(0, 0, -32.4549789, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2717 | Motor6D2.Part0 = Part1 | |
2718 | Motor6D2.Part1 = Part8 | |
2719 | Part3.Name = "This is a mirror Part foHanged man do not name anything else this. Ok thx byer" | |
2720 | Part3.Parent = Model0 | |
2721 | Part3.Material = Enum.Material.Neon | |
2722 | Part3.Reflectance = 1 | |
2723 | Part3.Transparency = 0.89999997615814 | |
2724 | Part3.CanCollide = false | |
2725 | Part3.Size = Vector3.new(26.6600018, 10.9900007, 37.269989) | |
2726 | Part3.CFrame = CFrame.new(-3.020015, -0.974987507, 123.070015, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2727 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
2728 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
2729 | Part3.Position = Vector3.new(-3.020015, -0.974987507, 123.070015) | |
2730 | Motor6D4.Parent = Part3 | |
2731 | Motor6D4.C1 = CFrame.new(0, -1.51499939, -4.78997803, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2732 | Motor6D4.Part0 = Part3 | |
2733 | Motor6D4.Part1 = Part10 | |
2734 | Part5.Name = "This is a mirror Part foHanged man do not name anything else this. Ok thx byer" | |
2735 | Part5.Parent = Model0 | |
2736 | Part5.Material = Enum.Material.Neon | |
2737 | Part5.Reflectance = 1 | |
2738 | Part5.Transparency = 0.89999997615814 | |
2739 | Part5.CanCollide = false | |
2740 | Part5.Size = Vector3.new(38.5399971, 16.3700008, 19.4099846) | |
2741 | Part5.CFrame = CFrame.new(-3.020015, 1.71501255, 132.000031, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2742 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
2743 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
2744 | Part5.Position = Vector3.new(-3.020015, 1.71501255, 132.000031) | |
2745 | Part6.Name = "This is a mirror Part foHanged man do not name anything else this. Ok thx byer" | |
2746 | Part6.Parent = Model0 | |
2747 | Part6.Material = Enum.Material.Neon | |
2748 | Part6.Reflectance = 1 | |
2749 | Part6.Transparency = 0.89999997615814 | |
2750 | Part6.CanCollide = false | |
2751 | Part6.Size = Vector3.new(22.0200043, 8.37999916, 47.3599892) | |
2752 | Part6.CFrame = CFrame.new(-3.020015, -2.27998829, 118.025017, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2753 | Part6.BottomSurface = Enum.SurfaceType.Smooth | |
2754 | Part6.TopSurface = Enum.SurfaceType.Smooth | |
2755 | Part6.Position = Vector3.new(-3.020015, -2.27998829, 118.025017) | |
2756 | Motor6D7.Parent = Part6 | |
2757 | Motor6D7.C1 = CFrame.new(0, -1.30500078, -5.04499817, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2758 | Motor6D7.Part0 = Part6 | |
2759 | Motor6D7.Part1 = Part3 | |
2760 | Part8.Name = "This is a mirror Part foHanged man do not name anything else this. Ok thx byer" | |
2761 | Part8.Parent = Model0 | |
2762 | Part8.Material = Enum.Material.Neon | |
2763 | Part8.Reflectance = 1 | |
2764 | Part8.Transparency = 0.89999997615814 | |
2765 | Part8.CanCollide = false | |
2766 | Part8.Size = Vector3.new(7.53999996, 5.47999954, 64.9199829) | |
2767 | Part8.CFrame = CFrame.new(-3.020015, -3.7299881, 109.24501, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2768 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
2769 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
2770 | Part8.Position = Vector3.new(-3.020015, -3.7299881, 109.24501) | |
2771 | Motor6D9.Parent = Part8 | |
2772 | Motor6D9.C1 = CFrame.new(0, -0.744999886, -4.16999817, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2773 | Motor6D9.Part0 = Part8 | |
2774 | Motor6D9.Part1 = Part12 | |
2775 | Part10.Name = "This is a mirror Part foHanged man do not name anything else this. Ok thx byer" | |
2776 | Part10.Parent = Model0 | |
2777 | Part10.Material = Enum.Material.Neon | |
2778 | Part10.Reflectance = 1 | |
2779 | Part10.Transparency = 0.89999997615814 | |
2780 | Part10.CanCollide = false | |
2781 | Part10.Size = Vector3.new(31.7600002, 14.0199995, 27.689991) | |
2782 | Part10.CFrame = CFrame.new(-3.020015, 0.540011883, 127.859993, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2783 | Part10.BottomSurface = Enum.SurfaceType.Smooth | |
2784 | Part10.TopSurface = Enum.SurfaceType.Smooth | |
2785 | Part10.Position = Vector3.new(-3.020015, 0.540011883, 127.859993) | |
2786 | Motor6D11.Parent = Part10 | |
2787 | Motor6D11.C1 = CFrame.new(0, -1.17500067, -4.14003754, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2788 | Motor6D11.Part0 = Part10 | |
2789 | Motor6D11.Part1 = Part5 | |
2790 | Part12.Name = "This is a mirror Part foHanged man do not name anything else this. Ok thx byer" | |
2791 | Part12.Parent = Model0 | |
2792 | Part12.Material = Enum.Material.Neon | |
2793 | Part12.Reflectance = 1 | |
2794 | Part12.Transparency = 0.89999997615814 | |
2795 | Part12.CanCollide = false | |
2796 | Part12.Size = Vector3.new(14.8800011, 6.96999931, 59.3399887) | |
2797 | Part12.CFrame = CFrame.new(-3.020015, -2.98498821, 113.415009, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2798 | Part12.BottomSurface = Enum.SurfaceType.Smooth | |
2799 | Part12.TopSurface = Enum.SurfaceType.Smooth | |
2800 | Part12.Position = Vector3.new(-3.020015, -2.98498821, 113.415009) | |
2801 | Motor6D13.Parent = Part12 | |
2802 | Motor6D13.C1 = CFrame.new(0, -0.704999924, -4.61000824, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2803 | Motor6D13.Part0 = Part12 | |
2804 | Motor6D13.Part1 = Part6 | |
2805 | --[[for i,v in pairs(mas:GetChildren()) do | |
2806 | v.Parent = Fake | |
2807 | pcall(function() v:MakeJoints() end) | |
2808 | end | |
2809 | mas:Destroy() | |
2810 | for i,v in pairs(cors) do | |
2811 | spawn(function() | |
2812 | pcall(v) | |
2813 | end) | |
2814 | end--]] | |
2815 | Mif.CFrame=Character.Torso.CFrame*CFrame.new(0,-1,-1)*CFrame.Angles(0,3,0) | |
2816 | Character.HumanoidRootPart.CFrame=Character.HumanoidRootPart.CFrame*CFrame.new(0,0,-5) | |
2817 | for _,v in pairs(Character:GetChildren()) do | |
2818 | if v:IsA('Part') and v.Name~='HumanoidRootPart' then | |
2819 | v.Transparency=1 | |
2820 | elseif v:IsA('Accessory') then | |
2821 | v.Handle.Transparency=1 | |
2822 | end | |
2823 | end | |
2824 | for _,v in pairs(Fake['Hanged Man']:GetChildren()) do | |
2825 | if v:IsA('Model') then | |
2826 | v:remove() | |
2827 | end | |
2828 | end | |
2829 | for _,v in pairs(Character:GetChildren()) do | |
2830 | if v:IsA('Part') then | |
2831 | v.Anchored=false | |
2832 | end | |
2833 | end | |
2834 | elseif k=='y' then | |
2835 | CFuncs.Sound.Create("552513404",Head,1 ,1) | |
2836 | end | |
2837 | if dimension then | |
2838 | if k=='e' and IsWearingArmor == false and Invisible == false and not ChopR then | |
2839 | Long=true | |
2840 | Lattack() | |
2841 | end | |
2842 | if k=='r' and IsWearingArmor == false and Invisible == false and not kickR then | |
2843 | kick=true | |
2844 | Kick() | |
2845 | end | |
2846 | if attack == false and ora == false and k == "z" and IsWearingArmor == false and Invisible == false then | |
2847 | Counter=true | |
2848 | attack=true | |
2849 | elseif attack == false and k == "x" and IsWearingArmor == false and Invisible == false then | |
2850 | GRABEMBOIGRABEM() | |
2851 | elseif attack == false and k=='g' then | |
2852 | -- FireProjectiles()--thats lame | |
2853 | if changeidle==1 then | |
2854 | changeidle=2 | |
2855 | else changeidle=1 | |
2856 | end | |
2857 | ||
2858 | end | |
2859 | end-- inbetween this end an if dimension==workspace is disabled while erasing time | |
2860 | ||
2861 | if attack == false and k == "q" and Invisible == false and IsWearingArmor == false then | |
2862 | Invisible = true | |
2863 | Effects.Sphere.Create(BrickColor.new("Really red"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1) | |
2864 | Effects.Block.Create(BrickColor.new("Really red"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1) | |
2865 | Disappear() | |
2866 | elseif attack == false and k == "q" and Invisible == true and IsWearingArmor == false then | |
2867 | Invisible = false | |
2868 | Effects.Sphere.Create(BrickColor.new("Really red"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.08) | |
2869 | ||
2870 | for i = 1, 2 do | |
2871 | Effects.Block.Create(BrickColor.new("Really red"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1) | |
2872 | end | |
2873 | for i = 1, 20 do | |
2874 | Effects.Break.Create(BrickColor.new("Really red"), Torso.CFrame, 1, 1, 1) | |
2875 | end | |
2876 | Reappear() | |
2877 | G=Instance.new('Sound',AdvancingFortress.FTorso) | |
2878 | G.Name='FLEF' | |
2879 | G.SoundId='rbxassetid://842775101' | |
2880 | G.Volume=3 | |
2881 | G:Play() | |
2882 | elseif attack == false and ShieldMode == false and k == "c" and IsWearingArmor == false and Invisible == false and dimension==workspace then | |
2883 | ShieldMode = true | |
2884 | HoloHexShield() | |
2885 | elseif attack == false and k == "v" and IsWearingArmor == false and Invisible == false and dimension==workspace then | |
2886 | CastleCrusherFist() | |
2887 | ||
2888 | end | |
2889 | --[[if k == "[" and IsWearingArmor == false and Invisible == false then | |
2890 | Armor("On") | |
2891 | end | |
2892 | if k == "]" and IsWearingArmor == true and Invisible == false then | |
2893 | Armor("Off") | |
2894 | end--]] | |
2895 | end) | |
2896 | kick=false | |
2897 | Mouse.KeyUp:connect(function(k) | |
2898 | k = k:lower() | |
2899 | if k=='r' then | |
2900 | kick=false | |
2901 | end | |
2902 | if k =='t' then | |
2903 | dimension=workspace | |
2904 | ||
2905 | Fake=workspace:FindFirstChild(Player.Name.. ":seperated from stand") | |
2906 | if Fake~=nil then | |
2907 | Character.HumanoidRootPart.CFrame=Fake.HumanoidRootPart.CFrame | |
2908 | Fake:remove() | |
2909 | end | |
2910 | for _,v in pairs(Character:GetChildren()) do | |
2911 | if v:IsA('Part') and v.Name~='HumanoidRootPart' then | |
2912 | v.Transparency=0 | |
2913 | elseif v:IsA('Accessory') then | |
2914 | v.Handle.Transparency=0 | |
2915 | end | |
2916 | end workspace.CurrentCamera.FieldOfView=70 | |
2917 | end | |
2918 | if k=='f' and epitpah then | |
2919 | epitpah=false | |
2920 | epitaphreload=true | |
2921 | wait(10)--<<epitaph reload time | |
2922 | epitaphreload=false | |
2923 | end | |
2924 | if attack == true and k == "z" and IsWearingArmor == false and Counter and attack then | |
2925 | Counter = false | |
2926 | attack=false | |
2927 | elseif attack == true and ShieldMode == true and k == "c" and IsWearingArmor == false then | |
2928 | ShieldMode = false | |
2929 | end | |
2930 | end) | |
2931 | Counter=false | |
2932 | -- coroutine.resume(coroutine.create(function(Part, Part2) | |
2933 | -- while Part.Parent ~= nil do | |
2934 | -- swait(math.random(100, 150)) | |
2935 | -- for i = 0, 1, 0.2 do | |
2936 | -- wait() | |
2937 | -- Eye1.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1) | |
2938 | -- Eye2.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1) | |
2939 | -- end | |
2940 | -- for i = 0, 1, 0.2 do | |
2941 | -- swait() | |
2942 | -- Eye1.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1) | |
2943 | -- Eye2.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1) | |
2944 | -- end | |
2945 | -- end | |
2946 | -- end), Eye1, Eye2) | |
2947 | ||
2948 | changeidle=2 | |
2949 | YOURCLONE=nil | |
2950 | candecide=true | |
2951 | Humanoid=Character.Humanoid | |
2952 | ||
2953 | stab=0 | |
2954 | while true do | |
2955 | if Counter then | |
2956 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1 + 0.5 * math.cos(sine / 20), -3)*CFrame.Angles(-0.5,0,0), 0.5) | |
2957 | PlayAnimationFromTable({ | |
2958 | CFrame.new( | |
2959 | 0.0271884166, 0.00348344445, -0.0141745359, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351 | |
2960 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2961 | CFrame.new( | |
2962 | 0.0271884166, 1.51267767, 0.126843989, 0.999995351, 2.5043164e-06, -0.00304700318, -0.00175900059, 0.817014456, -0.576614618, 0.00248800102, 0.57661736, 0.817010641 | |
2963 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2964 | CFrame.new( | |
2965 | 1.16770852, 1.48235846, -0.381416619, -0.0204540007, 0.0226909891, 0.999533355, 0.738564014, -0.673497558, 0.0304031055, 0.673873007, 0.738841236, -0.00298302923 | |
2966 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2967 | CFrame.new( | |
2968 | -1.56082892, 0.022131592, 0.424794436, 0.516572058, 0.210796863, 0.82989043, -0.379415065, 0.925225914, 0.00115738553, -0.767592132, -0.315470815, 0.557925224 | |
2969 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2970 | CFrame.new( | |
2971 | 0.527187526, -1.99651742, -0.0126524717, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351 | |
2972 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2973 | CFrame.new( | |
2974 | -0.472751081, -1.40651631, -0.425918907, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351 | |
2975 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2976 | }, 0.3, false) | |
2977 | end | |
2978 | if epitpah then | |
2979 | Effects.Sphere.Create(BrickColor.new("Really red"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1) | |
2980 | Effects.Block.Create(BrickColor.new("Really red"), Character.Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1) | |
2981 | Humanoid.Health=PRESAVEDHEALTH | |
2982 | end | |
2983 | for _,v in pairs(AdvancingFortress.FTorso:GetChildren()) do | |
2984 | end | |
2985 | swait() | |
2986 | for i, v in pairs(Character:children()) do | |
2987 | if v:IsA("Part") and IsWearingArmor == true then | |
2988 | v.Anchored = false | |
2989 | end | |
2990 | end | |
2991 | for i, v in pairs(AdvancingFortress:GetChildren()) do | |
2992 | if v:IsA("Part") then | |
2993 | v.Material = "SmoothPlastic" | |
2994 | v.CanCollide = false | |
2995 | elseif v:IsA("Humanoid") then | |
2996 | v:remove() | |
2997 | elseif v:IsA("Accessory") then | |
2998 | v:remove() | |
2999 | elseif v:IsA("Shirt") then | |
3000 | v:remove() | |
3001 | elseif v:IsA("Pants") then | |
3002 | v:remove() | |
3003 | elseif v:IsA("Script") or v:IsA("LocalScript") then | |
3004 | v:remove() | |
3005 | elseif v:IsA("BodyColors") then | |
3006 | v:remove() | |
3007 | end | |
3008 | end | |
3009 | AHandleR.Transparency = 1 | |
3010 | AHandleL.Transparency = 1 | |
3011 | RootPart.Transparency = 1 | |
3012 | HitboxR.Transparency = 1 | |
3013 | HitboxL.Transparency = 1 | |
3014 | Head.BrickColor = BrickColor.new("Really red") | |
3015 | Torso.BrickColor = BrickColor.new("Really red") | |
3016 | RightArm.BrickColor = BrickColor.new("Really red") | |
3017 | LeftArm.BrickColor = BrickColor.new("Really red") | |
3018 | RightLeg.BrickColor = BrickColor.new("Really red") | |
3019 | LeftLeg.BrickColor = BrickColor.new("Really red") | |
3020 | RootPart.Anchored = true | |
3021 | Torsovelocity = (Character.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
3022 | velocity = Character.HumanoidRootPart.Velocity.y | |
3023 | sine = sine + change | |
3024 | Shield.Anchored = true | |
3025 | Shield.CFrame = Shield.CFrame:lerp(RootPart.CFrame * CFrame.new(0, 0, -3.2), 1) | |
3026 | local hit, pos = rayCast(Character.HumanoidRootPart.Position, CFrame.new(Character.HumanoidRootPart.Position, Character.HumanoidRootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
3027 | if Counter and attack then | |
3028 | local h = rayCast(Character.HumanoidRootPart.Position, CFrame.new(Character.HumanoidRootPart.Position, AdvancingFortress.FTorso.Position).lookVector, 4, Character) | |
3029 | if h~=nil then | |
3030 | ||
3031 | hj=h.Parent:findFirstChild('Head') | |
3032 | if h.Parent~=Character and h.Parent.Parent~=Character and hj~=nil then | |
3033 | Counter=false | |
3034 | CFuncs.Sound.Create("177082446",Torso,.5,1) | |
3035 | ||
3036 | hj.Anchored=true | |
3037 | RootJoint.C0 = CFrame.new(-0.00103696436, -0.0799896196, -0.0195935629, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
3038 | Torso.Neck.C0 = CFrame.new(-0.125537261, 1.42327833, -0.0106204394, 0.930785239, -0.308240592, 0.196536928, 0.257562071, 0.93447572, 0.245798409, -0.259424061, -0.178165019, 0.949187279) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
3039 | RW.C0 = CFrame.new(1.96019065, 1.49841368, -0.572676241, -0.0915629938, 0.765448928, 0.636949182, 0.989734888, 0.140438452, -0.0264940485, -0.109731987, 0.627984941, -0.770450473) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
3040 | LW.C0 = CFrame.new(-1.18533766, 0.391960531, -0.841543555, 0.0100789974, -0.283042908, -0.95905441, -0.873169839, 0.464914769, -0.146385387, 0.48731187, 0.838892698, -0.242458701) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
3041 | ||
3042 | RH.C0 = CFrame.new(0.498959631, -2.07999015, -0.0180695895, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
3043 | ||
3044 | LH.C0 = CFrame.new(-0.500971913, -1.5299896, -0.83133924, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
3045 | ||
3046 | ||
3047 | ||
3048 | ||
3049 | RootPart.CFrame = hj.CFrame * CFrame.new(0, -1, 1)*CFrame.Angles(0,0,0) | |
3050 | ||
3051 | wait(.5) | |
3052 | RootPart.CFrame = hj.CFrame * CFrame.new(0, -1, 1)*CFrame.Angles(0,0,0) | |
3053 | RootJoint.C0 = CFrame.new(-0.00270262919, 1.03004277e-05, 0.00493330508, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
3054 | ||
3055 | Torso.Neck.C0 = CFrame.new(-0.12720485, 1.50327802, 0.0139054712, 0.930785239, -0.308240592, 0.196536928, 0.257562071, 0.93447572, 0.245798409, -0.259424061, -0.178165019, 0.949187279) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
3056 | ||
3057 | RW.C0 = CFrame.new(1.44851947, 1.57841325, -0.808147967, -0.0915629938, 0.765448928, 0.636949182, 0.989734888, 0.140438452, -0.0264940485, -0.109731987, 0.627984941, -0.770450473) | |
3058 | ||
3059 | LW.C0 = CFrame.new(-1.1870122, 0.471960276, -0.817017138, 0.0100789974, -0.283042908, -0.95905441, -0.873169839, 0.464914769, -0.146385387, 0.48731187, 0.838892698, -0.242458701) | |
3060 | ||
3061 | RH.C0 = CFrame.new(0.497294337, -1.99998975, 0.00645536929, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) | |
3062 | ||
3063 | LH.C0 = CFrame.new(-0.502642214, -1.77998996, -0.516811967, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351) | |
3064 | CFuncs.Sound.Create("1386772138",Torso,10,1) | |
3065 | wait(.5) | |
3066 | stab=0 | |
3067 | CFuncs.Sound.Create("1516363049",hj,5,.5) | |
3068 | h.Parent:BreakJoints() | |
3069 | Effects.Sphere.Create(BrickColor.new("Really red"), h.Parent.Head.CFrame, 1, 1, 1, 4, 4, 4, 0.1) | |
3070 | Effects.Block.Create(BrickColor.new("Really red"), h.Parent.Head.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1) | |
3071 | for i = 1, 2 do | |
3072 | Effects.Block.Create(BrickColor.new("Really red"), h.Parent.Head.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1) | |
3073 | end | |
3074 | for i = 1, 20 do | |
3075 | Effects.Break.Create(BrickColor.new("Really red"), h.Parent.Head.CFrame, 1, 1, 1) | |
3076 | end | |
3077 | Effects.Sphere.Create(BrickColor.new("Really red"),Character.Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1) | |
3078 | Effects.Block.Create(BrickColor.new("Really red"), Character.Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1) | |
3079 | --Character.Head.CFrame=h.Parent.Head.CFrame*CFrame.new(0,0,3) | |
3080 | attack=false | |
3081 | hj.Anchored=false | |
3082 | end | |
3083 | end | |
3084 | end | |
3085 | if Character.HumanoidRootPart.Velocity.y > 1 and hit == nil then | |
3086 | Anim = "Jump" | |
3087 | if attack == false then | |
3088 | if dimension==workspace then | |
3089 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(-2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5) | |
3090 | else | |
3091 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 0)*CFrame.Angles(0,0,0), 0.5) | |
3092 | end | |
3093 | PlayAnimationFromTable({ | |
3094 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(.5, -1, 0), | |
3095 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(1, 1, 0), | |
3096 | CFrame.new(1.5,0,0) * CFrame.new(-1, 0, -.3) * CFrame.Angles(1.5, 0, -1.5), | |
3097 | CFrame.new(-1.5,0,0) * CFrame.new(1, 0, -.5) * CFrame.Angles(3, 0, 1), | |
3098 | CFrame.new(.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3099 | CFrame.new(-.5,-2,0) * CFrame.new(0, 0.5, -0.3) * CFrame.Angles(-.5, 0, 0) | |
3100 | }, 0.3, false) | |
3101 | end | |
3102 | elseif Character.HumanoidRootPart.Velocity.y < -1 and hit == nil then | |
3103 | Anim = "Fall" | |
3104 | if attack == false then | |
3105 | if dimension==workspace then | |
3106 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(-2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5) | |
3107 | else | |
3108 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 0)*CFrame.Angles(0,0,0), 0.5) | |
3109 | end | |
3110 | PlayAnimationFromTable({ | |
3111 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(1, -1, 1), | |
3112 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-1, 1, 0.5), | |
3113 | CFrame.new(1.5,0,0) * CFrame.new(-1, 0, -.3) * CFrame.Angles(1.5, 0, -1.5), | |
3114 | CFrame.new(-1.5,0,0) * CFrame.new(1, 0, -.5) * CFrame.Angles(3, 0, 1), | |
3115 | CFrame.new(.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3116 | CFrame.new(-.5,-2,0) * CFrame.new(0, 0.5, -0.3) * CFrame.Angles(-.5, 0, 0) | |
3117 | }, 0.3, false) | |
3118 | end | |
3119 | elseif Torsovelocity < 1 and hit ~= nil then | |
3120 | Anim = "Idle" | |
3121 | if changeidle==1 then | |
3122 | if attack == false then | |
3123 | change = 1 | |
3124 | if dimension==workspace then | |
3125 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1 + 0.5 * math.cos(sine / 25), 2)*CFrame.Angles(0,2.5,-0.5), 0.5) | |
3126 | else | |
3127 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 0)*CFrame.Angles(0,2.5,-0.5, 0.5), 0.5) | |
3128 | end | |
3129 | PlayAnimationFromTable({ | |
3130 | CFrame.new( | |
3131 | 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 | |
3132 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3133 | CFrame.new( | |
3134 | 0.136710003, 1.73489296, -0.0338380001, -0.0593669862, -0.0516000427, -0.996901751, -0.0550749861, 0.997311354, -0.0483414494, 0.996715784, 0.0520344637, -0.0620492361 | |
3135 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3136 | CFrame.new( | |
3137 | 1.62340999, 0.131766006, -0.737138987, 0.485451072, -0.460053951, 0.743429601, 0.733702064, 0.676791966, -0.0602823012, -0.475414068, 0.574719965, 0.666091919 | |
3138 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3139 | CFrame.new( | |
3140 | -0.918160975, 0.172160029, -0.835460007, 0.717120051, -0.489527851, -0.496086031, -0.243526027, 0.490930051, -0.836470425, 0.653019071, 0.720659554, 0.232843012 | |
3141 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3142 | CFrame.new( | |
3143 | 0.656431019, -1.893978, 0.346643776, 0.990569651, -0.13402614, -0.0284412913, 0.133786961, 0.901427865, 0.411738783, -0.0295459889, -0.411660939, 0.910857975 | |
3144 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3145 | CFrame.new( | |
3146 | -0.548841, -1.27147198, -0.345768005, 0.999999881, -2.65485113e-07, 0.000577550789, -0.000453999935, 0.617766023, 0.786361873, -0.000356999983, -0.786361992, 0.617765963 | |
3147 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3148 | }, 0.3, false) | |
3149 | end | |
3150 | elseif changeidle==2 then | |
3151 | change = 1 | |
3152 | if not attack then | |
3153 | if dimension==workspace then | |
3154 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(-2, 1 + 0.5 * math.cos(sine / 20), 3)*CFrame.Angles(0,-1,.5), 0.5) | |
3155 | else | |
3156 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 0)*CFrame.Angles(0,-1,.5), 0.5) | |
3157 | end | |
3158 | PlayAnimationFromTable({ | |
3159 | CFrame.new( | |
3160 | 0.0791157484, -0.0831427127, -0.0294590611, 0.999995351, 0, -0.0030490011, 0, 1, 0, 0.0030490011, 0, 0.999995351 | |
3161 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3162 | CFrame.new( | |
3163 | 0.169004396, 1.4159447, -0.0366409421, 0.742569923, 0.275025845, 0.610696971, -0.311423957, 0.949021578, -0.0487170555, -0.592962921, -0.154009849, 0.790364504 | |
3164 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3165 | CFrame.new( | |
3166 | 1.00889599, -0.043302007, -0.686848104, 0.155775085, 0.639679015, 0.752691805, 0.381247252, 0.664016962, -0.643220127, -0.911254525, 0.387159377, -0.140438542 | |
3167 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3168 | CFrame.new( | |
3169 | -1.57387173, -0.0248884857, -0.0340340734, 0.884221971, 0.467059165, -0.00269688945, -0.46705699, 0.884226084, 0.00142452994, 0.00304999994, 4.54485449e-10, 0.999995351 | |
3170 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3171 | CFrame.new( | |
3172 | 0.539139211, -2.07671404, 0.0346300155, 0.974552095, 0.211734533, 0.0735988021, -0.224143028, 0.916256011, 0.332016408, 0.00286400015, -0.340063959, 0.940397978 | |
3173 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3174 | CFrame.new( | |
3175 | -0.788379192, -2.04705811, -0.220941186, 0.92052412, 0.390675902, -0.00280621764, -0.383467048, 0.902117074, -0.197832882, -0.0747570097, 0.183185995, 0.980231762 | |
3176 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3177 | }, 0.3, false) | |
3178 | end | |
3179 | end | |
3180 | elseif Torsovelocity > 2 and hit ~= nil then | |
3181 | Anim = "Walk" | |
3182 | if attack == false then | |
3183 | if dimension==workspace then | |
3184 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(-2, 1.5, 0.5)*CFrame.Angles(-1,-0.5,0), 0.5) | |
3185 | PlayAnimationFromTable({ | |
3186 | CFrame.new( | |
3187 | 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 | |
3188 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3189 | CFrame.new( | |
3190 | 0.0364859998, 1.79243505, -0.121018998, 0.998374999, 0.0542896278, -0.0173208918, -0.0535430014, 0.789630473, -0.611242175, -0.0195070002, 0.611176372, 0.791254103 | |
3191 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3192 | CFrame.new( | |
3193 | 1.60313475, 0.610876083, -0.741172016, 0.129928008, -0.343205035, 0.930230677, 0.978899121, 0.193634897, -0.0652848259, -0.157719016, 0.919084311, 0.361121684 | |
3194 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3195 | CFrame.new( | |
3196 | -1.41306806, 0.557738006, -0.902216911, 0.017620001, -0.391262084, -0.920110643, -0.9992311, 0.0253460091, -0.0299131274, 0.0350250043, 0.91993022, -0.390514612 | |
3197 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3198 | CFrame.new( | |
3199 | 0.656431019, -1.893978, 0.346643776, 0.990569651, -0.13402614, -0.0284412913, 0.133786961, 0.901427865, 0.411738783, -0.0295459889, -0.411660939, 0.910857975 | |
3200 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3201 | CFrame.new( | |
3202 | -0.548841, -1.27147198, -0.345768005, 0.999999881, -2.65485113e-07, 0.000577550789, -0.000453999935, 0.617766023, 0.786361873, -0.000356999983, -0.786361992, 0.617765963 | |
3203 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3204 | }, 0.3, false) | |
3205 | else | |
3206 | RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 0)*CFrame.Angles(-.5,-0.5,0), 0.5) | |
3207 | PlayAnimationFromTable({ | |
3208 | CFrame.new( | |
3209 | -0.00460899994, -0.0231687576, -0.0103660002, 0.999995351, 0, -0.00304800109, 0, 1, 0, 0.00304800109, 0, 0.999995351 | |
3210 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3211 | CFrame.new( | |
3212 | 0.00932599977, 1.43786824, 0.205213994, 0.887959719, 0.309396386, 0.340296209, -0.00204099924, 0.742544413, -0.669793785, -0.45991683, 0.594055235, 0.659981012 | |
3213 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3214 | CFrame.new( | |
3215 | 1.95764303, 0.133998275, 0.131680995, 0.525890052, -0.204971954, -0.825485468, 0.227229029, 0.969110548, -0.0958744586, 0.819638133, -0.137154832, 0.556221068 | |
3216 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3217 | CFrame.new( | |
3218 | -1.15361595, 0.157661378, -0.67444098, -0.00135800033, -0.600986123, -0.799258351, -0.873535156, 0.389759928, -0.291587859, 0.486759126, 0.697784245, -0.525511801 | |
3219 | ) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
3220 | CFrame.new( | |
3221 | 0.495391011, -1.84177577, -0.783291996, 0.999995351, -3.0601957e-06, -0.00304665393, -0.00165800063, 0.838406146, -0.545043528, 0.00255600084, 0.545046031, 0.838402271 | |
3222 | ) * CFrame.new(0, 0, 0+math.cos(sine/8)) * CFrame.Angles(0-math.cos(sine/8), 0, 0), | |
3223 | CFrame.new( | |
3224 | -0.989122987, -1.85114682, -0.286621004, 0.669821203, 0.448877752, 0.591479778, -0.0018390005, 0.79758215, -0.603207529, -0.742520154, 0.402953476, 0.535062909 | |
3225 | ) * CFrame.new(0, 0, 0-math.cos(sine/8)) * CFrame.Angles(0+math.cos(sine/8), 0, 0), | |
3226 | }, 0.3, false) | |
3227 | end | |
3228 | end | |
3229 | end | |
3230 | if 0 < #Effects then | |
3231 | for e = 1, #Effects do | |
3232 | if Effects[e] ~= nil then | |
3233 | local Thing = Effects[e] | |
3234 | if Thing ~= nil then | |
3235 | local Part = Thing[1] | |
3236 | local Mode = Thing[2] | |
3237 | local Delay = Thing[3] | |
3238 | local IncX = Thing[4] | |
3239 | local IncY = Thing[5] | |
3240 | local IncZ = Thing[6] | |
3241 | if Thing[2] == "Shoot" then | |
3242 | local Look = Thing[1] | |
3243 | local move = 30 | |
3244 | if Thing[8] == 3 then | |
3245 | move = 10 | |
3246 | end | |
3247 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
3248 | if Thing[10] ~= nil then | |
3249 | da = pos | |
3250 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
3251 | cfa = CFrame.new(Thing[4], pos) | |
3252 | tehCF = cfa:lerp(cf2, 0.2) | |
3253 | Thing[1] = tehCF.lookVector | |
3254 | end | |
3255 | local mag = (Thing[4] - pos).magnitude | |
3256 | 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) | |
3257 | if Thing[8] == 2 then | |
3258 | 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) | |
3259 | end | |
3260 | Thing[4] = Thing[4] + Look * move | |
3261 | Thing[3] = Thing[3] - 1 | |
3262 | if 2 < Thing[5] then | |
3263 | Thing[5] = Thing[5] - 0.3 | |
3264 | Thing[6] = Thing[6] - 0.3 | |
3265 | end | |
3266 | if hit ~= nil then | |
3267 | Thing[3] = 0 | |
3268 | if Thing[8] == 1 or Thing[8] == 3 then | |
3269 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
3270 | elseif Thing[8] == 2 then | |
3271 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
3272 | if hit.Parent:findFirstChild("Humanoid") ~= nil or hit.Parent.Parent:findFirstChild("Humanoid") ~= nil then | |
3273 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
3274 | ref.Anchored = true | |
3275 | ref.CFrame = CFrame.new(pos) | |
3276 | CFuncs.Sound.Create("161006093", ref, 1, 1.2) | |
3277 | game:GetService("Debris"):AddItem(ref, 0.2) | |
3278 | 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) | |
3279 | 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) | |
3280 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
3281 | end | |
3282 | end | |
3283 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
3284 | ref.Anchored = true | |
3285 | ref.CFrame = CFrame.new(pos) | |
3286 | Effects.Sphere.Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
3287 | game:GetService("Debris"):AddItem(ref, 1) | |
3288 | end | |
3289 | if Thing[3] <= 0 then | |
3290 | table.remove(Effects, e) | |
3291 | end | |
3292 | end | |
3293 | if Thing[2] == "FireWave" then | |
3294 | if Thing[3] <= Thing[4] then | |
3295 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
3296 | Thing[3] = Thing[3] + 1 | |
3297 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
3298 | else | |
3299 | Part.Parent = nil | |
3300 | table.remove(Effects, e) | |
3301 | end | |
3302 | end | |
3303 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
3304 | if Thing[1].Transparency <= 1 then | |
3305 | if Thing[2] == "Block1" then | |
3306 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
3307 | Mesh = Thing[7] | |
3308 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3309 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3310 | elseif Thing[2] == "Block2" then | |
3311 | Thing[1].CFrame = Thing[1].CFrame | |
3312 | Mesh = Thing[7] | |
3313 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3314 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3315 | elseif Thing[2] == "Fire" then | |
3316 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
3317 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
3318 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3319 | elseif Thing[2] == "Cylinder" then | |
3320 | Mesh = Thing[7] | |
3321 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3322 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3323 | elseif Thing[2] == "Blood" then | |
3324 | Mesh = Thing[7] | |
3325 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
3326 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3327 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3328 | elseif Thing[2] == "Elec" then | |
3329 | Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
3330 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3331 | elseif Thing[2] == "Disappear" then | |
3332 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3333 | elseif Thing[2] == "Shatter" then | |
3334 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3335 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
3336 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
3337 | Thing[6] = Thing[6] + Thing[5] | |
3338 | end | |
3339 | else | |
3340 | Part.Parent = nil | |
3341 | table.remove(Effects, e) | |
3342 | end | |
3343 | end | |
3344 | end | |
3345 | end | |
3346 | end | |
3347 | end | |
3348 | end |