SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {} | |
2 | do | |
3 | script.Parent = owner.Character | |
4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput" | |
5 | local function NewFakeEvent() | |
6 | - | local Player = game.Players.localPlayer |
6 | + | local Bind = Instance.new("BindableEvent") |
7 | local Fake;Fake = {Connections = {}, | |
8 | fakeEvent=true; | |
9 | Connect=function(self,Func) | |
10 | Bind.Event:connect(Func) | |
11 | self.Connections[Bind] = true | |
12 | return setmetatable({Connected = true},{ | |
13 | __index = function (self,Index) | |
14 | if Index:lower() == "disconnect" then | |
15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
16 | end | |
17 | return Fake[Index] | |
18 | end; | |
19 | __tostring = function() return "Connection" end; | |
20 | }) | |
21 | end} | |
22 | Fake.connect = Fake.Connect;return Fake; | |
23 | end | |
24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
29 | local function TriggerEvent(self,Event,...) | |
30 | local Trigger = Mouse[Event] | |
31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
33 | end | |
34 | end | |
35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
37 | if FiredBy.Name ~= owner.Name then return end | |
38 | if Input.MouseEvent then | |
39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
40 | else | |
41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
43 | for _,Action in pairs(ContextActionService.Actions) do | |
44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
45 | end | |
46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
48 | end | |
49 | end) | |
50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
51 | Event.Parent = NLS([[ | |
52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse() | |
53 | local Input = function(Input,gameProcessedEvent) | |
54 | if gameProcessedEvent then return end | |
55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
56 | end | |
57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
58 | local Hit,Target | |
59 | while wait(1/30) do | |
60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
62 | end | |
63 | end | |
64 | ]],owner.Character) | |
65 | end | |
66 | RealGame = game;game = setmetatable({},{ | |
67 | __index = function (self,Index) | |
68 | local Sandbox = function (Thing) | |
69 | if Thing:IsA("Player") then | |
70 | local RealPlayer = Thing | |
71 | return setmetatable({},{ | |
72 | __index = function (self,Index) | |
73 | local Type = type(RealPlayer[Index]) | |
74 | if Type == "function" then | |
75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
76 | return function (self)return InternalData["Mouse"] end | |
77 | end | |
78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
79 | end | |
80 | return RealPlayer[Index] | |
81 | end; | |
82 | __tostring = function(self) return RealPlayer.Name end | |
83 | }) | |
84 | end | |
85 | end | |
86 | if RealGame[Index] then | |
87 | local Type = type(RealGame[Index]) | |
88 | if Type == "function" then | |
89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
90 | return function (self,Service) | |
91 | local FakeServices = { | |
92 | ["players"] = function() | |
93 | return setmetatable({},{ | |
94 | __index = function (self2,Index2) | |
95 | local RealService = RealGame:GetService(Service) | |
96 | local Type2 = type(Index2) | |
97 | if Type2 == "function" then | |
98 | return function (self,...) return RealService[Index2](RealService,...)end | |
99 | else | |
100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
101 | return RealService[Index2] | |
102 | end | |
103 | end; | |
104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
105 | }) | |
106 | end; | |
107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
109 | ["runservice"] = function() | |
110 | return setmetatable({},{ | |
111 | __index = function(self2,Index2) | |
112 | local RealService = RealGame:GetService(Service) | |
113 | local Type2 = type(Index2) | |
114 | if Type2 == "function" then | |
115 | return function (self,...) return RealService[Index2](RealService,...) end | |
116 | else | |
117 | local RunServices = { | |
118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
120 | } | |
121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
122 | return RealService[Index2] | |
123 | end | |
124 | end | |
125 | }) | |
126 | end | |
127 | } | |
128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
129 | return RealGame:GetService(Service) | |
130 | end | |
131 | end | |
132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
133 | else | |
134 | if game:GetService(Index) then return game:GetService(Index) end | |
135 | return RealGame[Index] | |
136 | end | |
137 | end | |
138 | return nil | |
139 | end | |
140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...") | |
141 | maincolor = owner.Character.Torso.BrickColor | |
142 | maincolor = BrickColor.new("Really red") | |
143 | secondcolor = "Really black" | |
144 | wait(0.016666666666666666) | |
145 | Effects = {} | |
146 | local Player = game.Players.LocalPlayer | |
147 | local Character = Player.Character | |
148 | local Humanoid = Character.Humanoid | |
149 | local mouse = Player:GetMouse() | |
150 | local LeftArm = Character["Left Arm"] | |
151 | local RightArm = Character["Right Arm"] | |
152 | local LeftLeg = Character["Left Leg"] | |
153 | local RightLeg = Character["Right Leg"] | |
154 | local Head = Character.Head | |
155 | local Torso = Character.Torso | |
156 | local cam = game.Workspace.CurrentCamera | |
157 | local RootPart = Character.HumanoidRootPart | |
158 | local RootJoint = RootPart.RootJoint | |
159 | local equipped = true | |
160 | local attack = false | |
161 | local Anim = "Idle" | |
162 | local idle = 0 | |
163 | local attacktype = 1 | |
164 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
165 | local velocity = RootPart.Velocity.y | |
166 | local sine = 0 | |
167 | local change = 1 | |
168 | local grabbed = false | |
169 | local cn = CFrame.new | |
170 | local mr = math.rad | |
171 | local angles = CFrame.Angles | |
172 | local ud = UDim2.new | |
173 | local c3 = Color3.new | |
174 | local dir = { | |
175 | w = 0, | |
176 | s = 0, | |
177 | a = 0, | |
178 | d = 0 | |
179 | } | |
180 | Climbanim = false | |
181 | Runkey = false | |
182 | firemode = false | |
183 | inair = false | |
184 | blocking = false | |
185 | humHsave = 0 | |
186 | humDsave = 0 | |
187 | extralock = true | |
188 | lasthit = nil | |
189 | elementmode = "Mode 1" | |
190 | local BCsave = Character["Body Colors"]:Clone() | |
191 | local BC = Character["Body Colors"] | |
192 | function New(Object, Parent, Name, Data) | |
193 | local Object = Instance.new(Object) | |
194 | for Index, Value in pairs(Data or {}) do | |
195 | Object[Index] = Value | |
196 | end | |
197 | Object.Parent = Parent | |
198 | Object.Name = Name | |
199 | return Object | |
200 | end | |
201 | Model = New("Model", Workspace, "PowerGlow", {}) | |
202 | Part = New("Part", Model, "Part", { | |
203 | BrickColor = maincolor, | |
204 | Material = Enum.Material.Neon, | |
205 | FormFactor = Enum.FormFactor.Custom, | |
206 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
207 | CFrame = CFrame.new(-15.4243536, 2.56596589, -77.4251709, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
208 | Anchored = true, | |
209 | CanCollide = false, | |
210 | BottomSurface = Enum.SurfaceType.Smooth, | |
211 | TopSurface = Enum.SurfaceType.Smooth, | |
212 | Color = Color3.new(1, 0, 0) | |
213 | }) | |
214 | Mesh = New("BlockMesh", Part, "Mesh", { | |
215 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
216 | }) | |
217 | Part = New("Part", Model, "Part", { | |
218 | BrickColor = maincolor, | |
219 | Material = Enum.Material.Neon, | |
220 | FormFactor = Enum.FormFactor.Custom, | |
221 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
222 | CFrame = CFrame.new(-15.4243536, 2.56596589, -78.0972214, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
223 | Anchored = true, | |
224 | CanCollide = false, | |
225 | BottomSurface = Enum.SurfaceType.Smooth, | |
226 | TopSurface = Enum.SurfaceType.Smooth, | |
227 | Color = Color3.new(1, 0, 0) | |
228 | }) | |
229 | Mesh = New("BlockMesh", Part, "Mesh", { | |
230 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
231 | }) | |
232 | Part = New("Part", Model, "Part", { | |
233 | BrickColor = BrickColor.new("Dark stone grey"), | |
234 | Material = Enum.Material.SmoothPlastic, | |
235 | FormFactor = Enum.FormFactor.Custom, | |
236 | Size = Vector3.new(1.08000004, 0.950000048, 0.200000033), | |
237 | CFrame = CFrame.new(-14.7160664, 3.91589618, -77.7635422, -1.13133467E-8, -0.258819193, 0.965925574, -4.22219522E-8, -0.965925694, -0.258819163, 0.99999994, -4.37113847E-8, 0), | |
238 | Anchored = true, | |
239 | CanCollide = false, | |
240 | BottomSurface = Enum.SurfaceType.Smooth, | |
241 | TopSurface = Enum.SurfaceType.Smooth, | |
242 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
243 | }) | |
244 | Part = New("Part", Model, "Part", { | |
245 | BrickColor = maincolor, | |
246 | Material = Enum.Material.Neon, | |
247 | FormFactor = Enum.FormFactor.Custom, | |
248 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
249 | CFrame = CFrame.new(-15.3176498, 2.56596589, -77.2362442, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
250 | Anchored = true, | |
251 | CanCollide = false, | |
252 | BottomSurface = Enum.SurfaceType.Smooth, | |
253 | TopSurface = Enum.SurfaceType.Smooth, | |
254 | Color = Color3.new(1, 0, 0) | |
255 | }) | |
256 | Mesh = New("BlockMesh", Part, "Mesh", { | |
257 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
258 | }) | |
259 | Part = New("Part", Model, "Part", { | |
260 | Material = Enum.Material.SmoothPlastic, | |
261 | FormFactor = Enum.FormFactor.Custom, | |
262 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
263 | CFrame = CFrame.new(-14.3333502, 2.41636896, -77.6300049, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
264 | Anchored = true, | |
265 | CanCollide = false, | |
266 | BottomSurface = Enum.SurfaceType.Smooth, | |
267 | TopSurface = Enum.SurfaceType.Smooth | |
268 | }) | |
269 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
270 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
271 | }) | |
272 | Part = New("Part", Model, "Part", { | |
273 | BrickColor = BrickColor.new("Lily white"), | |
274 | Material = Enum.Material.SmoothPlastic, | |
275 | FormFactor = Enum.FormFactor.Custom, | |
276 | Size = Vector3.new(1.10000002, 0.73999995, 0.220000014), | |
277 | CFrame = CFrame.new(-15.1012945, 3.79362583, -77.7635422, 3.78551768E-8, 0.866025448, 0.499999523, -2.18556764E-8, -0.499999583, 0.866025388, 0.99999994, -4.37113847E-8, 0), | |
278 | Anchored = true, | |
279 | CanCollide = false, | |
280 | BottomSurface = Enum.SurfaceType.Smooth, | |
281 | TopSurface = Enum.SurfaceType.Smooth, | |
282 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
283 | }) | |
284 | Part = New("Part", Model, "Part", { | |
285 | Material = Enum.Material.SmoothPlastic, | |
286 | FormFactor = Enum.FormFactor.Custom, | |
287 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
288 | CFrame = CFrame.new(-15.4412384, 2.74341011, -78.2658386, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
289 | Anchored = true, | |
290 | CanCollide = false, | |
291 | BottomSurface = Enum.SurfaceType.Smooth, | |
292 | TopSurface = Enum.SurfaceType.Smooth | |
293 | }) | |
294 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
295 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
296 | }) | |
297 | Part = New("Part", Model, "Part", { | |
298 | Material = Enum.Material.SmoothPlastic, | |
299 | FormFactor = Enum.FormFactor.Custom, | |
300 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
301 | CFrame = CFrame.new(-14.4219961, 2.70039511, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
302 | Anchored = true, | |
303 | CanCollide = false, | |
304 | BottomSurface = Enum.SurfaceType.Smooth, | |
305 | TopSurface = Enum.SurfaceType.Smooth | |
306 | }) | |
307 | Mesh = New("BlockMesh", Part, "Mesh", { | |
308 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
309 | }) | |
310 | Part = New("Part", Model, "Part", { | |
311 | BrickColor = BrickColor.new("Dark stone grey"), | |
312 | Material = Enum.Material.SmoothPlastic, | |
313 | FormFactor = Enum.FormFactor.Custom, | |
314 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
315 | CFrame = CFrame.new(-15.171958, 2.59506392, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
316 | Anchored = true, | |
317 | CanCollide = false, | |
318 | BottomSurface = Enum.SurfaceType.Smooth, | |
319 | TopSurface = Enum.SurfaceType.Smooth, | |
320 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
321 | }) | |
322 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
323 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
324 | }) | |
325 | Part = New("Part", Model, "Part", { | |
326 | BrickColor = maincolor, | |
327 | Material = Enum.Material.Neon, | |
328 | FormFactor = Enum.FormFactor.Custom, | |
329 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
330 | CFrame = CFrame.new(-15.3223877, 2.56596589, -78.3108215, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
331 | Anchored = true, | |
332 | CanCollide = false, | |
333 | BottomSurface = Enum.SurfaceType.Smooth, | |
334 | TopSurface = Enum.SurfaceType.Smooth, | |
335 | Color = Color3.new(1, 0, 0) | |
336 | }) | |
337 | Mesh = New("BlockMesh", Part, "Mesh", { | |
338 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
339 | }) | |
340 | Part = New("Part", Model, "Part", { | |
341 | Material = Enum.Material.SmoothPlastic, | |
342 | FormFactor = Enum.FormFactor.Custom, | |
343 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
344 | CFrame = CFrame.new(-14.8567038, 2.74341011, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
345 | Anchored = true, | |
346 | CanCollide = false, | |
347 | BottomSurface = Enum.SurfaceType.Smooth, | |
348 | TopSurface = Enum.SurfaceType.Smooth | |
349 | }) | |
350 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
351 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
352 | }) | |
353 | Part = New("Part", Model, "Part", { | |
354 | Material = Enum.Material.SmoothPlastic, | |
355 | FormFactor = Enum.FormFactor.Custom, | |
356 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
357 | CFrame = CFrame.new(-14.5614405, 2.74341011, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
358 | Anchored = true, | |
359 | CanCollide = false, | |
360 | BottomSurface = Enum.SurfaceType.Smooth, | |
361 | TopSurface = Enum.SurfaceType.Smooth | |
362 | }) | |
363 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
364 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
365 | }) | |
366 | Part = New("Part", Model, "Part", { | |
367 | BrickColor = maincolor, | |
368 | Material = Enum.Material.Neon, | |
369 | FormFactor = Enum.FormFactor.Custom, | |
370 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
371 | CFrame = CFrame.new(-14.3643541, 2.56596589, -77.4805908, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
372 | Anchored = true, | |
373 | CanCollide = false, | |
374 | BottomSurface = Enum.SurfaceType.Smooth, | |
375 | TopSurface = Enum.SurfaceType.Smooth, | |
376 | Color = Color3.new(1, 0, 0) | |
377 | }) | |
378 | Mesh = New("BlockMesh", Part, "Mesh", { | |
379 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
380 | }) | |
381 | Part = New("Part", Model, "Part", { | |
382 | Material = Enum.Material.SmoothPlastic, | |
383 | FormFactor = Enum.FormFactor.Custom, | |
384 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
385 | CFrame = CFrame.new(-15.171958, 2.41636896, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
386 | Anchored = true, | |
387 | CanCollide = false, | |
388 | BottomSurface = Enum.SurfaceType.Smooth, | |
389 | TopSurface = Enum.SurfaceType.Smooth | |
390 | }) | |
391 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
392 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
393 | }) | |
394 | Part = New("Part", Model, "Part", { | |
395 | BrickColor = BrickColor.new("Dark stone grey"), | |
396 | Material = Enum.Material.SmoothPlastic, | |
397 | FormFactor = Enum.FormFactor.Custom, | |
398 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
399 | CFrame = CFrame.new(-14.5614405, 2.59506392, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
400 | Anchored = true, | |
401 | CanCollide = false, | |
402 | BottomSurface = Enum.SurfaceType.Smooth, | |
403 | TopSurface = Enum.SurfaceType.Smooth, | |
404 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
405 | }) | |
406 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
407 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
408 | }) | |
409 | Part = New("Part", Model, "Part", { | |
410 | Material = Enum.Material.SmoothPlastic, | |
411 | FormFactor = Enum.FormFactor.Custom, | |
412 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
413 | CFrame = CFrame.new(-15.171958, 2.74341011, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
414 | Anchored = true, | |
415 | CanCollide = false, | |
416 | BottomSurface = Enum.SurfaceType.Smooth, | |
417 | TopSurface = Enum.SurfaceType.Smooth | |
418 | }) | |
419 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
420 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
421 | }) | |
422 | Part = New("Part", Model, "Part", { | |
423 | BrickColor = BrickColor.new("Really black"), | |
424 | Material = Enum.Material.SmoothPlastic, | |
425 | FormFactor = Enum.FormFactor.Custom, | |
426 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
427 | CFrame = CFrame.new(-14.4749603, 2.54138398, -77.7840576, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
428 | Anchored = true, | |
429 | CanCollide = false, | |
430 | BottomSurface = Enum.SurfaceType.Smooth, | |
431 | TopSurface = Enum.SurfaceType.Smooth, | |
432 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
433 | }) | |
434 | Mesh = New("BlockMesh", Part, "Mesh", { | |
435 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
436 | }) | |
437 | Part = New("Part", Model, "Part", { | |
438 | BrickColor = BrickColor.new("Dark stone grey"), | |
439 | Material = Enum.Material.SmoothPlastic, | |
440 | FormFactor = Enum.FormFactor.Custom, | |
441 | Size = Vector3.new(1.08000004, 0.0500000007, 0.200000033), | |
442 | CFrame = CFrame.new(-15.026329, 2.95079517, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
443 | Anchored = true, | |
444 | CanCollide = false, | |
445 | BottomSurface = Enum.SurfaceType.Smooth, | |
446 | TopSurface = Enum.SurfaceType.Smooth, | |
447 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
448 | }) | |
449 | Part = New("Part", Model, "Part", { | |
450 | BrickColor = BrickColor.new("Dark stone grey"), | |
451 | Material = Enum.Material.SmoothPlastic, | |
452 | FormFactor = Enum.FormFactor.Custom, | |
453 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
454 | CFrame = CFrame.new(-15.4412384, 2.59506392, -77.2649994, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
455 | Anchored = true, | |
456 | CanCollide = false, | |
457 | BottomSurface = Enum.SurfaceType.Smooth, | |
458 | TopSurface = Enum.SurfaceType.Smooth, | |
459 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
460 | }) | |
461 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
462 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
463 | }) | |
464 | Part = New("Part", Model, "Part", { | |
465 | BrickColor = BrickColor.new("Really black"), | |
466 | Material = Enum.Material.SmoothPlastic, | |
467 | FormFactor = Enum.FormFactor.Custom, | |
468 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
469 | CFrame = CFrame.new(-15.3137436, 2.54138398, -77.4251709, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
470 | Anchored = true, | |
471 | CanCollide = false, | |
472 | BottomSurface = Enum.SurfaceType.Smooth, | |
473 | TopSurface = Enum.SurfaceType.Smooth, | |
474 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
475 | }) | |
476 | Mesh = New("BlockMesh", Part, "Mesh", { | |
477 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
478 | }) | |
479 | Part = New("Part", Model, "Part", { | |
480 | BrickColor = maincolor, | |
481 | Material = Enum.Material.Neon, | |
482 | FormFactor = Enum.FormFactor.Custom, | |
483 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
484 | CFrame = CFrame.new(-15.0171576, 2.56596589, -78.3108215, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
485 | Anchored = true, | |
486 | CanCollide = false, | |
487 | BottomSurface = Enum.SurfaceType.Smooth, | |
488 | TopSurface = Enum.SurfaceType.Smooth, | |
489 | Color = Color3.new(1, 0, 0) | |
490 | }) | |
491 | Mesh = New("BlockMesh", Part, "Mesh", { | |
492 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
493 | }) | |
494 | Part = New("Part", Model, "Part", { | |
495 | BrickColor = BrickColor.new("Dark stone grey"), | |
496 | Material = Enum.Material.SmoothPlastic, | |
497 | FormFactor = Enum.FormFactor.Custom, | |
498 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
499 | CFrame = CFrame.new(-15.1691818, 2.59506392, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
500 | Anchored = true, | |
501 | CanCollide = false, | |
502 | BottomSurface = Enum.SurfaceType.Smooth, | |
503 | TopSurface = Enum.SurfaceType.Smooth, | |
504 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
505 | }) | |
506 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
507 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
508 | }) | |
509 | Part = New("Part", Model, "Part", { | |
510 | BrickColor = maincolor, | |
511 | Material = Enum.Material.Neon, | |
512 | FormFactor = Enum.FormFactor.Custom, | |
513 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
514 | CFrame = CFrame.new(-14.4300385, 2.56596589, -77.2362442, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
515 | Anchored = true, | |
516 | CanCollide = false, | |
517 | BottomSurface = Enum.SurfaceType.Smooth, | |
518 | TopSurface = Enum.SurfaceType.Smooth, | |
519 | Color = Color3.new(1, 0, 0) | |
520 | }) | |
521 | Mesh = New("BlockMesh", Part, "Mesh", { | |
522 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
523 | }) | |
524 | Part = New("Part", Model, "Part", { | |
525 | Material = Enum.Material.SmoothPlastic, | |
526 | FormFactor = Enum.FormFactor.Custom, | |
527 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
528 | CFrame = CFrame.new(-14.8567038, 2.41636896, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
529 | Anchored = true, | |
530 | CanCollide = false, | |
531 | BottomSurface = Enum.SurfaceType.Smooth, | |
532 | TopSurface = Enum.SurfaceType.Smooth | |
533 | }) | |
534 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
535 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
536 | }) | |
537 | Part = New("Part", Model, "Part", { | |
538 | Material = Enum.Material.SmoothPlastic, | |
539 | FormFactor = Enum.FormFactor.Custom, | |
540 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
541 | CFrame = CFrame.new(-15.4412384, 2.41636896, -77.2649994, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
542 | Anchored = true, | |
543 | CanCollide = false, | |
544 | BottomSurface = Enum.SurfaceType.Smooth, | |
545 | TopSurface = Enum.SurfaceType.Smooth | |
546 | }) | |
547 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
548 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
549 | }) | |
550 | Part = New("Part", Model, "Part", { | |
551 | BrickColor = BrickColor.new("Really black"), | |
552 | Material = Enum.Material.SmoothPlastic, | |
553 | FormFactor = Enum.FormFactor.Custom, | |
554 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
555 | CFrame = CFrame.new(-14.7080917, 2.54138398, -77.3468628, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
556 | Anchored = true, | |
557 | CanCollide = false, | |
558 | BottomSurface = Enum.SurfaceType.Smooth, | |
559 | TopSurface = Enum.SurfaceType.Smooth, | |
560 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
561 | }) | |
562 | Mesh = New("BlockMesh", Part, "Mesh", { | |
563 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
564 | }) | |
565 | Part = New("Part", Model, "Part", { | |
566 | Material = Enum.Material.SmoothPlastic, | |
567 | FormFactor = Enum.FormFactor.Custom, | |
568 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
569 | CFrame = CFrame.new(-15.3188915, 2.42498994, -78.0982056, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
570 | Anchored = true, | |
571 | CanCollide = false, | |
572 | BottomSurface = Enum.SurfaceType.Smooth, | |
573 | TopSurface = Enum.SurfaceType.Smooth | |
574 | }) | |
575 | Mesh = New("BlockMesh", Part, "Mesh", { | |
576 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
577 | }) | |
578 | Part = New("Part", Model, "Part", { | |
579 | BrickColor = BrickColor.new("Dark stone grey"), | |
580 | Material = Enum.Material.SmoothPlastic, | |
581 | FormFactor = Enum.FormFactor.Custom, | |
582 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
583 | CFrame = CFrame.new(-14.5560598, 2.59506392, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
584 | Anchored = true, | |
585 | CanCollide = false, | |
586 | BottomSurface = Enum.SurfaceType.Smooth, | |
587 | TopSurface = Enum.SurfaceType.Smooth, | |
588 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
589 | }) | |
590 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
591 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
592 | }) | |
593 | Part = New("Part", Model, "Part", { | |
594 | BrickColor = maincolor, | |
595 | Material = Enum.Material.Neon, | |
596 | FormFactor = Enum.FormFactor.Custom, | |
597 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
598 | CFrame = CFrame.new(-14.3643541, 2.56596589, -77.7840576, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
599 | Anchored = true, | |
600 | CanCollide = false, | |
601 | BottomSurface = Enum.SurfaceType.Smooth, | |
602 | TopSurface = Enum.SurfaceType.Smooth, | |
603 | Color = Color3.new(1, 0, 0) | |
604 | }) | |
605 | Mesh = New("BlockMesh", Part, "Mesh", { | |
606 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
607 | }) | |
608 | Part = New("Part", Model, "Part", { | |
609 | Material = Enum.Material.SmoothPlastic, | |
610 | FormFactor = Enum.FormFactor.Custom, | |
611 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
612 | CFrame = CFrame.new(-15.318634, 2.70039511, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
613 | Anchored = true, | |
614 | CanCollide = false, | |
615 | BottomSurface = Enum.SurfaceType.Smooth, | |
616 | TopSurface = Enum.SurfaceType.Smooth | |
617 | }) | |
618 | Mesh = New("BlockMesh", Part, "Mesh", { | |
619 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
620 | }) | |
621 | Part = New("Part", Model, "Part", { | |
622 | Material = Enum.Material.SmoothPlastic, | |
623 | FormFactor = Enum.FormFactor.Custom, | |
624 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
625 | CFrame = CFrame.new(-15.3213959, 2.70039511, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
626 | Anchored = true, | |
627 | CanCollide = false, | |
628 | BottomSurface = Enum.SurfaceType.Smooth, | |
629 | TopSurface = Enum.SurfaceType.Smooth | |
630 | }) | |
631 | Mesh = New("BlockMesh", Part, "Mesh", { | |
632 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
633 | }) | |
634 | Part = New("Part", Model, "Part", { | |
635 | Material = Enum.Material.SmoothPlastic, | |
636 | FormFactor = Enum.FormFactor.Custom, | |
637 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
638 | CFrame = CFrame.new(-14.3547363, 2.41636896, -77.3155441, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
639 | Anchored = true, | |
640 | CanCollide = false, | |
641 | BottomSurface = Enum.SurfaceType.Smooth, | |
642 | TopSurface = Enum.SurfaceType.Smooth | |
643 | }) | |
644 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
645 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
646 | }) | |
647 | Part = New("Part", Model, "Part", { | |
648 | BrickColor = BrickColor.new("Really black"), | |
649 | Material = Enum.Material.SmoothPlastic, | |
650 | FormFactor = Enum.FormFactor.Custom, | |
651 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
652 | CFrame = CFrame.new(-14.4300385, 2.54138398, -77.3468628, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
653 | Anchored = true, | |
654 | CanCollide = false, | |
655 | BottomSurface = Enum.SurfaceType.Smooth, | |
656 | TopSurface = Enum.SurfaceType.Smooth, | |
657 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
658 | }) | |
659 | Mesh = New("BlockMesh", Part, "Mesh", { | |
660 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
661 | }) | |
662 | Part = New("Part", Model, "Part", { | |
663 | Material = Enum.Material.SmoothPlastic, | |
664 | FormFactor = Enum.FormFactor.Custom, | |
665 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
666 | CFrame = CFrame.new(-15.0161581, 2.70039511, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
667 | Anchored = true, | |
668 | CanCollide = false, | |
669 | BottomSurface = Enum.SurfaceType.Smooth, | |
670 | TopSurface = Enum.SurfaceType.Smooth | |
671 | }) | |
672 | Mesh = New("BlockMesh", Part, "Mesh", { | |
673 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
674 | }) | |
675 | Part = New("Part", Model, "Part", { | |
676 | BrickColor = BrickColor.new("Lily white"), | |
677 | Material = Enum.Material.SmoothPlastic, | |
678 | FormFactor = Enum.FormFactor.Custom, | |
679 | Size = Vector3.new(1.10000002, 0.159999892, 0.99999994), | |
680 | CFrame = CFrame.new(-15.0029793, 4.39438772, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0), | |
681 | Anchored = true, | |
682 | CanCollide = false, | |
683 | BottomSurface = Enum.SurfaceType.Smooth, | |
684 | TopSurface = Enum.SurfaceType.Smooth, | |
685 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
686 | }) | |
687 | Part = New("Part", Model, "Part", { | |
688 | Material = Enum.Material.SmoothPlastic, | |
689 | FormFactor = Enum.FormFactor.Custom, | |
690 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
691 | CFrame = CFrame.new(-15.4412384, 2.74341011, -77.2649994, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
692 | Anchored = true, | |
693 | CanCollide = false, | |
694 | BottomSurface = Enum.SurfaceType.Smooth, | |
695 | TopSurface = Enum.SurfaceType.Smooth | |
696 | }) | |
697 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
698 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
699 | }) | |
700 | Part = New("Part", Model, "Part", { | |
701 | Material = Enum.Material.SmoothPlastic, | |
702 | FormFactor = Enum.FormFactor.Custom, | |
703 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
704 | CFrame = CFrame.new(-14.4698181, 2.70039511, -77.7830658, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
705 | Anchored = true, | |
706 | CanCollide = false, | |
707 | BottomSurface = Enum.SurfaceType.Smooth, | |
708 | TopSurface = Enum.SurfaceType.Smooth | |
709 | }) | |
710 | Mesh = New("BlockMesh", Part, "Mesh", { | |
711 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
712 | }) | |
713 | Part = New("Part", Model, "Part", { | |
714 | BrickColor = BrickColor.new("Really black"), | |
715 | Material = Enum.Material.SmoothPlastic, | |
716 | FormFactor = Enum.FormFactor.Custom, | |
717 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
718 | CFrame = CFrame.new(-15.3137436, 2.54138398, -78.0972214, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
719 | Anchored = true, | |
720 | CanCollide = false, | |
721 | BottomSurface = Enum.SurfaceType.Smooth, | |
722 | TopSurface = Enum.SurfaceType.Smooth, | |
723 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
724 | }) | |
725 | Mesh = New("BlockMesh", Part, "Mesh", { | |
726 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
727 | }) | |
728 | Part = New("Part", Model, "Part", { | |
729 | Material = Enum.Material.SmoothPlastic, | |
730 | FormFactor = Enum.FormFactor.Custom, | |
731 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
732 | CFrame = CFrame.new(-14.5614405, 2.41636896, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
733 | Anchored = true, | |
734 | CanCollide = false, | |
735 | BottomSurface = Enum.SurfaceType.Smooth, | |
736 | TopSurface = Enum.SurfaceType.Smooth | |
737 | }) | |
738 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
739 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
740 | }) | |
741 | Part = New("Part", Model, "Part", { | |
742 | BrickColor = BrickColor.new("Really black"), | |
743 | Material = Enum.Material.SmoothPlastic, | |
744 | FormFactor = Enum.FormFactor.Custom, | |
745 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
746 | CFrame = CFrame.new(-14.7046661, 2.54138398, -78.2002182, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
747 | Anchored = true, | |
748 | CanCollide = false, | |
749 | BottomSurface = Enum.SurfaceType.Smooth, | |
750 | TopSurface = Enum.SurfaceType.Smooth, | |
751 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
752 | }) | |
753 | Mesh = New("BlockMesh", Part, "Mesh", { | |
754 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
755 | }) | |
756 | Part = New("Part", Model, "Part", { | |
757 | Material = Enum.Material.SmoothPlastic, | |
758 | FormFactor = Enum.FormFactor.Custom, | |
759 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
760 | CFrame = CFrame.new(-14.4698181, 2.70039511, -77.4798431, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
761 | Anchored = true, | |
762 | CanCollide = false, | |
763 | BottomSurface = Enum.SurfaceType.Smooth, | |
764 | TopSurface = Enum.SurfaceType.Smooth | |
765 | }) | |
766 | Mesh = New("BlockMesh", Part, "Mesh", { | |
767 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
768 | }) | |
769 | Part = New("Part", Model, "Part", { | |
770 | BrickColor = maincolor, | |
771 | Material = Enum.Material.Neon, | |
772 | FormFactor = Enum.FormFactor.Custom, | |
773 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
774 | CFrame = CFrame.new(-14.7122498, 2.32805109, -78.1807938, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
775 | Anchored = true, | |
776 | CanCollide = false, | |
777 | BottomSurface = Enum.SurfaceType.Smooth, | |
778 | TopSurface = Enum.SurfaceType.Smooth, | |
779 | Color = Color3.new(1, 0, 0) | |
780 | }) | |
781 | Mesh = New("BlockMesh", Part, "Mesh", { | |
782 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
783 | }) | |
784 | Part = New("Part", Model, "Part", { | |
785 | BrickColor = maincolor, | |
786 | Material = Enum.Material.Neon, | |
787 | FormFactor = Enum.FormFactor.Custom, | |
788 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
789 | CFrame = CFrame.new(-14.7046738, 2.56596589, -78.3108215, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
790 | Anchored = true, | |
791 | CanCollide = false, | |
792 | BottomSurface = Enum.SurfaceType.Smooth, | |
793 | TopSurface = Enum.SurfaceType.Smooth, | |
794 | Color = Color3.new(1, 0, 0) | |
795 | }) | |
796 | Mesh = New("BlockMesh", Part, "Mesh", { | |
797 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
798 | }) | |
799 | Part = New("Part", Model, "Part", { | |
800 | Material = Enum.Material.SmoothPlastic, | |
801 | FormFactor = Enum.FormFactor.Custom, | |
802 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
803 | CFrame = CFrame.new(-14.3411398, 2.74341011, -78.2349701, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
804 | Anchored = true, | |
805 | CanCollide = false, | |
806 | BottomSurface = Enum.SurfaceType.Smooth, | |
807 | TopSurface = Enum.SurfaceType.Smooth | |
808 | }) | |
809 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
810 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
811 | }) | |
812 | Part = New("Part", Model, "Part", { | |
813 | BrickColor = maincolor, | |
814 | Material = Enum.Material.Neon, | |
815 | FormFactor = Enum.FormFactor.Custom, | |
816 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
817 | CFrame = CFrame.new(-14.4229956, 2.56596589, -78.3108215, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
818 | Anchored = true, | |
819 | CanCollide = false, | |
820 | BottomSurface = Enum.SurfaceType.Smooth, | |
821 | TopSurface = Enum.SurfaceType.Smooth, | |
822 | Color = Color3.new(1, 0, 0) | |
823 | }) | |
824 | Mesh = New("BlockMesh", Part, "Mesh", { | |
825 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
826 | }) | |
827 | Part = New("Part", Model, "Part", { | |
828 | BrickColor = BrickColor.new("Mid gray"), | |
829 | Material = Enum.Material.SmoothPlastic, | |
830 | FormFactor = Enum.FormFactor.Custom, | |
831 | Size = Vector3.new(0.239707053, 0.356012672, 0.327865243), | |
832 | CFrame = CFrame.new(-15.3217621, 2.53892994, -77.7649002, -2.80526753E-21, -3.37120127E-7, -0.99999994, 2.89002344E-7, 1, -3.37120156E-7, 0.99999994, -2.89002372E-7, 2.87535776E-21), | |
833 | Anchored = true, | |
834 | CanCollide = false, | |
835 | BottomSurface = Enum.SurfaceType.Smooth, | |
836 | TopSurface = Enum.SurfaceType.Smooth, | |
837 | Color = Color3.new(0.803922, 0.803922, 0.803922) | |
838 | }) | |
839 | Part = New("Part", Model, "Part", { | |
840 | Material = Enum.Material.SmoothPlastic, | |
841 | FormFactor = Enum.FormFactor.Custom, | |
842 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
843 | CFrame = CFrame.new(-14.3411398, 2.41636896, -78.2349701, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
844 | Anchored = true, | |
845 | CanCollide = false, | |
846 | BottomSurface = Enum.SurfaceType.Smooth, | |
847 | TopSurface = Enum.SurfaceType.Smooth | |
848 | }) | |
849 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
850 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
851 | }) | |
852 | Part = New("Part", Model, "Part", { | |
853 | BrickColor = BrickColor.new("Really black"), | |
854 | Material = Enum.Material.SmoothPlastic, | |
855 | FormFactor = Enum.FormFactor.Custom, | |
856 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
857 | CFrame = CFrame.new(-14.4749603, 2.54138398, -77.4805908, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
858 | Anchored = true, | |
859 | CanCollide = false, | |
860 | BottomSurface = Enum.SurfaceType.Smooth, | |
861 | TopSurface = Enum.SurfaceType.Smooth, | |
862 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
863 | }) | |
864 | Mesh = New("BlockMesh", Part, "Mesh", { | |
865 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
866 | }) | |
867 | Part = New("Part", Model, "Part", { | |
868 | Material = Enum.Material.SmoothPlastic, | |
869 | FormFactor = Enum.FormFactor.Custom, | |
870 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
871 | CFrame = CFrame.new(-14.3333502, 2.74341011, -77.6300049, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
872 | Anchored = true, | |
873 | CanCollide = false, | |
874 | BottomSurface = Enum.SurfaceType.Smooth, | |
875 | TopSurface = Enum.SurfaceType.Smooth | |
876 | }) | |
877 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
878 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
879 | }) | |
880 | Part = New("Part", Model, "Part", { | |
881 | BrickColor = maincolor, | |
882 | Material = Enum.Material.Neon, | |
883 | FormFactor = Enum.FormFactor.Custom, | |
884 | Size = Vector3.new(0.150000006, 0.1199999, 0.339999944), | |
885 | CFrame = CFrame.new(-15.584116, 4.23808193, -77.7635422, 3.09086161E-8, 0.707106709, 0.70710665, -3.09086161E-8, -0.707106709, 0.70710665, 0.99999994, -4.37113847E-8, 0), | |
886 | Anchored = true, | |
887 | CanCollide = false, | |
888 | BottomSurface = Enum.SurfaceType.Smooth, | |
889 | TopSurface = Enum.SurfaceType.Smooth, | |
890 | Color = Color3.new(1, 0, 0) | |
891 | }) | |
892 | Part = New("Part", Model, "Part", { | |
893 | BrickColor = BrickColor.new("Dark stone grey"), | |
894 | Material = Enum.Material.SmoothPlastic, | |
895 | FormFactor = Enum.FormFactor.Custom, | |
896 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
897 | CFrame = CFrame.new(-14.3411398, 2.59506392, -78.2349701, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
898 | Anchored = true, | |
899 | CanCollide = false, | |
900 | BottomSurface = Enum.SurfaceType.Smooth, | |
901 | TopSurface = Enum.SurfaceType.Smooth, | |
902 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
903 | }) | |
904 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
905 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
906 | }) | |
907 | Part = New("Part", Model, "Part", { | |
908 | BrickColor = BrickColor.new("Dark stone grey"), | |
909 | Material = Enum.Material.SmoothPlastic, | |
910 | FormFactor = Enum.FormFactor.Custom, | |
911 | Size = Vector3.new(1.08000004, 0.149999961, 0.100000046), | |
912 | CFrame = CFrame.new(-15.0022106, 3.1973877, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0), | |
913 | Anchored = true, | |
914 | CanCollide = false, | |
915 | BottomSurface = Enum.SurfaceType.Smooth, | |
916 | TopSurface = Enum.SurfaceType.Smooth, | |
917 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
918 | }) | |
919 | Part = New("Part", Model, "Part", { | |
920 | BrickColor = BrickColor.new("Dark stone grey"), | |
921 | Material = Enum.Material.SmoothPlastic, | |
922 | FormFactor = Enum.FormFactor.Custom, | |
923 | Size = Vector3.new(1.08000004, 0.349999964, 0.100000046), | |
924 | CFrame = CFrame.new(-14.8763285, 3.00079513, -77.7635345, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
925 | Anchored = true, | |
926 | CanCollide = false, | |
927 | BottomSurface = Enum.SurfaceType.Smooth, | |
928 | TopSurface = Enum.SurfaceType.Smooth, | |
929 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
930 | }) | |
931 | Part = New("Part", Model, "Part", { | |
932 | Material = Enum.Material.SmoothPlastic, | |
933 | FormFactor = Enum.FormFactor.Custom, | |
934 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
935 | CFrame = CFrame.new(-15.318634, 2.42498994, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
936 | Anchored = true, | |
937 | CanCollide = false, | |
938 | BottomSurface = Enum.SurfaceType.Smooth, | |
939 | TopSurface = Enum.SurfaceType.Smooth | |
940 | }) | |
941 | Mesh = New("BlockMesh", Part, "Mesh", { | |
942 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
943 | }) | |
944 | Part = New("Part", Model, "Part", { | |
945 | BrickColor = BrickColor.new("Dark stone grey"), | |
946 | Material = Enum.Material.SmoothPlastic, | |
947 | FormFactor = Enum.FormFactor.Custom, | |
948 | Size = Vector3.new(1.08000004, 0.0500000007, 0.300000042), | |
949 | CFrame = CFrame.new(-15.0964251, 3.27579474, -77.7635422, -2.18556995E-8, -0.500000119, 0.86602515, -3.78551661E-8, -0.866025269, -0.50000006, 0.99999994, -4.37113847E-8, 0), | |
950 | Anchored = true, | |
951 | CanCollide = false, | |
952 | BottomSurface = Enum.SurfaceType.Smooth, | |
953 | TopSurface = Enum.SurfaceType.Smooth, | |
954 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
955 | }) | |
956 | Part = New("Part", Model, "Part", { | |
957 | BrickColor = BrickColor.new("Lily white"), | |
958 | Material = Enum.Material.SmoothPlastic, | |
959 | FormFactor = Enum.FormFactor.Custom, | |
960 | Size = Vector3.new(1.10000002, 0.169999897, 0.339999944), | |
961 | CFrame = CFrame.new(-15.5664377, 4.16182661, -77.7635422, 3.09086161E-8, 0.707106709, 0.70710665, -3.09086161E-8, -0.707106709, 0.70710665, 0.99999994, -4.37113847E-8, 0), | |
962 | Anchored = true, | |
963 | CanCollide = false, | |
964 | BottomSurface = Enum.SurfaceType.Smooth, | |
965 | TopSurface = Enum.SurfaceType.Smooth, | |
966 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
967 | }) | |
968 | Part = New("Part", Model, "Part", { | |
969 | BrickColor = BrickColor.new("Lily white"), | |
970 | Material = Enum.Material.SmoothPlastic, | |
971 | FormFactor = Enum.FormFactor.Custom, | |
972 | Size = Vector3.new(1.10000002, 0.349999905, 0.100000009), | |
973 | CFrame = CFrame.new(-15.3763304, 3.00079513, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
974 | Anchored = true, | |
975 | CanCollide = false, | |
976 | BottomSurface = Enum.SurfaceType.Smooth, | |
977 | TopSurface = Enum.SurfaceType.Smooth, | |
978 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
979 | }) | |
980 | Part = New("Part", Model, "Part", { | |
981 | BrickColor = BrickColor.new("Lily white"), | |
982 | Material = Enum.Material.SmoothPlastic, | |
983 | FormFactor = Enum.FormFactor.Custom, | |
984 | Size = Vector3.new(1.10000002, 0.200000063, 1.10000002), | |
985 | CFrame = CFrame.new(-14.8763256, 2.37579489, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
986 | Anchored = true, | |
987 | CanCollide = false, | |
988 | BottomSurface = Enum.SurfaceType.Smooth, | |
989 | TopSurface = Enum.SurfaceType.Smooth, | |
990 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
991 | }) | |
992 | Part = New("Part", Model, "Part", { | |
993 | Material = Enum.Material.SmoothPlastic, | |
994 | FormFactor = Enum.FormFactor.Custom, | |
995 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
996 | CFrame = CFrame.new(-14.4698181, 2.42498994, -78.0765381, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
997 | Anchored = true, | |
998 | CanCollide = false, | |
999 | BottomSurface = Enum.SurfaceType.Smooth, | |
1000 | TopSurface = Enum.SurfaceType.Smooth | |
1001 | }) | |
1002 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1003 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1004 | }) | |
1005 | Part = New("Part", Model, "Part", { | |
1006 | BrickColor = BrickColor.new("Dark stone grey"), | |
1007 | Material = Enum.Material.SmoothPlastic, | |
1008 | FormFactor = Enum.FormFactor.Custom, | |
1009 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1010 | CFrame = CFrame.new(-14.3333502, 2.59506392, -77.6300049, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1011 | Anchored = true, | |
1012 | CanCollide = false, | |
1013 | BottomSurface = Enum.SurfaceType.Smooth, | |
1014 | TopSurface = Enum.SurfaceType.Smooth, | |
1015 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1016 | }) | |
1017 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1018 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
1019 | }) | |
1020 | Part = New("Part", Model, "Part", { | |
1021 | Material = Enum.Material.SmoothPlastic, | |
1022 | FormFactor = Enum.FormFactor.Custom, | |
1023 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1024 | CFrame = CFrame.new(-14.3333502, 2.74341011, -77.9314957, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1025 | Anchored = true, | |
1026 | CanCollide = false, | |
1027 | BottomSurface = Enum.SurfaceType.Smooth, | |
1028 | TopSurface = Enum.SurfaceType.Smooth | |
1029 | }) | |
1030 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1031 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
1032 | }) | |
1033 | Part = New("Part", Model, "Part", { | |
1034 | BrickColor = BrickColor.new("Lily white"), | |
1035 | Material = Enum.Material.SmoothPlastic, | |
1036 | FormFactor = Enum.FormFactor.Custom, | |
1037 | Size = Vector3.new(1.10000002, 0.819999993, 0.170000002), | |
1038 | CFrame = CFrame.new(-14.7231722, 3.88893676, -77.7635422, -1.13133209E-8, -0.258818597, 0.965925694, -4.22219593E-8, -0.965925813, -0.258818567, 0.99999994, -4.37113847E-8, 0), | |
1039 | Anchored = true, | |
1040 | CanCollide = false, | |
1041 | BottomSurface = Enum.SurfaceType.Smooth, | |
1042 | TopSurface = Enum.SurfaceType.Smooth, | |
1043 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1044 | }) | |
1045 | Part = New("Part", Model, "Part", { | |
1046 | Material = Enum.Material.SmoothPlastic, | |
1047 | FormFactor = Enum.FormFactor.Custom, | |
1048 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1049 | CFrame = CFrame.new(-15.1691818, 2.41636896, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
1050 | Anchored = true, | |
1051 | CanCollide = false, | |
1052 | BottomSurface = Enum.SurfaceType.Smooth, | |
1053 | TopSurface = Enum.SurfaceType.Smooth | |
1054 | }) | |
1055 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1056 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
1057 | }) | |
1058 | Part = New("Part", Model, "Part", { | |
1059 | Material = Enum.Material.SmoothPlastic, | |
1060 | FormFactor = Enum.FormFactor.Custom, | |
1061 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1062 | CFrame = CFrame.new(-15.4412384, 2.74341011, -77.5747604, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1063 | Anchored = true, | |
1064 | CanCollide = false, | |
1065 | BottomSurface = Enum.SurfaceType.Smooth, | |
1066 | TopSurface = Enum.SurfaceType.Smooth | |
1067 | }) | |
1068 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1069 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
1070 | }) | |
1071 | Part = New("Part", Model, "Part", { | |
1072 | Material = Enum.Material.SmoothPlastic, | |
1073 | FormFactor = Enum.FormFactor.Custom, | |
1074 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1075 | CFrame = CFrame.new(-14.7036819, 2.42498994, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1076 | Anchored = true, | |
1077 | CanCollide = false, | |
1078 | BottomSurface = Enum.SurfaceType.Smooth, | |
1079 | TopSurface = Enum.SurfaceType.Smooth | |
1080 | }) | |
1081 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1082 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1083 | }) | |
1084 | Part = New("Part", Model, "Part", { | |
1085 | Material = Enum.Material.SmoothPlastic, | |
1086 | FormFactor = Enum.FormFactor.Custom, | |
1087 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1088 | CFrame = CFrame.new(-15.1691818, 2.74341011, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
1089 | Anchored = true, | |
1090 | CanCollide = false, | |
1091 | BottomSurface = Enum.SurfaceType.Smooth, | |
1092 | TopSurface = Enum.SurfaceType.Smooth | |
1093 | }) | |
1094 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1095 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
1096 | }) | |
1097 | Part = New("Part", Model, "Part", { | |
1098 | BrickColor = maincolor, | |
1099 | Material = Enum.Material.Neon, | |
1100 | FormFactor = Enum.FormFactor.Custom, | |
1101 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1102 | CFrame = CFrame.new(-14.3643541, 2.56596589, -78.0775299, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1103 | Anchored = true, | |
1104 | CanCollide = false, | |
1105 | BottomSurface = Enum.SurfaceType.Smooth, | |
1106 | TopSurface = Enum.SurfaceType.Smooth, | |
1107 | Color = Color3.new(1, 0, 0) | |
1108 | }) | |
1109 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1110 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
1111 | }) | |
1112 | Part = New("Part", Model, "Part", { | |
1113 | Material = Enum.Material.SmoothPlastic, | |
1114 | FormFactor = Enum.FormFactor.Custom, | |
1115 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1116 | CFrame = CFrame.new(-15.0161581, 2.42498994, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1117 | Anchored = true, | |
1118 | CanCollide = false, | |
1119 | BottomSurface = Enum.SurfaceType.Smooth, | |
1120 | TopSurface = Enum.SurfaceType.Smooth | |
1121 | }) | |
1122 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1123 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1124 | }) | |
1125 | Part = New("Part", Model, "Part", { | |
1126 | BrickColor = BrickColor.new("Lily white"), | |
1127 | Material = Enum.Material.SmoothPlastic, | |
1128 | FormFactor = Enum.FormFactor.Custom, | |
1129 | Size = Vector3.new(1.10000002, 0.479999989, 0.25999999), | |
1130 | CFrame = CFrame.new(-14.8763304, 3.39079523, -77.7635422, 8.8817842E-15, 2.08616257E-7, 0.999999762, -4.37113847E-8, -0.999999881, 2.08616257E-7, 0.99999994, -4.37113847E-8, 0), | |
1131 | Anchored = true, | |
1132 | CanCollide = false, | |
1133 | BottomSurface = Enum.SurfaceType.Smooth, | |
1134 | TopSurface = Enum.SurfaceType.Smooth, | |
1135 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1136 | }) | |
1137 | Part = New("Part", Model, "Part", { | |
1138 | BrickColor = BrickColor.new("Dark stone grey"), | |
1139 | Material = Enum.Material.SmoothPlastic, | |
1140 | FormFactor = Enum.FormFactor.Custom, | |
1141 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1142 | CFrame = CFrame.new(-14.8513403, 2.59506392, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1143 | Anchored = true, | |
1144 | CanCollide = false, | |
1145 | BottomSurface = Enum.SurfaceType.Smooth, | |
1146 | TopSurface = Enum.SurfaceType.Smooth, | |
1147 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1148 | }) | |
1149 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1150 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
1151 | }) | |
1152 | Part = New("Part", Model, "Part", { | |
1153 | BrickColor = BrickColor.new("Lily white"), | |
1154 | Material = Enum.Material.SmoothPlastic, | |
1155 | FormFactor = Enum.FormFactor.Custom, | |
1156 | Size = Vector3.new(1.10000002, 0.199999884, 1.30000007), | |
1157 | CFrame = CFrame.new(-15.0405703, 4.20417261, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0), | |
1158 | Anchored = true, | |
1159 | CanCollide = false, | |
1160 | BottomSurface = Enum.SurfaceType.Smooth, | |
1161 | TopSurface = Enum.SurfaceType.Smooth, | |
1162 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1163 | }) | |
1164 | Part = New("Part", Model, "Part", { | |
1165 | BrickColor = BrickColor.new("Really black"), | |
1166 | Material = Enum.Material.SmoothPlastic, | |
1167 | FormFactor = Enum.FormFactor.Custom, | |
1168 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1169 | CFrame = CFrame.new(-15.0171423, 2.54138398, -78.2002182, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1170 | Anchored = true, | |
1171 | CanCollide = false, | |
1172 | BottomSurface = Enum.SurfaceType.Smooth, | |
1173 | TopSurface = Enum.SurfaceType.Smooth, | |
1174 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1175 | }) | |
1176 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1177 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
1178 | }) | |
1179 | Part = New("Part", Model, "Part", { | |
1180 | Material = Enum.Material.SmoothPlastic, | |
1181 | FormFactor = Enum.FormFactor.Custom, | |
1182 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1183 | CFrame = CFrame.new(-15.4412384, 2.41636896, -78.2658386, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1184 | Anchored = true, | |
1185 | CanCollide = false, | |
1186 | BottomSurface = Enum.SurfaceType.Smooth, | |
1187 | TopSurface = Enum.SurfaceType.Smooth | |
1188 | }) | |
1189 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1190 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
1191 | }) | |
1192 | Part = New("Part", Model, "Part", { | |
1193 | Material = Enum.Material.SmoothPlastic, | |
1194 | FormFactor = Enum.FormFactor.Custom, | |
1195 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1196 | CFrame = CFrame.new(-14.5560598, 2.74341011, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1197 | Anchored = true, | |
1198 | CanCollide = false, | |
1199 | BottomSurface = Enum.SurfaceType.Smooth, | |
1200 | TopSurface = Enum.SurfaceType.Smooth | |
1201 | }) | |
1202 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1203 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
1204 | }) | |
1205 | Part = New("Part", Model, "Part", { | |
1206 | BrickColor = BrickColor.new("Dark stone grey"), | |
1207 | Material = Enum.Material.SmoothPlastic, | |
1208 | FormFactor = Enum.FormFactor.Custom, | |
1209 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1210 | CFrame = CFrame.new(-15.4412384, 2.59506392, -77.9560776, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1211 | Anchored = true, | |
1212 | CanCollide = false, | |
1213 | BottomSurface = Enum.SurfaceType.Smooth, | |
1214 | TopSurface = Enum.SurfaceType.Smooth, | |
1215 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1216 | }) | |
1217 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1218 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
1219 | }) | |
1220 | Part = New("Part", Model, "Part", { | |
1221 | BrickColor = BrickColor.new("Lily white"), | |
1222 | Material = Enum.Material.SmoothPlastic, | |
1223 | FormFactor = Enum.FormFactor.Custom, | |
1224 | Size = Vector3.new(0.25, 0.449999988, 0.300000012), | |
1225 | CFrame = CFrame.new(-15.3963308, 3.55079508, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0), | |
1226 | Anchored = true, | |
1227 | CanCollide = false, | |
1228 | BottomSurface = Enum.SurfaceType.Smooth, | |
1229 | TopSurface = Enum.SurfaceType.Smooth, | |
1230 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1231 | }) | |
1232 | Part = New("Part", Model, "Part", { | |
1233 | Material = Enum.Material.SmoothPlastic, | |
1234 | FormFactor = Enum.FormFactor.Custom, | |
1235 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1236 | CFrame = CFrame.new(-14.7090759, 2.42498994, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1237 | Anchored = true, | |
1238 | CanCollide = false, | |
1239 | BottomSurface = Enum.SurfaceType.Smooth, | |
1240 | TopSurface = Enum.SurfaceType.Smooth | |
1241 | }) | |
1242 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1243 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1244 | }) | |
1245 | Part = New("Part", Model, "Part", { | |
1246 | Material = Enum.Material.SmoothPlastic, | |
1247 | FormFactor = Enum.FormFactor.Custom, | |
1248 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1249 | CFrame = CFrame.new(-14.5560598, 2.41636896, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1250 | Anchored = true, | |
1251 | CanCollide = false, | |
1252 | BottomSurface = Enum.SurfaceType.Smooth, | |
1253 | TopSurface = Enum.SurfaceType.Smooth | |
1254 | }) | |
1255 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1256 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
1257 | }) | |
1258 | Part = New("Part", Model, "Part", { | |
1259 | Material = Enum.Material.SmoothPlastic, | |
1260 | FormFactor = Enum.FormFactor.Custom, | |
1261 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1262 | CFrame = CFrame.new(-15.4412384, 2.74341011, -77.9560776, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1263 | Anchored = true, | |
1264 | CanCollide = false, | |
1265 | BottomSurface = Enum.SurfaceType.Smooth, | |
1266 | TopSurface = Enum.SurfaceType.Smooth | |
1267 | }) | |
1268 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1269 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
1270 | }) | |
1271 | Part = New("Part", Model, "Part", { | |
1272 | Material = Enum.Material.SmoothPlastic, | |
1273 | FormFactor = Enum.FormFactor.Custom, | |
1274 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1275 | CFrame = CFrame.new(-14.4219961, 2.42498994, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1276 | Anchored = true, | |
1277 | CanCollide = false, | |
1278 | BottomSurface = Enum.SurfaceType.Smooth, | |
1279 | TopSurface = Enum.SurfaceType.Smooth | |
1280 | }) | |
1281 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1282 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1283 | }) | |
1284 | Part = New("Part", Model, "Part", { | |
1285 | BrickColor = BrickColor.new("Lily white"), | |
1286 | Material = Enum.Material.SmoothPlastic, | |
1287 | FormFactor = Enum.FormFactor.Custom, | |
1288 | Size = Vector3.new(0.100000001, 0.169999897, 0.389999956), | |
1289 | CFrame = CFrame.new(-15.584115, 4.24414873, -77.7635422, 3.09086161E-8, 0.707106709, 0.70710665, -3.09086161E-8, -0.707106709, 0.70710665, 0.99999994, -4.37113847E-8, 0), | |
1290 | Anchored = true, | |
1291 | CanCollide = false, | |
1292 | BottomSurface = Enum.SurfaceType.Smooth, | |
1293 | TopSurface = Enum.SurfaceType.Smooth, | |
1294 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1295 | }) | |
1296 | Part = New("Part", Model, "Part", { | |
1297 | BrickColor = maincolor, | |
1298 | Material = Enum.Material.Neon, | |
1299 | FormFactor = Enum.FormFactor.Custom, | |
1300 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1301 | CFrame = CFrame.new(-15.4316874, 2.58891606, -77.7711258, 0, 0, -0.99999994, 0, 1, 0, 0.99999994, 0, 0), | |
1302 | Anchored = true, | |
1303 | CanCollide = false, | |
1304 | BottomSurface = Enum.SurfaceType.Smooth, | |
1305 | TopSurface = Enum.SurfaceType.Smooth, | |
1306 | Color = Color3.new(1, 0, 0) | |
1307 | }) | |
1308 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1309 | Scale = Vector3.new(0.194377586, 0.630986929, 0.435548395) | |
1310 | }) | |
1311 | Part = New("Part", Model, "Part", { | |
1312 | Material = Enum.Material.SmoothPlastic, | |
1313 | FormFactor = Enum.FormFactor.Custom, | |
1314 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1315 | CFrame = CFrame.new(-15.0143118, 2.70039511, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1316 | Anchored = true, | |
1317 | CanCollide = false, | |
1318 | BottomSurface = Enum.SurfaceType.Smooth, | |
1319 | TopSurface = Enum.SurfaceType.Smooth | |
1320 | }) | |
1321 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1322 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1323 | }) | |
1324 | Part = New("Part", Model, "Part", { | |
1325 | Material = Enum.Material.SmoothPlastic, | |
1326 | FormFactor = Enum.FormFactor.Custom, | |
1327 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1328 | CFrame = CFrame.new(-14.4698181, 2.42498994, -77.7830658, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1329 | Anchored = true, | |
1330 | CanCollide = false, | |
1331 | BottomSurface = Enum.SurfaceType.Smooth, | |
1332 | TopSurface = Enum.SurfaceType.Smooth | |
1333 | }) | |
1334 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1335 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1336 | }) | |
1337 | Part = New("Part", Model, "Part", { | |
1338 | Material = Enum.Material.SmoothPlastic, | |
1339 | FormFactor = Enum.FormFactor.Custom, | |
1340 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1341 | CFrame = CFrame.new(-15.3188915, 2.42498994, -77.4261551, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
1342 | Anchored = true, | |
1343 | CanCollide = false, | |
1344 | BottomSurface = Enum.SurfaceType.Smooth, | |
1345 | TopSurface = Enum.SurfaceType.Smooth | |
1346 | }) | |
1347 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1348 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1349 | }) | |
1350 | Part = New("Part", Model, "Part", { | |
1351 | Material = Enum.Material.SmoothPlastic, | |
1352 | FormFactor = Enum.FormFactor.Custom, | |
1353 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1354 | CFrame = CFrame.new(-15.4412384, 2.41636896, -77.5747604, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1355 | Anchored = true, | |
1356 | CanCollide = false, | |
1357 | BottomSurface = Enum.SurfaceType.Smooth, | |
1358 | TopSurface = Enum.SurfaceType.Smooth | |
1359 | }) | |
1360 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1361 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
1362 | }) | |
1363 | Part = New("Part", Model, "Part", { | |
1364 | Material = Enum.Material.SmoothPlastic, | |
1365 | FormFactor = Enum.FormFactor.Custom, | |
1366 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1367 | CFrame = CFrame.new(-14.4698181, 2.42498994, -77.4798431, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1368 | Anchored = true, | |
1369 | CanCollide = false, | |
1370 | BottomSurface = Enum.SurfaceType.Smooth, | |
1371 | TopSurface = Enum.SurfaceType.Smooth | |
1372 | }) | |
1373 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1374 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1375 | }) | |
1376 | Part = New("Part", Model, "Part", { | |
1377 | BrickColor = maincolor, | |
1378 | Material = Enum.Material.Neon, | |
1379 | FormFactor = Enum.FormFactor.Custom, | |
1380 | Size = Vector3.new(0.150000006, 0.209999889, 0.99999994), | |
1381 | CFrame = CFrame.new(-14.9994497, 4.42768335, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0), | |
1382 | Anchored = true, | |
1383 | CanCollide = false, | |
1384 | BottomSurface = Enum.SurfaceType.Smooth, | |
1385 | TopSurface = Enum.SurfaceType.Smooth, | |
1386 | Color = Color3.new(1, 0, 0) | |
1387 | }) | |
1388 | Part = New("Part", Model, "Part", { | |
1389 | BrickColor = BrickColor.new("Lily white"), | |
1390 | Material = Enum.Material.SmoothPlastic, | |
1391 | FormFactor = Enum.FormFactor.Custom, | |
1392 | Size = Vector3.new(1.10000002, 0.100000009, 1.10000002), | |
1393 | CFrame = CFrame.new(-14.8763256, 2.77579546, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
1394 | Anchored = true, | |
1395 | CanCollide = false, | |
1396 | BottomSurface = Enum.SurfaceType.Smooth, | |
1397 | TopSurface = Enum.SurfaceType.Smooth, | |
1398 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1399 | }) | |
1400 | Part = New("Part", Model, "Part", { | |
1401 | BrickColor = BrickColor.new("Dark stone grey"), | |
1402 | Material = Enum.Material.SmoothPlastic, | |
1403 | FormFactor = Enum.FormFactor.Custom, | |
1404 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1405 | CFrame = CFrame.new(-14.3547363, 2.59506392, -77.3155441, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1406 | Anchored = true, | |
1407 | CanCollide = false, | |
1408 | BottomSurface = Enum.SurfaceType.Smooth, | |
1409 | TopSurface = Enum.SurfaceType.Smooth, | |
1410 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1411 | }) | |
1412 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1413 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
1414 | }) | |
1415 | Part = New("Part", Model, "Part", { | |
1416 | BrickColor = BrickColor.new("Lily white"), | |
1417 | Material = Enum.Material.SmoothPlastic, | |
1418 | FormFactor = Enum.FormFactor.Custom, | |
1419 | Size = Vector3.new(0.100000001, 0.159999892, 1.00999999), | |
1420 | CFrame = CFrame.new(-14.9978085, 4.49309349, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0), | |
1421 | Anchored = true, | |
1422 | CanCollide = false, | |
1423 | BottomSurface = Enum.SurfaceType.Smooth, | |
1424 | TopSurface = Enum.SurfaceType.Smooth, | |
1425 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1426 | }) | |
1427 | Part = New("Part", Model, "Part", { | |
1428 | BrickColor = maincolor, | |
1429 | Material = Enum.Material.Neon, | |
1430 | FormFactor = Enum.FormFactor.Custom, | |
1431 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1432 | CFrame = CFrame.new(-14.7080917, 2.56596589, -77.2362442, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1433 | Anchored = true, | |
1434 | CanCollide = false, | |
1435 | BottomSurface = Enum.SurfaceType.Smooth, | |
1436 | TopSurface = Enum.SurfaceType.Smooth, | |
1437 | Color = Color3.new(1, 0, 0) | |
1438 | }) | |
1439 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1440 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
1441 | }) | |
1442 | Part = New("Part", Model, "Part", { | |
1443 | BrickColor = BrickColor.new("Really black"), | |
1444 | Material = Enum.Material.SmoothPlastic, | |
1445 | FormFactor = Enum.FormFactor.Custom, | |
1446 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1447 | CFrame = CFrame.new(-15.3223877, 2.54138398, -78.2002182, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1448 | Anchored = true, | |
1449 | CanCollide = false, | |
1450 | BottomSurface = Enum.SurfaceType.Smooth, | |
1451 | TopSurface = Enum.SurfaceType.Smooth, | |
1452 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1453 | }) | |
1454 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1455 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
1456 | }) | |
1457 | SwHandle = New("Part", Model, "Handle", { | |
1458 | BrickColor = BrickColor.new("Really black"), | |
1459 | Material = Enum.Material.SmoothPlastic, | |
1460 | FormFactor = Enum.FormFactor.Custom, | |
1461 | Size = Vector3.new(1.04999995, 2.04999995, 1.04999995), | |
1462 | CFrame = CFrame.new(-14.8763285, 3.25079489, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
1463 | Anchored = true, | |
1464 | CanCollide = false, | |
1465 | BottomSurface = Enum.SurfaceType.Smooth, | |
1466 | TopSurface = Enum.SurfaceType.Smooth, | |
1467 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1468 | }) | |
1469 | Part = New("Part", Model, "Part", { | |
1470 | BrickColor = BrickColor.new("Dark stone grey"), | |
1471 | Material = Enum.Material.SmoothPlastic, | |
1472 | FormFactor = Enum.FormFactor.Custom, | |
1473 | Size = Vector3.new(1.08000004, 0.549999952, 0.300000042), | |
1474 | CFrame = CFrame.new(-14.8763285, 3.40079522, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
1475 | Anchored = true, | |
1476 | CanCollide = false, | |
1477 | BottomSurface = Enum.SurfaceType.Smooth, | |
1478 | TopSurface = Enum.SurfaceType.Smooth, | |
1479 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1480 | }) | |
1481 | Part = New("Part", Model, "Part", { | |
1482 | BrickColor = BrickColor.new("Dark stone grey"), | |
1483 | Material = Enum.Material.SmoothPlastic, | |
1484 | FormFactor = Enum.FormFactor.Custom, | |
1485 | Size = Vector3.new(1.08000004, 0.25, 0.800000012), | |
1486 | CFrame = CFrame.new(-15.0897255, 3.78739715, -77.7635422, -2.18556995E-8, -0.500000119, 0.86602515, -3.78551661E-8, -0.866025269, -0.50000006, 0.99999994, -4.37113847E-8, 0), | |
1487 | Anchored = true, | |
1488 | CanCollide = false, | |
1489 | BottomSurface = Enum.SurfaceType.Smooth, | |
1490 | TopSurface = Enum.SurfaceType.Smooth, | |
1491 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1492 | }) | |
1493 | Part = New("Part", Model, "Part", { | |
1494 | Material = Enum.Material.SmoothPlastic, | |
1495 | FormFactor = Enum.FormFactor.Custom, | |
1496 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1497 | CFrame = CFrame.new(-14.7036819, 2.70039511, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1498 | Anchored = true, | |
1499 | CanCollide = false, | |
1500 | BottomSurface = Enum.SurfaceType.Smooth, | |
1501 | TopSurface = Enum.SurfaceType.Smooth | |
1502 | }) | |
1503 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1504 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1505 | }) | |
1506 | Part = New("Part", Model, "Part", { | |
1507 | BrickColor = BrickColor.new("Dark stone grey"), | |
1508 | Material = Enum.Material.SmoothPlastic, | |
1509 | FormFactor = Enum.FormFactor.Custom, | |
1510 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1511 | CFrame = CFrame.new(-14.8567038, 2.59506392, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
1512 | Anchored = true, | |
1513 | CanCollide = false, | |
1514 | BottomSurface = Enum.SurfaceType.Smooth, | |
1515 | TopSurface = Enum.SurfaceType.Smooth, | |
1516 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1517 | }) | |
1518 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1519 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
1520 | }) | |
1521 | Part = New("Part", Model, "Part", { | |
1522 | BrickColor = BrickColor.new("Dark stone grey"), | |
1523 | Material = Enum.Material.SmoothPlastic, | |
1524 | FormFactor = Enum.FormFactor.Custom, | |
1525 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1526 | CFrame = CFrame.new(-14.3333502, 2.59506392, -77.9314957, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1527 | Anchored = true, | |
1528 | CanCollide = false, | |
1529 | BottomSurface = Enum.SurfaceType.Smooth, | |
1530 | TopSurface = Enum.SurfaceType.Smooth, | |
1531 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1532 | }) | |
1533 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1534 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
1535 | }) | |
1536 | Part = New("Part", Model, "Part", { | |
1537 | Material = Enum.Material.SmoothPlastic, | |
1538 | FormFactor = Enum.FormFactor.Custom, | |
1539 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1540 | CFrame = CFrame.new(-14.8513403, 2.74341011, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1541 | Anchored = true, | |
1542 | CanCollide = false, | |
1543 | BottomSurface = Enum.SurfaceType.Smooth, | |
1544 | TopSurface = Enum.SurfaceType.Smooth | |
1545 | }) | |
1546 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1547 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
1548 | }) | |
1549 | Part = New("Part", Model, "Part", { | |
1550 | BrickColor = maincolor, | |
1551 | Material = Enum.Material.Neon, | |
1552 | FormFactor = Enum.FormFactor.Custom, | |
1553 | Size = Vector3.new(0.300000012, 0.5, 0.300000012), | |
1554 | CFrame = CFrame.new(-15.3863306, 3.55079508, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0), | |
1555 | Anchored = true, | |
1556 | CanCollide = false, | |
1557 | BottomSurface = Enum.SurfaceType.Smooth, | |
1558 | TopSurface = Enum.SurfaceType.Smooth, | |
1559 | Color = Color3.new(1, 0, 0) | |
1560 | }) | |
1561 | Part = New("Part", Model, "Part", { | |
1562 | BrickColor = BrickColor.new("Dark stone grey"), | |
1563 | Material = Enum.Material.SmoothPlastic, | |
1564 | FormFactor = Enum.FormFactor.Custom, | |
1565 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1566 | CFrame = CFrame.new(-15.4412384, 2.59506392, -77.5747604, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1567 | Anchored = true, | |
1568 | CanCollide = false, | |
1569 | BottomSurface = Enum.SurfaceType.Smooth, | |
1570 | TopSurface = Enum.SurfaceType.Smooth, | |
1571 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1572 | }) | |
1573 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1574 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
1575 | }) | |
1576 | Part = New("Part", Model, "Part", { | |
1577 | Material = Enum.Material.SmoothPlastic, | |
1578 | FormFactor = Enum.FormFactor.Custom, | |
1579 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1580 | CFrame = CFrame.new(-14.3333502, 2.41636896, -77.9314957, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1581 | Anchored = true, | |
1582 | CanCollide = false, | |
1583 | BottomSurface = Enum.SurfaceType.Smooth, | |
1584 | TopSurface = Enum.SurfaceType.Smooth | |
1585 | }) | |
1586 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1587 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
1588 | }) | |
1589 | Part = New("Part", Model, "Part", { | |
1590 | Material = Enum.Material.SmoothPlastic, | |
1591 | FormFactor = Enum.FormFactor.Custom, | |
1592 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1593 | CFrame = CFrame.new(-14.8513403, 2.41636896, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1594 | Anchored = true, | |
1595 | CanCollide = false, | |
1596 | BottomSurface = Enum.SurfaceType.Smooth, | |
1597 | TopSurface = Enum.SurfaceType.Smooth | |
1598 | }) | |
1599 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1600 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
1601 | }) | |
1602 | Part = New("Part", Model, "Part", { | |
1603 | BrickColor = BrickColor.new("Dark stone grey"), | |
1604 | Material = Enum.Material.SmoothPlastic, | |
1605 | FormFactor = Enum.FormFactor.Custom, | |
1606 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1607 | CFrame = CFrame.new(-15.4412384, 2.59506392, -78.2658386, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1608 | Anchored = true, | |
1609 | CanCollide = false, | |
1610 | BottomSurface = Enum.SurfaceType.Smooth, | |
1611 | TopSurface = Enum.SurfaceType.Smooth, | |
1612 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1613 | }) | |
1614 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1615 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
1616 | }) | |
1617 | Part = New("Part", Model, "Part", { | |
1618 | BrickColor = maincolor, | |
1619 | Material = Enum.Material.Neon, | |
1620 | FormFactor = Enum.FormFactor.Custom, | |
1621 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1622 | CFrame = CFrame.new(-15.0133123, 2.56596589, -77.2362442, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1623 | Anchored = true, | |
1624 | CanCollide = false, | |
1625 | BottomSurface = Enum.SurfaceType.Smooth, | |
1626 | TopSurface = Enum.SurfaceType.Smooth, | |
1627 | Color = Color3.new(1, 0, 0) | |
1628 | }) | |
1629 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1630 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
1631 | }) | |
1632 | Part = New("Part", Model, "Part", { | |
1633 | Material = Enum.Material.SmoothPlastic, | |
1634 | FormFactor = Enum.FormFactor.Custom, | |
1635 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1636 | CFrame = CFrame.new(-15.3188915, 2.70039511, -78.0982056, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
1637 | Anchored = true, | |
1638 | CanCollide = false, | |
1639 | BottomSurface = Enum.SurfaceType.Smooth, | |
1640 | TopSurface = Enum.SurfaceType.Smooth | |
1641 | }) | |
1642 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1643 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1644 | }) | |
1645 | Part = New("Part", Model, "Part", { | |
1646 | BrickColor = BrickColor.new("Really black"), | |
1647 | Material = Enum.Material.SmoothPlastic, | |
1648 | FormFactor = Enum.FormFactor.Custom, | |
1649 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1650 | CFrame = CFrame.new(-14.4229803, 2.54138398, -78.2002182, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1651 | Anchored = true, | |
1652 | CanCollide = false, | |
1653 | BottomSurface = Enum.SurfaceType.Smooth, | |
1654 | TopSurface = Enum.SurfaceType.Smooth, | |
1655 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1656 | }) | |
1657 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1658 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
1659 | }) | |
1660 | Part = New("Part", Model, "Part", { | |
1661 | Material = Enum.Material.SmoothPlastic, | |
1662 | FormFactor = Enum.FormFactor.Custom, | |
1663 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1664 | CFrame = CFrame.new(-14.4698181, 2.70039511, -78.0765381, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1665 | Anchored = true, | |
1666 | CanCollide = false, | |
1667 | BottomSurface = Enum.SurfaceType.Smooth, | |
1668 | TopSurface = Enum.SurfaceType.Smooth | |
1669 | }) | |
1670 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1671 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1672 | }) | |
1673 | Part = New("Part", Model, "Part", { | |
1674 | Material = Enum.Material.SmoothPlastic, | |
1675 | FormFactor = Enum.FormFactor.Custom, | |
1676 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1677 | CFrame = CFrame.new(-14.431016, 2.70039511, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1678 | Anchored = true, | |
1679 | CanCollide = false, | |
1680 | BottomSurface = Enum.SurfaceType.Smooth, | |
1681 | TopSurface = Enum.SurfaceType.Smooth | |
1682 | }) | |
1683 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1684 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1685 | }) | |
1686 | Part = New("Part", Model, "Part", { | |
1687 | Material = Enum.Material.SmoothPlastic, | |
1688 | FormFactor = Enum.FormFactor.Custom, | |
1689 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1690 | CFrame = CFrame.new(-15.3213959, 2.42498994, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1691 | Anchored = true, | |
1692 | CanCollide = false, | |
1693 | BottomSurface = Enum.SurfaceType.Smooth, | |
1694 | TopSurface = Enum.SurfaceType.Smooth | |
1695 | }) | |
1696 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1697 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1698 | }) | |
1699 | Part = New("Part", Model, "Part", { | |
1700 | Material = Enum.Material.SmoothPlastic, | |
1701 | FormFactor = Enum.FormFactor.Custom, | |
1702 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1703 | CFrame = CFrame.new(-15.0143118, 2.42498994, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1704 | Anchored = true, | |
1705 | CanCollide = false, | |
1706 | BottomSurface = Enum.SurfaceType.Smooth, | |
1707 | TopSurface = Enum.SurfaceType.Smooth | |
1708 | }) | |
1709 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1710 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1711 | }) | |
1712 | Part = New("Part", Model, "Part", { | |
1713 | Material = Enum.Material.SmoothPlastic, | |
1714 | FormFactor = Enum.FormFactor.Custom, | |
1715 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1716 | CFrame = CFrame.new(-15.4412384, 2.41636896, -77.9560776, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1717 | Anchored = true, | |
1718 | CanCollide = false, | |
1719 | BottomSurface = Enum.SurfaceType.Smooth, | |
1720 | TopSurface = Enum.SurfaceType.Smooth | |
1721 | }) | |
1722 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1723 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
1724 | }) | |
1725 | Part = New("Part", Model, "Part", { | |
1726 | BrickColor = BrickColor.new("Lily white"), | |
1727 | Material = Enum.Material.SmoothPlastic, | |
1728 | FormFactor = Enum.FormFactor.Custom, | |
1729 | Size = Vector3.new(1.10000002, 0.379999995, 0.100000001), | |
1730 | CFrame = CFrame.new(-14.8763304, 3.34079528, -77.7635422, 8.8817842E-15, 2.08616257E-7, 0.999999762, -4.37113847E-8, -0.999999881, 2.08616257E-7, 0.99999994, -4.37113847E-8, 0), | |
1731 | Anchored = true, | |
1732 | CanCollide = false, | |
1733 | BottomSurface = Enum.SurfaceType.Smooth, | |
1734 | TopSurface = Enum.SurfaceType.Smooth, | |
1735 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1736 | }) | |
1737 | Part = New("Part", Model, "Part", { | |
1738 | Material = Enum.Material.SmoothPlastic, | |
1739 | FormFactor = Enum.FormFactor.Custom, | |
1740 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1741 | CFrame = CFrame.new(-14.431016, 2.42498994, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1742 | Anchored = true, | |
1743 | CanCollide = false, | |
1744 | BottomSurface = Enum.SurfaceType.Smooth, | |
1745 | TopSurface = Enum.SurfaceType.Smooth | |
1746 | }) | |
1747 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1748 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1749 | }) | |
1750 | Part = New("Part", Model, "Part", { | |
1751 | BrickColor = BrickColor.new("Dark stone grey"), | |
1752 | Material = Enum.Material.SmoothPlastic, | |
1753 | FormFactor = Enum.FormFactor.Custom, | |
1754 | Size = Vector3.new(1.08000004, 0.370000094, 0.099999994), | |
1755 | CFrame = CFrame.new(-15.1763277, 3.01079535, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
1756 | Anchored = true, | |
1757 | CanCollide = false, | |
1758 | BottomSurface = Enum.SurfaceType.Smooth, | |
1759 | TopSurface = Enum.SurfaceType.Smooth, | |
1760 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1761 | }) | |
1762 | Part = New("Part", Model, "Part", { | |
1763 | BrickColor = BrickColor.new("Really black"), | |
1764 | Material = Enum.Material.SmoothPlastic, | |
1765 | FormFactor = Enum.FormFactor.Custom, | |
1766 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1767 | CFrame = CFrame.new(-14.4749603, 2.54138398, -78.0775299, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1768 | Anchored = true, | |
1769 | CanCollide = false, | |
1770 | BottomSurface = Enum.SurfaceType.Smooth, | |
1771 | TopSurface = Enum.SurfaceType.Smooth, | |
1772 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1773 | }) | |
1774 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1775 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
1776 | }) | |
1777 | Part = New("Part", Model, "Part", { | |
1778 | BrickColor = BrickColor.new("Really black"), | |
1779 | Material = Enum.Material.SmoothPlastic, | |
1780 | FormFactor = Enum.FormFactor.Custom, | |
1781 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1782 | CFrame = CFrame.new(-15.3176498, 2.54138398, -77.3468628, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1783 | Anchored = true, | |
1784 | CanCollide = false, | |
1785 | BottomSurface = Enum.SurfaceType.Smooth, | |
1786 | TopSurface = Enum.SurfaceType.Smooth, | |
1787 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1788 | }) | |
1789 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1790 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
1791 | }) | |
1792 | Part = New("Part", Model, "Part", { | |
1793 | BrickColor = maincolor, | |
1794 | Material = Enum.Material.Neon, | |
1795 | FormFactor = Enum.FormFactor.Custom, | |
1796 | Size = Vector3.new(1.11000001, 0.300000012, 0.100000001), | |
1797 | CFrame = CFrame.new(-14.8763304, 3.39079523, -77.7635422, 8.8817842E-15, 2.08616257E-7, 0.999999762, -4.37113847E-8, -0.999999881, 2.08616257E-7, 0.99999994, -4.37113847E-8, 0), | |
1798 | Anchored = true, | |
1799 | CanCollide = false, | |
1800 | BottomSurface = Enum.SurfaceType.Smooth, | |
1801 | TopSurface = Enum.SurfaceType.Smooth, | |
1802 | Color = Color3.new(1, 0, 0) | |
1803 | }) | |
1804 | Part = New("Part", Model, "Part", { | |
1805 | Material = Enum.Material.SmoothPlastic, | |
1806 | FormFactor = Enum.FormFactor.Custom, | |
1807 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1808 | CFrame = CFrame.new(-14.7090759, 2.70039511, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1809 | Anchored = true, | |
1810 | CanCollide = false, | |
1811 | BottomSurface = Enum.SurfaceType.Smooth, | |
1812 | TopSurface = Enum.SurfaceType.Smooth | |
1813 | }) | |
1814 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1815 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1816 | }) | |
1817 | Part = New("Part", Model, "Part", { | |
1818 | BrickColor = BrickColor.new("Lily white"), | |
1819 | Material = Enum.Material.SmoothPlastic, | |
1820 | FormFactor = Enum.FormFactor.Custom, | |
1821 | Size = Vector3.new(1.10000002, 0.849999905, 0.300000012), | |
1822 | CFrame = CFrame.new(-15.3763304, 3.55079508, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0), | |
1823 | Anchored = true, | |
1824 | CanCollide = false, | |
1825 | BottomSurface = Enum.SurfaceType.Smooth, | |
1826 | TopSurface = Enum.SurfaceType.Smooth, | |
1827 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1828 | }) | |
1829 | Part = New("Part", Model, "Part", { | |
1830 | Material = Enum.Material.SmoothPlastic, | |
1831 | FormFactor = Enum.FormFactor.Custom, | |
1832 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1833 | CFrame = CFrame.new(-15.3188915, 2.70039511, -77.4261551, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
1834 | Anchored = true, | |
1835 | CanCollide = false, | |
1836 | BottomSurface = Enum.SurfaceType.Smooth, | |
1837 | TopSurface = Enum.SurfaceType.Smooth | |
1838 | }) | |
1839 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1840 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1841 | }) | |
1842 | Part = New("Part", Model, "Part", { | |
1843 | BrickColor = BrickColor.new("Really black"), | |
1844 | Material = Enum.Material.SmoothPlastic, | |
1845 | FormFactor = Enum.FormFactor.Custom, | |
1846 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1847 | CFrame = CFrame.new(-15.0133123, 2.54138398, -77.3468628, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1848 | Anchored = true, | |
1849 | CanCollide = false, | |
1850 | BottomSurface = Enum.SurfaceType.Smooth, | |
1851 | TopSurface = Enum.SurfaceType.Smooth, | |
1852 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1853 | }) | |
1854 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1855 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
1856 | }) | |
1857 | Part = New("Part", Model, "Part", { | |
1858 | Material = Enum.Material.SmoothPlastic, | |
1859 | FormFactor = Enum.FormFactor.Custom, | |
1860 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1861 | CFrame = CFrame.new(-14.3547363, 2.74341011, -77.3155441, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1862 | Anchored = true, | |
1863 | CanCollide = false, | |
1864 | BottomSurface = Enum.SurfaceType.Smooth, | |
1865 | TopSurface = Enum.SurfaceType.Smooth | |
1866 | }) | |
1867 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1868 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
1869 | }) | |
1870 | Part = New("Part", Model, "Part", { | |
1871 | BrickColor = BrickColor.new("Lily white"), | |
1872 | Material = Enum.Material.SmoothPlastic, | |
1873 | FormFactor = Enum.FormFactor.Custom, | |
1874 | Size = Vector3.new(1.08000004, 0.0599999726, 1.08000004), | |
1875 | CFrame = CFrame.new(-14.8763285, 2.24579477, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
1876 | Anchored = true, | |
1877 | CanCollide = false, | |
1878 | BottomSurface = Enum.SurfaceType.Smooth, | |
1879 | TopSurface = Enum.SurfaceType.Smooth, | |
1880 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1881 | }) | |
1882 | Part = New("Part", Model, "Part", { | |
1883 | BrickColor = BrickColor.new("Lily white"), | |
1884 | Material = Enum.Material.SmoothPlastic, | |
1885 | FormFactor = Enum.FormFactor.Custom, | |
1886 | Size = Vector3.new(0.0900000036, 0.459999859, 0.209999979), | |
1887 | CFrame = CFrame.new(-15.5471468, 4.27926397, -77.7635422, -2.1855703E-8, -0.500000179, 0.866025209, -3.7855159E-8, -0.866025209, -0.500000179, 0.99999994, -4.37113847E-8, 0), | |
1888 | Anchored = true, | |
1889 | CanCollide = false, | |
1890 | BottomSurface = Enum.SurfaceType.Smooth, | |
1891 | TopSurface = Enum.SurfaceType.Smooth, | |
1892 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1893 | }) | |
1894 | Part = New("Part", Model, "Part", { | |
1895 | BrickColor = BrickColor.new("Lily white"), | |
1896 | Material = Enum.Material.SmoothPlastic, | |
1897 | FormFactor = Enum.FormFactor.Custom, | |
1898 | Size = Vector3.new(0.899999976, 0.0599999987, 0.899999976), | |
1899 | CFrame = CFrame.new(-14.8763285, 2.22579479, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
1900 | Anchored = true, | |
1901 | CanCollide = false, | |
1902 | BottomSurface = Enum.SurfaceType.Smooth, | |
1903 | TopSurface = Enum.SurfaceType.Smooth, | |
1904 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1905 | }) | |
1906 | Part = New("Part", Model, "Part", { | |
1907 | BrickColor = BrickColor.new("Lily white"), | |
1908 | Material = Enum.Material.SmoothPlastic, | |
1909 | FormFactor = Enum.FormFactor.Custom, | |
1910 | Size = Vector3.new(0.0900000036, 0.509999812, 0.209999979), | |
1911 | CFrame = CFrame.new(-15.29809, 4.35893965, -77.7635422, 4.22219522E-8, 0.965925694, 0.258818924, -1.13133378E-8, -0.258818924, 0.965925694, 0.99999994, -4.37113847E-8, 0), | |
1912 | Anchored = true, | |
1913 | CanCollide = false, | |
1914 | BottomSurface = Enum.SurfaceType.Smooth, | |
1915 | TopSurface = Enum.SurfaceType.Smooth, | |
1916 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1917 | }) | |
1918 | Part = New("Part", Model, "Part", { | |
1919 | BrickColor = BrickColor.new("Dark stone grey"), | |
1920 | Material = Enum.Material.SmoothPlastic, | |
1921 | FormFactor = Enum.FormFactor.Custom, | |
1922 | Size = Vector3.new(1, 0.0599999987, 1), | |
1923 | CFrame = CFrame.new(-14.8763285, 2.23579478, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
1924 | Anchored = true, | |
1925 | CanCollide = false, | |
1926 | BottomSurface = Enum.SurfaceType.Smooth, | |
1927 | TopSurface = Enum.SurfaceType.Smooth, | |
1928 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1929 | }) | |
1930 | Part = New("Part", Model, "Part", { | |
1931 | BrickColor = BrickColor.new("Lily white"), | |
1932 | Material = Enum.Material.SmoothPlastic, | |
1933 | FormFactor = Enum.FormFactor.Custom, | |
1934 | Size = Vector3.new(0.0900000036, 0.259999871, 0.75999999), | |
1935 | CFrame = CFrame.new(-15.0625782, 4.56317425, -77.7635422, -2.18556693E-8, -0.499999553, -0.866025507, 3.78551803E-8, 0.866025507, -0.499999553, 0.99999994, -4.37113847E-8, 0), | |
1936 | Anchored = true, | |
1937 | CanCollide = false, | |
1938 | BottomSurface = Enum.SurfaceType.Smooth, | |
1939 | TopSurface = Enum.SurfaceType.Smooth, | |
1940 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1941 | }) | |
1942 | Part = New("Part", Model, "Part", { | |
1943 | BrickColor = maincolor, | |
1944 | Material = Enum.Material.Neon, | |
1945 | FormFactor = Enum.FormFactor.Custom, | |
1946 | Size = Vector3.new(0.949999988, 0.0700000003, 0.949999988), | |
1947 | CFrame = CFrame.new(-14.8763285, 2.23579478, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
1948 | Anchored = true, | |
1949 | CanCollide = false, | |
1950 | BottomSurface = Enum.SurfaceType.Smooth, | |
1951 | TopSurface = Enum.SurfaceType.Smooth, | |
1952 | Color = Color3.new(1, 0, 0) | |
1953 | }) | |
1954 | Part = New("Part", Model, "Part", { | |
1955 | BrickColor = BrickColor.new("Lily white"), | |
1956 | Material = Enum.Material.SmoothPlastic, | |
1957 | FormFactor = Enum.FormFactor.Custom, | |
1958 | Size = Vector3.new(0.0900000036, 0.459999859, 0.209999979), | |
1959 | CFrame = CFrame.new(-14.627532, 4.49887943, -77.7635422, -1.42108547E-14, -2.38418579E-7, 0.999999881, -4.37113812E-8, -0.999999881, -2.38418579E-7, 0.99999994, -4.37113847E-8, 0), | |
1960 | Anchored = true, | |
1961 | CanCollide = false, | |
1962 | BottomSurface = Enum.SurfaceType.Smooth, | |
1963 | TopSurface = Enum.SurfaceType.Smooth, | |
1964 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1965 | }) | |
1966 | maincolor = game.Players.LocalPlayer.Character.Torso.BrickColor | |
1967 | ArmorColorParts = {} | |
1968 | NeonColorParts = {} | |
1969 | NeonColorParts2 = {} | |
1970 | Eye = New("Part", Character, "Eye", { | |
1971 | BrickColor = BrickColor.new("Really black"), | |
1972 | Size = Vector3.new(0.879999995, 0.699999976, 1.0999999), | |
1973 | CFrame = CFrame.new(48.0200577, 1.00104618, 0.0799999982, 0.99999994, -1.93715096E-7, 0, 1.93715096E-7, 0.99999994, 0, 0, 0, 1), | |
1974 | Anchored = false, | |
1975 | BottomSurface = Enum.SurfaceType.Smooth, | |
1976 | TopSurface = Enum.SurfaceType.Smooth | |
1977 | }) | |
1978 | Mesh = New("SpecialMesh", Eye, "Mesh", { | |
1979 | Scale = Vector3.new(1.29999995, 1.25, 1.29999995) | |
1980 | }) | |
1981 | test = -0.0200577000000024 | |
1982 | test2 = -0.001045229999999897 | |
1983 | print("" .. test) | |
1984 | test3 = 0.0499999968 | |
1985 | print("" .. test2) | |
1986 | print("" .. test3) | |
1987 | local all, last = {}, nil | |
1988 | function scan(p) | |
1989 | for _, v in pairs(p:GetChildren()) do | |
1990 | if v:IsA("BasePart") then | |
1991 | if v.BrickColor == BrickColor.new("Lily white") then | |
1992 | table.insert(ArmorColorParts, v) | |
1993 | end | |
1994 | if v.BrickColor == BrickColor.new("Really red") then | |
1995 | table.insert(NeonColorParts, v) | |
1996 | table.insert(NeonColorParts2, v) | |
1997 | end | |
1998 | if last then | |
1999 | local w = Instance.new("Weld") | |
2000 | w.Part0, w.Part1 = last, v | |
2001 | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() | |
2002 | w.Parent = last | |
2003 | end | |
2004 | table.insert(all, v) | |
2005 | last = v | |
2006 | end | |
2007 | scan(v) | |
2008 | end | |
2009 | end | |
2010 | scan(Model) | |
2011 | for _, v in pairs(all) do | |
2012 | v.Anchored = false | |
2013 | v.CanCollide = false | |
2014 | end | |
2015 | Model.Parent = Character | |
2016 | local eye1 = Instance.new("Part") | |
2017 | eye1.Parent = Character | |
2018 | eye1.Size = Vector3.new(0.2, 0.2, 0.2) | |
2019 | eye1.Archivable = true | |
2020 | eye1.Transparency = 0 | |
2021 | eye1.Shape = "Ball" | |
2022 | eye1.BrickColor = maincolor | |
2023 | eye1.Material = "Neon" | |
2024 | eye1.CanCollide = false | |
2025 | local mesh = Instance.new("SpecialMesh", eye1) | |
2026 | mesh.MeshType = "Sphere" | |
2027 | mesh.Scale = Vector3.new(1.2, 1.2, 1) | |
2028 | local weld1en = Instance.new("Weld") | |
2029 | weld1en.Parent = Character.Head | |
2030 | weld1en.Part0 = Character.Head | |
2031 | weld1en.Part1 = eye1 | |
2032 | weld1en.C1 = CFrame.new(-0.18, -0.16, 0.5175) | |
2033 | table.insert(NeonColorParts, eye1) | |
2034 | for i, v in pairs(NeonColorParts) do | |
2035 | v.BrickColor = maincolor | |
2036 | end | |
2037 | local Services = { | |
2038 | SoundService = game:GetService("SoundService"), | |
2039 | Players = game:GetService("Players"), | |
2040 | Debris = game:GetService("Debris"), | |
2041 | Workspace = game:GetService("Workspace"), | |
2042 | Lighting = game:GetService("Lighting"), | |
2043 | HttpService = game:GetService("HttpService"), | |
2044 | InsertService = game:GetService("InsertService") | |
2045 | } | |
2046 | local NeckCF = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
2047 | Humanoid.Animator:Destroy() | |
2048 | Character.Animate:Destroy() | |
2049 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
2050 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
2051 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
2052 | EyeW = Instance.new("Weld") | |
2053 | EyeW.Name = "EyeW" | |
2054 | EyeW.Parent = Head | |
2055 | EyeW.Part0 = Eye | |
2056 | EyeW.C1 = cn(-test, test2 + 0.145, -test3) | |
2057 | EyeW.Part1 = Head | |
2058 | SWW = Instance.new("Weld") | |
2059 | SWW.Name = "SWW" | |
2060 | SWW.Part0 = RightArm | |
2061 | SWW.C0 = cn(0, 0, 0) * angles(math.rad(180), math.rad(-90), math.rad(0)) | |
2062 | SWW.C1 = cn(0, 0, 0) | |
2063 | SWW.Part1 = SwHandle | |
2064 | SWW.Parent = RightArm | |
2065 | RSH, LSH = nil, nil | |
2066 | RW = Instance.new("Weld") | |
2067 | LW = Instance.new("Weld") | |
2068 | RH = Torso["Right Hip"] | |
2069 | LH = Torso["Left Hip"] | |
2070 | RSH = Torso["Right Shoulder"] | |
2071 | LSH = Torso["Left Shoulder"] | |
2072 | RSH.Parent = nil | |
2073 | LSH.Parent = nil | |
2074 | RW.Name = "RW" | |
2075 | RW.Part0 = Torso | |
2076 | RW.C0 = cn(1.5, 0.5, 0) | |
2077 | RW.C1 = cn(0, 0.5, 0) | |
2078 | RW.Part1 = RightArm | |
2079 | RW.Parent = Torso | |
2080 | LW.Name = "LW" | |
2081 | LW.Part0 = Torso | |
2082 | LW.C0 = cn(-1.5, 0.5, 0) | |
2083 | LW.C1 = cn(0, 0.5, 0) | |
2084 | LW.Part1 = LeftArm | |
2085 | LW.Parent = Torso | |
2086 | function clerp(a, b, t) | |
2087 | local qa = { | |
2088 | QuaternionFromCFrame(a) | |
2089 | } | |
2090 | local qb = { | |
2091 | QuaternionFromCFrame(b) | |
2092 | } | |
2093 | local ax, ay, az = a.x, a.y, a.z | |
2094 | local bx, by, bz = b.x, b.y, b.z | |
2095 | local _t = 1 - t | |
2096 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
2097 | end | |
2098 | function QuaternionFromCFrame(cf) | |
2099 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
2100 | local trace = m00 + m11 + m22 | |
2101 | if trace > 0 then | |
2102 | local s = math.sqrt(1 + trace) | |
2103 | local recip = 0.5 / s | |
2104 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
2105 | else | |
2106 | local i = 0 | |
2107 | if m00 < m11 then | |
2108 | i = 1 | |
2109 | end | |
2110 | if m22 > (i == 0 and m00 or m11) then | |
2111 | i = 2 | |
2112 | end | |
2113 | if i == 0 then | |
2114 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
2115 | local recip = 0.5 / s | |
2116 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
2117 | elseif i == 1 then | |
2118 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
2119 | local recip = 0.5 / s | |
2120 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
2121 | elseif i == 2 then | |
2122 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
2123 | local recip = 0.5 / s | |
2124 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
2125 | end | |
2126 | end | |
2127 | end | |
2128 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
2129 | local xs, ys, zs = x + x, y + y, z + z | |
2130 | local wx, wy, wz = w * xs, w * ys, w * zs | |
2131 | local xx = x * xs | |
2132 | local xy = x * ys | |
2133 | local xz = x * zs | |
2134 | local yy = y * ys | |
2135 | local yz = y * zs | |
2136 | local zz = z * zs | |
2137 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
2138 | end | |
2139 | function QuaternionSlerp(a, b, t) | |
2140 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
2141 | local startInterp, finishInterp | |
2142 | if cosTheta >= 1.0E-4 then | |
2143 | if 1 - cosTheta > 1.0E-4 then | |
2144 | local theta = math.acos(cosTheta) | |
2145 | local invSinTheta = 1 / math.sin(theta) | |
2146 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
2147 | finishInterp = math.sin(t * theta) * invSinTheta | |
2148 | else | |
2149 | startInterp = 1 - t | |
2150 | finishInterp = t | |
2151 | end | |
2152 | elseif 1 + cosTheta > 1.0E-4 then | |
2153 | local theta = math.acos(-cosTheta) | |
2154 | local invSinTheta = 1 / math.sin(theta) | |
2155 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
2156 | finishInterp = math.sin(t * theta) * invSinTheta | |
2157 | else | |
2158 | startInterp = t - 1 | |
2159 | finishInterp = t | |
2160 | end | |
2161 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
2162 | end | |
2163 | function swait(num) | |
2164 | if num == 0 or num == nil then | |
2165 | game:service("RunService").RenderStepped:wait(0) | |
2166 | else | |
2167 | for i = 0, num do | |
2168 | game:service("RunService").RenderStepped:wait(0) | |
2169 | end | |
2170 | end | |
2171 | end | |
2172 | local RbxUtility = LoadLibrary("RbxUtility") | |
2173 | local Create = RbxUtility.Create | |
2174 | function RemoveOutlines(part) | |
2175 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
2176 | end | |
2177 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
2178 | local Part = Create("Part")({ | |
2179 | formFactor = FormFactor, | |
2180 | Parent = Parent, | |
2181 | Reflectance = Reflectance, | |
2182 | Transparency = Transparency, | |
2183 | CanCollide = false, | |
2184 | Locked = true, | |
2185 | BrickColor = BrickColor.new(tostring(BColor)), | |
2186 | Name = Name, | |
2187 | Size = Size, | |
2188 | Material = Material | |
2189 | }) | |
2190 | RemoveOutlines(Part) | |
2191 | return Part | |
2192 | end | |
2193 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
2194 | local Msh = Create(Mesh)({ | |
2195 | Parent = Part, | |
2196 | Offset = OffSet, | |
2197 | Scale = Scale | |
2198 | }) | |
2199 | if Mesh == "SpecialMesh" then | |
2200 | Msh.MeshType = MeshType | |
2201 | Msh.MeshId = MeshId | |
2202 | end | |
2203 | return Msh | |
2204 | end | |
2205 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
2206 | local Weld = Create("Weld")({ | |
2207 | Parent = Parent, | |
2208 | Part0 = Part0, | |
2209 | Part1 = Part1, | |
2210 | C0 = C0, | |
2211 | C1 = C1 | |
2212 | }) | |
2213 | return Weld | |
2214 | end | |
2215 | function rayCast(Position, Direction, Range, Ignore) | |
2216 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
2217 | end | |
2218 | function CreateSound(id, par, vol, pit) | |
2219 | coroutine.resume(coroutine.create(function() | |
2220 | local sou = Instance.new("Sound", par or workspace) | |
2221 | sou.Volume = vol | |
2222 | sou.Pitch = pit or 1 | |
2223 | sou.SoundId = id | |
2224 | wait() | |
2225 | sou:play() | |
2226 | game:GetService("Debris"):AddItem(sou, 6) | |
2227 | end)) | |
2228 | end | |
2229 | function CreateSong(id, par, vol, pit) | |
2230 | coroutine.resume(coroutine.create(function() | |
2231 | sou2 = Instance.new("Sound", par or workspace) | |
2232 | sou2.Volume = vol | |
2233 | sou2.Pitch = 1 | |
2234 | sou2.SoundId = id | |
2235 | wait() | |
2236 | sou2:play() | |
2237 | sou2.Looped = true | |
2238 | end)) | |
2239 | end | |
2240 | local function getclosest(obj, distance) | |
2241 | local last, lastx = distance + 1, nil | |
2242 | for i, v in pairs(workspace:GetChildren()) do | |
2243 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then | |
2244 | local t = v.Torso | |
2245 | local dist = (t.Position - obj.Position).magnitude | |
2246 | if distance >= dist and last > dist then | |
2247 | last = dist | |
2248 | lastx = v | |
2249 | end | |
2250 | end | |
2251 | end | |
2252 | return lastx | |
2253 | end | |
2254 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
2255 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2256 | prt.Anchored = true | |
2257 | prt.CFrame = cframe | |
2258 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2259 | game:GetService("Debris"):AddItem(prt, 10) | |
2260 | if Type == 1 or Type == nil then | |
2261 | table.insert(Effects, { | |
2262 | prt, | |
2263 | "Block1", | |
2264 | delay, | |
2265 | x3, | |
2266 | y3, | |
2267 | z3, | |
2268 | msh | |
2269 | }) | |
2270 | elseif Type == 2 then | |
2271 | table.insert(Effects, { | |
2272 | prt, | |
2273 | "Block2", | |
2274 | delay, | |
2275 | x3, | |
2276 | y3, | |
2277 | z3, | |
2278 | msh | |
2279 | }) | |
2280 | elseif Type == 3 then | |
2281 | table.insert(Effects, { | |
2282 | prt, | |
2283 | "Block3", | |
2284 | delay, | |
2285 | x3, | |
2286 | y3, | |
2287 | z3, | |
2288 | msh | |
2289 | }) | |
2290 | end | |
2291 | end | |
2292 | function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2293 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2294 | prt.Anchored = true | |
2295 | prt.CFrame = cframe | |
2296 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2297 | game:GetService("Debris"):AddItem(prt, 10) | |
2298 | table.insert(Effects, { | |
2299 | prt, | |
2300 | "Cylinder", | |
2301 | delay, | |
2302 | x3, | |
2303 | y3, | |
2304 | z3, | |
2305 | msh | |
2306 | }) | |
2307 | end | |
2308 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2309 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
2310 | prt.Anchored = true | |
2311 | prt.CFrame = cframe * CFrame.new(x1, y1, z1) | |
2312 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2313 | game:GetService("Debris"):AddItem(prt, 10) | |
2314 | table.insert(Effects, { | |
2315 | prt, | |
2316 | "Cylinder", | |
2317 | delay, | |
2318 | x3, | |
2319 | y3, | |
2320 | z3, | |
2321 | msh | |
2322 | }) | |
2323 | end | |
2324 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2325 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2326 | prt.Anchored = true | |
2327 | prt.CFrame = cframe | |
2328 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2329 | game:GetService("Debris"):AddItem(prt, 10) | |
2330 | table.insert(Effects, { | |
2331 | prt, | |
2332 | "Cylinder", | |
2333 | delay, | |
2334 | x3, | |
2335 | y3, | |
2336 | z3, | |
2337 | msh | |
2338 | }) | |
2339 | end | |
2340 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2341 | local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2342 | prt.Anchored = true | |
2343 | prt.CFrame = cframe | |
2344 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2345 | game:GetService("Debris"):AddItem(prt, 10) | |
2346 | table.insert(Effects, { | |
2347 | prt, | |
2348 | "Cylinder", | |
2349 | delay, | |
2350 | x3, | |
2351 | y3, | |
2352 | z3, | |
2353 | msh | |
2354 | }) | |
2355 | end | |
2356 | function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2357 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2358 | prt.Anchored = true | |
2359 | prt.CFrame = cframe | |
2360 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2361 | game:GetService("Debris"):AddItem(prt, 10) | |
2362 | table.insert(Effects, { | |
2363 | prt, | |
2364 | "Cylinder", | |
2365 | delay, | |
2366 | x3, | |
2367 | y3, | |
2368 | z3, | |
2369 | msh | |
2370 | }) | |
2371 | end | |
2372 | function BreakEffect(brickcolor, cframe, x1, y1, z1) | |
2373 | local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
2374 | prt.Anchored = true | |
2375 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2376 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2377 | local num = math.random(10, 50) / 1000 | |
2378 | game:GetService("Debris"):AddItem(prt, 10) | |
2379 | table.insert(Effects, { | |
2380 | prt, | |
2381 | "Shatter", | |
2382 | num, | |
2383 | prt.CFrame, | |
2384 | math.random() - math.random(), | |
2385 | 0, | |
2386 | math.random(50, 100) / 100 | |
2387 | }) | |
2388 | end | |
2389 | for i = 0, 1, 0.05 do | |
2390 | swait() | |
2391 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2392 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), 0.1) | |
2393 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1) | |
2394 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3) | |
2395 | if Torsovelocity.y > 2 then | |
2396 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), 0.2) | |
2397 | RH.C0 = clerp(RH.C0, cn(1, -1 + 0.1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), 0.3) | |
2398 | LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), 0.3) | |
2399 | elseif Torsovelocity.y < 1 then | |
2400 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1) | |
2401 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), 0.1) | |
2402 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), 0.1) | |
2403 | end | |
2404 | end | |
2405 | attack = false | |
2406 | game:GetService("RunService").Stepped:connect(function() | |
2407 | Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
2408 | velocity = RootPart.Velocity.y | |
2409 | sine = sine + change | |
2410 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
2411 | if equipped == true or equipped == false then | |
2412 | if RootPart.Velocity.y > -1 and hit == nil then | |
2413 | Anim = "Jump" | |
2414 | inair = true | |
2415 | if attack == false then | |
2416 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-9), math.rad(0), math.rad(0)), 0.1) | |
2417 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
2418 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, -0.1) * angles(math.rad(25), math.rad(0), math.rad(40)), 0.1) | |
2419 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4, -0.1) * angles(math.rad(45), math.rad(0), math.rad(-70)), 0.1) | |
2420 | RH.C0 = clerp(RH.C0, cn(1, -0.8, -0.5) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), 0.3) | |
2421 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.1) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.3) | |
2422 | end | |
2423 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
2424 | Anim = "Fall" | |
2425 | inair = true | |
2426 | if attack == false then | |
2427 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
2428 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
2429 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.05) | |
2430 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1) | |
2431 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
2432 | LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
2433 | end | |
2434 | elseif (Torso.Velocity).magnitude < 1 and hit ~= nil then | |
2435 | Anim = "Idle" | |
2436 | inair = false | |
2437 | if attack == false then | |
2438 | Humanoid.JumpPower = 50 | |
2439 | if elementmode == "Mode 1" then | |
2440 | change = 0.8 | |
2441 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(1), math.rad(15)), 0.1) | |
2442 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(9 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-15)), 0.1) | |
2443 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(math.rad(90 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-50)), 0.1) | |
2444 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(math.rad(70 - 1 * math.cos(sine / 8)), math.rad(-7), math.rad(70)), 0.1) | |
2445 | RH.C0 = clerp(RH.C0, cn(1, -1 - 0.02 * math.cos(sine / 8), 0) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(0 + 0.05 * math.cos(sine / 25))), 0.1) | |
2446 | LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.02 * math.cos(sine / 8), 0) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(0 + 0.05 * math.cos(sine / 25))), 0.1) | |
2447 | elseif elementmode == "Mode 2" then | |
2448 | change = 0.8 | |
2449 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(1), math.rad(25)), 0.1) | |
2450 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(9 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-25)), 0.1) | |
2451 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(5 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(10)), 0.1) | |
2452 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(5 - 1 * math.cos(sine / 8)), math.rad(-7), math.rad(-10)), 0.1) | |
2453 | RH.C0 = clerp(RH.C0, cn(1, -1 - 0.02 * math.cos(sine / 8), 0) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(0 + 0.05 * math.cos(sine / 25))), 0.1) | |
2454 | LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.02 * math.cos(sine / 8), 0) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(0 + 0.05 * math.cos(sine / 25))), 0.1) | |
2455 | elseif elementmode == "Mode 3" then | |
2456 | change = 0.8 | |
2457 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(1), math.rad(35)), 0.1) | |
2458 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(9 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(-35)), 0.1) | |
2459 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90 - 1 * math.cos(sine / 8)), math.rad(15), math.rad(45)), 0.1) | |
2460 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -0.3) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(45)), 0.1) | |
2461 | RH.C0 = clerp(RH.C0, cn(1, -1 - 0.02 * math.cos(sine / 8), 0) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(-5 + 0.05 * math.cos(sine / 25))), 0.1) | |
2462 | LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.02 * math.cos(sine / 8), 0) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(-10 + 0.05 * math.cos(sine / 25))), 0.1) | |
2463 | elseif elementmode == "Mode 4" then | |
2464 | change = 0.6 | |
2465 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.5 + 0.02 * math.cos(sine / 2)) * angles(math.rad(-2), math.rad(1), math.rad(15)), 0.1) | |
2466 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(19 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-15)), 0.1) | |
2467 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(math.rad(90 - 2 * math.cos(sine / 1)), math.rad(0), math.rad(-50)), 0.1) | |
2468 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(math.rad(70 + 2 * math.cos(sine / 1)), math.rad(-7), math.rad(70)), 0.1) | |
2469 | RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0.02 * math.cos(sine / 2), -0.2) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(-10 + 0.05 * math.cos(sine / 25))), 0.1) | |
2470 | LH.C0 = clerp(LH.C0, cn(-1, -0.5 - 0.02 * math.cos(sine / 2), -0.2) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(10 + 0.05 * math.cos(sine / 25))), 0.1) | |
2471 | elseif elementmode == "Mode 5" then | |
2472 | change = 0.8 | |
2473 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1.1 + 0.02 * math.cos(sine / 8)) * angles(math.rad(10), math.rad(1), math.rad(0)), 0.1) | |
2474 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45 + 1 * math.cos(sine / 1)), math.rad(0), math.rad(5 * math.cos(sine / 1))), 0.1) | |
2475 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(10 - 4 * math.cos(sine / 1)), math.rad(0), math.rad(30)), 0.1) | |
2476 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(110 + 4 * math.cos(sine / 1)), math.rad(0), math.rad(30)), 0.1) | |
2477 | RH.C0 = clerp(RH.C0, cn(1, -0.2 - 0.02 * math.cos(sine / 8), -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(40 + 0.05 * math.cos(sine / 25))), 0.1) | |
2478 | LH.C0 = clerp(LH.C0, cn(-1, -0.2 - 0.02 * math.cos(sine / 8), -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20 + 0.05 * math.cos(sine / 25))), 0.1) | |
2479 | elseif elementmode == "Mode 6" then | |
2480 | change = 0.5 | |
2481 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 1.2 + 0.2 * math.cos(sine / 8)) * angles(math.rad(-2), math.rad(1), math.rad(15)), 0.1) | |
2482 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(15 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-15)), 0.1) | |
2483 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(15 - 2 * math.cos(sine / 8))), 0.1) | |
2484 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-15 + 2 * math.cos(sine / 8))), 0.1) | |
2485 | RH.C0 = clerp(RH.C0, cn(1, -0.6 - 0.02 * math.cos(sine / 8), -0.3) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(-25 + 2 * math.cos(sine / 8))), 0.1) | |
2486 | LH.C0 = clerp(LH.C0, cn(-1, -0.8 - 0.02 * math.cos(sine / 8), -0.2) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(10 - 1 * math.cos(sine / 8))), 0.1) | |
2487 | end | |
2488 | end | |
2489 | elseif (Torso.Velocity).magnitude < 50 and hit ~= nil then | |
2490 | Anim = "Walk" | |
2491 | inair = false | |
2492 | if attack == false and Runkey == false then | |
2493 | if elementmode == "Mode 1" then | |
2494 | change = 0.9 | |
2495 | Humanoid.WalkSpeed = 22 | |
2496 | Humanoid.JumpPower = 50 | |
2497 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.15 * math.cos(sine / 3)) * angles(math.rad(15), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(10 * math.cos(sine / 4))), 0.3) | |
2498 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-8.5 * math.cos(sine / 4)) + RootPart.RotVelocity.Y / 12), 0.2) | |
2499 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 + -75 * math.cos(sine / 4)), math.rad(5 + -35 * math.cos(sine / 4)), math.rad(2 + 10 * math.cos(sine / 4))), 0.2) | |
2500 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10 + 75 * math.cos(sine / 4)), math.rad(5 + -35 * math.cos(sine / 4)), math.rad(-2 + 10 * math.cos(sine / 4))), 0.2) | |
2501 | RH.C0 = clerp(RH.C0, cn(1, -1 - -0.3 * math.cos(sine / 4), -0.1 - 0.1 * math.cos(sine / 4)) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-10 + 60 * math.cos(sine / 4))), 0.3) | |
2502 | LH.C0 = clerp(LH.C0, cn(-1, -1 + -0.3 * math.cos(sine / 4), -0.1 + 0.1 * math.cos(sine / 4)) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10 + 60 * math.cos(sine / 4))), 0.3) | |
2503 | elseif elementmode == "Mode 2" then | |
2504 | change = 1.4 | |
2505 | Humanoid.WalkSpeed = 14 | |
2506 | Humanoid.JumpPower = 60 | |
2507 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(5 - 2.5 * math.cos(sine / 3.5)), math.rad(0), math.rad(10 * math.cos(sine / 7))), 0.2) | |
2508 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 3.5)) * angles(math.rad(0 + 1.5 * math.cos(sine / 3.5)), math.rad(0 - 0 * math.cos(sine / 3.5)), math.rad(-10 * math.cos(sine / 7)) + RootPart.RotVelocity.Y / 12), 0.2) | |
2509 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(25 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(0), math.rad(10)), 0.2) | |
2510 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(0), math.rad(-10)), 0.2) | |
2511 | RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
2512 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
2513 | elseif elementmode == "Mode 3" then | |
2514 | change = 0.9 | |
2515 | Humanoid.WalkSpeed = 22 | |
2516 | Humanoid.JumpPower = 60 | |
2517 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.15 * math.cos(sine / 3)) * angles(math.rad(15), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(10 * math.cos(sine / 4))), 0.3) | |
2518 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-8.5 * math.cos(sine / 4)) + RootPart.RotVelocity.Y / 12), 0.2) | |
2519 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 + -75 * math.cos(sine / 4)), math.rad(5 + -35 * math.cos(sine / 4)), math.rad(2 + 10 * math.cos(sine / 4))), 0.2) | |
2520 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10 + 75 * math.cos(sine / 4)), math.rad(5 + -35 * math.cos(sine / 4)), math.rad(-2 + 10 * math.cos(sine / 4))), 0.2) | |
2521 | RH.C0 = clerp(RH.C0, cn(1, -1 - -0.3 * math.cos(sine / 4), -0.1 - 0.1 * math.cos(sine / 4)) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-10 + 60 * math.cos(sine / 4))), 0.3) | |
2522 | LH.C0 = clerp(LH.C0, cn(-1, -1 + -0.3 * math.cos(sine / 4), -0.1 + 0.1 * math.cos(sine / 4)) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10 + 60 * math.cos(sine / 4))), 0.3) | |
2523 | elseif elementmode == "Mode 4" then | |
2524 | change = 1.1 | |
2525 | Humanoid.WalkSpeed = 9 | |
2526 | Humanoid.JumpPower = 60 | |
2527 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(5 - 2.5 * math.cos(sine / 3.5)), math.rad(0), math.rad(10 * math.cos(sine / 7))), 0.2) | |
2528 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 3.5)) * angles(math.rad(0 + 1.5 * math.cos(sine / 3.5)), math.rad(0 - 0 * math.cos(sine / 3.5)), math.rad(-10 * math.cos(sine / 7)) + RootPart.RotVelocity.Y / 12), 0.2) | |
2529 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(25 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(0), math.rad(10)), 0.2) | |
2530 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(0), math.rad(-10)), 0.2) | |
2531 | RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
2532 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
2533 | elseif elementmode == "Mode 5" then | |
2534 | change = 1 | |
2535 | Humanoid.WalkSpeed = 9 | |
2536 | Humanoid.JumpPower = 100 | |
2537 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(5 - 2.5 * math.cos(sine / 3.5)), math.rad(0), math.rad(10 * math.cos(sine / 7))), 0.15) | |
2538 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 3.5)) * angles(math.rad(6 - 2.5 * math.cos(sine / 3.5)), math.rad(10 - 0.5 * math.cos(sine / 3.5)), math.rad(10 - 10 * math.cos(sine / 7))), 0.15) | |
2539 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(0), math.rad(10)), 0.1) | |
2540 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.3) * angles(math.rad(150 - 5.5 * math.cos(sine / 3.5)), math.rad(0 - 0.5 * math.cos(sine / 3.5)), math.rad(25 - -5 * math.cos(sine / 7))), 0.2) | |
2541 | RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 15 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.2) | |
2542 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 15 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.2) | |
2543 | elseif elementmode == "Mode 6" then | |
2544 | BlockEffect(BrickColor.new("Gold"), RightArm.CFrame * cn(0, 0, 0.2), 19, 39, 19, 0, 0, 0, 0.15, 2) | |
2545 | change = 0.9 | |
2546 | Humanoid.WalkSpeed = 42 | |
2547 | Humanoid.JumpPower = 80 | |
2548 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.5, 1.2 + 0.2 * math.cos(sine / 8)) * angles(math.rad(15), math.rad(1), math.rad(0)), 0.1) | |
2549 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(0)), 0.1) | |
2550 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(15 - 2 * math.cos(sine / 8))), 0.1) | |
2551 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-15 + 2 * math.cos(sine / 8))), 0.1) | |
2552 | RH.C0 = clerp(RH.C0, cn(1, -0.6 - 0.02 * math.cos(sine / 8), -0.3) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(-35 + 5 * math.cos(sine / 8))), 0.1) | |
2553 | LH.C0 = clerp(LH.C0, cn(-1, -0.8 - 0.02 * math.cos(sine / 8), -0.2) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(20 - 5 * math.cos(sine / 8))), 0.1) | |
2554 | end | |
2555 | end | |
2556 | function onClimbing(speed) | |
2557 | if attack == false then | |
2558 | attack = true | |
2559 | Climbanim = true | |
2560 | Humanoid.WalkSpeed = 14 | |
2561 | while Climbanim == true do | |
2562 | for i = 0, 0, 0.1 do | |
2563 | swait() | |
2564 | change = 3 | |
2565 | if RootPart.Velocity.y > 0.01 then | |
2566 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.1, 0) * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.2) | |
2567 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
2568 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, -0.1) * angles(math.rad(90 + 70 * math.cos(sine / 25)), math.rad(0), math.rad(5)), 0.2) | |
2569 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4, -0.1) * angles(math.rad(90 - 70 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), 0.2) | |
2570 | RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0.5 * math.cos(sine / 25), -0.2 + 0.1 * math.cos(sine / 25)) * RHCF * angles(math.rad(3), math.rad(0), math.rad(5 - 15 * math.cos(sine / 25))), 0.2) | |
2571 | LH.C0 = clerp(LH.C0, cn(-1, -0.5 + 0.5 * math.cos(sine / 25), -0.2 - 0.1 * math.cos(sine / 25)) * LHCF * angles(math.rad(3), math.rad(0), math.rad(-5 - 15 * math.cos(sine / 25))), 0.2) | |
2572 | end | |
2573 | if RootPart.Velocity.y < 0.5 and RootPart.Velocity.y > -0.5 then | |
2574 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.1, 0) * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.3) | |
2575 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
2576 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(90 + 0 * math.cos(sine / 25)), math.rad(0), math.rad(5)), 0.2) | |
2577 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.1) * angles(math.rad(90 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), 0.2) | |
2578 | RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0 * math.cos(sine / 25), -0.2 + 0 * math.cos(sine / 25)) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(5 - 0 * math.cos(sine / 25))), 0.2) | |
2579 | LH.C0 = clerp(LH.C0, cn(-1, -0.5 + 0 * math.cos(sine / 25), -0.2 - 0 * math.cos(sine / 25)) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(-5 - 0 * math.cos(sine / 25))), 0.2) | |
2580 | end | |
2581 | if RootPart.Velocity.y < -1 then | |
2582 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.2) | |
2583 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
2584 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, -0.1) * angles(math.rad(90 + 0 * math.cos(sine / 25)), math.rad(0), math.rad(20)), 0.2) | |
2585 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4, -0.1) * angles(math.rad(90 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(-20)), 0.2) | |
2586 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(0 - 0 * math.cos(sine / 25))), 0.2) | |
2587 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0 - 0 * math.cos(sine / 25))), 0.2) | |
2588 | end | |
2589 | end | |
2590 | if Torsovelocity.y > 1 then | |
2591 | Climbanim = false | |
2592 | end | |
2593 | end | |
2594 | attack = false | |
2595 | end | |
2596 | end | |
2597 | Humanoid.Climbing:connect(onClimbing) | |
2598 | end | |
2599 | end | |
2600 | if 0 < #Effects then | |
2601 | for e = 1, #Effects do | |
2602 | if Effects[e] ~= nil then | |
2603 | local Thing = Effects[e] | |
2604 | if Thing ~= nil then | |
2605 | local Part = Thing[1] | |
2606 | local Mode = Thing[2] | |
2607 | local Delay = Thing[3] | |
2608 | local IncX = Thing[4] | |
2609 | local IncY = Thing[5] | |
2610 | local IncZ = Thing[6] | |
2611 | if 1 >= Thing[1].Transparency then | |
2612 | if Thing[2] == "Block1" then | |
2613 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2614 | local Mesh = Thing[1].Mesh | |
2615 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2616 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2617 | elseif Thing[2] == "Block2" then | |
2618 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
2619 | local Mesh = Thing[7] | |
2620 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2621 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2622 | elseif Thing[2] == "Block3" then | |
2623 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
2624 | local Mesh = Thing[7] | |
2625 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2626 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2627 | elseif Thing[2] == "Cylinder" then | |
2628 | local Mesh = Thing[1].Mesh | |
2629 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2630 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2631 | elseif Thing[2] == "Blood" then | |
2632 | local Mesh = Thing[7] | |
2633 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
2634 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2635 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2636 | elseif Thing[2] == "Elec" then | |
2637 | local Mesh = Thing[1].Mesh | |
2638 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2639 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2640 | elseif Thing[2] == "Disappear" then | |
2641 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2642 | elseif Thing[2] == "Shatter" then | |
2643 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2644 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2645 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2646 | Thing[6] = Thing[6] + Thing[5] | |
2647 | end | |
2648 | else | |
2649 | Part.Parent = nil | |
2650 | table.remove(Effects, e) | |
2651 | end | |
2652 | end | |
2653 | end | |
2654 | end | |
2655 | end | |
2656 | end) | |
2657 | local BlackHole1 = Create("ParticleEmitter")({ | |
2658 | Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)), | |
2659 | Transparency = NumberSequence.new(0.8, 1), | |
2660 | Size = NumberSequence.new(3, 6), | |
2661 | Texture = "rbxassetid://153700391", | |
2662 | Lifetime = NumberRange.new(2), | |
2663 | Rate = 30, | |
2664 | VelocitySpread = 0, | |
2665 | Rotation = NumberRange.new(0), | |
2666 | RotSpeed = NumberRange.new(10), | |
2667 | Speed = NumberRange.new(0), | |
2668 | LightEmission = 0, | |
2669 | LockedToPart = true, | |
2670 | Acceleration = Vector3.new(0, 0, 0), | |
2671 | EmissionDirection = "Bottom" | |
2672 | }) | |
2673 | Effects = { | |
2674 | Block = { | |
2675 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
2676 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2677 | prt.Anchored = true | |
2678 | prt.CFrame = cframe | |
2679 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2680 | game:GetService("Debris"):AddItem(prt, 10) | |
2681 | if Type == 1 or Type == nil then | |
2682 | table.insert(Effects, { | |
2683 | prt, | |
2684 | "Block1", | |
2685 | delay, | |
2686 | x3, | |
2687 | y3, | |
2688 | z3, | |
2689 | msh | |
2690 | }) | |
2691 | elseif Type == 2 then | |
2692 | table.insert(Effects, { | |
2693 | prt, | |
2694 | "Block2", | |
2695 | delay, | |
2696 | x3, | |
2697 | y3, | |
2698 | z3, | |
2699 | msh | |
2700 | }) | |
2701 | else | |
2702 | table.insert(Effects, { | |
2703 | prt, | |
2704 | "Block3", | |
2705 | delay, | |
2706 | x3, | |
2707 | y3, | |
2708 | z3, | |
2709 | msh | |
2710 | }) | |
2711 | end | |
2712 | end | |
2713 | }, | |
2714 | Sphere = { | |
2715 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2716 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2717 | prt.Anchored = true | |
2718 | prt.CFrame = cframe | |
2719 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2720 | game:GetService("Debris"):AddItem(prt, 10) | |
2721 | table.insert(Effects, { | |
2722 | prt, | |
2723 | "Cylinder", | |
2724 | delay, | |
2725 | x3, | |
2726 | y3, | |
2727 | z3, | |
2728 | msh | |
2729 | }) | |
2730 | end | |
2731 | }, | |
2732 | Cylinder = { | |
2733 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2734 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2735 | prt.Anchored = true | |
2736 | prt.CFrame = cframe | |
2737 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2738 | game:GetService("Debris"):AddItem(prt, 10) | |
2739 | table.insert(Effects, { | |
2740 | prt, | |
2741 | "Cylinder", | |
2742 | delay, | |
2743 | x3, | |
2744 | y3, | |
2745 | z3, | |
2746 | msh | |
2747 | }) | |
2748 | end | |
2749 | }, | |
2750 | Wave = { | |
2751 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2752 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2753 | prt.Anchored = true | |
2754 | prt.CFrame = cframe | |
2755 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
2756 | game:GetService("Debris"):AddItem(prt, 10) | |
2757 | table.insert(Effects, { | |
2758 | prt, | |
2759 | "Cylinder", | |
2760 | delay, | |
2761 | x3 / 60, | |
2762 | y3 / 60, | |
2763 | z3 / 60, | |
2764 | msh | |
2765 | }) | |
2766 | end | |
2767 | }, | |
2768 | Ring = { | |
2769 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2770 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2771 | prt.Anchored = true | |
2772 | prt.CFrame = cframe | |
2773 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2774 | game:GetService("Debris"):AddItem(prt, 10) | |
2775 | table.insert(Effects, { | |
2776 | prt, | |
2777 | "Cylinder", | |
2778 | delay, | |
2779 | x3, | |
2780 | y3, | |
2781 | z3, | |
2782 | msh | |
2783 | }) | |
2784 | end | |
2785 | }, | |
2786 | Break = { | |
2787 | Create = function(brickcolor, cframe, x1, y1, z1) | |
2788 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
2789 | prt.Anchored = true | |
2790 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2791 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2792 | local num = math.random(10, 50) / 1000 | |
2793 | game:GetService("Debris"):AddItem(prt, 10) | |
2794 | table.insert(Effects, { | |
2795 | prt, | |
2796 | "Shatter", | |
2797 | num, | |
2798 | prt.CFrame, | |
2799 | math.random() - math.random(), | |
2800 | 0, | |
2801 | math.random(50, 100) / 100 | |
2802 | }) | |
2803 | end | |
2804 | } | |
2805 | } | |
2806 | function RemoveOutlines(part) | |
2807 | part.TopSurface = 10 | |
2808 | end | |
2809 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
2810 | local Part = Create("Part")({ | |
2811 | Parent = Parent, | |
2812 | Reflectance = Reflectance, | |
2813 | Transparency = Transparency, | |
2814 | CanCollide = false, | |
2815 | Locked = true, | |
2816 | BrickColor = BrickColor.new(tostring(BColor)), | |
2817 | Name = Name, | |
2818 | Size = Size, | |
2819 | Material = Material | |
2820 | }) | |
2821 | RemoveOutlines(Part) | |
2822 | return Part | |
2823 | end | |
2824 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
2825 | local Msh = Create(Mesh)({ | |
2826 | Parent = Part, | |
2827 | Offset = OffSet, | |
2828 | Scale = Scale | |
2829 | }) | |
2830 | if Mesh == "SpecialMesh" then | |
2831 | Msh.MeshType = MeshType | |
2832 | Msh.MeshId = MeshId | |
2833 | end | |
2834 | return Msh | |
2835 | end | |
2836 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
2837 | local Weld = Create("Weld")({ | |
2838 | Parent = Parent, | |
2839 | Part0 = Part0, | |
2840 | Part1 = Part1, | |
2841 | C0 = C0, | |
2842 | C1 = C1 | |
2843 | }) | |
2844 | return Weld | |
2845 | end | |
2846 | WSHM = { | |
2847 | "White", | |
2848 | "Pastel light red" | |
2849 | } | |
2850 | WSH = WSHM[math.random(1, #WSHM)] | |
2851 | function IcePartFunk(HPart, aria, Min, Max) | |
2852 | IcePart = Instance.new("Part", HPart) | |
2853 | IcePart.Size = Vector3.new(math.random(Min, Max), math.random(Min, Max), math.random(Min, Max)) | |
2854 | IcePart.CanCollide = false | |
2855 | IuW = Instance.new("Weld") | |
2856 | IuW.Name = "GuW" | |
2857 | IuW.Part0 = HPart | |
2858 | IuW.C0 = cn(math.random(-aria, aria), math.random(-aria, aria), math.random(-aria, aria)) * angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180)) | |
2859 | IuW.C1 = cn(0, math.random(-aria / 2, aria / 2), 0) | |
2860 | IuW.Part1 = IcePart | |
2861 | IuW.Parent = HPart | |
2862 | IcePart.Transparency = 0.9 | |
2863 | IcePart.Material = "Neon" | |
2864 | WSH = WSHM[math.random(1, #WSHM)] | |
2865 | IcePart.BrickColor = BrickColor.new("" .. WSH) | |
2866 | RemoveOutlines(IcePart) | |
2867 | game:GetService("Debris"):AddItem(IuW, 4) | |
2868 | game:GetService("Debris"):AddItem(IcePart, 6) | |
2869 | end | |
2870 | function GroundPartFunk2(Hit, HPart, color, aria, Min, Max, num) | |
2871 | IcePart2 = Instance.new("Part", HPart) | |
2872 | IcePart2.Size = Vector3.new(math.random(Min, Max), math.random(Min, Max), math.random(Min, Max)) | |
2873 | IcePart2.CanCollide = false | |
2874 | RemoveOutlines(IcePart2) | |
2875 | IcePart2.Anchored = true | |
2876 | game:GetService("Debris"):AddItem(IcePart2, 0.4) | |
2877 | IcePart2.Transparency = 0.95 | |
2878 | IcePart2.Material = "Neon" | |
2879 | IcePart2.BrickColor = BrickColor.new("Really black") | |
2880 | IcePart2.CFrame = CFrame.new(Hit.Position + Vector3.new(math.random(-aria, aria), math.random(-aria, 0), math.random(-aria, aria))) * angles(math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))) | |
2881 | for i = 0, num do | |
2882 | if num > 1 then | |
2883 | GroundPartFunk2(Hit, HPart, color, aria, Min, Max, 0) | |
2884 | end | |
2885 | end | |
2886 | end | |
2887 | SpikeMeshId = 1033714 | |
2888 | local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale) | |
2889 | local Part = Instance.new("Part", Parent) | |
2890 | Part.Name = Name | |
2891 | Part.BrickColor = BrickColor.new(Color) | |
2892 | Part.Size = Size | |
2893 | Part.Material = Material | |
2894 | Part.Transparency = Transparency | |
2895 | Part.CanCollide = false | |
2896 | RemoveOutlines(Part) | |
2897 | local Mesh = Instance.new("SpecialMesh", Part) | |
2898 | Mesh.MeshType = "Sphere" | |
2899 | Mesh.Scale = Scale | |
2900 | return Mesh and Part | |
2901 | end | |
2902 | CFuncs = { | |
2903 | Part = { | |
2904 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
2905 | local Part = Create("Part")({ | |
2906 | Parent = Parent, | |
2907 | Reflectance = Reflectance, | |
2908 | Transparency = Transparency, | |
2909 | CanCollide = false, | |
2910 | Locked = true, | |
2911 | BrickColor = BrickColor.new(tostring(BColor)), | |
2912 | Name = Name, | |
2913 | Size = Size, | |
2914 | Material = Material | |
2915 | }) | |
2916 | RemoveOutlines(Part) | |
2917 | return Part | |
2918 | end | |
2919 | }, | |
2920 | Mesh = { | |
2921 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
2922 | local Msh = Create(Mesh)({ | |
2923 | Parent = Part, | |
2924 | Offset = OffSet, | |
2925 | Scale = Scale | |
2926 | }) | |
2927 | if Mesh == "SpecialMesh" then | |
2928 | Msh.MeshType = MeshType | |
2929 | Msh.MeshId = MeshId | |
2930 | end | |
2931 | return Msh | |
2932 | end | |
2933 | }, | |
2934 | Mesh = { | |
2935 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
2936 | local Msh = Create(Mesh)({ | |
2937 | Parent = Part, | |
2938 | Offset = OffSet, | |
2939 | Scale = Scale | |
2940 | }) | |
2941 | if Mesh == "SpecialMesh" then | |
2942 | Msh.MeshType = MeshType | |
2943 | Msh.MeshId = MeshId | |
2944 | end | |
2945 | return Msh | |
2946 | end | |
2947 | }, | |
2948 | Weld = { | |
2949 | Create = function(Parent, Part0, Part1, C0, C1) | |
2950 | local Weld = Create("Weld")({ | |
2951 | Parent = Parent, | |
2952 | Part0 = Part0, | |
2953 | Part1 = Part1, | |
2954 | C0 = C0, | |
2955 | C1 = C1 | |
2956 | }) | |
2957 | return Weld | |
2958 | end | |
2959 | }, | |
2960 | Sound = { | |
2961 | Create = function(id, par, vol, pit) | |
2962 | coroutine.resume(coroutine.create(function() | |
2963 | local S = Create("Sound")({ | |
2964 | Volume = vol, | |
2965 | Pitch = pit or 1, | |
2966 | SoundId = id, | |
2967 | Parent = par or workspace | |
2968 | }) | |
2969 | wait() | |
2970 | S:play() | |
2971 | game:GetService("Debris"):AddItem(S, 6) | |
2972 | end)) | |
2973 | end | |
2974 | }, | |
2975 | ParticleEmitter = { | |
2976 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
2977 | local fp = Create("ParticleEmitter")({ | |
2978 | Parent = Parent, | |
2979 | Color = ColorSequence.new(Color1, Color2), | |
2980 | LightEmission = LightEmission, | |
2981 | Size = Size, | |
2982 | Texture = Texture, | |
2983 | Transparency = Transparency, | |
2984 | ZOffset = ZOffset, | |
2985 | Acceleration = Accel, | |
2986 | Drag = Drag, | |
2987 | LockedToPart = LockedToPart, | |
2988 | VelocityInheritance = VelocityInheritance, | |
2989 | EmissionDirection = EmissionDirection, | |
2990 | Enabled = Enabled, | |
2991 | Lifetime = LifeTime, | |
2992 | Rate = Rate, | |
2993 | Rotation = Rotation, | |
2994 | RotSpeed = RotSpeed, | |
2995 | Speed = Speed, | |
2996 | VelocitySpread = VelocitySpread | |
2997 | }) | |
2998 | return fp | |
2999 | end | |
3000 | } | |
3001 | } | |
3002 | function Snow(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
3003 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
3004 | prt.Anchored = true | |
3005 | prt.CFrame = cframe | |
3006 | prt.Material = "Neon" | |
3007 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
3008 | game:GetService("Debris"):AddItem(prt, 10) | |
3009 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
3010 | local SnowTiltX = math.random(-1, 1) | |
3011 | local SnowTiltY = math.random(-1, 1) | |
3012 | local SnowTiltZ = math.random(-1, 1) | |
3013 | for i = 0, 6, delay do | |
3014 | swait() | |
3015 | Part.Transparency = i | |
3016 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
3017 | Part.CFrame = Part.CFrame * angles(math.rad(SnowTiltX), math.rad(SnowTiltY), math.rad(SnowTiltZ)) + Vector3.new(0, -0.11, 0) | |
3018 | end | |
3019 | Part.Parent = nil | |
3020 | end), prt, msh) | |
3021 | end | |
3022 | function BlockLaser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
3023 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
3024 | prt.Anchored = true | |
3025 | prt.CFrame = cframe | |
3026 | prt.Material = "Neon" | |
3027 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
3028 | game:GetService("Debris"):AddItem(prt, 10) | |
3029 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
3030 | for i = 0, 6, delay do | |
3031 | swait() | |
3032 | Part.Transparency = i | |
3033 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
3034 | end | |
3035 | Part.Parent = nil | |
3036 | end), prt, msh) | |
3037 | end | |
3038 | function ShadArm(mouse, partt, SpreadAmount) | |
3039 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
3040 | local MainPos = partt.Position + RootPart.CFrame.lookVector * 1.5 | |
3041 | local MainPos2 = mouse + SpreadVectors | |
3042 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
3043 | local speed = 1000 | |
3044 | local num = 0 | |
3045 | coroutine.resume(coroutine.create(function() | |
3046 | repeat | |
3047 | swait() | |
3048 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
3049 | local mag = (MainPos - pos).magnitude | |
3050 | BlockLaser(BrickColor.new("Really black"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 0, mag * (speed / (speed / 2)), 0.5, -0.421, 0, -0.021, 0.1) | |
3051 | MainPos = MainPos + MouseLook.lookVector * speed | |
3052 | num = num - 1 | |
3053 | MouseLook = MouseLook * angles(math.rad(0), 0, 0) | |
3054 | if hit ~= nil then | |
3055 | num = 0 | |
3056 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3057 | refpart.Anchored = true | |
3058 | refpart.CFrame = CFrame.new(pos) | |
3059 | game:GetService("Debris"):AddItem(refpart, 2) | |
3060 | end | |
3061 | if num <= 0 then | |
3062 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3063 | refpart.Anchored = true | |
3064 | refpart.CFrame = CFrame.new(pos) | |
3065 | if hit ~= nil then | |
3066 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
3067 | end | |
3068 | game:GetService("Debris"):AddItem(refpart, 0) | |
3069 | end | |
3070 | until num <= 0 | |
3071 | end)) | |
3072 | end | |
3073 | function Lightning(Part0, Part1, Times, Offset, Color, Thickness, Trans, SizeAdd) | |
3074 | local magz = (Part0 - Part1).magnitude | |
3075 | local curpos = Part0 | |
3076 | local trz = { | |
3077 | -Offset, | |
3078 | Offset | |
3079 | } | |
3080 | for i = 1, Times do | |
3081 | local li = Instance.new("Part", Torso) | |
3082 | li.Name = "Lightning" | |
3083 | li.TopSurface = 0 | |
3084 | li.Material = "Neon" | |
3085 | li.BottomSurface = 0 | |
3086 | li.Anchored = true | |
3087 | li.Locked = true | |
3088 | li.Transparency = 0 | |
3089 | li.BrickColor = Color | |
3090 | li.formFactor = "Custom" | |
3091 | li.CanCollide = false | |
3092 | li.Size = Vector3.new(Thickness, Thickness, magz / Times) | |
3093 | local Offzet = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
3094 | local trolpos = CFrame.new(curpos, Part1) * CFrame.new(0, 0, magz / Times).p + Offzet | |
3095 | if Times == i then | |
3096 | local magz2 = (curpos - Part1).magnitude | |
3097 | li.Size = Vector3.new(Thickness, Thickness, magz2) | |
3098 | li.CFrame = CFrame.new(curpos, Part1) * CFrame.new(0, 0, -magz2 / 2) | |
3099 | else | |
3100 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / Times / 2) | |
3101 | end | |
3102 | curpos = li.CFrame * CFrame.new(0, 0, magz / Times / 2).p | |
3103 | game.Debris:AddItem(li, 0.01) | |
3104 | BlockEffect(Color, li.CFrame, li.Size.X * 20, li.Size.Y * 20, li.Size.Z * 20, SizeAdd, SizeAdd, 0, 0.07, 2) | |
3105 | end | |
3106 | end | |
3107 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
3108 | if hit.Parent == nil then | |
3109 | return | |
3110 | end | |
3111 | local h = hit.Parent:FindFirstChild("Humanoid") | |
3112 | for _, v in pairs(hit.Parent:children()) do | |
3113 | if v:IsA("Humanoid") then | |
3114 | h = v | |
3115 | end | |
3116 | end | |
3117 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
3118 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
3119 | return | |
3120 | end | |
3121 | local c = Create("ObjectValue")({ | |
3122 | Name = "creator", | |
3123 | Value = game:service("Players").LocalPlayer, | |
3124 | Parent = h | |
3125 | }) | |
3126 | game:GetService("Debris"):AddItem(c, 0.5) | |
3127 | if HitSound ~= nil and HitPitch ~= nil then | |
3128 | CreateSound(HitSound, hit, 1, HitPitch) | |
3129 | end | |
3130 | local Damage = math.random(minim, maxim) | |
3131 | local blocked = false | |
3132 | local block = hit.Parent:findFirstChild("Block") | |
3133 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
3134 | blocked = true | |
3135 | block.Value = block.Value - 1 | |
3136 | print(block.Value) | |
3137 | end | |
3138 | if blocked == false then | |
3139 | h.Health = h.Health - Damage | |
3140 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
3141 | else | |
3142 | h.Health = h.Health - Damage / 2 | |
3143 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
3144 | end | |
3145 | if Type == "Knockdown" then | |
3146 | local hum = hit.Parent.Humanoid | |
3147 | hum.PlatformStand = true | |
3148 | coroutine.resume(coroutine.create(function(HHumanoid) | |
3149 | swait(0.2) | |
3150 | HHumanoid.PlatformStand = false | |
3151 | end), hum) | |
3152 | local angle = hit.Position - Property.Position + Vector3.new(0, 0, 0).unit | |
3153 | local bodvol = Create("BodyVelocity")({ | |
3154 | velocity = angle * knockback, | |
3155 | P = 50, | |
3156 | maxForce = Vector3.new(80000, 80000, 80000), | |
3157 | Parent = hit | |
3158 | }) | |
3159 | local rl = Create("BodyAngularVelocity")({ | |
3160 | P = 3000, | |
3161 | maxTorque = Vector3.new(5000, 5000, 5000) * 50, | |
3162 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
3163 | Parent = hit | |
3164 | }) | |
3165 | game:GetService("Debris"):AddItem(bodvol, 0.1) | |
3166 | game:GetService("Debris"):AddItem(rl, 0.1) | |
3167 | elseif Type == "Normal" then | |
3168 | local vp = Create("BodyVelocity")({ | |
3169 | P = 500, | |
3170 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
3171 | velocity = Property.CFrame.lookVector * knockback | |
3172 | }) | |
3173 | if knockback > 0 then | |
3174 | vp.Parent = hit.Parent.Torso | |
3175 | end | |
3176 | game:GetService("Debris"):AddItem(vp, 0.5) | |
3177 | elseif Type == "Impale" then | |
3178 | local Spike = CreateSpike(Services.Workspace, "Ice Spike", "Really red", Vector3.new(1, 2, 1), "Neon", 0.2, Vector3.new(0.5, 25, 0.5)) | |
3179 | Spike.Anchored = true | |
3180 | Spike.Rotation = Vector3.new(math.random(-45, 45), 0, math.random(-45, 45)) | |
3181 | Spike.Position = hit.Parent.Torso.Position | |
3182 | Services.Debris:AddItem(Spike, 4) | |
3183 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, 0.8, 2) | |
3184 | hit.Parent.Humanoid.PlatformStand = true | |
3185 | swait(1) | |
3186 | hit.Parent.Humanoid.PlatformStand = false | |
3187 | elseif Type == "Stalk" then | |
3188 | if hit.Parent:FindFirstChild("Torso") ~= nil then | |
3189 | lasthit = hit.Parent.Torso | |
3190 | end | |
3191 | local bp = Create("BodyPosition")({ | |
3192 | P = 900, | |
3193 | D = 1000, | |
3194 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3195 | position = hit.Parent.Torso.Position, | |
3196 | Parent = hit.Parent.Torso | |
3197 | }) | |
3198 | game:GetService("Debris"):AddItem(bp, 5) | |
3199 | elseif Type == "Up" then | |
3200 | local bodyVelocity = Create("BodyVelocity")({ | |
3201 | velocity = Vector3.new(0, 20, 0), | |
3202 | P = 5000, | |
3203 | maxForce = Vector3.new(8000, 8000, 8000), | |
3204 | Parent = hit | |
3205 | }) | |
3206 | game:GetService("Debris"):AddItem(bodyVelocity, 0.1) | |
3207 | local bodyVelocity = Create("BodyVelocity")({ | |
3208 | velocity = Vector3.new(0, 20, 0), | |
3209 | P = 5000, | |
3210 | maxForce = Vector3.new(8000, 8000, 8000), | |
3211 | Parent = hit | |
3212 | }) | |
3213 | game:GetService("Debris"):AddItem(bodyVelocity, 0.1) | |
3214 | elseif Type == "Drag" then | |
3215 | coroutine.resume(coroutine.create(function() | |
3216 | for i = 1, 10 do | |
3217 | ShadArm(hit.Parent.Torso.Position, RootPart, 0) | |
3218 | Effects.Sphere.Create(BrickColor.new("Really black"), hit.Parent.Torso.CFrame * cn(0, 0, 0), -100, -0.5, -50, -1, 0, -1, 0.05) | |
3219 | local ShadeArmDrag = Create("BodyPosition")({ | |
3220 | P = 9000, | |
3221 | D = 1000, | |
3222 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3223 | position = RootPart.Position + RootPart.CFrame.lookVector * 6, | |
3224 | Parent = hit.Parent.Torso | |
3225 | }) | |
3226 | game:GetService("Debris"):AddItem(ShadeArmDrag, 0.2) | |
3227 | wait() | |
3228 | end | |
3229 | end)) | |
3230 | elseif Type == "UltSlice" then | |
3231 | do | |
3232 | local BHE = BlackHole1:Clone() | |
3233 | local bp2 = Create("BodyPosition")({ | |
3234 | P = 900, | |
3235 | D = 1000, | |
3236 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3237 | position = hit.Parent.Head.Position, | |
3238 | Parent = hit.Parent.Torso | |
3239 | }) | |
3240 | game:GetService("Debris"):AddItem(bp2, 5) | |
3241 | if hit.Parent:FindFirstChild("Torso") ~= nil then | |
3242 | coroutine.resume(coroutine.create(function() | |
3243 | BHE.Parent = hit.Parent.Torso | |
3244 | game:GetService("Debris"):AddItem(BHE, 5) | |
3245 | wait(3) | |
3246 | BHE.Rate = 0 | |
3247 | end)) | |
3248 | end | |
3249 | if hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then | |
3250 | for i = 1, 30 do | |
3251 | Effects.Break.Create(maincolor, hit.Parent.HumanoidRootPart.CFrame, 10, 0.5, 0.5) | |
3252 | end | |
3253 | end | |
3254 | end | |
3255 | elseif Type == "Slice" then | |
3256 | local bp2 = Create("BodyPosition")({ | |
3257 | P = 900, | |
3258 | D = 1000, | |
3259 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3260 | position = hit.Parent.Head.Position, | |
3261 | Parent = hit.Parent.Torso | |
3262 | }) | |
3263 | game:GetService("Debris"):AddItem(bp2, 1) | |
3264 | if hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then | |
3265 | for i = 1, 10 do | |
3266 | Effects.Break.Create(maincolor, hit.Parent.HumanoidRootPart.CFrame, 10, 0.5, 0.5) | |
3267 | end | |
3268 | end | |
3269 | elseif Type == "Snare" then | |
3270 | local bp = Create("BodyPosition")({ | |
3271 | P = 900, | |
3272 | D = 1000, | |
3273 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3274 | position = hit.Parent.Torso.Position, | |
3275 | Parent = hit.Parent.Torso | |
3276 | }) | |
3277 | game:GetService("Debris"):AddItem(bp, 1) | |
3278 | elseif Type == "Slowness" then | |
3279 | local SpeedSave = hit.Parent.Humanoid.WalkSpeed | |
3280 | if SpeedSave > 6 then | |
3281 | if elementmode == "Mode 4" then | |
3282 | coroutine.resume(coroutine.create(function() | |
3283 | for i = 1, 10 do | |
3284 | hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed - 0.5 | |
3285 | wait() | |
3286 | end | |
3287 | end)) | |
3288 | wait(1) | |
3289 | coroutine.resume(coroutine.create(function() | |
3290 | for i = 1, 10 do | |
3291 | hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed + 0.5 | |
3292 | wait() | |
3293 | end | |
3294 | end)) | |
3295 | else | |
3296 | coroutine.resume(coroutine.create(function() | |
3297 | for i = 1, 10 do | |
3298 | hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed - 0.25 | |
3299 | wait() | |
3300 | end | |
3301 | end)) | |
3302 | wait(1) | |
3303 | coroutine.resume(coroutine.create(function() | |
3304 | for i = 1, 10 do | |
3305 | hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed + 0.25 | |
3306 | wait() | |
3307 | end | |
3308 | end)) | |
3309 | end | |
3310 | end | |
3311 | elseif Type == "Firedmg" then | |
3312 | coroutine.resume(coroutine.create(function() | |
3313 | for i = 1, 10 do | |
3314 | if hit.Parent:FindFirstChild("Torso") ~= nil then | |
3315 | BlockEffect(BrickColor.new("Really black"), hit.Parent.Head.CFrame, 0, 0, 0, 2, 2, 2, 0.035, 1) | |
3316 | wait() | |
3317 | end | |
3318 | end | |
3319 | end)) | |
3320 | elseif Type == "Freeze" then | |
3321 | local bp = Create("BodyPosition")({ | |
3322 | P = 1000, | |
3323 | D = 1000, | |
3324 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3325 | position = hit.Parent.Torso.Position, | |
3326 | Parent = hit.Parent.Torso | |
3327 | }) | |
3328 | game:GetService("Debris"):AddItem(bp, 4) | |
3329 | coroutine.resume(coroutine.create(function() | |
3330 | for i = 1, 35 do | |
3331 | IcePartFunk(hit.Parent.Torso, 0.6, 1, 1.5) | |
3332 | end | |
3333 | hit.Parent.Torso.Anchored = true | |
3334 | wait(4) | |
3335 | hit.Parent.Torso.Anchored = false | |
3336 | end)) | |
3337 | coroutine.resume(coroutine.create(function() | |
3338 | for i = 1, 10 do | |
3339 | Snow(maincolor, hit.Parent.Torso.CFrame * cn(math.random(-3, 3), math.random(4, 6), math.random(-3, 3)), 0.3, 0.2, 0.3, 0, 0, 0, 0.01) | |
3340 | wait(0.4) | |
3341 | end | |
3342 | end)) | |
3343 | elseif Type == "Freeze2" then | |
3344 | local BodPos = Create("BodyPosition")({ | |
3345 | P = 50000, | |
3346 | D = 1000, | |
3347 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3348 | position = hit.Parent.Torso.Position, | |
3349 | Parent = hit.Parent.Torso | |
3350 | }) | |
3351 | local BodGy = Create("BodyGyro")({ | |
3352 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
3353 | P = 20000, | |
3354 | Parent = hit.Parent.Torso, | |
3355 | cframe = hit.Parent.Torso.CFrame | |
3356 | }) | |
3357 | hit.Parent.Torso.Anchored = true | |
3358 | coroutine.resume(coroutine.create(function(Part) | |
3359 | swait(1.5) | |
3360 | Part.Anchored = false | |
3361 | end), hit.Parent.Torso) | |
3362 | game:GetService("Debris"):AddItem(BodPos, 3) | |
3363 | game:GetService("Debris"):AddItem(BodGy, 3) | |
3364 | end | |
3365 | local debounce = Create("BoolValue")({ | |
3366 | Name = "DebounceHit", | |
3367 | Parent = hit.Parent, | |
3368 | Value = true | |
3369 | }) | |
3370 | game:GetService("Debris"):AddItem(debounce, Delay) | |
3371 | c = Instance.new("ObjectValue") | |
3372 | c.Name = "creator" | |
3373 | c.Value = Player | |
3374 | c.Parent = h | |
3375 | game:GetService("Debris"):AddItem(c, 0.5) | |
3376 | end | |
3377 | end | |
3378 | function ShowDamage(Pos, Text, Time, Color) | |
3379 | local Rate = 0.033333333333333 | |
3380 | if not Pos then | |
3381 | local Pos = Vector3.new(0, 0, 0) | |
3382 | end | |
3383 | local Text = Text or "" | |
3384 | local Time = Time or 2 | |
3385 | if not Color then | |
3386 | local Color = Color3.new(1, 0, 1) | |
3387 | end | |
3388 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
3389 | EffectPart.Anchored = true | |
3390 | local BillboardGui = Create("BillboardGui")({ | |
3391 | Size = UDim2.new(3, 0, 3, 0), | |
3392 | Adornee = EffectPart, | |
3393 | Parent = EffectPart | |
3394 | }) | |
3395 | local TextLabel = Create("TextLabel")({ | |
3396 | BackgroundTransparency = 1, | |
3397 | Size = UDim2.new(1, 0, 1, 0), | |
3398 | Text = Text, | |
3399 | TextColor3 = Color, | |
3400 | TextScaled = true, | |
3401 | Font = Enum.Font.ArialBold, | |
3402 | Parent = BillboardGui | |
3403 | }) | |
3404 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
3405 | EffectPart.Parent = game:GetService("Workspace") | |
3406 | delay(0, function() | |
3407 | local Frames = Time / Rate | |
3408 | for Frame = 1, Frames do | |
3409 | wait(Rate) | |
3410 | local Percent = Frame / Frames | |
3411 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
3412 | TextLabel.TextTransparency = Percent | |
3413 | end | |
3414 | if EffectPart and EffectPart.Parent then | |
3415 | EffectPart:Destroy() | |
3416 | end | |
3417 | end) | |
3418 | end | |
3419 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
3420 | for _, c in pairs(workspace:children()) do | |
3421 | local hum = c:findFirstChild("Humanoid") | |
3422 | if hum ~= nil then | |
3423 | local head = c:findFirstChild("Head") | |
3424 | if head ~= nil then | |
3425 | local targ = head.Position - Part.Position | |
3426 | local mag = targ.magnitude | |
3427 | if magni >= mag and c.Name ~= Player.Name then | |
3428 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2) | |
3429 | end | |
3430 | end | |
3431 | end | |
3432 | end | |
3433 | end | |
3434 | function MagniKILL(Part, magni, knock, Type) | |
3435 | for _, c in pairs(workspace:children()) do | |
3436 | local hum = c:findFirstChild("Humanoid") | |
3437 | if hum ~= nil then | |
3438 | local head = c:findFirstChild("Head") | |
3439 | if head ~= nil then | |
3440 | local targ = head.Position - Part.Position | |
3441 | local mag = targ.magnitude | |
3442 | if magni >= mag and c.Name ~= Player.Name then | |
3443 | hum.Health = 0 | |
3444 | end | |
3445 | end | |
3446 | end | |
3447 | end | |
3448 | end | |
3449 | EffectModel = Instance.new("Model", Character) | |
3450 | EffectModel.Name = "Effects" | |
3451 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
3452 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
3453 | prt.Anchored = true | |
3454 | prt.CFrame = cframe | |
3455 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
3456 | game:GetService("Debris"):AddItem(prt, 10) | |
3457 | if Type == 1 or Type == nil then | |
3458 | table.insert(Effects, { | |
3459 | prt, | |
3460 | "Block1", | |
3461 | delay, | |
3462 | x3, | |
3463 | y3, | |
3464 | z3, | |
3465 | msh | |
3466 | }) | |
3467 | elseif Type == 2 then | |
3468 | table.insert(Effects, { | |
3469 | prt, | |
3470 | "Block2", | |
3471 | delay, | |
3472 | x3, | |
3473 | y3, | |
3474 | z3, | |
3475 | msh | |
3476 | }) | |
3477 | elseif Type == 3 then | |
3478 | table.insert(Effects, { | |
3479 | prt, | |
3480 | "Block3", | |
3481 | delay, | |
3482 | x3, | |
3483 | y3, | |
3484 | z3, | |
3485 | msh | |
3486 | }) | |
3487 | end | |
3488 | end | |
3489 | function CreateSound(id, par, vol, pit) | |
3490 | coroutine.resume(coroutine.create(function() | |
3491 | local sou = Instance.new("Sound", par or workspace) | |
3492 | sou.Volume = vol | |
3493 | sou.Pitch = pit or 1 | |
3494 | sou.SoundId = id | |
3495 | swait() | |
3496 | sou:play() | |
3497 | game:GetService("Debris"):AddItem(sou, 6) | |
3498 | end)) | |
3499 | end | |
3500 | function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
3501 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
3502 | prt.Anchored = true | |
3503 | prt.CFrame = cframe | |
3504 | prt.Material = "Neon" | |
3505 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
3506 | game:GetService("Debris"):AddItem(prt, 10) | |
3507 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
3508 | for i = 0, 6, delay do | |
3509 | swait() | |
3510 | Part.Transparency = i | |
3511 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
3512 | end | |
3513 | Part.Parent = nil | |
3514 | end), prt, msh) | |
3515 | end | |
3516 | function shoottraildd(mouse, partt, SpreadAmount) | |
3517 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount / 10, SpreadAmount / 10), math.random(-SpreadAmount, SpreadAmount)) | |
3518 | local MainPos = mouse + Vector3.new(0, 6, 0) + RootPart.CFrame.lookVector * -2 | |
3519 | local MainPos2 = mouse + SpreadVectors | |
3520 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
3521 | local speed = 100 | |
3522 | local num = 1 | |
3523 | coroutine.resume(coroutine.create(function() | |
3524 | repeat | |
3525 | swait() | |
3526 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
3527 | local mag = (MainPos - pos).magnitude | |
3528 | Laser(maincolor, CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 0, mag * (speed / (speed / 2)), 0, 0, 0, 0, 10) | |
3529 | MainPos = MainPos + MouseLook.lookVector * speed | |
3530 | num = num - 1 | |
3531 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
3532 | if hit ~= nil then | |
3533 | num = 0 | |
3534 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3535 | refpart.Anchored = true | |
3536 | refpart.CFrame = CFrame.new(pos) | |
3537 | game:GetService("Debris"):AddItem(refpart, 2) | |
3538 | end | |
3539 | if num <= 0 then | |
3540 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3541 | refpart.Anchored = true | |
3542 | refpart.CFrame = CFrame.new(pos) | |
3543 | if hit ~= nil then | |
3544 | GroundPartFunk2(refpart, EffectModel, "Really black", 1, 0.05, 0.05, 10) | |
3545 | Effects.Sphere.Create(BrickColor.new("Really black"), refpart.CFrame * cn(0, 0, 0), 60, 0.05, 60, -10, 0, -10, 0.15) | |
3546 | Effects.Sphere.Create(maincolor, refpart.CFrame * cn(0, 2.97, 0), 60, 60, 60, -10, -10, -10, 0.15) | |
3547 | MagniDamage(refpart, 6, 30, 45, 0, "Slice") | |
3548 | end | |
3549 | game:GetService("Debris"):AddItem(refpart, 0) | |
3550 | end | |
3551 | until num <= 0 | |
3552 | end)) | |
3553 | end | |
3554 | function shoottraildd2(mouse, partt, SpreadAmount) | |
3555 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
3556 | local MainPos = partt.Position + RootPart.CFrame.lookVector * 1.5 | |
3557 | local MainPos2 = mouse + SpreadVectors | |
3558 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
3559 | local speed = 1000 | |
3560 | local num = 0 | |
3561 | coroutine.resume(coroutine.create(function() | |
3562 | repeat | |
3563 | swait() | |
3564 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
3565 | local mag = (MainPos - pos).magnitude | |
3566 | BlockLaser(maincolor, CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.475, 0, -0.475, 0.14) | |
3567 | BlockLaser(BrickColor.new("Really red"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 0.5, mag * (speed / (speed / 2)), 0.5, -0.475, 0, -0.475, 0.14) | |
3568 | MainPos = MainPos + MouseLook.lookVector * speed | |
3569 | num = num - 1 | |
3570 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
3571 | if hit ~= nil then | |
3572 | num = 0 | |
3573 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3574 | refpart.Anchored = true | |
3575 | refpart.CFrame = CFrame.new(pos) | |
3576 | game:GetService("Debris"):AddItem(refpart, 2) | |
3577 | end | |
3578 | if num <= 0 then | |
3579 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3580 | refpart.Anchored = true | |
3581 | refpart.CFrame = CFrame.new(pos) | |
3582 | if hit ~= nil then | |
3583 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
3584 | BlockEffect(BrickColor.new("Really black"), refpart.CFrame, 1, 1, 1, 2.5, 2.5, 2.5, 0.08, 3) | |
3585 | BlockEffect(maincolor, refpart.CFrame, 1, 1, 1, 2, 2, 2, 0.08) | |
3586 | BlockEffect(maincolor, refpart.CFrame, 1, 1, 1, 2, 2, 2, 0.08) | |
3587 | BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 3, 3, 3, 0.1) | |
3588 | MagniDamage(refpart, 6, 2, 5, 0, "Slowness") | |
3589 | end | |
3590 | game:GetService("Debris"):AddItem(refpart, 0) | |
3591 | end | |
3592 | until num <= 0 | |
3593 | end)) | |
3594 | end | |
3595 | function shoottraildd3(mouse, partt, SpreadAmount, dmg) | |
3596 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
3597 | local MainPos = mouse + Vector3.new(0, 500, 0) + SpreadVectors | |
3598 | local MainPos2 = mouse + SpreadVectors + Vector3.new(0, -110, 0) | |
3599 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
3600 | local speed = 1000000 | |
3601 | local num = 5 | |
3602 | coroutine.resume(coroutine.create(function() | |
3603 | repeat | |
3604 | swait() | |
3605 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
3606 | local mag = (MainPos - pos).magnitude | |
3607 | BlockLaser(maincolor, CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 0.5, mag * (speed / (speed / 2)), 0.5, -0.275, 0, -0.275, 0.35) | |
3608 | MainPos = MainPos + MouseLook.lookVector * speed | |
3609 | num = num - 1 | |
3610 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
3611 | if hit ~= nil then | |
3612 | num = 0 | |
3613 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3614 | refpart.Anchored = true | |
3615 | refpart.CFrame = CFrame.new(pos) | |
3616 | game:GetService("Debris"):AddItem(refpart, 2) | |
3617 | end | |
3618 | if num <= 0 then | |
3619 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3620 | refpart.Anchored = true | |
3621 | refpart.CFrame = CFrame.new(pos) | |
3622 | if hit ~= nil then | |
3623 | Effects.Sphere.Create(BrickColor.new("Really black"), refpart.CFrame * cn(0, 0, 0), 60, 0.05, 60, -60, 0, -60, 0.1) | |
3624 | Effects.Sphere.Create(maincolor, refpart.CFrame * cn(0, 1.97, 0), 1, 10, 1, 15, 40, 15, 0.1) | |
3625 | Effects.Sphere.Create(maincolor, refpart.CFrame * cn(0, 1.97, 0), 10, 0.05, 10, 15, 0, 15, 0.1) | |
3626 | MagniDamage(refpart, 14, 15, 15, 0, "Slice") | |
3627 | end | |
3628 | game:GetService("Debris"):AddItem(refpart, 0) | |
3629 | end | |
3630 | until num <= 0 | |
3631 | end)) | |
3632 | end | |
3633 | function shoottraildd4(mouse, partt, SpreadAmount) | |
3634 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
3635 | local MainPos = partt.Position | |
3636 | local MainPos2 = mouse + SpreadVectors | |
3637 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
3638 | local speed = 150 | |
3639 | local num = 0 | |
3640 | coroutine.resume(coroutine.create(function() | |
3641 | repeat | |
3642 | swait() | |
3643 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
3644 | local mag = (MainPos - pos).magnitude | |
3645 | Laser(BrickColor.new("Gold"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 0, mag * (speed / (speed / 2)), 0, 0, 0, 0, 10) | |
3646 | MainPos = MainPos + MouseLook.lookVector * speed | |
3647 | num = num - 1 | |
3648 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
3649 | if hit ~= nil then | |
3650 | num = 0 | |
3651 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3652 | refpart.Anchored = true | |
3653 | refpart.CFrame = CFrame.new(pos) | |
3654 | game:GetService("Debris"):AddItem(refpart, 2) | |
3655 | end | |
3656 | if num <= 0 then | |
3657 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3658 | refpart.Anchored = true | |
3659 | refpart.CFrame = CFrame.new(pos) | |
3660 | if hit ~= nil then | |
3661 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
3662 | MagniDamage(refpart, 3, 0.001, 0.01, 0, "Stalk") | |
3663 | end | |
3664 | game:GetService("Debris"):AddItem(refpart, 0) | |
3665 | end | |
3666 | until num <= 0 | |
3667 | end)) | |
3668 | end | |
3669 | function shoottraildd5(mouse, partt, SpreadAmount) | |
3670 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
3671 | local MainPos = partt.Position + RootPart.CFrame.lookVector * 2.5 | |
3672 | local MainPos2 = mouse + SpreadVectors | |
3673 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
3674 | local speed = 3 | |
3675 | local num = 50 | |
3676 | coroutine.resume(coroutine.create(function() | |
3677 | repeat | |
3678 | swait() | |
3679 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
3680 | local mag = (MainPos - pos).magnitude | |
3681 | BlockLaser(BrickColor.new("Really black"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 0.1, 0.175, 0, 0.175, 0.14) | |
3682 | MainPos = MainPos + MouseLook.lookVector * speed | |
3683 | num = num - 1 | |
3684 | MouseLook = MouseLook * angles(math.rad(0), 0, 0) | |
3685 | if hit ~= nil then | |
3686 | num = 0 | |
3687 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3688 | refpart.Anchored = true | |
3689 | refpart.CFrame = CFrame.new(pos) | |
3690 | game:GetService("Debris"):AddItem(refpart, 2) | |
3691 | end | |
3692 | if num <= 0 then | |
3693 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3694 | refpart.Anchored = true | |
3695 | refpart.CFrame = CFrame.new(pos) | |
3696 | if hit ~= nil then | |
3697 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
3698 | BlockEffect(BrickColor.new("Really black"), refpart.CFrame, 1, 1, 1, 5, 5, 5, 0.1) | |
3699 | MagniDamage(refpart, 8, 3, 15, 0, "Drag") | |
3700 | end | |
3701 | game:GetService("Debris"):AddItem(refpart, 1) | |
3702 | end | |
3703 | until num <= 0 | |
3704 | end)) | |
3705 | end | |
3706 | local Blood1 = Create("ParticleEmitter")({ | |
3707 | Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)), | |
3708 | Transparency = NumberSequence.new(0.1, 1), | |
3709 | Size = NumberSequence.new(0.5, 0), | |
3710 | Texture = "rbxassetid://602578593", | |
3711 | Lifetime = NumberRange.new(0.8), | |
3712 | Rate = 255, | |
3713 | VelocitySpread = 40, | |
3714 | Rotation = NumberRange.new(100), | |
3715 | Speed = NumberRange.new(5), | |
3716 | LightEmission = 0, | |
3717 | LockedToPart = false, | |
3718 | Acceleration = Vector3.new(0, -10, 0), | |
3719 | EmissionDirection = "Bottom" | |
3720 | }) | |
3721 | local Blood2 = Create("ParticleEmitter")({ | |
3722 | Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)), | |
3723 | Transparency = NumberSequence.new(0.1, 1), | |
3724 | Size = NumberSequence.new(0.3, 0), | |
3725 | Texture = "rbxassetid://602578593", | |
3726 | Lifetime = NumberRange.new(0.8), | |
3727 | Rate = 255, | |
3728 | VelocitySpread = 180, | |
3729 | Rotation = NumberRange.new(100), | |
3730 | Speed = NumberRange.new(2), | |
3731 | LightEmission = 0.1, | |
3732 | LockedToPart = false, | |
3733 | Acceleration = Vector3.new(0, -5, 0), | |
3734 | EmissionDirection = "Bottom" | |
3735 | }) | |
3736 | function HitpartFunk3(HPart3, Xv, Yv, Zv) | |
3737 | Hitpart3 = Instance.new("Part", EffectModel) | |
3738 | RemoveOutlines(Hitpart3) | |
3739 | Hitpart3.Size = Vector3.new(1, 1, 1) | |
3740 | Hitpart3.CanCollide = false | |
3741 | HuW3 = Instance.new("Weld") | |
3742 | HuW3.Name = "GuW" | |
3743 | HuW3.Part0 = HPart3 | |
3744 | HuW3.C0 = cn(Xv, Yv, Zv) | |
3745 | HuW3.C1 = cn(0, 0, 0) | |
3746 | HuW3.Part1 = Hitpart3 | |
3747 | HuW3.Parent = HPart3 | |
3748 | Hitpart3.Transparency = 1 | |
3749 | game:GetService("Debris"):AddItem(Hitpart3, 20) | |
3750 | end | |
3751 | function HitpartFunk2(HPart2, Xv, Yv, Zv) | |
3752 | Hitpart2 = Instance.new("Part", EffectModel) | |
3753 | RemoveOutlines(Hitpart2) | |
3754 | Hitpart2.Size = Vector3.new(1, 1, 1) | |
3755 | Hitpart2.CanCollide = false | |
3756 | HuW2 = Instance.new("Weld") | |
3757 | HuW2.Name = "GuW" | |
3758 | HuW2.Part0 = HPart2 | |
3759 | HuW2.C0 = cn(Xv, Yv, Zv) | |
3760 | HuW2.C1 = cn(0, 0, 0) | |
3761 | HuW2.Part1 = Hitpart2 | |
3762 | HuW2.Parent = HPart2 | |
3763 | Hitpart2.Transparency = 1 | |
3764 | game:GetService("Debris"):AddItem(Hitpart2, 20) | |
3765 | end | |
3766 | function HitpartFunk(HPart, Min, Max, Xv, Yv, Zv, atype, kb) | |
3767 | Hitpart = Instance.new("Part", EffectModel) | |
3768 | RemoveOutlines(Hitpart) | |
3769 | Hitpart.Size = Vector3.new(1, 1, 1) | |
3770 | Hitpart.CanCollide = false | |
3771 | HuW = Instance.new("Weld") | |
3772 | HuW.Name = "GuW" | |
3773 | HuW.Part0 = HPart | |
3774 | HuW.C0 = cn(Xv, Yv, Zv) | |
3775 | HuW.C1 = cn(0, 0, 0) | |
3776 | HuW.Part1 = Hitpart | |
3777 | HuW.Parent = HPart | |
3778 | Hitpart.Transparency = 1 | |
3779 | game:GetService("Debris"):AddItem(Hitpart2, 20) | |
3780 | MagniDamage(Hitpart, 4.5, Min, Max, kb, atype) | |
3781 | end | |
3782 | function HitpartFunk4(HPart, Min, Max, Xv, Yv, Zv, atype, kb) | |
3783 | Hitpart4 = Instance.new("Part", EffectModel) | |
3784 | RemoveOutlines(Hitpart4) | |
3785 | Hitpart4.Size = Vector3.new(1, 1, 1) | |
3786 | Hitpart4.CanCollide = false | |
3787 | HuW4 = Instance.new("Weld") | |
3788 | HuW4.Name = "HuW4" | |
3789 | HuW4.Part0 = HPart | |
3790 | HuW4.C0 = cn(Xv, Yv, Zv) | |
3791 | HuW4.C1 = cn(0, 0, 0) | |
3792 | HuW4.Part1 = Hitpart4 | |
3793 | HuW4.Parent = HPart | |
3794 | Hitpart4.Transparency = 1 | |
3795 | game:GetService("Debris"):AddItem(Hitpart4, 1) | |
3796 | MagniDamage(Hitpart4, 6.5, Min, Max, kb, atype) | |
3797 | end | |
3798 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
3799 | Hitboxpart = Instance.new("Part", EffectModel) | |
3800 | RemoveOutlines(Hitboxpart) | |
3801 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
3802 | Hitboxpart.CanCollide = false | |
3803 | Hitboxpart.Transparency = 1 | |
3804 | Hitboxpart.Anchored = true | |
3805 | Hitboxpart.CFrame = Pose | |
3806 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime) | |
3807 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
3808 | end | |
3809 | wait2 = false | |
3810 | combo = 1 | |
3811 | mouse.Button1Down:connect(function(key) | |
3812 | if attack == false then | |
3813 | attack = true | |
3814 | Humanoid.WalkSpeed = 3.01 | |
3815 | if combo == 1 and wait2 == false then | |
3816 | wait2 = true | |
3817 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=608537390", LeftArm, 1, 0.8) | |
3818 | for i = 0, 1, 0.1 do | |
3819 | swait() | |
3820 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.3) | |
3821 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.1) | |
3822 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, 0.8) * angles(math.rad(90), math.rad(-10), math.rad(90)), 0.1) | |
3823 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
3824 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(25), math.rad(-10)), 0.3) | |
3825 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(45), math.rad(0)), 0.3) | |
3826 | end | |
3827 | HitboxFunction(RootPart.CFrame * cn(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal") | |
3828 | for i = 0, 1, 0.1 do | |
3829 | swait() | |
3830 | BlockEffect(maincolor, SwHandle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2) | |
3831 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
3832 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-25)), 0.1) | |
3833 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(0)), 0.4) | |
3834 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
3835 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
3836 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
3837 | end | |
3838 | combo = 2 | |
3839 | end | |
3840 | if combo == 2 and wait2 == false then | |
3841 | wait2 = true | |
3842 | for i = 0, 1, 0.1 do | |
3843 | swait() | |
3844 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
3845 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-25)), 0.1) | |
3846 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.3, -0.4) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.1) | |
3847 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.1) | |
3848 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
3849 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
3850 | end | |
3851 | HitboxFunction(RootPart.CFrame * cn(0, 0, -3), 0.5, 1, 1, 1, 5, 10, 20, 3, "Normal") | |
3852 | for i = 0, 0.5, 0.1 do | |
3853 | swait() | |
3854 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(4), math.rad(0), math.rad(45)), 0.3) | |
3855 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-25)), 0.1) | |
3856 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.7, -0.4) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.2) | |
3857 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.3) | |
3858 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
3859 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
3860 | end | |
3861 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=386946017", SwHandle, 2, 0.9) | |
3862 | BlockEffect(maincolor, Hitboxpart.CFrame, 11, 11, 11, 10, 10, 10, 0.08, 2) | |
3863 | for i = 0, 0.8, 0.1 do | |
3864 | swait() | |
3865 | HitboxFunction(RootPart.CFrame * cn(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal") | |
3866 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(-16), math.rad(0), math.rad(-45)), 0.3) | |
3867 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(35)), 0.1) | |
3868 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, -0.4) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.5) | |
3869 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.3) | |
3870 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(45), math.rad(0)), 0.3) | |
3871 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(25), math.rad(50)), 0.3) | |
3872 | end | |
3873 | combo = 3 | |
3874 | end | |
3875 | if combo == 3 and wait2 == false then | |
3876 | wait2 = true | |
3877 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=608537390", SwHandle, 1, 0.8) | |
3878 | for i = 0, 1, 0.1 do | |
3879 | swait() | |
3880 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(5), math.rad(-90)), 0.3) | |
3881 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
3882 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(95 + 0 * math.cos(sine / 25)), math.rad(95 + 1 * math.cos(sine / 25))), 0.4) | |
3883 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.3, -0.2) * angles(math.rad(90), math.rad(0), math.rad(45 + 1 * math.cos(sine / 25))), 0.2) | |
3884 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
3885 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
3886 | end | |
3887 | HitboxFunction(RootPart.CFrame * cn(0, 0, -2), 0.1, 1, 1, 1, 5, 10, 20, 3, "Normal") | |
3888 | for i = 0, 1, 0.1 do | |
3889 | swait() | |
3890 | BlockEffect(maincolor, RightArm.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2) | |
3891 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(5), math.rad(45)), 0.3) | |
3892 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.2) | |
3893 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(45 + 0 * math.cos(sine / 25)), math.rad(90 + 1 * math.cos(sine / 25))), 0.4) | |
3894 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, 0) * angles(math.rad(45), math.rad(0), math.rad(20 + 1 * math.cos(sine / 25))), 0.3) | |
3895 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * RHCF * angles(math.rad(5 + 1 * math.cos(sine / 25)), math.rad(-50), math.rad(8 + 1 * math.cos(sine / 25))), 0.2) | |
3896 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-5 + 1 * math.cos(sine / 25)), math.rad(-50), math.rad(20 + 1 * math.cos(sine / 25))), 0.2) | |
3897 | end | |
3898 | for i = 0, 0.5, 0.1 do | |
3899 | swait() | |
3900 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(5), math.rad(45)), 0.3) | |
3901 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.2) | |
3902 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(45 + 0 * math.cos(sine / 25)), math.rad(90 + 1 * math.cos(sine / 25))), 0.4) | |
3903 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, 0) * angles(math.rad(45), math.rad(0), math.rad(20 + 1 * math.cos(sine / 25))), 0.3) | |
3904 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * RHCF * angles(math.rad(5 + 1 * math.cos(sine / 25)), math.rad(-50), math.rad(8 + 1 * math.cos(sine / 25))), 0.2) | |
3905 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-5 + 1 * math.cos(sine / 25)), math.rad(-50), math.rad(20 + 1 * math.cos(sine / 25))), 0.2) | |
3906 | end | |
3907 | combo = 1 | |
3908 | end | |
3909 | Humanoid.WalkSpeed = 16 | |
3910 | wait2 = false | |
3911 | attack = false | |
3912 | end | |
3913 | end) | |
3914 | local s = Instance.new("Sound", Torso) | |
3915 | s.Name = "BGMusic" | |
3916 | s.SoundId = "http://www.roblox.com/asset/?id=831135257" | |
3917 | s.Pitch = 1 | |
3918 | s.Volume = 2 | |
3919 | s.Looped = true | |
3920 | s.archivable = false | |
3921 | s:play() | |
3922 | function resetmode() | |
3923 | for i, v in pairs(ArmorColorParts) do | |
3924 | v.BrickColor = BrickColor.new("Dark stone grey") | |
3925 | v.Material = "Metal" | |
3926 | v.Transparency = 0 | |
3927 | end | |
3928 | for i, v in pairs(NeonColorParts) do | |
3929 | maincolor = BrickColor.new("Gold") | |
3930 | v.BrickColor = maincolor | |
3931 | v.Material = "Neon" | |
3932 | v.Transparency = 0 | |
3933 | end | |
3934 | s.SoundId = "http://www.roblox.com/asset/?id=831135257" | |
3935 | s:play() | |
3936 | Character.Head.face.Texture = "http://www.roblox.com/asset/?id=192316062" | |
3937 | Character.Head.face.Transparency = 0 | |
3938 | Eye.BrickColor = BrickColor.new("Really black") | |
3939 | Eye.Transparency = 0 | |
3940 | s.Volume = 1.7 | |
3941 | end | |
3942 | elementwait = false | |
3943 | mouse.KeyDown:connect(function(key) | |
3944 | if attack == false then | |
3945 | if key == "q" and elementmode == "Mode 1" then | |
3946 | elementmode = "Mode 2" | |
3947 | s.SoundId = "http://www.roblox.com/asset/?id=539526132" | |
3948 | s:play() | |
3949 | RoHead = Instance.new("Part") | |
3950 | RoHead.Parent = Character | |
3951 | RoHead.Size = Vector3.new(0.2, 0.2, 0.2) | |
3952 | RoHead.Archivable = true | |
3953 | RoHead.Transparency = 0 | |
3954 | RoHead.Shape = "Ball" | |
3955 | RoHead.BrickColor = BrickColor.new("Crimson") | |
3956 | RoHead.Material = "SmoothPlastic" | |
3957 | RoHead.CanCollide = false | |
3958 | local mesh = Instance.new("SpecialMesh", RoHead) | |
3959 | mesh.MeshId = "rbxassetid://1098615373" | |
3960 | mesh.Scale = Vector3.new(1, 1, 1) | |
3961 | local weld2en = Instance.new("Weld") | |
3962 | weld2en.Parent = Character.Head | |
3963 | weld2en.Part0 = Character.Head | |
3964 | weld2en.Part1 = RoHead | |
3965 | weld2en.C1 = cn(0, -0.01, 0) * angles(math.rad(0), math.rad(180), math.rad(0)) | |
3966 | local eye2 = Instance.new("Part") | |
3967 | eye2.Parent = RoHead | |
3968 | eye2.Size = Vector3.new(0.2, 0.2, 0.2) | |
3969 | eye2.Archivable = true | |
3970 | eye2.Transparency = 0 | |
3971 | eye2.Shape = "Ball" | |
3972 | eye2.BrickColor = maincolor | |
3973 | eye2.Material = "Neon" | |
3974 | eye2.CanCollide = false | |
3975 | local mesh = Instance.new("SpecialMesh", eye2) | |
3976 | mesh.MeshType = "Sphere" | |
3977 | mesh.Scale = Vector3.new(0.7, 0.7, 0.7) | |
3978 | local weld3en = Instance.new("Weld") | |
3979 | weld3en.Parent = Character.Head | |
3980 | weld3en.Part0 = Character.Head | |
3981 | weld3en.Part1 = eye2 | |
3982 | weld3en.C1 = CFrame.new(-0.48, -0.2, 0.3275) | |
3983 | table.insert(NeonColorParts, eye2) | |
3984 | BC.HeadColor = BrickColor.new("Really black") | |
3985 | for i, v in pairs(ArmorColorParts) do | |
3986 | v.BrickColor = BrickColor.new("Bright red") | |
3987 | v.Material = "Metal" | |
3988 | v.Transparency = 0 | |
3989 | end | |
3990 | for i, v in pairs(NeonColorParts) do | |
3991 | maincolor = BrickColor.new("White") | |
3992 | v.BrickColor = maincolor | |
3993 | v.Material = "Neon" | |
3994 | v.Transparency = 0 | |
3995 | end | |
3996 | elseif key == "q" and elementmode == "Mode 2" then | |
3997 | elementmode = "Mode 1" | |
3998 | resetmode() | |
3999 | BC.HeadColor = BCsave.HeadColor | |
4000 | RoHead:Destroy() | |
4001 | end | |
4002 | if key == "e" and elementmode == "Mode 1" then | |
4003 | elementmode = "Mode 3" | |
4004 | s.SoundId = "http://www.roblox.com/asset/?id=250923014" | |
4005 | s:play() | |
4006 | for i, v in pairs(ArmorColorParts) do | |
4007 | v.BrickColor = BrickColor.new("Really black") | |
4008 | v.Material = "Plastic" | |
4009 | v.Transparency = 0 | |
4010 | end | |
4011 | for i, v in pairs(NeonColorParts) do | |
4012 | maincolor = BrickColor.new("New Yeller") | |
4013 | v.BrickColor = maincolor | |
4014 | v.Material = "Neon" | |
4015 | v.Transparency = 0 | |
4016 | end | |
4017 | Character.Head.face.Texture = "http://www.roblox.com/asset/?id=1058556354" | |
4018 | elseif key == "e" and elementmode == "Mode 3" then | |
4019 | elementmode = "Mode 1" | |
4020 | resetmode() | |
4021 | end | |
4022 | if key == "r" and elementmode == "Mode 1" then | |
4023 | elementmode = "Mode 4" | |
4024 | s.SoundId = "http://www.roblox.com/asset/?id=925488833" | |
4025 | s:play() | |
4026 | Character.Head.face.Texture = "http://www.roblox.com/asset/?id=419010253" | |
4027 | Character.Head.face.Transparency = 1 | |
4028 | for i, v in pairs(ArmorColorParts) do | |
4029 | v.BrickColor = BrickColor.new("Hurricane grey") | |
4030 | v.Material = "Granite" | |
4031 | v.Transparency = 0.2 | |
4032 | end | |
4033 | for i, v in pairs(NeonColorParts) do | |
4034 | maincolor = BrickColor.new("Pastel light blue") | |
4035 | v.BrickColor = maincolor | |
4036 | v.Material = "Neon" | |
4037 | v.Transparency = 0 | |
4038 | end | |
4039 | elseif key == "r" and elementmode == "Mode 4" then | |
4040 | elementmode = "Mode 1" | |
4041 | resetmode() | |
4042 | end | |
4043 | if key == "t" and elementmode == "Mode 1" then | |
4044 | elementmode = "Mode 5" | |
4045 | s.SoundId = "http://www.roblox.com/asset/?id=156879167" | |
4046 | s:play() | |
4047 | for i, v in pairs(ArmorColorParts) do | |
4048 | v.BrickColor = BrickColor.new("Really black") | |
4049 | v.Material = "Slate" | |
4050 | v.Transparency = 0.01 | |
4051 | end | |
4052 | for i, v in pairs(NeonColorParts) do | |
4053 | maincolor = BrickColor.new("Really red") | |
4054 | v.BrickColor = maincolor | |
4055 | v.Material = "Neon" | |
4056 | v.Transparency = 0 | |
4057 | end | |
4058 | eye1.Material = "Neon" | |
4059 | eye1.BrickColor = BrickColor.new("Really red") | |
4060 | Character.Head.face.Texture = "http://www.roblox.com/asset/?id=939036084" | |
4061 | elseif key == "t" and elementmode == "Mode 5" then | |
4062 | elementmode = "Mode 1" | |
4063 | resetmode() | |
4064 | end | |
4065 | if key == "y" and elementmode == "Mode 1" then | |
4066 | elementmode = "Mode 6" | |
4067 | s.SoundId = "http://www.roblox.com/asset/?id=657142623" | |
4068 | s:play() | |
4069 | for i, v in pairs(ArmorColorParts) do | |
4070 | v.BrickColor = BrickColor.new("Gold") | |
4071 | v.Material = "Neon" | |
4072 | v.Transparency = 0 | |
4073 | end | |
4074 | for i, v in pairs(NeonColorParts) do | |
4075 | maincolor = BrickColor.new("White") | |
4076 | v.BrickColor = maincolor | |
4077 | v.Material = "Neon" | |
4078 | v.Transparency = 0 | |
4079 | end | |
4080 | s.Volume = 2 | |
4081 | elseif key == "y" and elementmode == "Mode 6" then | |
4082 | elementmode = "Mode 1" | |
4083 | resetmode() | |
4084 | end | |
4085 | end | |
4086 | end) | |
4087 | attackz = false | |
4088 | attackx = false | |
4089 | attackc = false | |
4090 | mouse.KeyDown:connect(function(key) | |
4091 | if elementmode == "Mode 2" then | |
4092 | if key == "z" and attack == false and attackz == false then | |
4093 | attack = true | |
4094 | attackz = true | |
4095 | local bg2 = Instance.new("BodyGyro", game.Players.LocalPlayer.Character.HumanoidRootPart) | |
4096 | Humanoid.WalkSpeed = 4 | |
4097 | for i = 0, 2, 0.1 do | |
4098 | swait() | |
4099 | bg2.D = 500 | |
4100 | bg2.P = 9999 | |
4101 | bg2.maxTorque = Vector3.new(100000, 1, 100000) * math.huge | |
4102 | bg2.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(game.Players.LocalPlayer:GetMouse().hit.p.x, game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y, game.Players.LocalPlayer:GetMouse().hit.p.z)) | |
4103 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(25)), 0.3) | |
4104 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-25)), 0.2) | |
4105 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, -0.2) * angles(math.rad(140), math.rad(0), math.rad(5)), 0.2) | |
4106 | LW.C0 = clerp(LW.C0, CFrame.new(-0.6, 0.5, -0.2) * angles(math.rad(120), math.rad(0), math.rad(25)), 0.1) | |
4107 | RH.C0 = clerp(RH.C0, cn(1, -1, 0.3) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4108 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4109 | end | |
4110 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=698823472", SwHandle, 1, 1.1) | |
4111 | Humanoid.WalkSpeed = 2 | |
4112 | for i = 0, 3, 0.1 do | |
4113 | swait() | |
4114 | bg2.D = 500 | |
4115 | bg2.P = 9999 | |
4116 | bg2.maxTorque = Vector3.new(100000, 1, 100000) * math.huge | |
4117 | bg2.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(game.Players.LocalPlayer:GetMouse().hit.p.x, game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y, game.Players.LocalPlayer:GetMouse().hit.p.z)) | |
4118 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(25)), 0.1) | |
4119 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-25), math.rad(-25)), 0.1) | |
4120 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.51, -0.2) * angles(math.rad(90), math.rad(0), math.rad(25)), 0.2) | |
4121 | LW.C0 = clerp(LW.C0, CFrame.new(-0.6, 0.5, -0.2) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.2) | |
4122 | RH.C0 = clerp(RH.C0, cn(1.1, -0.2, -0.3) * RHCF * angles(math.rad(0), math.rad(-25), math.rad(0)), 0.1) | |
4123 | LH.C0 = clerp(LH.C0, cn(-0.9, -1.5, -0.8) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(90)), 0.1) | |
4124 | end | |
4125 | game:GetService("Debris"):AddItem(bg2, 1.5) | |
4126 | for i = 0, 17 do | |
4127 | Humanoid.WalkSpeed = 0 | |
4128 | bg2.D = 50 | |
4129 | bg2.P = 9999 | |
4130 | bg2.maxTorque = Vector3.new(100000, 1, 100000) * math.huge | |
4131 | bg2.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(game.Players.LocalPlayer:GetMouse().hit.p.x, game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y, game.Players.LocalPlayer:GetMouse().hit.p.z)) | |
4132 | for i = 0, 0.3, 0.1 do | |
4133 | swait() | |
4134 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(25)), 0.1) | |
4135 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-25), math.rad(-25)), 0.1) | |
4136 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.51, -0.2) * angles(math.rad(90), math.rad(0), math.rad(25)), 0.4) | |
4137 | LW.C0 = clerp(LW.C0, CFrame.new(-0.6, 0.5, -0.2) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.4) | |
4138 | RH.C0 = clerp(RH.C0, cn(1.1, -0.2, -0.3) * RHCF * angles(math.rad(0), math.rad(-25), math.rad(0)), 0.1) | |
4139 | LH.C0 = clerp(LH.C0, cn(-0.9, -1.5, -0.8) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(90)), 0.1) | |
4140 | end | |
4141 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=397307108", RightArm, 1.4, 1.2) | |
4142 | shoottraildd2(mouse.Hit.p, RightArm, 0.55) | |
4143 | BlockEffect(BrickColor.new("Really red"), RightArm.CFrame * cn(0, -1.5, 0), 2, 2, 2, 2, 2, 2, 0.05, 1) | |
4144 | BlockEffect(BrickColor.new("White"), RightArm.CFrame * cn(0, -1.5, 0), 2, 2, 2, 1, 1, 1, 0.06, 1) | |
4145 | Effects.Sphere.Create(BrickColor.new("Really red"), RightArm.CFrame * cn(0, -1, 0), 10, 0.01, 10, 3, 0, 3, 0.05) | |
4146 | for i = 0, 0.1, 0.1 do | |
4147 | swait() | |
4148 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(25)), 0.1) | |
4149 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-25), math.rad(-25)), 0.1) | |
4150 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.51, 0) * angles(math.rad(120), math.rad(0), math.rad(25)), 0.2) | |
4151 | LW.C0 = clerp(LW.C0, CFrame.new(-0.6, 0.5, -0.3) * angles(math.rad(120), math.rad(0), math.rad(45)), 0.2) | |
4152 | RH.C0 = clerp(RH.C0, cn(1.1, -0.2, -0.3) * RHCF * angles(math.rad(0), math.rad(-25), math.rad(0)), 0.1) | |
4153 | LH.C0 = clerp(LH.C0, cn(-0.9, -1.5, -0.8) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(90)), 0.1) | |
4154 | end | |
4155 | end | |
4156 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=698824317", SwHandle, 1, 1.1) | |
4157 | for i = 0, 2, 0.1 do | |
4158 | swait() | |
4159 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(25)), 0.1) | |
4160 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-25), math.rad(-25)), 0.1) | |
4161 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.51, 0) * angles(math.rad(40), math.rad(0), math.rad(25)), 0.2) | |
4162 | LW.C0 = clerp(LW.C0, CFrame.new(-0.6, 0.5, -0.3) * angles(math.rad(40), math.rad(0), math.rad(45)), 0.2) | |
4163 | RH.C0 = clerp(RH.C0, cn(1.1, -0.2, -0.3) * RHCF * angles(math.rad(0), math.rad(-25), math.rad(0)), 0.1) | |
4164 | LH.C0 = clerp(LH.C0, cn(-0.9, -1.5, -0.8) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(90)), 0.1) | |
4165 | end | |
4166 | attack = false | |
4167 | Humanoid.WalkSpeed = 16 | |
4168 | wait(1.5) | |
4169 | attackz = false | |
4170 | end | |
4171 | if key == "x" and attack == false and attackx == false then | |
4172 | Effects.Sphere.Create(BrickColor.new("Really red"), RootPart.CFrame * cn(0, -2.97, 0), 60, 0.1, 60, -40, 3, -40, 0.05) | |
4173 | BlockEffect(BrickColor.new("White"), RightLeg.CFrame * cn(0, -1.5, 0), 23, 23, 23, 17, 17, 17, 0.1, 1) | |
4174 | BlockEffect(BrickColor.new("White"), LeftLeg.CFrame * cn(0, -1.5, 0), 23, 23, 23, 17, 17, 17, 0.1, 1) | |
4175 | attack = true | |
4176 | attackx = true | |
4177 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=874376217", Torso, 2, 1) | |
4178 | local bodyVelocity = Create("BodyVelocity")({ | |
4179 | velocity = Vector3.new(0, 200, 0) + RootPart.CFrame.lookVector * 40, | |
4180 | P = 5000, | |
4181 | maxForce = Vector3.new(80000, 80000, 80000), | |
4182 | Parent = RootPart | |
4183 | }) | |
4184 | game:GetService("Debris"):AddItem(bodyVelocity, 0.2) | |
4185 | for i = 0, 2, 0.1 do | |
4186 | swait() | |
4187 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0 + 360 * i), math.rad(0), math.rad(0)), 0.5) | |
4188 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1) | |
4189 | RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.4) * angles(math.rad(80), math.rad(0 * math.cos(sine / 25)), math.rad(-45)), 0.2) | |
4190 | LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -0.4) * angles(math.rad(70), math.rad(0), math.rad(55)), 0.2) | |
4191 | RH.C0 = clerp(RH.C0, cn(1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 2 * math.cos(sine / 25))), 0.2) | |
4192 | LH.C0 = clerp(LH.C0, cn(-1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4193 | end | |
4194 | for i = 0, 1, 0.1 do | |
4195 | swait() | |
4196 | local bodyVelocity2 = Create("BodyVelocity")({ | |
4197 | velocity = Vector3.new(0, 0, 0) + RootPart.CFrame.lookVector * 0, | |
4198 | P = 5000, | |
4199 | maxForce = Vector3.new(8000, 8000, 8000), | |
4200 | Parent = RootPart | |
4201 | }) | |
4202 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.01) | |
4203 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0 + 360 * i), math.rad(0), math.rad(0)), 0.5) | |
4204 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1) | |
4205 | RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.4) * angles(math.rad(80), math.rad(0 * math.cos(sine / 25)), math.rad(-45)), 0.2) | |
4206 | LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -0.4) * angles(math.rad(70), math.rad(0), math.rad(55)), 0.2) | |
4207 | RH.C0 = clerp(RH.C0, cn(1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 2 * math.cos(sine / 25))), 0.2) | |
4208 | LH.C0 = clerp(LH.C0, cn(-1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4209 | end | |
4210 | for i = 0, 20 do | |
4211 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=287142895", Torso, 1, 0.8) | |
4212 | local targeto1 = RootPart.Position | |
4213 | shoottraildd3(targeto1, RootPart, 15) | |
4214 | for i = 0, 0.5, 0.1 do | |
4215 | swait() | |
4216 | local bodyVelocity2 = Create("BodyVelocity")({ | |
4217 | velocity = Vector3.new(0, -10, 0) + RootPart.CFrame.lookVector * 50, | |
4218 | P = 5000, | |
4219 | maxForce = Vector3.new(8000, 8000, 8000), | |
4220 | Parent = RootPart | |
4221 | }) | |
4222 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.01) | |
4223 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.5) | |
4224 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1) | |
4225 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(90)), 0.5) | |
4226 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) | |
4227 | RH.C0 = clerp(RH.C0, cn(1, -0.6 - 0.01 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 2 * math.cos(sine / 25))), 0.2) | |
4228 | LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.01 * math.cos(sine / 25), -0.2) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(5 + 1 * math.cos(sine / 25))), 0.2) | |
4229 | end | |
4230 | end | |
4231 | while inair == true do | |
4232 | swait() | |
4233 | local bodyVelocity2 = Create("BodyVelocity")({ | |
4234 | velocity = Vector3.new(0, -130, 0) + RootPart.CFrame.lookVector * 30, | |
4235 | P = 5000, | |
4236 | maxForce = Vector3.new(8000, 8000, 8000), | |
4237 | Parent = RootPart | |
4238 | }) | |
4239 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.01) | |
4240 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
4241 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1) | |
4242 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40), math.rad(0 * math.cos(sine / 25)), math.rad(90)), 0.05) | |
4243 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.05) | |
4244 | RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0.1 * math.cos(sine / 25), -0.4) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(0 - 1 * math.cos(sine / 25))), 0.05) | |
4245 | LH.C0 = clerp(LH.C0, cn(-1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(20 + 2 * math.cos(sine / 25))), 0.05) | |
4246 | end | |
4247 | MagniDamage(Torso, 12, 40, 60, 10, "Normal") | |
4248 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=174580476", Torso, 2, 2) | |
4249 | Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -2.97, 0), 60, 0.1, 60, -20, 4, -20, 0.05) | |
4250 | Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -2.97, 0), 60, 0.1, 60, -40, 3, -40, 0.05) | |
4251 | Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -2.97, 0), 60, 0.1, 60, -60, 2, -60, 0.05) | |
4252 | Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -2.97, 0), 60, 0.1, 60, -80, 1, -80, 0.05) | |
4253 | for i = 0, 2, 0.1 do | |
4254 | swait() | |
4255 | local bodyVelocity3 = Create("BodyVelocity")({ | |
4256 | velocity = Vector3.new(0, 0, 0) + RootPart.CFrame.lookVector * 0, | |
4257 | P = 5000, | |
4258 | maxForce = Vector3.new(8000, 8000, 8000), | |
4259 | Parent = RootPart | |
4260 | }) | |
4261 | game:GetService("Debris"):AddItem(bodyVelocity3, 0.1) | |
4262 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.5) | |
4263 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1) | |
4264 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0 * math.cos(sine / 25)), math.rad(10)), 0.2) | |
4265 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2) | |
4266 | RH.C0 = clerp(RH.C0, cn(1, 0 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(0 - 2 * math.cos(sine / 25))), 0.2) | |
4267 | LH.C0 = clerp(LH.C0, cn(-1, -1.5 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(90 + 1 * math.cos(sine / 25))), 0.2) | |
4268 | end | |
4269 | attack = false | |
4270 | attackx = false | |
4271 | end | |
4272 | if key == "c" and attack == false and attackc == false then | |
4273 | attack = true | |
4274 | attackc = true | |
4275 | Humanoid.WalkSpeed = 0.1 | |
4276 | for i = 0, 1, 0.1 do | |
4277 | swait() | |
4278 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.2, -0.15) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4279 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3) | |
4280 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(110 - 0 * math.cos(sine / 25)), math.rad(45), math.rad(90 + 0 * math.cos(sine / 25))), 0.3) | |
4281 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(0 - 0 * math.cos(sine / 25))), 0.3) | |
4282 | RH.C0 = clerp(RH.C0, cn(1, -0.9, -0.6) * RHCF * angles(math.rad(0), math.rad(20), math.rad(20)), 0.3) | |
4283 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(10)), 0.3) | |
4284 | end | |
4285 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=178452241", RightArm, 2, 2) | |
4286 | for i = 0, 1, 0.1 do | |
4287 | swait() | |
4288 | BlockEffect(maincolor, RightArm.CFrame * cn(0, -1 - i * 5, 0 + i * 5), 10 + i * 15, 10 + i * 15, 10 + i * 15, 6 + i * 3, 6 + i * 3, 6 + i * 3, 0.2 - i / 6) | |
4289 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.2, -0.15) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4290 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), 0.1) | |
4291 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(-15 + 0 * math.cos(sine / 25))), 0.3) | |
4292 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 0 * math.cos(sine / 25))), 0.1) | |
4293 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.4) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4294 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
4295 | end | |
4296 | local Hitboxpart2 = Instance.new("Part", EffectModel) | |
4297 | RemoveOutlines(Hitboxpart2) | |
4298 | Hitboxpart2.Size = Vector3.new(1, 1, 1) | |
4299 | Hitboxpart2.CanCollide = false | |
4300 | Hitboxpart2.Transparency = 1 | |
4301 | Hitboxpart2.Anchored = true | |
4302 | Hitboxpart2.CFrame = RootPart.CFrame * cn(0, 0, 0) | |
4303 | game:GetService("Debris"):AddItem(Hitboxpart2, 6) | |
4304 | for i = 0, 1, 0.1 do | |
4305 | swait() | |
4306 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.2, -0.15) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4307 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
4308 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(20 + 0 * math.cos(sine / 25))), 0.05) | |
4309 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 0 * math.cos(sine / 25))), 0.1) | |
4310 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.4) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4311 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
4312 | end | |
4313 | local targetV1 = RootPart.Position + RootPart.CFrame.lookVector * 2 | |
4314 | attack = false | |
4315 | Humanoid.WalkSpeed = 16 | |
4316 | for i = 0, 5, 0.1 do | |
4317 | swait() | |
4318 | targetV1 = targetV1 + Hitboxpart2.CFrame.lookVector * i | |
4319 | shoottraildd(targetV1, RootPart, 0) | |
4320 | end | |
4321 | attackc = false | |
4322 | end | |
4323 | end | |
4324 | if elementmode == "Mode 4" and key == "z" and attack == false and attackz == false then | |
4325 | attack = true | |
4326 | attackz = true | |
4327 | Humanoid.WalkSpeed = 1 | |
4328 | for i = 0, 3, 0.1 do | |
4329 | swait() | |
4330 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.1) | |
4331 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-25)), 0.1) | |
4332 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -0.4) * angles(math.rad(20), math.rad(0), math.rad(-5)), 0.1) | |
4333 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.3, -0.3) * angles(math.rad(50), math.rad(0), math.rad(45)), 0.1) | |
4334 | RH.C0 = clerp(RH.C0, cn(1, -1, 0.2) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.1) | |
4335 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.1) | |
4336 | end | |
4337 | coroutine.resume(coroutine.create(function() | |
4338 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=168513088", SwHandle, 1, 0.8) | |
4339 | wait(0.4) | |
4340 | HitboxFunction(RootPart.CFrame * cn(0, 0, -3), 0.5, 1, 1, 1, 10, 10, 20, 3, "Freeze") | |
4341 | BlockEffect(maincolor, Hitboxpart.CFrame, 55, 55, 55, -5, -5, -5, 0.08, 3) | |
4342 | BlockEffect(maincolor, Hitboxpart.CFrame, 77, 77, 77, -7, -7, -7, 0.08, 3) | |
4343 | wait() | |
4344 | BlockEffect(maincolor, Hitboxpart.CFrame, 77, 77, 77, -30, -30, -30, 0.08, 1) | |
4345 | end)) | |
4346 | for i = 0, 3.5, 0.1 do | |
4347 | swait() | |
4348 | BlockEffect(maincolor, RightArm.CFrame * cn(0, -1.5, 0), -8, -8, -8, -1, -1, -1, 0.08, 3) | |
4349 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.1) | |
4350 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-25)), 0.01) | |
4351 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(75)), 0.05) | |
4352 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.3, -0.3) * angles(math.rad(50), math.rad(0), math.rad(45)), 0.3) | |
4353 | RH.C0 = clerp(RH.C0, cn(1, -1, 0.2) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.1) | |
4354 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.1) | |
4355 | end | |
4356 | Humanoid.WalkSpeed = 16 | |
4357 | attack = false | |
4358 | wait(1) | |
4359 | attackz = false | |
4360 | end | |
4361 | if elementmode == "Mode 5" then | |
4362 | if key == "z" and attack == false and attackz == false then | |
4363 | attack = true | |
4364 | attackz = true | |
4365 | coroutine.resume(coroutine.create(function() | |
4366 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=565207203", RightArm, 5, 0.6) | |
4367 | shoottraildd5(mouse.hit.p, RootPart, 0) | |
4368 | end)) | |
4369 | attack = false | |
4370 | wait(10) | |
4371 | attackz = false | |
4372 | end | |
4373 | if key == "x" and attack == false and attackx == false then | |
4374 | attack = true | |
4375 | attackc = true | |
4376 | Humanoid.WalkSpeed = 0.1 | |
4377 | for i = 0, 2, 0.1 do | |
4378 | swait() | |
4379 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4380 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(50), math.rad(0), math.rad(0)), 0.1) | |
4381 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4382 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4383 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1) | |
4384 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1) | |
4385 | end | |
4386 | for i = 0, 4, 0.1 do | |
4387 | swait() | |
4388 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4389 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(30)), 0.1) | |
4390 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.51, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.1) | |
4391 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.1) | |
4392 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1) | |
4393 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1) | |
4394 | end | |
4395 | do | |
4396 | local ModelArm02 = New("Model", Character, "Arm", {}) | |
4397 | local Humanoid02 = New("Humanoid", ModelArm02, "Humanoid", {}) | |
4398 | local Arm02 = LeftArm:Clone() | |
4399 | LeftArm.Transparency = 1 | |
4400 | Arm02.Parent = ModelArm02 | |
4401 | for i, v in pairs(Arm02:GetChildren()) do | |
4402 | v:Destroy() | |
4403 | end | |
4404 | local weldArm02 = Instance.new("Weld") | |
4405 | weldArm02.Parent = Arm02 | |
4406 | weldArm02.Part0 = LeftArm | |
4407 | weldArm02.Part1 = Arm02 | |
4408 | weldArm02.C1 = CFrame.new(0, 0, 0) | |
4409 | for i, v in pairs(Character:GetChildren()) do | |
4410 | if v:IsA("Shirt") then | |
4411 | v:clone().Parent = ModelArm02 | |
4412 | end | |
4413 | end | |
4414 | local BE1 = Blood1:Clone() | |
4415 | BE1.Parent = LeftArm | |
4416 | game:GetService("Debris"):AddItem(BE1, 3) | |
4417 | BE1.Rate = 0 | |
4418 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=180083298", Arm02, 3, 0.4) | |
4419 | for i = 0, 2, 0.1 do | |
4420 | swait() | |
4421 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4422 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(15)), 0.05) | |
4423 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(91), math.rad(0), math.rad(-70)), 0.1) | |
4424 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.1) | |
4425 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1) | |
4426 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1) | |
4427 | end | |
4428 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=704141469", Arm02, 3, 0.8) | |
4429 | BE1.Rate = 255 | |
4430 | weldArm02.Part0 = RightArm | |
4431 | weldArm02.C1 = CFrame.new(1.5, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)) | |
4432 | for i = 0, 2, 0.1 do | |
4433 | swait() | |
4434 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4435 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05) | |
4436 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(91), math.rad(0), math.rad(0)), 0.05) | |
4437 | LW.C0 = clerp(LW.C0, CFrame.new(0, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.1) | |
4438 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1) | |
4439 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1) | |
4440 | end | |
4441 | for i = 0, 2, 0.1 do | |
4442 | swait() | |
4443 | BE1.Rate = BE1.Rate - i * 10 | |
4444 | weldArm02.C1 = clerp(weldArm02.C1, CFrame.new(0, 0.5, -1.5) * angles(math.rad(-90), math.rad(0), math.rad(0)), 0.2) | |
4445 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-40)), 0.3) | |
4446 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.05) | |
4447 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(200), math.rad(0), math.rad(40)), 0.05) | |
4448 | LW.C0 = clerp(LW.C0, CFrame.new(0, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), 1) | |
4449 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(20), math.rad(20)), 0.1) | |
4450 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(20), math.rad(10)), 0.1) | |
4451 | end | |
4452 | BE1.Rate = 0 | |
4453 | for i = 0, 0.2, 0.1 do | |
4454 | swait() | |
4455 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3) | |
4456 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.1) | |
4457 | RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.51, 0.3) * angles(math.rad(45), math.rad(0), math.rad(-40)), 0.4) | |
4458 | LW.C0 = clerp(LW.C0, CFrame.new(0, 0.5, -0.3) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.1) | |
4459 | RH.C0 = clerp(RH.C0, cn(1, -1, 0.3) * RHCF * angles(math.rad(-2), math.rad(-40), math.rad(20)), 0.3) | |
4460 | LH.C0 = clerp(LH.C0, cn(-1, -0.9, -0.3) * LHCF * angles(math.rad(-2), math.rad(-40), math.rad(10)), 0.3) | |
4461 | end | |
4462 | weldArm02:Destroy() | |
4463 | Arm02.CanCollide = true | |
4464 | local bodyVelocity2 = Create("BodyVelocity")({ | |
4465 | velocity = Vector3.new(0, 10, 0) + RootPart.CFrame.lookVector * 50, | |
4466 | P = 5000, | |
4467 | maxForce = Vector3.new(8000, 8000, 8000), | |
4468 | Parent = Arm02 | |
4469 | }) | |
4470 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.05) | |
4471 | for i = 0, 2, 0.1 do | |
4472 | swait() | |
4473 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3) | |
4474 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.1) | |
4475 | RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.51, 0.3) * angles(math.rad(45), math.rad(0), math.rad(-40)), 0.4) | |
4476 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.3) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
4477 | RH.C0 = clerp(RH.C0, cn(1, -1, 0.3) * RHCF * angles(math.rad(-2), math.rad(-40), math.rad(20)), 0.3) | |
4478 | LH.C0 = clerp(LH.C0, cn(-1, -0.9, -0.3) * LHCF * angles(math.rad(-2), math.rad(-40), math.rad(10)), 0.3) | |
4479 | end | |
4480 | for i = 0, 3, 0.1 do | |
4481 | swait() | |
4482 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.2) | |
4483 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(15)), 0.1) | |
4484 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(21), math.rad(0), math.rad(0)), 0.1) | |
4485 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3) | |
4486 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1) | |
4487 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1) | |
4488 | end | |
4489 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=301928691", LeftArm, 2, 2) | |
4490 | BlockEffect(BrickColor.new("Really black"), LeftArm.CFrame, 21, 41, 21, 0.5, 1, 0.5, 0.03, 2) | |
4491 | LeftArm.Transparency = 0 | |
4492 | for i = 0, 4, 0.1 do | |
4493 | swait() | |
4494 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4495 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(15)), 0.1) | |
4496 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(21), math.rad(0), math.rad(0)), 0.1) | |
4497 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.1) | |
4498 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1) | |
4499 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1) | |
4500 | end | |
4501 | coroutine.resume(coroutine.create(function() | |
4502 | ModelArm02.Parent = workspace | |
4503 | wait(0.7) | |
4504 | if ModelArm02 ~= nil then | |
4505 | Effects.Sphere.Create(BrickColor.new("Really black"), Arm02.CFrame * cn(0, 0, 0), 60, 0.05, 60, -60, -10, -60, 0.088) | |
4506 | Effects.Sphere.Create(maincolor, Arm02.CFrame * cn(0, 0, 0), -55, -55, -55, -55, -55, -55, 0.09) | |
4507 | Effects.Sphere.Create(BrickColor.new("Really black"), Arm02.CFrame * cn(0, 0, 0), -55, -55, -55, -56, -56, -56, 0.04) | |
4508 | MagniDamage(Arm02, 20, 45, 45, 0, "UltSlice") | |
4509 | Arm02.Transparency = 1 | |
4510 | Arm02.CanCollide = false | |
4511 | Arm02.Anchored = true | |
4512 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=174580476", Arm02, 5, 0.7) | |
4513 | end | |
4514 | end)) | |
4515 | game:GetService("Debris"):AddItem(ModelArm02, 4) | |
4516 | Humanoid.WalkSpeed = 16 | |
4517 | LeftArm.Transparency = 0 | |
4518 | attack = false | |
4519 | attackc = false | |
4520 | end | |
4521 | end | |
4522 | if key == "c" and attack == false and attackc == false then | |
4523 | attack = true | |
4524 | attackc = true | |
4525 | BlockEffect(BrickColor.new("Really red"), eye1.CFrame, 6, 6, 6, -0.1, -0.1, -0.1, 0.1, 1) | |
4526 | Humanoid.WalkSpeed = 5 | |
4527 | shoottraildd4(mouse.Hit.p, RightArm, 0) | |
4528 | wait() | |
4529 | if lasthit ~= nil then | |
4530 | print("hit") | |
4531 | local lastplace = RootPart.CFrame | |
4532 | local tp1 = lasthit.CFrame + lasthit.CFrame.lookVector * -4 | |
4533 | BlockEffect(BrickColor.new("Really red"), eye1.CFrame, 6, 6, 2, 0, 0, 0, 0.006, 2) | |
4534 | BlockEffect(BrickColor.new("Really black"), Head.CFrame, 21, 21, 21, 0, 0, 0, 0.005, 2) | |
4535 | BlockEffect(BrickColor.new("Really black"), Torso.CFrame, 41, 41, 21, 0, 0, 0, 0.005, 2) | |
4536 | BlockEffect(BrickColor.new("Really black"), RightArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) | |
4537 | BlockEffect(BrickColor.new("Really black"), LeftArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) | |
4538 | BlockEffect(BrickColor.new("Really black"), RightLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) | |
4539 | BlockEffect(BrickColor.new("Really black"), LeftLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) | |
4540 | RootPart.CFrame = tp1 | |
4541 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=301928691", Torso, 3, 0.5) | |
4542 | for i = 0, 3, 0.1 do | |
4543 | swait() | |
4544 | RootPart.CFrame = tp1 | |
4545 | lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4 | |
4546 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
4547 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(50), math.rad(0), math.rad(0)), 0.2) | |
4548 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.2) | |
4549 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4550 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.3) | |
4551 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.3) | |
4552 | end | |
4553 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=649634100", Torso, 7, 0.5) | |
4554 | for i = 0, 1, 0.1 do | |
4555 | swait() | |
4556 | RootPart.CFrame = tp1 | |
4557 | lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4 | |
4558 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
4559 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(20), math.rad(0)), 0.05) | |
4560 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.2) | |
4561 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4562 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.3) | |
4563 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.3) | |
4564 | end | |
4565 | for i = 0, 3, 0.1 do | |
4566 | swait() | |
4567 | RootPart.CFrame = tp1 | |
4568 | lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4 | |
4569 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
4570 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.05) | |
4571 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
4572 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
4573 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.05) | |
4574 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.05) | |
4575 | end | |
4576 | for i = 0, 8, 0.1 do | |
4577 | swait() | |
4578 | RootPart.CFrame = tp1 | |
4579 | lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4 | |
4580 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.05) | |
4581 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(20), math.rad(40)), 0.05) | |
4582 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.05) | |
4583 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
4584 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.05) | |
4585 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.05) | |
4586 | end | |
4587 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=444667859", RightArm, 2, 1) | |
4588 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=144884872", RightArm, 2, 1) | |
4589 | for i = 0, 0.1, 0.1 do | |
4590 | swait() | |
4591 | RootPart.CFrame = tp1 | |
4592 | lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4 | |
4593 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(1.2, -2.5, -0.2) * angles(math.rad(0), math.rad(0), math.rad(40)), 1) | |
4594 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(10), math.rad(-40)), 1) | |
4595 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 1) | |
4596 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
4597 | RH.C0 = clerp(RH.C0, cn(1, -0.7, -0.4) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), 1) | |
4598 | LH.C0 = clerp(LH.C0, cn(-1, -0.7, -0.2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), 1) | |
4599 | end | |
4600 | local BloodColor = Color3.new(1, 0, 0) | |
4601 | local PE1 = Blood1:Clone() | |
4602 | local PE2 = Blood2:Clone() | |
4603 | local OrbHeart = Instance.new("Part") | |
4604 | OrbHeart.Parent = workspace | |
4605 | OrbHeart.Size = Vector3.new(1, 1, 1) | |
4606 | OrbHeart.Archivable = true | |
4607 | OrbHeart.Transparency = 0 | |
4608 | OrbHeart.BrickColor = BrickColor.new("Really red") | |
4609 | OrbHeart.Material = "Granite" | |
4610 | OrbHeart.CanCollide = true | |
4611 | local mesh = Instance.new("SpecialMesh", OrbHeart) | |
4612 | mesh.MeshType = "Sphere" | |
4613 | mesh.Scale = Vector3.new(1, 1, 1) | |
4614 | local weld1OrbHeart = Instance.new("Weld") | |
4615 | weld1OrbHeart.Parent = RightArm | |
4616 | weld1OrbHeart.Part0 = RightArm | |
4617 | weld1OrbHeart.Part1 = OrbHeart | |
4618 | weld1OrbHeart.C1 = CFrame.new(0, 1.2, 0) | |
4619 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=131038747", Torso, 7, 1) | |
4620 | PE1.Parent = RightArm | |
4621 | PE2.Parent = OrbHeart | |
4622 | game:GetService("Debris"):AddItem(PE1, 3) | |
4623 | game:GetService("Debris"):AddItem(weld1OrbHeart, 1.5) | |
4624 | game:GetService("Debris"):AddItem(OrbHeart, 8) | |
4625 | for i = 0, 8, 0.1 do | |
4626 | swait() | |
4627 | RootPart.CFrame = tp1 | |
4628 | lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4 | |
4629 | lasthit.Anchored = true | |
4630 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(1.2, -2.5, -0.2) * angles(math.rad(0), math.rad(0), math.rad(40)), 1) | |
4631 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(10), math.rad(-40)), 1) | |
4632 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 1) | |
4633 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
4634 | RH.C0 = clerp(RH.C0, cn(1, -0.8, -0.4) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), 1) | |
4635 | LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), 1) | |
4636 | end | |
4637 | MagniKILL(RightArm, 4, 999, 999, 0, "Normal") | |
4638 | PE1.Rate = 0 | |
4639 | for i = 0, 8, 0.1 do | |
4640 | swait() | |
4641 | RootPart.CFrame = tp1 | |
4642 | lasthit.Anchored = false | |
4643 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(1.2, -1.5, -0.2) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
4644 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(20), math.rad(-30)), 0.05) | |
4645 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.05) | |
4646 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
4647 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.05) | |
4648 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.05) | |
4649 | end | |
4650 | lasthit = nil | |
4651 | for i = 0, 4, 0.1 do | |
4652 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1.1 + 0.02 * math.cos(sine / 8)) * angles(math.rad(10), math.rad(1), math.rad(0)), 0.1) | |
4653 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45 + 1 * math.cos(sine / 1)), math.rad(0), math.rad(5 * math.cos(sine / 1))), 0.1) | |
4654 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(10 - 4 * math.cos(sine / 1)), math.rad(0), math.rad(30)), 0.1) | |
4655 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(110 + 4 * math.cos(sine / 1)), math.rad(0), math.rad(30)), 0.1) | |
4656 | RH.C0 = clerp(RH.C0, cn(1, -0.2 - 0.02 * math.cos(sine / 8), -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(40 + 0.05 * math.cos(sine / 25))), 0.1) | |
4657 | LH.C0 = clerp(LH.C0, cn(-1, -0.2 - 0.02 * math.cos(sine / 8), -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20 + 0.05 * math.cos(sine / 25))), 0.1) | |
4658 | end | |
4659 | BlockEffect(BrickColor.new("Really red"), eye1.CFrame, 6, 6, 2, 0, 0, 0, 0.006, 2) | |
4660 | BlockEffect(BrickColor.new("Really black"), Head.CFrame, 21, 21, 21, 0, 0, 0, 0.005, 2) | |
4661 | BlockEffect(BrickColor.new("Really black"), Torso.CFrame, 41, 41, 21, 0, 0, 0, 0.005, 2) | |
4662 | BlockEffect(BrickColor.new("Really black"), RightArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) | |
4663 | BlockEffect(BrickColor.new("Really black"), LeftArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) | |
4664 | BlockEffect(BrickColor.new("Really black"), RightLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) | |
4665 | BlockEffect(BrickColor.new("Really black"), LeftLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) | |
4666 | RootPart.CFrame = lastplace | |
4667 | end | |
4668 | attack = false | |
4669 | attackc = false | |
4670 | end | |
4671 | end | |
4672 | end) | |
4673 | coroutine.resume(coroutine.create(function() | |
4674 | BillboardGui0 = Instance.new("BillboardGui") | |
4675 | ImageLabel1 = Instance.new("ImageLabel") | |
4676 | BillboardGui0.Name = "Healthbar" | |
4677 | BillboardGui0.Size = UDim2.new(2, 0, 0.4, 0) | |
4678 | BillboardGui0.AlwaysOnTop = true | |
4679 | BillboardGui0.StudsOffset = Vector3.new(0, 5, 0) | |
4680 | ImageLabel1.Parent = BillboardGui0 | |
4681 | ImageLabel1.Transparency = 1 | |
4682 | ImageLabel1.Size = UDim2.new(1, 0, 5, 0) | |
4683 | ImageLabel1.BackgroundColor3 = Color3.new(1, 1, 1) | |
4684 | ImageLabel1.BackgroundTransparency = 1 | |
4685 | ImageLabel1.ImageTransparency = 1 | |
4686 | ImageLabel1.Image = "rbxassetid://278806942" | |
4687 | BillboardGui0.Parent = Torso | |
4688 | end)) | |
4689 | humHsave = Humanoid.Health | |
4690 | function GainCharge(Humanoid) | |
4691 | if Humanoid.Health == 0 then | |
4692 | equipped = false | |
4693 | end | |
4694 | if blocking == true then | |
4695 | humDsave = Humanoid.Health | |
4696 | humDsave = humHsave - humDsave | |
4697 | if humDsave > 0.01 then | |
4698 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433850", Torso, 1, 0.5) | |
4699 | BlockEffect(maincolor, Torso.CFrame, 42, 42, 22, 0.1, 0.1, 0.1, 0.02, 2) | |
4700 | BlockEffect(maincolor, RightArm.CFrame, 22, 42, 22, 0.1, 0.1, 0.1, 0.02, 2) | |
4701 | BlockEffect(maincolor, LeftArm.CFrame, 22, 42, 22, 0.1, 0.1, 0.1, 0.02, 2) | |
4702 | BlockEffect(maincolor, RightLeg.CFrame, 22, 42, 22, 0.1, 0.1, 0.1, 0.02, 2) | |
4703 | BlockEffect(maincolor, LeftLeg.CFrame, 22, 42, 22, 0.1, 0.1, 0.1, 0.02, 2) | |
4704 | humDsave = humDsave / 3 | |
4705 | end | |
4706 | if 0 > humDsave then | |
4707 | Effects.Sphere.Create(BrickColor.new("Lime green"), RootPart.CFrame * cn(0, -2.97, 0), 10, 5, 10, 15, -0.1, 15, 0.05) | |
4708 | humDsave = humDsave * 2.5 | |
4709 | end | |
4710 | humHsave = humHsave - humDsave | |
4711 | end | |
4712 | end | |
4713 | Humanoid.HealthChanged:connect(function() | |
4714 | GainCharge(Humanoid) | |
4715 | end) | |
4716 | function OnDeath() | |
4717 | equipped = false | |
4718 | end | |
4719 | Humanoid.Died:connect(function() | |
4720 | OnDeath(Character) | |
4721 | end) | |
4722 | Removeface = false | |
4723 | function newface() | |
4724 | Character.Head.face.Texture = "http://www.roblox.com/asset/?id=192316062" | |
4725 | if Removeface == true then | |
4726 | Character.Head.face:Destroy() | |
4727 | end | |
4728 | end | |
4729 | if Player.UserId ~= 42147575 and Player.UserId ~= 32552083 and Player.UserId ~= 393157490 and Player.UserId ~= 26300265 and Player.UserId ~= 98818562 and Player.UserId ~= 101188314 and Player.UserId ~= 170477137 then | |
4730 | end | |
4731 | resetmode() | |
4732 | newface() | |
4733 | ff = Instance.new("ForceField", game.Players.LocalPlayer.Character) | |
4734 | ff.Visible = false | |
4735 | Humanoid.Name = "God Mode" | |
4736 | Humanoid.MaxHealth = 1.0E298 | |
4737 | Humanoid.Health = 1.0E298 | |
4738 | game:GetService("RunService"):BindToRenderStep("ew", 0, function() | |
4739 | if Humanoid.Health > 0.1 and Humanoid.Health < 1.0E298 then | |
4740 | Humanoid.MaxHealth = 1.0E298 | |
4741 | Humanoid.Health = 1.0E298 | |
4742 | end | |
4743 | end) | |
4744 | BodyParts = {} | |
4745 | for _, v in pairs(Character:GetChildren()) do | |
4746 | if v:IsA("Part") then | |
4747 | table.insert(BodyParts, v) | |
4748 | end | |
4749 | end | |
4750 | Bounding = {} | |
4751 | for _, v in pairs(BodyParts) do | |
4752 | local temp = { | |
4753 | X = nil, | |
4754 | Y = nil, | |
4755 | Z = nil | |
4756 | } | |
4757 | temp.X = v.Size.X / 2 * 35 | |
4758 | temp.Y = v.Size.Y / 2 * 35 | |
4759 | temp.Z = v.Size.Z / 2 * 35 | |
4760 | Bounding[v.Name] = temp | |
4761 | end | |
4762 | coroutine.resume(coroutine.create(function() | |
4763 | while wait(0.1) do | |
4764 | if elementmode == "Mode 4" and attack == false then | |
4765 | Snow(maincolor, Torso.CFrame * cn(math.random(-10, 10), math.random(5, 7), math.random(-10, 10)), 0.3, 0.2, 0.3, 0, 0, 0, 0.01) | |
4766 | ImageLabel1.ImageTransparency = 0.5 | |
4767 | else | |
4768 | ImageLabel1.ImageTransparency = 1 | |
4769 | end | |
4770 | end | |
4771 | end)) | |
4772 | coroutine.resume(coroutine.create(function() | |
4773 | while wait(0.3) do | |
4774 | if elementmode == "Mode 4" and attack == false then | |
4775 | coroutine.resume(coroutine.create(function() | |
4776 | HitboxFunction(RootPart.CFrame * cn(0, -1, 0), 0, 1, 1, 1, 11, 0.6, 1, 3, "Slowness") | |
4777 | end)) | |
4778 | end | |
4779 | if elementmode == "Mode 3" and attack == false then | |
4780 | local Body1 = NeonColorParts2[math.random(#NeonColorParts2)] | |
4781 | local Body2 = ArmorColorParts[math.random(#ArmorColorParts)] | |
4782 | local Pos1 = Vector3.new(math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X) / 55, math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y) / 55, math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z) / 55) | |
4783 | local Pos2 = Vector3.new(math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X) / 55, math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y) / 55, math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z) / 55) | |
4784 | local SPos1 = Body1.Position + Pos1 | |
4785 | local SPos2 = Body2.Position + Pos2 | |
4786 | Lightning(SPos1, SPos2, 4, 3, maincolor, 0.1, 0.05, -0.15) | |
4787 | end | |
4788 | if elementmode == "Mode 6" then | |
4789 | local Body1 = BodyParts[math.random(#BodyParts)] | |
4790 | local Body2 = BodyParts[math.random(#BodyParts)] | |
4791 | local Pos1 = Vector3.new(math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X) / 55, math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y) / 55, math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z) / 55) | |
4792 | local Pos2 = Vector3.new(math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X) / 55, math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y) / 55, math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z) / 55) | |
4793 | local SPos1 = Body1.Position + Pos1 | |
4794 | local SPos2 = Body2.Position + Pos2 | |
4795 | Lightning(SPos1, SPos2, 4, 3, maincolor, 0.05, 0.05, -0.1) | |
4796 | end | |
4797 | end | |
4798 | end)) | |
4799 | print("by 123jl123") |