SHOW:
|
|
- or go back to the newest paste.
1 | --// KarmaV2 By ItzPartapika \\-- | |
2 | --// Shortcut Variables \\-- | |
3 | ||
4 | print([[ | |
5 | Kristan, The Bad Karma. | |
6 | HEIGHT: 4'3 | |
7 | WEIGHT: 69 kg | |
8 | STATUS: INSANE. DESTRUCTIVE. WILL KILL ON SIGHT. | |
9 | ]]) | |
10 | ||
11 | warn([[ | |
12 | Kristan was in a giant continuous battle until she was knocked out. She soon got up and her body was gone. | |
13 | She was mentally unstable, believing everyone was against her. | |
14 | She healed herself fully after a year. She killed everyone around her in one shot. She started looking around for the person that made her go insane. | |
15 | She later found him. The person that made her go insane. The person that destroyed her. | |
16 | ||
17 | She went into battle and went down once. Now this is phase 2. | |
18 | ||
19 | This is Karma V2. | |
20 | ]]) | |
21 | ||
22 | print([[ | |
23 | ------------------------------------------------- | |
24 | CONTROLS: | |
25 | ||
26 | LClick - Click Combo | |
27 | Z - One Punch (just hover your mouse over a noob and press the key) | |
28 | X - Sky Strike | |
29 | C - Karma's Slam | |
30 | V - Health Drain | |
31 | F - Painful Stomp | |
32 | T - Taunt | |
33 | ]]) | |
34 | ------------------------------------------------- | |
35 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
36 | local Player,game,owner = owner,game | |
37 | local RealPlayer = Player | |
38 | do | |
39 | print("FE Compatibility code by Mokiros") | |
40 | local rp = RealPlayer | |
41 | script.Parent = rp.Character | |
42 | ||
43 | --RemoteEvent for communicating | |
44 | local Event = Instance.new("RemoteEvent") | |
45 | Event.Name = "UserInput_Event" | |
46 | ||
47 | --Fake event to make stuff like Mouse.KeyDown work | |
48 | local function fakeEvent() | |
49 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
50 | t.connect = t.Connect | |
51 | return t | |
52 | end | |
53 | ||
54 | --Creating fake input objects with fake variables | |
55 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
56 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
57 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
58 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
59 | end} | |
60 | --Merged 2 functions into one by checking amount of arguments | |
61 | CAS.UnbindAction = CAS.BindAction | |
62 | ||
63 | --This function will trigger the events that have been :Connect()'ed | |
64 | local function te(self,ev,...) | |
65 | local t = m[ev] | |
66 | if t and t._fakeEvent then | |
67 | for _,f in pairs(t.Functions) do | |
68 | f(...) | |
69 | end | |
70 | end | |
71 | end | |
72 | m.TrigEvent = te | |
73 | UIS.TrigEvent = te | |
74 | ||
75 | Event.OnServerEvent:Connect(function(plr,io) | |
76 | if plr~=rp then return end | |
77 | m.Target = io.Target | |
78 | m.Hit = io.Hit | |
79 | if not io.isMouse then | |
80 | local b = io.UserInputState == Enum.UserInputState.Begin | |
81 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
82 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
83 | end | |
84 | for _,t in pairs(CAS.Actions) do | |
85 | for _,k in pairs(t.Keys) do | |
86 | if k==io.KeyCode then | |
87 | t.Function(t.Name,io.UserInputState,io) | |
88 | end | |
89 | end | |
90 | end | |
91 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
92 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
93 | end | |
94 | end) | |
95 | Event.Parent = NLS([==[ | |
96 | local Player = game:GetService("Players").LocalPlayer | |
97 | local Event = script:WaitForChild("UserInput_Event") | |
98 | local Mouse = Player:GetMouse() | |
99 | local UIS = game:GetService("UserInputService") | |
100 | local input = function(io,a) | |
101 | if a then return end | |
102 | --Since InputObject is a client-side instance, we create and pass table instead | |
103 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
104 | end | |
105 | UIS.InputBegan:Connect(input) | |
106 | UIS.InputEnded:Connect(input) | |
107 | local h,t | |
108 | --Give the server mouse data 30 times every second, but only if the values changed | |
109 | --If player is not moving their mouse, client won't fire events | |
110 | while wait(1/30) do | |
111 | if h~=Mouse.Hit or t~=Mouse.Target then | |
112 | h,t=Mouse.Hit,Mouse.Target | |
113 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
114 | end | |
115 | end]==],Player.Character) | |
116 | ||
117 | ----Sandboxed game object that allows the usage of client-side methods and services | |
118 | --Real game object | |
119 | local _rg = game | |
120 | ||
121 | --Metatable for fake service | |
122 | local fsmt = { | |
123 | __index = function(self,k) | |
124 | local s = rawget(self,"_RealService") | |
125 | if s then return s[k] end | |
126 | end, | |
127 | __newindex = function(self,k,v) | |
128 | local s = rawget(self,"_RealService") | |
129 | if s then s[k]=v end | |
130 | end, | |
131 | __call = function(self,...) | |
132 | local s = rawget(self,"_RealService") | |
133 | if s then return s(...) end | |
134 | end | |
135 | } | |
136 | local function FakeService(t,RealService) | |
137 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
138 | return setmetatable(t,fsmt) | |
139 | end | |
140 | ||
141 | --Fake game object | |
142 | local g = { | |
143 | GetService = function(self,s) | |
144 | return self[s] | |
145 | end, | |
146 | Players = FakeService({ | |
147 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
148 | },"Players"), | |
149 | UserInputService = FakeService(UIS,"UserInputService"), | |
150 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
151 | } | |
152 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
153 | g.service = g.GetService | |
154 | ||
155 | g.RunService = FakeService({ | |
156 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
157 | BindToRenderStep = function(self,name,_,fun) | |
158 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
159 | end, | |
160 | UnbindFromRenderStep = function(self,name) | |
161 | self._btrs[name]:Disconnect() | |
162 | end, | |
163 | },"RunService") | |
164 | ||
165 | setmetatable(g,{ | |
166 | __index=function(self,s) | |
167 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
168 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
169 | end, | |
170 | __newindex = fsmt.__newindex, | |
171 | __call = fsmt.__call | |
172 | }) | |
173 | --Changing owner to fake player object to support owner:GetMouse() | |
174 | game,owner = g,g.Players.LocalPlayer | |
175 | end | |
176 | local S = setmetatable({},{__index = function(s,i) return game:service(i) end}) | |
177 | local Plrs = S.Players | |
178 | local Plr = owner | |
179 | local Char = Plr.Character | |
180 | local Hum = Char:FindFirstChildOfClass'Humanoid' | |
181 | local RArm = Char["Right Arm"] | |
182 | local LArm = Char["Left Arm"] | |
183 | local RLeg = Char["Right Leg"] | |
184 | local LLeg = Char["Left Leg"] | |
185 | local Root = Char:FindFirstChild'HumanoidRootPart' | |
186 | local RootPart = Char:FindFirstChild'HumanoidRootPart' | |
187 | local rootj = Root.RootJoint | |
188 | local Torso = Char.Torso | |
189 | local Tors = Char.Torso | |
190 | local Head = Char.Head | |
191 | local NeutralAnims = true | |
192 | local Attack = false | |
193 | local BloodPuddles = {} | |
194 | local Effects = {} | |
195 | local Debounces = {Debounces={}} | |
196 | local Mouse = Plr:GetMouse() | |
197 | local Hit = {} | |
198 | local Sine = 0 | |
199 | local sine = 0 | |
200 | local Change = 1 | |
201 | local IT = Instance.new | |
202 | Cos = math.cos | |
203 | local Rooted = false | |
204 | local PlayMusic = true | |
205 | local CF = CFrame.new | |
206 | local VT = Vector3.new | |
207 | local RAD = math.rad | |
208 | local C3 = Color3.new | |
209 | local UD2 = UDim2.new | |
210 | local BRICKC = BrickColor.new | |
211 | local ANGLES = CFrame.Angles | |
212 | local EULER = CFrame.fromEulerAnglesXYZ | |
213 | local COS = math.cos | |
214 | local ACOS = math.acos | |
215 | local SIN = math.sin | |
216 | local ASIN = math.asin | |
217 | local ABS = math.abs | |
218 | local MRANDOM = math.random | |
219 | local FLOOR = math.floor | |
220 | local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ} | |
221 | local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV} | |
222 | local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis} | |
223 | local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end} | |
224 | local R3 = {N=Region3.new} | |
225 | local De = S.Debris | |
226 | local WS = workspace | |
227 | local Lght = S.Lighting | |
228 | local RepS = S.ReplicatedStorage | |
229 | local IN = Instance.new | |
230 | local CSK = ColorSequenceKeypoint.new | |
231 | local CS = ColorSequence.new | |
232 | local OneShotAttack = false | |
233 | plr = game.Players.LocalPlayer | |
234 | char = plr.Character | |
235 | hum = char.Humanoid | |
236 | t = char.Torso | |
237 | h = char.Head | |
238 | ra = char["Right Arm"] | |
239 | la = char["Left Arm"] | |
240 | rl = char["Right Leg"] | |
241 | ll = char["Left Leg"] | |
242 | tors = char.Torso | |
243 | lleg = char["Left Leg"] | |
244 | root = char.HumanoidRootPart | |
245 | hed = char.Head | |
246 | rleg = char["Right Leg"] | |
247 | rarm = char["Right Arm"] | |
248 | larm = char["Left Arm"] | |
249 | vt = Vector3.new | |
250 | bc = BrickColor.new | |
251 | br = BrickColor.random | |
252 | it = Instance.new | |
253 | cf = CFrame.new | |
254 | ||
255 | function createpart(parent,transparency,reflectance,material,brickcolor) | |
256 | local p = Instance.new("Part") | |
257 | p.Parent = parent | |
258 | p.Size = Vector3.new(1,1,1) | |
259 | p.Transparency = transparency | |
260 | p.Reflectance = reflectance | |
261 | p.CanCollide = false | |
262 | p.Locked = true | |
263 | p.BrickColor = brickcolor | |
264 | p.Material = material | |
265 | return p | |
266 | end | |
267 | ||
268 | function createmesh(parent,meshtype,x1,y1,z1) | |
269 | local mesh = Instance.new("SpecialMesh",parent) | |
270 | mesh.MeshType = meshtype | |
271 | mesh.Scale = Vector3.new(x1,y1,z1) | |
272 | return mesh | |
273 | end | |
274 | ||
275 | ||
276 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
277 | local mesh = Instance.new("SpecialMesh",parent) | |
278 | mesh.MeshType = "FileMesh" | |
279 | mesh.MeshId = meshid | |
280 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
281 | mesh.Scale = Vector3.new(x1,y1,z1) | |
282 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
283 | return mesh | |
284 | end | |
285 | ||
286 | ||
287 | function createweld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
288 | local weld = Instance.new("Weld") | |
289 | weld.Parent = parent | |
290 | weld.Part0 = part0 | |
291 | weld.Part1 = part1 | |
292 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
293 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
294 | return weld | |
295 | end | |
296 | local m = Instance.new("Model",char) | |
297 | m.Name = "wot" | |
298 | ||
299 | --// Instance Creation Functions \\-- | |
300 | ||
301 | function swait(num) | |
302 | if num == 0 or num == nil then | |
303 | game:service("RunService").Stepped:wait(0) | |
304 | else | |
305 | for i = 0, num do | |
306 | game:service("RunService").Stepped:wait(0) | |
307 | end | |
308 | end | |
309 | end | |
310 | ||
311 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
312 | local NSound = nil | |
313 | coroutine.resume(coroutine.create(function() | |
314 | NSound = Instance.new("Sound", PARENT) | |
315 | NSound.Volume = VOLUME | |
316 | NSound.Pitch = PITCH | |
317 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
318 | swait() | |
319 | NSound:play() | |
320 | game:GetService("Debris"):AddItem(NSound, 10) | |
321 | end)) | |
322 | return NSound | |
323 | end | |
324 | ||
325 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
326 | local mesh = Instance.new("SpecialMesh",parent) | |
327 | mesh.MeshType = "FileMesh" | |
328 | mesh.MeshId = meshid | |
329 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
330 | mesh.Scale = Vector3.new(x1,y1,z1) | |
331 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
332 | return mesh | |
333 | end | |
334 | ||
335 | function Sound(parent,id,pitch,volume,looped,effect,autoPlay) | |
336 | local Sound = IN("Sound") | |
337 | Sound.SoundId = "rbxassetid://".. tostring(id or 0) | |
338 | Sound.Pitch = pitch or 1 | |
339 | Sound.Volume = volume or 1 | |
340 | Sound.Looped = looped or false | |
341 | if(autoPlay)then | |
342 | coroutine.wrap(function() | |
343 | repeat wait() until Sound.IsLoaded | |
344 | Sound.Playing = autoPlay or false | |
345 | end)() | |
346 | end | |
347 | if(not looped and effect)then | |
348 | Sound.Stopped:connect(function() | |
349 | Sound.Volume = 0 | |
350 | Sound:destroy() | |
351 | end) | |
352 | elseif(effect)then | |
353 | warn("Sound can't be looped and a sound effect!") | |
354 | end | |
355 | Sound.Parent =parent or Torso | |
356 | return Sound | |
357 | end | |
358 | function Part(parent,color,material,size,cframe,anchored,cancollide) | |
359 | local part = IN("Part") | |
360 | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0) | |
361 | part.Material = (material or Enum.Material.SmoothPlastic) | |
362 | part.TopSurface,part.BottomSurface=10,10 | |
363 | part.Size = (size or V3.N(1,1,1)) | |
364 | part.CFrame = (cframe or CF.N(0,0,0)) | |
365 | part.Anchored = (anchored or false) | |
366 | part.CanCollide = (cancollide or false) | |
367 | part.Parent = (parent or Char) | |
368 | return part | |
369 | end | |
370 | function Mesh(parent,meshtype,meshid,textid,scale,offset) | |
371 | local part = IN("SpecialMesh") | |
372 | part.MeshId = meshid or "" | |
373 | part.TextureId = textid or "" | |
374 | part.Scale = scale or V3.N(1,1,1) | |
375 | part.Offset = offset or V3.N(0,0,0) | |
376 | part.MeshType = meshtype or Enum.MeshType.Sphere | |
377 | part.Parent = parent | |
378 | return part | |
379 | end | |
380 | ||
381 | NewInstance = function(instance,parent,properties) | |
382 | local inst = Instance.new(instance,parent) | |
383 | if(properties)then | |
384 | for i,v in next, properties do | |
385 | pcall(function() inst[i] = v end) | |
386 | end | |
387 | end | |
388 | return inst; | |
389 | end | |
390 | ||
391 | New = function(Object, Parent, Name, Data) | |
392 | local Object = Instance.new(Object) | |
393 | for Index, Value in pairs(Data or {}) do | |
394 | Object[Index] = Value | |
395 | end | |
396 | Object.Parent = Parent | |
397 | Object.Name = Name | |
398 | return Object | |
399 | end | |
400 | ||
401 | --// Extended ROBLOX tables \\-- | |
402 | local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance}) | |
403 | ||
404 | local Effects = IN("Folder",Char) | |
405 | Effects.Name = "Effects" | |
406 | ||
407 | function newWeld(wp0, wp1, wc0x, wc0y, wc0z) | |
408 | ||
409 | local wld = Instance.new("Weld", wp1) | |
410 | ||
411 | wld.Part0 = wp0 | |
412 | ||
413 | wld.Part1 = wp1 | |
414 | ||
415 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
416 | ||
417 | return wld | |
418 | ||
419 | end | |
420 | ||
421 | function weld(model) | |
422 | local parts,last = {} | |
423 | local function scan(parent) | |
424 | for _,v in pairs(parent:GetChildren()) do | |
425 | if (v:IsA("BasePart")) then | |
426 | if (last) then | |
427 | local w = Instance.new("Weld") | |
428 | w.Name = ("%s_Weld"):format(v.Name) | |
429 | w.Part0,w.Part1 = last,v | |
430 | w.C0 = last.CFrame:inverse() | |
431 | w.C1 = v.CFrame:inverse() | |
432 | w.Parent = last | |
433 | end | |
434 | last = v | |
435 | table.insert(parts,v) | |
436 | end | |
437 | scan(v) | |
438 | end | |
439 | end | |
440 | scan(model) | |
441 | for _,v in pairs(parts) do | |
442 | v.Anchored = false | |
443 | v.Locked = true | |
444 | v.Anchored = false | |
445 | v.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
446 | v.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
447 | v.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
448 | v.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
449 | v.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
450 | v.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
451 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0) | |
452 | end | |
453 | end | |
454 | ||
455 | local maincolor = BrickColor.random() | |
456 | ||
457 | coroutine.resume(coroutine.create(function() | |
458 | while true do | |
459 | swait(2) | |
460 | maincolor = BrickColor.random() | |
461 | end | |
462 | end)) | |
463 | ||
464 | local Character = game.Players.LocalPlayer.Character | |
465 | ||
466 | local plr = game:service'Players'.LocalPlayer | |
467 | print('Local User is '..plr.Name) | |
468 | local char = plr.Character | |
469 | local hum = char.Humanoid | |
470 | local ra = char["Right Arm"] | |
471 | local la= char["Left Arm"] | |
472 | local rl= char["Right Leg"] | |
473 | local ll = char["Left Leg"] | |
474 | local hed = char.Head | |
475 | local root = char.HumanoidRootPart | |
476 | local rootj = root.RootJoint | |
477 | local tors = char.Torso | |
478 | local mouse = plr:GetMouse() | |
479 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
480 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
481 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
482 | ------------------------------------------------------- | |
483 | --Start Good Stuff-- | |
484 | ------------------------------------------------------- | |
485 | CF = CFrame.new | |
486 | angles = CFrame.Angles | |
487 | attack = false | |
488 | Euler = CFrame.fromEulerAnglesXYZ | |
489 | Rad = math.rad | |
490 | IT = Instance.new | |
491 | BrickC = BrickColor.new | |
492 | Cos = math.cos | |
493 | Acos = math.acos | |
494 | Sin = math.sin | |
495 | Asin = math.asin | |
496 | Abs = math.abs | |
497 | Mrandom = math.random | |
498 | Floor = math.floor | |
499 | ------------------------------------------------------- | |
500 | --End Good Stuff-- | |
501 | ------------------------------------------------------- | |
502 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
503 | RSH, LSH = nil, nil | |
504 | RW = Instance.new("Weld") | |
505 | LW = Instance.new("Weld") | |
506 | RH = tors["Right Hip"] | |
507 | LH = tors["Left Hip"] | |
508 | RSH = tors["Right Shoulder"] | |
509 | LSH = tors["Left Shoulder"] | |
510 | RSH.Parent = nil | |
511 | LSH.Parent = nil | |
512 | RW.Name = "RW" | |
513 | RW.Part0 = tors | |
514 | RW.C0 = CF(1.5, 0.5, 0) | |
515 | RW.C1 = CF(0, 0.5, 0) | |
516 | RW.Part1 = ra | |
517 | RW.Parent = tors | |
518 | LW.Name = "LW" | |
519 | LW.Part0 = tors | |
520 | LW.C0 = CF(-1.5, 0.5, 0) | |
521 | LW.C1 = CF(0, 0.5, 0) | |
522 | LW.Part1 = la | |
523 | LW.Parent = tors | |
524 | Effects = {} | |
525 | ||
526 | ------------------------------------------------------- | |
527 | --Start HeartBeat-- | |
528 | ------------------------------------------------------- | |
529 | ArtificialHB = Instance.new("BindableEvent", script) | |
530 | ArtificialHB.Name = "Heartbeat" | |
531 | script:WaitForChild("Heartbeat") | |
532 | ||
533 | frame = 1 / 60 | |
534 | tf = 0 | |
535 | allowframeloss = false | |
536 | tossremainder = false | |
537 | ||
538 | ||
539 | lastframe = tick() | |
540 | script.Heartbeat:Fire() | |
541 | ||
542 | ||
543 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
544 | tf = tf + s | |
545 | if tf >= frame then | |
546 | if allowframeloss then | |
547 | script.Heartbeat:Fire() | |
548 | lastframe = tick() | |
549 | else | |
550 | for i = 1, math.floor(tf / frame) do | |
551 | script.Heartbeat:Fire() | |
552 | end | |
553 | lastframe = tick() | |
554 | end | |
555 | if tossremainder then | |
556 | tf = 0 | |
557 | else | |
558 | tf = tf - frame * math.floor(tf / frame) | |
559 | end | |
560 | end | |
561 | end) | |
562 | ------------------------------------------------------- | |
563 | --End HeartBeat-- | |
564 | ------------------------------------------------------- | |
565 | ||
566 | ------------------------------------------------------- | |
567 | --Start Important Functions-- | |
568 | ------------------------------------------------------- | |
569 | ||
570 | function Swait(NUMBER) | |
571 | if NUMBER == 0 or NUMBER == nil then | |
572 | ArtificialHB.Event:wait() | |
573 | else | |
574 | for i = 1, NUMBER do | |
575 | ArtificialHB.Event:wait() | |
576 | end | |
577 | end | |
578 | end | |
579 | ||
580 | function thread(f) | |
581 | coroutine.resume(coroutine.create(f)) | |
582 | end | |
583 | function clerp(a, b, t) | |
584 | local qa = { | |
585 | QuaternionFromCFrame(a) | |
586 | } | |
587 | local qb = { | |
588 | QuaternionFromCFrame(b) | |
589 | } | |
590 | local ax, ay, az = a.x, a.y, a.z | |
591 | local bx, by, bz = b.x, b.y, b.z | |
592 | local _t = 1 - t | |
593 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
594 | end | |
595 | ---------------------------------------------------------------------------- | |
596 | ||
597 | function lerp(a, b, t) | |
598 | return a + (b - a)*t | |
599 | end | |
600 | ||
601 | ---------------------------------------------------------------------------- | |
602 | ||
603 | function Lerp(c1,c2,al) | |
604 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
605 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
606 | for i,v in pairs(com1) do | |
607 | com1[i] = v+(com2[i]-v)*al | |
608 | end | |
609 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
610 | end | |
611 | ||
612 | ---------------------------------------------------------------------------- | |
613 | ||
614 | function QuaternionFromCFrame(cf) | |
615 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
616 | local trace = m00 + m11 + m22 | |
617 | if trace > 0 then | |
618 | local s = math.sqrt(1 + trace) | |
619 | local recip = 0.5 / s | |
620 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
621 | else | |
622 | local i = 0 | |
623 | if m00 < m11 then | |
624 | i = 1 | |
625 | end | |
626 | if m22 > (i == 0 and m00 or m11) then | |
627 | i = 2 | |
628 | end | |
629 | if i == 0 then | |
630 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
631 | local recip = 0.5 / s | |
632 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
633 | elseif i == 1 then | |
634 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
635 | local recip = 0.5 / s | |
636 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
637 | elseif i == 2 then | |
638 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
639 | local recip = 0.5 / s | |
640 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
641 | end | |
642 | end | |
643 | end | |
644 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
645 | local xs, ys, zs = x + x, y + y, z + z | |
646 | local wx, wy, wz = w * xs, w * ys, w * zs | |
647 | local xx = x * xs | |
648 | local xy = x * ys | |
649 | local xz = x * zs | |
650 | local yy = y * ys | |
651 | local yz = y * zs | |
652 | local zz = z * zs | |
653 | 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)) | |
654 | end | |
655 | function QuaternionSlerp(a, b, t) | |
656 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
657 | local startInterp, finishInterp | |
658 | if cosTheta >= 1.0E-4 then | |
659 | if 1 - cosTheta > 1.0E-4 then | |
660 | local theta = math.acos(cosTheta) | |
661 | local invSinTheta = 1 / Sin(theta) | |
662 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
663 | finishInterp = Sin(t * theta) * invSinTheta | |
664 | else | |
665 | startInterp = 1 - t | |
666 | finishInterp = t | |
667 | end | |
668 | elseif 1 + cosTheta > 1.0E-4 then | |
669 | local theta = math.acos(-cosTheta) | |
670 | local invSinTheta = 1 / Sin(theta) | |
671 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
672 | finishInterp = Sin(t * theta) * invSinTheta | |
673 | else | |
674 | startInterp = t - 1 | |
675 | finishInterp = t | |
676 | end | |
677 | 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 | |
678 | end | |
679 | function rayCast(Position, Direction, Range, Ignore) | |
680 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
681 | end | |
682 | local RbxUtility = LoadLibrary("RbxUtility") | |
683 | local Create = RbxUtility.Create | |
684 | ||
685 | ------------------------------------------------------- | |
686 | --Start Damage Function-- | |
687 | ------------------------------------------------------- | |
688 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
689 | if hit.Parent == nil then | |
690 | return | |
691 | end | |
692 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
693 | for _, v in pairs(hit.Parent:children()) do | |
694 | if v:IsA("Humanoid") then | |
695 | h = v | |
696 | end | |
697 | end | |
698 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
699 | ||
700 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
701 | end | |
702 | ||
703 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
704 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
705 | if hit.Parent.DebounceHit.Value == true then | |
706 | return | |
707 | end | |
708 | end | |
709 | if insta == true then | |
710 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
711 | end | |
712 | local c = Create("ObjectValue"){ | |
713 | Name = "creator", | |
714 | Value = game:service("Players").LocalPlayer, | |
715 | Parent = h, | |
716 | } | |
717 | game:GetService("Debris"):AddItem(c, .5) | |
718 | if HitSound ~= nil and HitPitch ~= nil then | |
719 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
720 | end | |
721 | local Damage = math.random(minim, maxim) | |
722 | local blocked = false | |
723 | local block = hit.Parent:findFirstChild("Block") | |
724 | if block ~= nil then | |
725 | if block.className == "IntValue" then | |
726 | if block.Value > 0 then | |
727 | blocked = true | |
728 | block.Value = block.Value - 1 | |
729 | print(block.Value) | |
730 | end | |
731 | end | |
732 | end | |
733 | if blocked == false then | |
734 | h.Health = h.Health - Damage | |
735 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color) | |
736 | else | |
737 | h.Health = h.Health - (Damage / 2) | |
738 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color) | |
739 | end | |
740 | if Type == "Knockdown" then | |
741 | local hum = hit.Parent.Humanoid | |
742 | hum.PlatformStand = true | |
743 | coroutine.resume(coroutine.create(function(HHumanoid) | |
744 | swait(1) | |
745 | HHumanoid.PlatformStand = false | |
746 | end), hum) | |
747 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
748 | local bodvol = Create("BodyVelocity"){ | |
749 | velocity = angle * knockback, | |
750 | P = 5000, | |
751 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
752 | Parent = hit, | |
753 | } | |
754 | local rl = Create("BodyAngularVelocity"){ | |
755 | P = 3000, | |
756 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
757 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
758 | Parent = hit, | |
759 | } | |
760 | game:GetService("Debris"):AddItem(bodvol, .5) | |
761 | game:GetService("Debris"):AddItem(rl, .5) | |
762 | elseif Type == "Normal" then | |
763 | local vp = Create("BodyVelocity"){ | |
764 | P = 500, | |
765 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
766 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
767 | } | |
768 | if knockback > 0 then | |
769 | vp.Parent = hit.Parent.Torso | |
770 | end | |
771 | game:GetService("Debris"):AddItem(vp, .5) | |
772 | elseif Type == "Up" then | |
773 | local bodyVelocity = Create("BodyVelocity"){ | |
774 | velocity = Vector3.new(0, 20, 0), | |
775 | P = 5000, | |
776 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
777 | Parent = hit, | |
778 | } | |
779 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
780 | elseif Type == "DarkUp" then | |
781 | coroutine.resume(coroutine.create(function() | |
782 | for i = 0, 1, 0.1 do | |
783 | swait() | |
784 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
785 | end | |
786 | end)) | |
787 | local bodyVelocity = Create("BodyVelocity"){ | |
788 | velocity = Vector3.new(0, 20, 0), | |
789 | P = 5000, | |
790 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
791 | Parent = hit, | |
792 | } | |
793 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
794 | elseif Type == "Snare" then | |
795 | local bp = Create("BodyPosition"){ | |
796 | P = 2000, | |
797 | D = 100, | |
798 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
799 | position = hit.Parent.Torso.Position, | |
800 | Parent = hit.Parent.Torso, | |
801 | } | |
802 | game:GetService("Debris"):AddItem(bp, 1) | |
803 | elseif Type == "Freeze" then | |
804 | local BodPos = Create("BodyPosition"){ | |
805 | P = 50000, | |
806 | D = 1000, | |
807 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
808 | position = hit.Parent.Torso.Position, | |
809 | Parent = hit.Parent.Torso, | |
810 | } | |
811 | local BodGy = Create("BodyGyro") { | |
812 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
813 | P = 20e+003, | |
814 | Parent = hit.Parent.Torso, | |
815 | cframe = hit.Parent.Torso.CFrame, | |
816 | } | |
817 | hit.Parent.Torso.Anchored = true | |
818 | coroutine.resume(coroutine.create(function(Part) | |
819 | swait(1.5) | |
820 | Part.Anchored = false | |
821 | end), hit.Parent.Torso) | |
822 | game:GetService("Debris"):AddItem(BodPos, 3) | |
823 | game:GetService("Debris"):AddItem(BodGy, 3) | |
824 | end | |
825 | local debounce = Create("BoolValue"){ | |
826 | Name = "DebounceHit", | |
827 | Parent = hit.Parent, | |
828 | Value = true, | |
829 | } | |
830 | game:GetService("Debris"):AddItem(debounce, Delay) | |
831 | c = Create("ObjectValue"){ | |
832 | Name = "creator", | |
833 | Value = Player, | |
834 | Parent = h, | |
835 | } | |
836 | game:GetService("Debris"):AddItem(c, .5) | |
837 | end | |
838 | end | |
839 | ------------------------------------------------------- | |
840 | --End Damage Function-- | |
841 | ------------------------------------------------------- | |
842 | ||
843 | ------------------------------------------------------- | |
844 | --Start Damage Function Customization-- | |
845 | ------------------------------------------------------- | |
846 | function ShowDamage(Pos, Text, Time, Color) | |
847 | local Rate = (1 / 30) | |
848 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
849 | local Text = (Text or "") | |
850 | local Time = (Time or 2) | |
851 | local Color = (Color or Color3.new(1, 0, 1)) | |
852 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
853 | EffectPart.Anchored = true | |
854 | local BillboardGui = Create("BillboardGui"){ | |
855 | Size = UDim2.new(3, 0, 3, 0), | |
856 | Adornee = EffectPart, | |
857 | Parent = EffectPart, | |
858 | } | |
859 | local TextLabel = Create("TextLabel"){ | |
860 | BackgroundTransparency = 1, | |
861 | Size = UDim2.new(1, 0, 1, 0), | |
862 | Text = Text, | |
863 | Font = "Highway", | |
864 | TextColor3 = Color, | |
865 | TextScaled = true, | |
866 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
867 | Parent = BillboardGui, | |
868 | } | |
869 | game.Debris:AddItem(EffectPart, (Time)) | |
870 | EffectPart.Parent = game:GetService("Workspace") | |
871 | delay(0, function() | |
872 | local Frames = (Time / Rate) | |
873 | for Frame = 1, Frames do | |
874 | wait(Rate) | |
875 | local Percent = (Frame / Frames) | |
876 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
877 | TextLabel.TextTransparency = Percent | |
878 | end | |
879 | if EffectPart and EffectPart.Parent then | |
880 | EffectPart:Destroy() | |
881 | end | |
882 | end) | |
883 | end | |
884 | ------------------------------------------------------- | |
885 | --End Damage Function Customization-- | |
886 | ------------------------------------------------------- | |
887 | ||
888 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
889 | for _, c in pairs(workspace:children()) do | |
890 | local hum = c:findFirstChild("Humanoid") | |
891 | if hum ~= nil then | |
892 | local head = c:findFirstChild("Head") | |
893 | if head ~= nil then | |
894 | local targ = head.Position - Part.Position | |
895 | local mag = targ.magnitude | |
896 | if magni >= mag and c.Name ~= plr.Name then | |
897 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
898 | end | |
899 | end | |
900 | end | |
901 | end | |
902 | end | |
903 | ||
904 | ||
905 | CFuncs = { | |
906 | Part = { | |
907 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
908 | local Part = Create("Part")({ | |
909 | Parent = Parent, | |
910 | Reflectance = Reflectance, | |
911 | Transparency = Transparency, | |
912 | CanCollide = false, | |
913 | Locked = true, | |
914 | BrickColor = BrickColor.new(tostring(BColor)), | |
915 | Name = Name, | |
916 | Size = Size, | |
917 | Material = Material | |
918 | }) | |
919 | RemoveOutlines(Part) | |
920 | return Part | |
921 | end | |
922 | }, | |
923 | Mesh = { | |
924 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
925 | local Msh = Create(Mesh)({ | |
926 | Parent = Part, | |
927 | Offset = OffSet, | |
928 | Scale = Scale | |
929 | }) | |
930 | if Mesh == "SpecialMesh" then | |
931 | Msh.MeshType = MeshType | |
932 | Msh.MeshId = MeshId | |
933 | end | |
934 | return Msh | |
935 | end | |
936 | }, | |
937 | Mesh = { | |
938 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
939 | local Msh = Create(Mesh)({ | |
940 | Parent = Part, | |
941 | Offset = OffSet, | |
942 | Scale = Scale | |
943 | }) | |
944 | if Mesh == "SpecialMesh" then | |
945 | Msh.MeshType = MeshType | |
946 | Msh.MeshId = MeshId | |
947 | end | |
948 | return Msh | |
949 | end | |
950 | }, | |
951 | Weld = { | |
952 | Create = function(Parent, Part0, Part1, C0, C1) | |
953 | local Weld = Create("Weld")({ | |
954 | Parent = Parent, | |
955 | Part0 = Part0, | |
956 | Part1 = Part1, | |
957 | C0 = C0, | |
958 | C1 = C1 | |
959 | }) | |
960 | return Weld | |
961 | end | |
962 | }, | |
963 | Sound = { | |
964 | Create = function(id, par, vol, pit) | |
965 | coroutine.resume(coroutine.create(function() | |
966 | local S = Create("Sound")({ | |
967 | Volume = vol, | |
968 | Pitch = pit or 1, | |
969 | SoundId = id, | |
970 | Parent = par or workspace | |
971 | }) | |
972 | wait() | |
973 | S:play() | |
974 | game:GetService("Debris"):AddItem(S, 6) | |
975 | end)) | |
976 | end | |
977 | }, | |
978 | ParticleEmitter = { | |
979 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
980 | local fp = Create("ParticleEmitter")({ | |
981 | Parent = Parent, | |
982 | Color = ColorSequence.new(Color1, Color2), | |
983 | LightEmission = LightEmission, | |
984 | Size = Size, | |
985 | Texture = Texture, | |
986 | Transparency = Transparency, | |
987 | ZOffset = ZOffset, | |
988 | Acceleration = Accel, | |
989 | Drag = Drag, | |
990 | LockedToPart = LockedToPart, | |
991 | VelocityInheritance = VelocityInheritance, | |
992 | EmissionDirection = EmissionDirection, | |
993 | Enabled = Enabled, | |
994 | Lifetime = LifeTime, | |
995 | Rate = Rate, | |
996 | Rotation = Rotation, | |
997 | RotSpeed = RotSpeed, | |
998 | Speed = Speed, | |
999 | VelocitySpread = VelocitySpread | |
1000 | }) | |
1001 | return fp | |
1002 | end | |
1003 | } | |
1004 | } | |
1005 | function RemoveOutlines(part) | |
1006 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
1007 | end | |
1008 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1009 | local Part = Create("Part")({ | |
1010 | formFactor = FormFactor, | |
1011 | Parent = Parent, | |
1012 | Reflectance = Reflectance, | |
1013 | Transparency = Transparency, | |
1014 | CanCollide = false, | |
1015 | Locked = true, | |
1016 | BrickColor = BrickColor.new(tostring(BColor)), | |
1017 | Name = Name, | |
1018 | Size = Size, | |
1019 | Material = Material | |
1020 | }) | |
1021 | RemoveOutlines(Part) | |
1022 | return Part | |
1023 | end | |
1024 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1025 | local Msh = Create(Mesh)({ | |
1026 | Parent = Part, | |
1027 | Offset = OffSet, | |
1028 | Scale = Scale | |
1029 | }) | |
1030 | if Mesh == "SpecialMesh" then | |
1031 | Msh.MeshType = MeshType | |
1032 | Msh.MeshId = MeshId | |
1033 | end | |
1034 | return Msh | |
1035 | end | |
1036 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
1037 | local Weld = Create("Weld")({ | |
1038 | Parent = Parent, | |
1039 | Part0 = Part0, | |
1040 | Part1 = Part1, | |
1041 | C0 = C0, | |
1042 | C1 = C1 | |
1043 | }) | |
1044 | return Weld | |
1045 | end | |
1046 | ||
1047 | ------------------------------------------------------- | |
1048 | --Start Effect Function-- | |
1049 | ------------------------------------------------------- | |
1050 | EffectModel = Instance.new("Model", char) | |
1051 | Effects = { | |
1052 | Block = { | |
1053 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1054 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1055 | prt.Anchored = true | |
1056 | prt.CFrame = cframe | |
1057 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1058 | game:GetService("Debris"):AddItem(prt, 10) | |
1059 | if Type == 1 or Type == nil then | |
1060 | table.insert(Effects, { | |
1061 | prt, | |
1062 | "Block1", | |
1063 | delay, | |
1064 | x3, | |
1065 | y3, | |
1066 | z3, | |
1067 | msh | |
1068 | }) | |
1069 | elseif Type == 2 then | |
1070 | table.insert(Effects, { | |
1071 | prt, | |
1072 | "Block2", | |
1073 | delay, | |
1074 | x3, | |
1075 | y3, | |
1076 | z3, | |
1077 | msh | |
1078 | }) | |
1079 | else | |
1080 | table.insert(Effects, { | |
1081 | prt, | |
1082 | "Block3", | |
1083 | delay, | |
1084 | x3, | |
1085 | y3, | |
1086 | z3, | |
1087 | msh | |
1088 | }) | |
1089 | end | |
1090 | end | |
1091 | }, | |
1092 | Sphere = { | |
1093 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1094 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1095 | prt.Anchored = true | |
1096 | prt.CFrame = cframe | |
1097 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1098 | game:GetService("Debris"):AddItem(prt, 10) | |
1099 | table.insert(Effects, { | |
1100 | prt, | |
1101 | "Cylinder", | |
1102 | delay, | |
1103 | x3, | |
1104 | y3, | |
1105 | z3, | |
1106 | msh | |
1107 | }) | |
1108 | end | |
1109 | }, | |
1110 | Cylinder = { | |
1111 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1112 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1113 | prt.Anchored = true | |
1114 | prt.CFrame = cframe | |
1115 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1116 | game:GetService("Debris"):AddItem(prt, 10) | |
1117 | table.insert(Effects, { | |
1118 | prt, | |
1119 | "Cylinder", | |
1120 | delay, | |
1121 | x3, | |
1122 | y3, | |
1123 | z3, | |
1124 | msh | |
1125 | }) | |
1126 | end | |
1127 | }, | |
1128 | Wave = { | |
1129 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1130 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1131 | prt.Anchored = true | |
1132 | prt.CFrame = cframe | |
1133 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
1134 | game:GetService("Debris"):AddItem(prt, 10) | |
1135 | table.insert(Effects, { | |
1136 | prt, | |
1137 | "Cylinder", | |
1138 | delay, | |
1139 | x3 / 60, | |
1140 | y3 / 60, | |
1141 | z3 / 60, | |
1142 | msh | |
1143 | }) | |
1144 | end | |
1145 | }, | |
1146 | Ring = { | |
1147 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1148 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1149 | prt.Anchored = true | |
1150 | prt.CFrame = cframe | |
1151 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1152 | game:GetService("Debris"):AddItem(prt, 10) | |
1153 | table.insert(Effects, { | |
1154 | prt, | |
1155 | "Cylinder", | |
1156 | delay, | |
1157 | x3, | |
1158 | y3, | |
1159 | z3, | |
1160 | msh | |
1161 | }) | |
1162 | end | |
1163 | }, | |
1164 | Break = { | |
1165 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1166 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1167 | prt.Anchored = true | |
1168 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1169 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1170 | local num = math.random(10, 50) / 1000 | |
1171 | game:GetService("Debris"):AddItem(prt, 10) | |
1172 | table.insert(Effects, { | |
1173 | prt, | |
1174 | "Shatter", | |
1175 | num, | |
1176 | prt.CFrame, | |
1177 | math.random() - math.random(), | |
1178 | 0, | |
1179 | math.random(50, 100) / 100 | |
1180 | }) | |
1181 | end | |
1182 | }, | |
1183 | Spiral = { | |
1184 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1185 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1186 | prt.Anchored = true | |
1187 | prt.CFrame = cframe | |
1188 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1189 | game:GetService("Debris"):AddItem(prt, 10) | |
1190 | table.insert(Effects, { | |
1191 | prt, | |
1192 | "Cylinder", | |
1193 | delay, | |
1194 | x3, | |
1195 | y3, | |
1196 | z3, | |
1197 | msh | |
1198 | }) | |
1199 | end | |
1200 | }, | |
1201 | Push = { | |
1202 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1203 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1204 | prt.Anchored = true | |
1205 | prt.CFrame = cframe | |
1206 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1207 | game:GetService("Debris"):AddItem(prt, 10) | |
1208 | table.insert(Effects, { | |
1209 | prt, | |
1210 | "Cylinder", | |
1211 | delay, | |
1212 | x3, | |
1213 | y3, | |
1214 | z3, | |
1215 | msh | |
1216 | }) | |
1217 | end | |
1218 | } | |
1219 | } | |
1220 | ------------------------------------------------------- | |
1221 | --End Effect Function-- | |
1222 | ------------------------------------------------------- | |
1223 | ||
1224 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
1225 | local NSound = nil | |
1226 | coroutine.resume(coroutine.create(function() | |
1227 | NSound = Instance.new("Sound", PARENT) | |
1228 | NSound.Volume = VOLUME | |
1229 | NSound.Pitch = PITCH | |
1230 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1231 | swait() | |
1232 | NSound:play() | |
1233 | game:GetService("Debris"):AddItem(NSound, 10) | |
1234 | end)) | |
1235 | return NSound | |
1236 | end | |
1237 | ||
1238 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1239 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1240 | prt.Anchored = true | |
1241 | prt.CFrame = cframe | |
1242 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1243 | game:GetService("Debris"):AddItem(prt, 10) | |
1244 | if Type == 1 or Type == nil then | |
1245 | table.insert(Effects, { | |
1246 | prt, | |
1247 | "Block1", | |
1248 | delay, | |
1249 | x3, | |
1250 | y3, | |
1251 | z3, | |
1252 | msh | |
1253 | }) | |
1254 | elseif Type == 2 then | |
1255 | table.insert(Effects, { | |
1256 | prt, | |
1257 | "Block2", | |
1258 | delay, | |
1259 | x3, | |
1260 | y3, | |
1261 | z3, | |
1262 | msh | |
1263 | }) | |
1264 | elseif Type == 3 then | |
1265 | table.insert(Effects, { | |
1266 | prt, | |
1267 | "Block3", | |
1268 | delay, | |
1269 | x3, | |
1270 | y3, | |
1271 | z3, | |
1272 | msh | |
1273 | }) | |
1274 | end | |
1275 | end | |
1276 | ||
1277 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
1278 | local fp=Instance.new("Part") | |
1279 | fp.formFactor=formfactor | |
1280 | fp.Parent=parent | |
1281 | fp.Reflectance=reflectance | |
1282 | fp.Transparency=transparency | |
1283 | fp.CanCollide=false | |
1284 | fp.Locked=true | |
1285 | fp.BrickColor=brickcolor | |
1286 | fp.Name=name | |
1287 | fp.Size=size | |
1288 | fp.Position=tors.Position | |
1289 | RemoveOutlines(fp) | |
1290 | fp.Material="SmoothPlastic" | |
1291 | fp:BreakJoints() | |
1292 | return fp | |
1293 | end | |
1294 | ||
1295 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1296 | local mesh=Instance.new(Mesh) | |
1297 | mesh.Parent=part | |
1298 | if Mesh=="SpecialMesh" then | |
1299 | mesh.MeshType=meshtype | |
1300 | if meshid~="nil" then | |
1301 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
1302 | end | |
1303 | end | |
1304 | mesh.Offset=offset | |
1305 | mesh.Scale=scale | |
1306 | return mesh | |
1307 | end | |
1308 | ||
1309 | function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) | |
1310 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1311 | prt.Anchored = true | |
1312 | prt.Material = "Neon" | |
1313 | prt.CFrame = cframe | |
1314 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1315 | game:GetService("Debris"):AddItem(prt, 5) | |
1316 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1317 | local rtype = rottype | |
1318 | for i = 0, 1, delay do | |
1319 | swait() | |
1320 | if rtype == 1 then | |
1321 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
1322 | elseif rtype == 2 then | |
1323 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
1324 | end | |
1325 | prt.Transparency = i | |
1326 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
1327 | end | |
1328 | Part.Parent = nil | |
1329 | end), prt, msh) | |
1330 | end | |
1331 | ||
1332 | ||
1333 | function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1334 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1335 | prt.Anchored = true | |
1336 | prt.Material = "Neon" | |
1337 | prt.CFrame = cframe | |
1338 | prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1339 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1340 | game:GetService("Debris"):AddItem(prt, 5) | |
1341 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1342 | for i = 0, 1, delay do | |
1343 | swait() | |
1344 | Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1345 | Part.Transparency = i | |
1346 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
1347 | end | |
1348 | Part.Parent = nil | |
1349 | end), prt, msh) | |
1350 | end | |
1351 | ||
1352 | ||
1353 | function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype) | |
1354 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1355 | prt.Anchored = true | |
1356 | prt.Material = "Neon" | |
1357 | prt.CFrame = cframe | |
1358 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01)) | |
1359 | game:GetService("Debris"):AddItem(prt, 5) | |
1360 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1361 | local rtype = rottype | |
1362 | for i = 0, 1, delay do | |
1363 | swait() | |
1364 | if rtype == 1 then | |
1365 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
1366 | elseif rtype == 2 then | |
1367 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
1368 | end | |
1369 | prt.Transparency = i | |
1370 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0) | |
1371 | end | |
1372 | Part.Parent = nil | |
1373 | end), prt, msh) | |
1374 | end | |
1375 | ||
1376 | function Eviscerate(dude) | |
1377 | if dude.Name ~= char then | |
1378 | local bgf = IT("BodyGyro", dude.Head) | |
1379 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1380 | local val = IT("BoolValue", dude) | |
1381 | val.Name = "IsHit" | |
1382 | local ds = coroutine.wrap(function() | |
1383 | dude:WaitForChild("Head"):BreakJoints() | |
1384 | wait(0.5) | |
1385 | target = nil | |
1386 | coroutine.resume(coroutine.create(function() | |
1387 | for i, v in pairs(dude:GetChildren()) do | |
1388 | if v:IsA("Accessory") then | |
1389 | v:Destroy() | |
1390 | end | |
1391 | if v:IsA("Humanoid") then | |
1392 | v:Destroy() | |
1393 | end | |
1394 | if v:IsA("CharacterMesh") then | |
1395 | v:Destroy() | |
1396 | end | |
1397 | if v:IsA("Model") then | |
1398 | v:Destroy() | |
1399 | end | |
1400 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1401 | for x, o in pairs(v:GetChildren()) do | |
1402 | if o:IsA("Decal") then | |
1403 | o:Destroy() | |
1404 | end | |
1405 | end | |
1406 | coroutine.resume(coroutine.create(function() | |
1407 | v.Material = "Neon" | |
1408 | v.CanCollide = false | |
1409 | local PartEmmit1 = IT("ParticleEmitter", v) | |
1410 | PartEmmit1.LightEmission = 1 | |
1411 | PartEmmit1.Texture = "rbxassetid://284205403" | |
1412 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1413 | PartEmmit1.Rate = 150 | |
1414 | PartEmmit1.Lifetime = NumberRange.new(1) | |
1415 | PartEmmit1.Size = NumberSequence.new({ | |
1416 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
1417 | NumberSequenceKeypoint.new(1, 0, 0) | |
1418 | }) | |
1419 | PartEmmit1.Transparency = NumberSequence.new({ | |
1420 | NumberSequenceKeypoint.new(0, 0, 0), | |
1421 | NumberSequenceKeypoint.new(1, 1, 0) | |
1422 | }) | |
1423 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1424 | PartEmmit1.VelocitySpread = 30000 | |
1425 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
1426 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
1427 | local BodPoss = IT("BodyPosition", v) | |
1428 | BodPoss.P = 3000 | |
1429 | BodPoss.D = 1000 | |
1430 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1431 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1432 | v.Color = maincolor.Color | |
1433 | coroutine.resume(coroutine.create(function() | |
1434 | for i = 0, 49 do | |
1435 | swait(1) | |
1436 | v.Transparency = v.Transparency + 0.08 | |
1437 | end | |
1438 | wait(0.5) | |
1439 | PartEmmit1.Enabled = false | |
1440 | wait(3) | |
1441 | v:Destroy() | |
1442 | dude:Destroy() | |
1443 | end)) | |
1444 | end)) | |
1445 | end | |
1446 | end | |
1447 | end)) | |
1448 | end) | |
1449 | ds() | |
1450 | end | |
1451 | end | |
1452 | ||
1453 | function OneShot(dude) | |
1454 | OneShotAttack = true | |
1455 | if dude.Name ~= char then | |
1456 | local bgf = IT("BodyGyro", dude.Head) | |
1457 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1458 | local val = IT("BoolValue", dude) | |
1459 | val.Name = "IsHit" | |
1460 | local ds = coroutine.wrap(function() | |
1461 | dude:WaitForChild("Head"):BreakJoints() | |
1462 | wait(0.5) | |
1463 | target = nil | |
1464 | coroutine.resume(coroutine.create(function() | |
1465 | for i, v in pairs(dude:GetChildren()) do | |
1466 | if v:IsA("Accessory") then | |
1467 | v:Destroy() | |
1468 | end | |
1469 | if v:IsA("Humanoid") then | |
1470 | v:Destroy() | |
1471 | end | |
1472 | if v:IsA("CharacterMesh") then | |
1473 | v:Destroy() | |
1474 | end | |
1475 | if v:IsA("Model") then | |
1476 | v:Destroy() | |
1477 | end | |
1478 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1479 | for x, o in pairs(v:GetChildren()) do | |
1480 | if o:IsA("Decal") then | |
1481 | o:Destroy() | |
1482 | end | |
1483 | end | |
1484 | coroutine.resume(coroutine.create(function() | |
1485 | v.Material = "Neon" | |
1486 | v.CanCollide = false | |
1487 | local PartEmmit1 = IT("ParticleEmitter", v) | |
1488 | PartEmmit1.LightEmission = 1 | |
1489 | PartEmmit1.Texture = "rbxassetid://284205403" | |
1490 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1491 | PartEmmit1.Rate = 150 | |
1492 | PartEmmit1.Lifetime = NumberRange.new(1) | |
1493 | PartEmmit1.Size = NumberSequence.new({ | |
1494 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
1495 | NumberSequenceKeypoint.new(1, 0, 0) | |
1496 | }) | |
1497 | PartEmmit1.Transparency = NumberSequence.new({ | |
1498 | NumberSequenceKeypoint.new(0, 0, 0), | |
1499 | NumberSequenceKeypoint.new(1, 1, 0) | |
1500 | }) | |
1501 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1502 | PartEmmit1.VelocitySpread = 30000 | |
1503 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
1504 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
1505 | local BodPoss = IT("BodyPosition", v) | |
1506 | BodPoss.P = 3000 | |
1507 | BodPoss.D = 1000 | |
1508 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1509 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1510 | v.Color = maincolor.Color | |
1511 | coroutine.resume(coroutine.create(function() | |
1512 | for i = 0, 49 do | |
1513 | swait(1) | |
1514 | v.Transparency = v.Transparency + 0.08 | |
1515 | end | |
1516 | wait(0.5) | |
1517 | PartEmmit1.Enabled = false | |
1518 | wait(3) | |
1519 | v:Destroy() | |
1520 | dude:Destroy() | |
1521 | end)) | |
1522 | end)) | |
1523 | end | |
1524 | end | |
1525 | end)) | |
1526 | end) | |
1527 | ds() | |
1528 | end | |
1529 | OneShotAttack = false | |
1530 | end | |
1531 | ||
1532 | function FindNearestHead(Position, Distance, SinglePlayer) | |
1533 | if SinglePlayer then | |
1534 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
1535 | end | |
1536 | local List = {} | |
1537 | for i, v in pairs(workspace:GetChildren()) do | |
1538 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
1539 | table.insert(List, v) | |
1540 | end | |
1541 | end | |
1542 | return List | |
1543 | end | |
1544 | function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) | |
1545 | local type = type | |
1546 | local rng = Instance.new("Part", char) | |
1547 | rng.Anchored = true | |
1548 | rng.BrickColor = color | |
1549 | rng.CanCollide = false | |
1550 | rng.FormFactor = 3 | |
1551 | rng.Name = "Ring" | |
1552 | rng.Material = "Neon" | |
1553 | rng.Size = Vector3.new(1, 1, 1) | |
1554 | rng.Transparency = 0 | |
1555 | rng.TopSurface = 0 | |
1556 | rng.BottomSurface = 0 | |
1557 | rng.CFrame = pos | |
1558 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
1559 | local rngm = Instance.new("SpecialMesh", rng) | |
1560 | rngm.MeshType = "Sphere" | |
1561 | rngm.Scale = Vector3.new(x1, y1, z1) | |
1562 | local scaler2 = 1 | |
1563 | local speeder = FastSpeed | |
1564 | if type == "Add" then | |
1565 | scaler2 = 1 * value | |
1566 | elseif type == "Divide" then | |
1567 | scaler2 = 1 / value | |
1568 | end | |
1569 | coroutine.resume(coroutine.create(function() | |
1570 | for i = 0, 10 / bonuspeed, 0.1 do | |
1571 | swait() | |
1572 | if type == "Add" then | |
1573 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1574 | elseif type == "Divide" then | |
1575 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1576 | end | |
1577 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
1578 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
1579 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1580 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
1581 | end | |
1582 | rng:Destroy() | |
1583 | end)) | |
1584 | end | |
1585 | ------------------------------------------------------- | |
1586 | --End Important Functions-- | |
1587 | ------------------------------------------------------- | |
1588 | Head.face.Texture = "rbxassetid://404306534" | |
1589 | ||
1590 | --[[ | |
1591 | Thanks for using Build-To-Lua by jarredbcv. | |
1592 | ]]-- | |
1593 | New = function(Object, Parent, Name, Data) | |
1594 | local Object = Instance.new(Object) | |
1595 | for Index, Value in pairs(Data or {}) do | |
1596 | Object[Index] = Value | |
1597 | end | |
1598 | Object.Parent = Parent | |
1599 | Object.Name = Name | |
1600 | return Object | |
1601 | end | |
1602 | ||
1603 | Knife = New("Model",char,"Knife",{}) | |
1604 | Handle = New("Part",Knife,"Handle",{BrickColor = BrickColor.new("Bright green"),Transparency = 1,Transparency = 1,Size = Vector3.new(1.65882361, 1.99058843, 1.65882361),CFrame = CFrame.new(82.2077255, 1.57540321, 117.400002, 0, 0, -1, 1, 0, 0, 0, -1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.294118, 0.592157, 0.294118),}) | |
1605 | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.200000003, 1.20000005),}) | |
1606 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.3119583, 1.46481109, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
1607 | Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.266666681, 0.0666666701),MeshType = Enum.MeshType.Wedge,}) | |
1608 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-0.110592127, 0, 0.895767212, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1609 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.2456055, 1.685987, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
1610 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.466666669, 0.0666666701),}) | |
1611 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110583782, 0, 0.962120056, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1612 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.5110245, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
1613 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),}) | |
1614 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, 0.69670105, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1615 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.9533539, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
1616 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),}) | |
1617 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, 0.254371643, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1618 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 1.32705891, 1.65882361),CFrame = CFrame.new(82.1745453, 1.6859839, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
1619 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 1.16666663, 0.0666666701),}) | |
1620 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110580683, 0, 0.0331802368, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1621 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.9108047, 1.57541645, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1622 | Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.24000001, 0.0800000057, 0.24000001),}) | |
1623 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.32322311e-05, 0, -1.70307922, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1624 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 1.32705891, 1.65882361),CFrame = CFrame.new(82.1745529, 1.46481287, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
1625 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 1.16666663, 0.0666666701),}) | |
1626 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-0.110590339, 0, 0.0331726074, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1627 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.3957291, 1.57539487, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
1628 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),}) | |
1629 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-8.34465027e-06, 0, -0.18800354, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1630 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.0465393, 1.685987, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
1631 | Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.13333334, 0.0666666701),MeshType = Enum.MeshType.Wedge,}) | |
1632 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110583782, 0, 1.16118622, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1633 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.9550476, 1.57542157, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1634 | Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.220000014, 0.0733333379, 0.220000014),}) | |
1635 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.83582306e-05, 0, -1.74732208, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1636 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.9707947, 1.57539833, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1637 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.200000003, 0.0666666701, 0.333333343),}) | |
1638 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-4.88758087e-06, 0, -0.763069153, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1639 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.9311295, 1.94298697, 117.400002, 0.406722844, -0.913551688, -3.65672458e-05, -0.913551688, -0.406722814, 2.31264985e-05, -3.59999867e-05, 2.39999936e-05, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1640 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.13333334, 0.0666666701, 0.200000003),}) | |
1641 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.406722844, -0.913551688, -3.59999867e-05, -0.913551688, -0.406722814, 2.39999936e-05, -3.65672458e-05, 2.31264985e-05, -1),C1 = CFrame.new(0.367583752, 0, -0.723403931, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1642 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.1571426, 1.57541645, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
1643 | Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.200000018, 0.0666666701),MeshType = Enum.MeshType.Wedge,}) | |
1644 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.32322311e-05, 0, 1.05058289, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1645 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.8380737, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
1646 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),}) | |
1647 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, -0.630348206, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1648 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.3119583, 1.57540166, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
1649 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.266666681, 0.0666666701),}) | |
1650 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-1.54972076e-06, 0, 0.895767212, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1651 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.424202, 1.57539666, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1652 | Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.200000003, 1.4000001, 0.200000003),}) | |
1653 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-6.55651093e-06, 0, -1.21647644, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1654 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.0150146, 1.21046209, 117.400002, 0.406722844, -0.913551688, -3.65672458e-05, -0.913551688, -0.406722814, 2.31264985e-05, -3.59999867e-05, 2.39999936e-05, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1655 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.13333334, 0.0666666701, 0.200000003),}) | |
1656 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.406722844, -0.913551688, -3.59999867e-05, -0.913551688, -0.406722814, 2.39999936e-05, -3.65672458e-05, 2.31264985e-05, -1),C1 = CFrame.new(-0.36494112, 0, -0.807289124, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1657 | ||
1658 | ||
1659 | ||
1660 | for _,v in next, Knife:GetChildren() do | |
1661 | if v:IsA'BasePart' then | |
1662 | v.CanCollide = false | |
1663 | end | |
1664 | end | |
1665 | ||
1666 | NewInstance = function(instance,parent,properties) | |
1667 | local inst = Instance.new(instance,parent) | |
1668 | if(properties)then | |
1669 | for i,v in next, properties do | |
1670 | pcall(function() inst[i] = v end) | |
1671 | end | |
1672 | end | |
1673 | return inst; | |
1674 | end | |
1675 | ||
1676 | local HW = NewInstance('Weld',char,{Part0=la,Part1=Handle,C0 = CFrame.new(0,-1,1.3)*CFrame.Angles(math.rad(0),0,math.rad(90))}) | |
1677 | local Hitbox = New("Part",Knife,"Hitbox",{Size=Vector3.new(1,2,1),CanCollide=false,Transparency=1}) | |
1678 | local HitboxWeld = New("Weld",Knife,"Weldie",{Part0=Hitbox,Part1=Handle,C0=CFrame.new(0,-1,0)}) | |
1679 | ||
1680 | Knife = New("Model",char,"Knife",{}) | |
1681 | Handle = New("Part",Knife,"Handle",{BrickColor = BrickColor.new("Bright green"),Transparency = 1,Transparency = 1,Size = Vector3.new(1.65882361, 1.99058843, 1.65882361),CFrame = CFrame.new(82.2077255, 1.57540321, 117.400002, 0, 0, -1, 1, 0, 0, 0, -1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.294118, 0.592157, 0.294118),}) | |
1682 | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.200000003, 1.20000005),}) | |
1683 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.3119583, 1.46481109, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
1684 | Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.266666681, 0.0666666701),MeshType = Enum.MeshType.Wedge,}) | |
1685 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-0.110592127, 0, 0.895767212, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1686 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.2456055, 1.685987, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
1687 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.466666669, 0.0666666701),}) | |
1688 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110583782, 0, 0.962120056, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1689 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.5110245, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
1690 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),}) | |
1691 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, 0.69670105, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1692 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.9533539, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
1693 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),}) | |
1694 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, 0.254371643, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1695 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 1.32705891, 1.65882361),CFrame = CFrame.new(82.1745453, 1.6859839, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
1696 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 1.16666663, 0.0666666701),}) | |
1697 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110580683, 0, 0.0331802368, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1698 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.9108047, 1.57541645, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1699 | Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.24000001, 0.0800000057, 0.24000001),}) | |
1700 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.32322311e-05, 0, -1.70307922, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1701 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 1.32705891, 1.65882361),CFrame = CFrame.new(82.1745529, 1.46481287, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
1702 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 1.16666663, 0.0666666701),}) | |
1703 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-0.110590339, 0, 0.0331726074, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1704 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.3957291, 1.57539487, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
1705 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),}) | |
1706 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-8.34465027e-06, 0, -0.18800354, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1707 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.0465393, 1.685987, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
1708 | Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.13333334, 0.0666666701),MeshType = Enum.MeshType.Wedge,}) | |
1709 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110583782, 0, 1.16118622, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1710 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.9550476, 1.57542157, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1711 | Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.220000014, 0.0733333379, 0.220000014),}) | |
1712 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.83582306e-05, 0, -1.74732208, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1713 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.9707947, 1.57539833, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1714 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.200000003, 0.0666666701, 0.333333343),}) | |
1715 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-4.88758087e-06, 0, -0.763069153, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1716 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.9311295, 1.94298697, 117.400002, 0.406722844, -0.913551688, -3.65672458e-05, -0.913551688, -0.406722814, 2.31264985e-05, -3.59999867e-05, 2.39999936e-05, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1717 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.13333334, 0.0666666701, 0.200000003),}) | |
1718 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.406722844, -0.913551688, -3.59999867e-05, -0.913551688, -0.406722814, 2.39999936e-05, -3.65672458e-05, 2.31264985e-05, -1),C1 = CFrame.new(0.367583752, 0, -0.723403931, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1719 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.1571426, 1.57541645, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
1720 | Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.200000018, 0.0666666701),MeshType = Enum.MeshType.Wedge,}) | |
1721 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.32322311e-05, 0, 1.05058289, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1722 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.8380737, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
1723 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),}) | |
1724 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, -0.630348206, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1725 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.3119583, 1.57540166, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
1726 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.266666681, 0.0666666701),}) | |
1727 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-1.54972076e-06, 0, 0.895767212, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1728 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.424202, 1.57539666, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1729 | Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.200000003, 1.4000001, 0.200000003),}) | |
1730 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-6.55651093e-06, 0, -1.21647644, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1731 | Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.0150146, 1.21046209, 117.400002, 0.406722844, -0.913551688, -3.65672458e-05, -0.913551688, -0.406722814, 2.31264985e-05, -3.59999867e-05, 2.39999936e-05, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1732 | Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.13333334, 0.0666666701, 0.200000003),}) | |
1733 | mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.406722844, -0.913551688, -3.59999867e-05, -0.913551688, -0.406722814, 2.39999936e-05, -3.65672458e-05, 2.31264985e-05, -1),C1 = CFrame.new(-0.36494112, 0, -0.807289124, 0, 1, 0, 0, 0, -1, -1, 0, 0),}) | |
1734 | ||
1735 | local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(0,-1,1.3)*CFrame.Angles(math.rad(0),0,math.rad(90))}) | |
1736 | local Hitbox = New("Part",Knife,"Hitbox",{Size=Vector3.new(1,2,1),CanCollide=false,Transparency=1}) | |
1737 | local HitboxWeld = New("Weld",Knife,"Weldie",{Part0=Hitbox,Part1=Handle,C0=CFrame.new(0,-1,0)}) | |
1738 | ||
1739 | New = function(Object, Parent, Name, Data) | |
1740 | local Object = Instance.new(Object) | |
1741 | for Index, Value in pairs(Data or {}) do | |
1742 | Object[Index] = Value | |
1743 | end | |
1744 | Object.Parent = Parent | |
1745 | Object.Name = Name | |
1746 | return Object | |
1747 | end | |
1748 | ||
1749 | Gaunty = New("Model",char,"Gaunty",{}) | |
1750 | Handle = New("Part",Gaunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1.26999998, 1),CFrame = CFrame.new(-5.67319345, 3.02064276, -77.6615906, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1751 | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1752 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765579, 3.62595344, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1753 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161155701, 0.603512526, 0.00862884521, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1754 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 3.62595367, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1755 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471122265, 0.600126028, 0.00564575195, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1756 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.5176549, 3.62595415, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1757 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812294, 0.606899738, 0.0116195679, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1758 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765471, 3.62595463, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1759 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.448780537, 0.610177517, 0.014503479, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1760 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1761 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.459102631, -0.489744425, -0.00598144531, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1762 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765627, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1763 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149136543, -0.486357927, -0.00299835205, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1764 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.51765537, 2.53595448, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1765 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160831451, -0.48297143, -1.52587891e-05, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1766 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765566, 2.53595424, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1767 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460799217, -0.479694128, 0.00286865234, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1768 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.66865063, 3.64553881, -77.6613617, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1769 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1770 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(-0.00235080719, 0.624869347, 0.00694274902, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1771 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 3.73544312, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1772 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1773 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.000443935394, 0.714845657, 0.00408172607, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1774 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480446, 3.52554965, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1775 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1776 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00275993347, 0.504870415, 0.0118331909, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1777 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.6686511, 2.55553746, -77.6613541, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1778 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1779 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00966835022, -0.465003252, -0.00468444824, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1780 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 2.64544272, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1781 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1782 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0124630928, -0.375026226, -0.00754547119, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1783 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480494, 2.43554902, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1784 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1785 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0147790909, -0.585001707, 0.000205993652, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1786 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595463, -78.1079407, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1787 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.0018901825, 0.61005497, -0.439842224, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1788 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595558, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1789 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00464963913, 0.606931448, -0.149864197, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1790 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595606, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1791 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00278997421, 0.603431463, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1792 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595654, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1793 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00554895401, 0.600307703, 0.470123291, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1794 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595638, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1795 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0064702034, -0.489563704, 0.458496094, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1796 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595614, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1797 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00922966003, -0.486439705, 0.168525696, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1798 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265558, 2.53595638, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1799 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00736999512, -0.482939243, -0.161483765, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1800 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 2.53595614, -78.1079254, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1801 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0101289749, -0.479815245, -0.451454163, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1802 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765547, 3.62595677, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1803 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00554943085, 0.600307941, 0.47013092, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1804 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 3.62595701, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1805 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00278949738, 0.603432655, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1806 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1807 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.000350952148, 0.606987953, -0.149810791, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1808 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1809 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00311040878, 0.61011219, -0.439788818, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1810 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595734, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1811 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0151295662, -0.479759216, -0.451416016, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1812 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1813 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0123701096, -0.482883692, -0.161437988, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1814 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.4879227, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1815 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00923013687, -0.48643899, 0.168533325, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1816 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595686, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1817 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00647068024, -0.489563227, 0.458503723, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1818 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765478, 3.62595701, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1819 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471121788, 0.600129128, 0.00566101074, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1820 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765484, 3.62595725, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1821 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161154747, 0.603516102, 0.008644104, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1822 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765442, 3.62595773, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1823 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812771, 0.606903076, 0.0116348267, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1824 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765375, 3.6259582, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1825 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.44878149, 0.610180855, 0.0145187378, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1826 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765327, 2.53595781, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1827 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460801125, -0.47969079, 0.00289154053, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1828 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765299, 2.53595757, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1829 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160833359, -0.48296833, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1830 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765341, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1831 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149133682, -0.486355066, -0.00299072266, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1832 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765383, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1833 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.4591012, -0.489741802, -0.00597381592, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1834 | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203499, 3.4509573, -77.7865677, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1835 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00760126114, 0.431732178, -0.120269775, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1836 | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203451, 3.45095778, -77.5215683, -1.0000006, -6.18456397e-10, -9.12696123e-08, 6.18456397e-10, 1.0000006, -4.65661287e-09, 8.38190317e-08, 4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1837 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1),C1 = CFrame.new(0.00508022308, 0.428877592, 0.144706726, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1838 | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203403, 2.81095791, -77.7865601, -1.0000006, 8.81700544e-08, 3.7252903e-09, -8.69331416e-08, -1.0000006, 4.65661287e-09, -3.7252903e-09, -4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1839 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -8.74227766e-08, 0, 8.74227766e-08, -1, 0, 0, 0, 1),C1 = CFrame.new(0.0146594048, -0.208191872, -0.127082825, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1840 | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203356, 2.8209579, -77.5215607, 1.0000006, -8.69331416e-08, 8.38190317e-08, -8.81700544e-08, -1.0000006, -4.65661287e-09, 9.12696123e-08, -4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1841 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -8.74227766e-08, 8.74227766e-08, -8.74227766e-08, -1, -7.64274186e-15, 8.74227766e-08, 0, -1),C1 = CFrame.new(0.0120282173, -0.201047897, 0.137992859, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1842 | Wedge = New("WedgePart",Gaunty,"Wedge",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.1099999, 0.569999993, 1.13),CFrame = CFrame.new(-5.6508193, 4.06113148, -77.6620178, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1843 | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.0109024048, 1.04061508, 0.010887146, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1844 | ||
1845 | ||
1846 | NewInstance = function(instance,parent,properties) | |
1847 | local inst = Instance.new(instance,parent) | |
1848 | if(properties)then | |
1849 | for i,v in next, properties do | |
1850 | pcall(function() inst[i] = v end) | |
1851 | end | |
1852 | end | |
1853 | return inst; | |
1854 | end | |
1855 | ||
1856 | local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(0,-.51,0)}) | |
1857 | ||
1858 | for _,v in next, Gaunty:children() do | |
1859 | v.CanCollide = false | |
1860 | end | |
1861 | ||
1862 | ||
1863 | local all, last = {}, nil | |
1864 | ArmourParts = {} | |
1865 | NeonParts = {} | |
1866 | function scan(p) | |
1867 | for _, v in pairs(p:GetChildren()) do | |
1868 | if v:IsA("BasePart") then | |
1869 | if v.BrickColor == BrickColor.new("Black") then | |
1870 | table.insert(ArmourParts, v) | |
1871 | end | |
1872 | if v.BrickColor == BrickColor.new("Institutional white") then | |
1873 | table.insert(NeonParts, v) | |
1874 | end | |
1875 | if last then | |
1876 | local w = Instance.new("Weld") | |
1877 | w.Part0, w.Part1 = last, v | |
1878 | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() | |
1879 | w.Parent = last | |
1880 | end | |
1881 | table.insert(all, v) | |
1882 | last = v | |
1883 | end | |
1884 | scan(v) | |
1885 | end | |
1886 | end | |
1887 | scan(Gaunty) | |
1888 | local all2, last2 = {}, nil | |
1889 | ArmourParts2 = {} | |
1890 | NeonParts2 = {} | |
1891 | function scan2(p) | |
1892 | for _, v in pairs(p:GetChildren()) do | |
1893 | if v:IsA("BasePart") then | |
1894 | if v.BrickColor == BrickColor.new("Black") then | |
1895 | table.insert(ArmourParts2, v) | |
1896 | end | |
1897 | if v.BrickColor == BrickColor.new("Institutional white") then | |
1898 | table.insert(NeonParts2, v) | |
1899 | end | |
1900 | if last2 then | |
1901 | local w = Instance.new("Weld") | |
1902 | w.Part0, w.Part1 = last2, v | |
1903 | w.C0 = v.CFrame:toObjectSpace(last2.CFrame):inverse() | |
1904 | w.Parent = last2 | |
1905 | end | |
1906 | table.insert(all2, v) | |
1907 | last2 = v | |
1908 | end | |
1909 | scan2(v) | |
1910 | end | |
1911 | end | |
1912 | for i, v in pairs(ArmourParts) do | |
1913 | v.BrickColor = BrickC("Black") | |
1914 | end | |
1915 | for i, v in pairs(NeonParts) do | |
1916 | v.BrickColor = BrickColor.random() | |
1917 | end | |
1918 | for i, v in pairs(ArmourParts2) do | |
1919 | v.BrickColor = BrickC("Black") | |
1920 | end | |
1921 | for i, v in pairs(NeonParts2) do | |
1922 | v.BrickColor = BrickColor.random() | |
1923 | end | |
1924 | maincolor = BrickColor.random() | |
1925 | local l = game.Lighting | |
1926 | ||
1927 | local sky = Instance.new("Sky",l) | |
1928 | l.TimeOfDay = "00:00:00" | |
1929 | l.Brightness = 1 | |
1930 | l.Ambient = Color3.new(0.25, 0.5, 0.75) | |
1931 | ||
1932 | jester = Instance.new("Part",Character) | |
1933 | jester.Size = Vector3.new(2,2,2) | |
1934 | jester.CFrame = Head.CFrame | |
1935 | jester.CanCollide = false | |
1936 | jesterWeld = Instance.new("Weld",jester) | |
1937 | jesterWeld.Part0 = jester | |
1938 | jesterWeld.Part1 = Head | |
1939 | jesterWeld.C0 = jester.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(0),math.rad(90),0) | |
1940 | mjester = Instance.new("SpecialMesh", jester) | |
1941 | mjester.MeshType = "FileMesh" | |
1942 | mjester.Scale = Vector3.new(1.2, 1.3, 1.2) | |
1943 | mjester.MeshId,mjester.TextureId = 'rbxassetid://1241662062','rbxassetid://1241662395' | |
1944 | ||
1945 | shirt = Instance.new("Shirt", Character) | |
1946 | shirt.Name = "Shirt" | |
1947 | pants = Instance.new("Pants", Character) | |
1948 | pants.Name = "Pants" | |
1949 | Character.Shirt.ShirtTemplate = "rbxassetid://676428254"----lol | |
1950 | Character.Pants.PantsTemplate = "rbxassetid://676428351" | |
1951 | ||
1952 | for i, v in pairs(game:GetService("Players").LocalPlayer.Character:children()) do | |
1953 | if v:IsA("Accessory") then | |
1954 | v:Destroy() | |
1955 | end | |
1956 | end | |
1957 | ------------------------------------------------------- | |
1958 | --Start Music Option-- | |
1959 | ------------------------------------------------------- | |
1960 | local Music = Instance.new("Sound",tors) | |
1961 | Music.SoundId = "rbxassetid://2597271983" | |
1962 | Music.Volume = 2.5 | |
1963 | Music.Looped = true | |
1964 | Music.Pitch = 1 --Pitcher | |
1965 | ------------------------------------------------------- | |
1966 | --End Music Option-- | |
1967 | ------------------------------------------------------- | |
1968 | ||
1969 | local naeeym2 = Instance.new("BillboardGui",char) | |
1970 | naeeym2.AlwaysOnTop = true | |
1971 | naeeym2.Size = UDim2.new(5,35,2,35) | |
1972 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
1973 | naeeym2.Adornee = hed | |
1974 | naeeym2.Name = "Name" | |
1975 | ||
1976 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1977 | tecks2.BackgroundTransparency = 1 | |
1978 | tecks2.TextScaled = true | |
1979 | tecks2.BorderSizePixel = 0 | |
1980 | tecks2.Font = "Code" | |
1981 | tecks2.TextSize = 30 | |
1982 | tecks2.TextStrokeTransparency = 0 | |
1983 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
1984 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1985 | tecks2.Parent = naeeym2 | |
1986 | ||
1987 | function RecolorTextAndRename(name, col1, col2) | |
1988 | tecks2.TextStrokeColor3 = col2 | |
1989 | tecks2.TextColor3 = col1 | |
1990 | tecks2.Text = name | |
1991 | end | |
1992 | - | RecolorTextAndRename("J E V I L", Color3.new(0, 0, 0), BrickColor.random().Color) |
1992 | + | RecolorTextAndRename("J̶E̷V̴I̷L̵, Color3.new(0, 0, 0), BrickColor.random().Color) |
1993 | ||
1994 | coroutine.resume(coroutine.create(function() | |
1995 | while true do | |
1996 | swait(2) | |
1997 | - | RecolorTextAndRename("J E V I L", Color3.new(0, 0, 0), BrickColor.random().Color) |
1997 | + | RecolorTextAndRename("J̶E̷V̴I̷L̵", Color3.new(0, 0, 0), BrickColor.random().Color) |
1998 | end | |
1999 | end)) | |
2000 | ||
2001 | function chatfunc(text, color) | |
2002 | local chat = coroutine.wrap(function() | |
2003 | if Character:FindFirstChild("TalkingBillBoard") ~= nil then | |
2004 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
2005 | end | |
2006 | local naeeym3 = Instance.new("BillboardGui", Character) | |
2007 | naeeym3.Size = UDim2.new(0, 100, 0, 40) | |
2008 | naeeym3.StudsOffset = Vector3.new(0, 3, 0) | |
2009 | naeeym3.Adornee = Character.Head | |
2010 | naeeym3.Name = "TalkingBillBoard" | |
2011 | local tecks3 = Instance.new("TextLabel", naeeym3) | |
2012 | tecks3.BackgroundTransparency = 1 | |
2013 | tecks3.BorderSizePixel = 0 | |
2014 | tecks3.Text = "" | |
2015 | tecks3.Font = "SciFi" | |
2016 | tecks3.TextSize = 30 | |
2017 | tecks3.TextStrokeTransparency = 0 | |
2018 | tecks3.TextColor3 = color | |
2019 | tecks3.TextStrokeColor3 = Color3.new(0, 0, 0) | |
2020 | tecks3.Size = UDim2.new(1, 0, 0.5, 0) | |
2021 | local tecks4 = Instance.new("TextLabel", naeeym3) | |
2022 | tecks4.BackgroundTransparency = 1 | |
2023 | tecks4.BorderSizePixel = 0 | |
2024 | tecks4.Text = "" | |
2025 | tecks4.Font = "SciFi" | |
2026 | tecks4.TextSize = 30 | |
2027 | tecks4.TextStrokeTransparency = 0 | |
2028 | tecks4.TextColor3 = Color3.new(0, 0, 0) | |
2029 | tecks4.TextStrokeColor3 = color | |
2030 | tecks4.Size = UDim2.new(1, 0, 0.5, 0) | |
2031 | coroutine.resume(coroutine.create(function() | |
2032 | while true do | |
2033 | swait(1) | |
2034 | tecks3.TextColor3 = BrickColor.random().Color | |
2035 | tecks4.TextStrokeColor3 = BrickColor.random().Color | |
2036 | tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
2037 | tecks4.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
2038 | tecks3.Rotation = math.random(-5, 5) | |
2039 | tecks4.Rotation = math.random(-5, 5) | |
2040 | end | |
2041 | end)) | |
2042 | for i = 1, string.len(text) do | |
2043 | CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115) | |
2044 | tecks3.Text = string.sub(text, 1, i) | |
2045 | tecks4.Text = string.sub(text, 1, i) | |
2046 | swait(1) | |
2047 | end | |
2048 | wait(1) | |
2049 | local randomrot = math.random(1, 2) | |
2050 | if randomrot == 1 then | |
2051 | for i = 1, 50 do | |
2052 | swait() | |
2053 | tecks3.Rotation = tecks2.Rotation - 0.75 | |
2054 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
2055 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
2056 | tecks4.Rotation = tecks2.Rotation + 0.75 | |
2057 | tecks4.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
2058 | tecks4.TextTransparency = tecks2.TextTransparency + 0.04 | |
2059 | end | |
2060 | elseif randomrot == 2 then | |
2061 | for i = 1, 50 do | |
2062 | swait() | |
2063 | tecks3.Rotation = tecks2.Rotation + 0.75 | |
2064 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
2065 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
2066 | tecks4.Rotation = tecks2.Rotation - 0.75 | |
2067 | tecks4.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
2068 | tecks4.TextTransparency = tecks2.TextTransparency + 0.04 | |
2069 | end | |
2070 | end | |
2071 | naeeym3:Destroy() | |
2072 | end) | |
2073 | chat() | |
2074 | end | |
2075 | ||
2076 | ------------------------------------------------------- | |
2077 | --Start Attacks N Stuff-- | |
2078 | ------------------------------------------------------- | |
2079 | local sine=0 | |
2080 | ||
2081 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
2082 | local Hitboxpart = Instance.new("Part", EffectModel) | |
2083 | RemoveOutlines(Hitboxpart) | |
2084 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
2085 | Hitboxpart.CanCollide = false | |
2086 | Hitboxpart.Transparency = 1 | |
2087 | Hitboxpart.Anchored = true | |
2088 | Hitboxpart.CFrame = Pose | |
2089 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime) | |
2090 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
2091 | end | |
2092 | wait2 = false | |
2093 | combo = 1 | |
2094 | ||
2095 | mouse.Button1Down:connect(function(key) | |
2096 | if attack == false then | |
2097 | attack = true | |
2098 | hum.WalkSpeed = 3.01 | |
2099 | if combo == 1 and wait2 == false then | |
2100 | wait2 = true | |
2101 | for i = 0, 1.2, 0.1 do | |
2102 | swait() | |
2103 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3) | |
2104 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2105 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1) | |
2106 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
2107 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3) | |
2108 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) | |
2109 | end | |
2110 | CreateSound("138097048", ra, 3, .8) | |
2111 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal") | |
2112 | for i = 0, 1.2, 0.1 do | |
2113 | swait() | |
2114 | BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2) | |
2115 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3) | |
2116 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
2117 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1) | |
2118 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
2119 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3) | |
2120 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
2121 | end | |
2122 | combo = 2 | |
2123 | end | |
2124 | if combo == 2 and wait2 == false then | |
2125 | wait2 = true | |
2126 | for i = 0, 1.2, 0.1 do | |
2127 | swait() | |
2128 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3) | |
2129 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
2130 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) | |
2131 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
2132 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3) | |
2133 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3) | |
2134 | end | |
2135 | CreateSound("138097048", rl, 3, 1) | |
2136 | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal") | |
2137 | for i = 0, 1.6, 0.1 do | |
2138 | swait() | |
2139 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65+255.45*i)), 0.3) | |
2140 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
2141 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1) | |
2142 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3) | |
2143 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3) | |
2144 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3) | |
2145 | end | |
2146 | combo = 3 | |
2147 | end | |
2148 | if combo == 3 and wait2 == false then | |
2149 | for i = 0, 1.2, 0.1 do | |
2150 | swait() | |
2151 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3) | |
2152 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2153 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1) | |
2154 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
2155 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3) | |
2156 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) | |
2157 | end | |
2158 | CreateSound("138097048", ra, 3, .8) | |
2159 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") | |
2160 | for i = 0, 1.2, 0.1 do | |
2161 | swait() | |
2162 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3) | |
2163 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
2164 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1) | |
2165 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
2166 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) | |
2167 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
2168 | end | |
2169 | Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03) | |
2170 | Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03) | |
2171 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") | |
2172 | for i = 0, 1.2, 0.1 do | |
2173 | swait() | |
2174 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3) | |
2175 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
2176 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1) | |
2177 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
2178 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) | |
2179 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
2180 | end | |
2181 | combo = 1 | |
2182 | end | |
2183 | hum.WalkSpeed = 8 | |
2184 | wait2 = false | |
2185 | attack = false | |
2186 | end | |
2187 | end) | |
2188 | ||
2189 | function Taunt() | |
2190 | attack = true | |
2191 | hum.WalkSpeed = 0 | |
2192 | CreateSound("2544975373", tors, 30, 0.5) | |
2193 | chatfunc("I CAN DO ANYTHING!", BrickColor.random().Color) | |
2194 | for i = 0,6.2,0.1 do | |
2195 | swait() | |
2196 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2197 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30), Rad(0), Rad(0)), 0.3) | |
2198 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
2199 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
2200 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(145)), 0.1) | |
2201 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(-145)), 0.1) | |
2202 | end | |
2203 | for i = 0,6.2,0.1 do | |
2204 | swait() | |
2205 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
2206 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2207 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15) | |
2208 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15) | |
2209 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(15)), 0.1) | |
2210 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-15)), 0.1) | |
2211 | end | |
2212 | attack = false | |
2213 | hum.WalkSpeed = 16 | |
2214 | end | |
2215 | ||
2216 | function SkyShot() | |
2217 | local UhhhhThing = New("Part",EffectModel,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
2218 | attack = true | |
2219 | hum.WalkSpeed = 3.01 | |
2220 | for i = 0,6.3,0.1 do | |
2221 | swait() | |
2222 | Effects.Block.Create(BrickColor.new(maincolor.Color), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
2223 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2224 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2225 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
2226 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
2227 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
2228 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
2229 | end | |
2230 | CreateSound("142070127", tors, 10, 1) | |
2231 | Effects.Sphere.Create(BrickColor.new(maincolor.Color), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
2232 | Effects.Sphere.Create(BrickColor.new(maincolor.Color), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
2233 | Effects.Sphere.Create(BrickColor.new(maincolor.Color), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
2234 | Effects.Sphere.Create(BrickColor.new(maincolor.Color), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
2235 | for i = 0,3.8,0.1 do | |
2236 | swait() | |
2237 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2238 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2239 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
2240 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
2241 | RW.C0 = clerp(RW.C0, CF(1.5, .2 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
2242 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
2243 | end | |
2244 | CreateSound("224339201", tors, 10, 0.5) | |
2245 | for i = 1, 3 do | |
2246 | MagniDamage(UhhhhThing, 100, 1000, 10000, inf, "DarkUp") | |
2247 | UhhhhThing.CFrame = mouse.Hit | |
2248 | Effects.Cylinder.Create(BrickColor.new(maincolor.Color), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05) | |
2249 | Effects.Block.Create(BrickColor.new(maincolor.Color), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05) | |
2250 | end | |
2251 | UhhhhThing:Destroy() | |
2252 | attack = false | |
2253 | hum.WalkSpeed = 8 | |
2254 | end | |
2255 | ||
2256 | function KarmaSlam() | |
2257 | attack = true | |
2258 | for i = 0,5.2,0.1 do | |
2259 | swait() | |
2260 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2261 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2262 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
2263 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
2264 | end | |
2265 | CreateSound("331666100", tors, 10, 1) | |
2266 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do | |
2267 | if v:FindFirstChild("Head") then | |
2268 | Eviscerate(v) | |
2269 | end | |
2270 | end | |
2271 | Effects.Ring.Create(BrickColor.new(maincolor.Color), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03) | |
2272 | Effects.Ring.Create(BrickColor.new(maincolor.Color), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03) | |
2273 | Effects.Ring.Create(BrickColor.new(maincolor.Color), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) | |
2274 | Effects.Ring.Create(BrickColor.new(maincolor.Color), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03) | |
2275 | MagniDamage(tors, 12, 40, 60, 10, "Normal") | |
2276 | coroutine.resume(coroutine.create(function() | |
2277 | for i = 0,1.8,0.1 do | |
2278 | swait() | |
2279 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
2280 | end | |
2281 | for i = 0,1.8,0.1 do | |
2282 | swait() | |
2283 | hum.CameraOffset = Vector3.new(0,0,0) | |
2284 | end | |
2285 | end)) | |
2286 | for i = 1,4.7,0.1 do | |
2287 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
2288 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
2289 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
2290 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) | |
2291 | end | |
2292 | chatfunc("CHAOS, CHAOS", BrickColor.random().Color) | |
2293 | wait(.6) | |
2294 | attack = false | |
2295 | end | |
2296 | ||
2297 | function PainfulStomp() | |
2298 | for i = 0,0.1,0.1 do | |
2299 | swait() | |
2300 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2301 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2302 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
2303 | LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
2304 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1) | |
2305 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1) | |
2306 | end | |
2307 | CreateSound("2545008459", char, 10, 1) | |
2308 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
2309 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
2310 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
2311 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
2312 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
2313 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
2314 | Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) | |
2315 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do | |
2316 | if v:FindFirstChild("Head") then | |
2317 | Eviscerate(v) | |
2318 | end | |
2319 | end | |
2320 | coroutine.resume(coroutine.create(function() | |
2321 | for i = 0,2.8,0.1 do | |
2322 | swait() | |
2323 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
2324 | end | |
2325 | for i = 0,1.8,0.1 do | |
2326 | swait() | |
2327 | hum.CameraOffset = Vector3.new(0,0,0) | |
2328 | end | |
2329 | end)) | |
2330 | for i = 0,3.7,0.1 do | |
2331 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
2332 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2333 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15) | |
2334 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15) | |
2335 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
2336 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2337 | end | |
2338 | wait(.6) | |
2339 | end | |
2340 | function Drainer() | |
2341 | attack=true | |
2342 | for i = 0,5,0.1 do | |
2343 | swait() | |
2344 | rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
2345 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-65)),.3) | |
2346 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
2347 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) | |
2348 | HW.C0=clerp(HW.C0,cf(0,-2,0)*angles(math.rad(90),math.rad(0),math.rad(0)),0.15) | |
2349 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 10, 1000, 10000, 3, "Normal") | |
2350 | end | |
2351 | attack=false | |
2352 | end | |
2353 | ||
2354 | function OnePunch() | |
2355 | local target = nil | |
2356 | local targettorso = nil | |
2357 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
2358 | if mouse.Target.Parent.Humanoid.PlatformStand == false then | |
2359 | targetT = mouse.Target.Parent | |
2360 | target = mouse.Target.Parent.Humanoid | |
2361 | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso") | |
2362 | targethead = mouse.Target.Parent:FindFirstChild("Head") | |
2363 | end | |
2364 | end | |
2365 | if target ~= nil then | |
2366 | targettorso.Anchored = true | |
2367 | attack = true | |
2368 | hum.WalkSpeed = 0 | |
2369 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
2370 | for i = 0,1.8,0.1 do | |
2371 | swait() | |
2372 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15) | |
2373 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3) | |
2374 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
2375 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
2376 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1) | |
2377 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
2378 | end | |
2379 | OneShot(targetT) | |
2380 | CreateSound("2545008459", ra, 4, 1) | |
2381 | CreateSound("2545008459", targettorso, 10, 1) | |
2382 | coroutine.resume(coroutine.create(function() | |
2383 | for i = 0,1.8,0.1 do | |
2384 | swait() | |
2385 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
2386 | end | |
2387 | for i = 0,1.8,0.1 do | |
2388 | swait() | |
2389 | hum.CameraOffset = Vector3.new(0,0,0) | |
2390 | end | |
2391 | end)) | |
2392 | for i = 0,4.6,0.1 do | |
2393 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
2394 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
2395 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
2396 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
2397 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
2398 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
2399 | end | |
2400 | wait(.6) | |
2401 | attack = false | |
2402 | hum.WalkSpeed = 8 | |
2403 | end | |
2404 | end | |
2405 | ||
2406 | ------------------------------------------------------- | |
2407 | --End Attacks N Stuff-- | |
2408 | ------------------------------------------------------- | |
2409 | mouse.KeyDown:connect(function(key) | |
2410 | if string.byte(key) == 48 then | |
2411 | Swing = 2 | |
2412 | hum.WalkSpeed = 38.82 | |
2413 | end | |
2414 | end) | |
2415 | mouse.KeyUp:connect(function(key) | |
2416 | if string.byte(key) == 48 then | |
2417 | Swing = 1 | |
2418 | hum.WalkSpeed = 8 | |
2419 | end | |
2420 | end) | |
2421 | ||
2422 | Music.Parent = tors | |
2423 | Music:Play() | |
2424 | ||
2425 | mouse.KeyDown:connect(function(key) | |
2426 | if attack == false then | |
2427 | if key == 't' then | |
2428 | Taunt() | |
2429 | elseif key == 'z' then | |
2430 | OnePunch() | |
2431 | elseif key == 'x' then | |
2432 | SkyShot() | |
2433 | elseif key == 'c' then | |
2434 | KarmaSlam() | |
2435 | elseif key == 'v' then | |
2436 | Drainer() | |
2437 | end | |
2438 | end | |
2439 | end) | |
2440 | ||
2441 | ||
2442 | mouse.KeyDown:connect(function(key) | |
2443 | if attack == false then | |
2444 | if key == 'f' then | |
2445 | PainfulStomp() | |
2446 | end | |
2447 | end | |
2448 | end) | |
2449 | ||
2450 | ------------------------------------------------------- | |
2451 | --Start Animations-- | |
2452 | ------------------------------------------------------- | |
2453 | local equipped = false | |
2454 | local idle = 0 | |
2455 | local change = 1 | |
2456 | local val = 0 | |
2457 | local toim = 0 | |
2458 | local idleanim = 0.4 | |
2459 | local Player_Size = 1 | |
2460 | hum.WalkSpeed = 8 | |
2461 | hum.Animator.Parent = nil | |
2462 | while true do | |
2463 | swait() | |
2464 | Music.Parent = char | |
2465 | sine = sine + change | |
2466 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2467 | local velderp = root.Velocity.y | |
2468 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char) | |
2469 | if equipped == true or equipped == false then | |
2470 | if attack == false then | |
2471 | idle = idle + 1 | |
2472 | else | |
2473 | idle = 0 | |
2474 | end | |
2475 | if 1 < root.Velocity.y and hitfloor == nil then | |
2476 | Anim = "Jump" | |
2477 | change = 1 | |
2478 | if attack == false then | |
2479 | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) | |
2480 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3) | |
2481 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3) | |
2482 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3) | |
2483 | LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
2484 | RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
2485 | end | |
2486 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
2487 | Anim = "Fall" | |
2488 | change = 1 | |
2489 | if attack == false then | |
2490 | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) | |
2491 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3) | |
2492 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(90)),0.3) | |
2493 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-90)),0.3) | |
2494 | LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
2495 | RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
2496 | end | |
2497 | elseif torvel < 1 and hitfloor ~= nil then | |
2498 | Anim = "Idle" | |
2499 | change = 1 | |
2500 | if attack == false then | |
2501 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2502 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2503 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
2504 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
2505 | RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1) | |
2506 | LW.C0 = clerp(LW.C0, CF(-1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(30)), 0.1) | |
2507 | end | |
2508 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
2509 | Anim = "Walk" | |
2510 | change = .6 | |
2511 | if attack == false then | |
2512 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15) | |
2513 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
2514 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2515 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2516 | RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1) | |
2517 | LW.C0 = clerp(LW.C0, CF(-1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(30)), 0.1) | |
2518 | end | |
2519 | elseif torvel >= 25 and hitfloor ~= nil then | |
2520 | Anim = "Sprint" | |
2521 | change = 1.35 | |
2522 | if attack == false then | |
2523 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
2524 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
2525 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2526 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2527 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
2528 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15) | |
2529 | end | |
2530 | end | |
2531 | end | |
2532 | if 0 < #Effects then | |
2533 | for e = 1, #Effects do | |
2534 | if Effects[e] ~= nil then | |
2535 | local Thing = Effects[e] | |
2536 | if Thing ~= nil then | |
2537 | local Part = Thing[1] | |
2538 | local Mode = Thing[2] | |
2539 | local Delay = Thing[3] | |
2540 | local IncX = Thing[4] | |
2541 | local IncY = Thing[5] | |
2542 | local IncZ = Thing[6] | |
2543 | if 1 >= Thing[1].Transparency then | |
2544 | if Thing[2] == "Block1" then | |
2545 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2546 | local Mesh = Thing[1].Mesh | |
2547 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2548 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2549 | elseif Thing[2] == "Block2" then | |
2550 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
2551 | local Mesh = Thing[7] | |
2552 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2553 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2554 | elseif Thing[2] == "Block3" then | |
2555 | 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) | |
2556 | local Mesh = Thing[7] | |
2557 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2558 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2559 | elseif Thing[2] == "Cylinder" then | |
2560 | local Mesh = Thing[1].Mesh | |
2561 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2562 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2563 | elseif Thing[2] == "Blood" then | |
2564 | local Mesh = Thing[7] | |
2565 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
2566 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2567 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2568 | elseif Thing[2] == "Elec" then | |
2569 | local Mesh = Thing[1].Mesh | |
2570 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2571 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2572 | elseif Thing[2] == "Disappear" then | |
2573 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2574 | elseif Thing[2] == "Shatter" then | |
2575 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2576 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2577 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2578 | Thing[6] = Thing[6] + Thing[5] | |
2579 | end | |
2580 | else | |
2581 | Part.Parent = nil | |
2582 | table.remove(Effects, e) | |
2583 | end | |
2584 | end | |
2585 | end | |
2586 | end | |
2587 | end | |
2588 | end | |
2589 | ||
2590 | ------------------------------------------------------- | |
2591 | --End Animations And Script-- | |
2592 | ------------------------------------------------------- |