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