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