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