SHOW:
|
|
- or go back to the newest paste.
1 | - | ----------------------- |
1 | + | -- This script has convert to FE by who i don't know? |
2 | - | --[[ Name : Solace ]]-- |
2 | + | |
3 | ----------------------------------------------------- | |
4 | - | --A script By makhail07 |
4 | + | -- FE template created by MintyLatios (V3rm) aka Drahazar (ROBLOX) |
5 | --Fixed by basstracker1970 | |
6 | - | --Discord Creterisk#2958 |
6 | + | local ownerval = Instance.new("ObjectValue") |
7 | ownerval.Name = "Owner" | |
8 | - | --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION |
8 | + | ownerval.Value = owner |
9 | - | --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT |
9 | + | ownerval.Parent = script |
10 | - | --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT |
10 | + | |
11 | - | --YOU FUCKING SKIDS, |
11 | + | local username = "basstracker1970" |
12 | - | --For Those who log/decompile this, If you sell or trade this, |
12 | + | |
13 | - | --and I find out who you are, i will take massive action. |
13 | + | if(script:FindFirstChild'Owner')then |
14 | repeat wait() until script.Owner.Value | |
15 | end | |
16 | function GetPlr(user) | |
17 | for _,v in next, game:service'Players':players() do | |
18 | if(v.Name==user)then | |
19 | return v | |
20 | end | |
21 | end | |
22 | return nil | |
23 | end | |
24 | local owner = script:WaitForChild'Owner'.Value | |
25 | repeat wait() until script:WaitForChild'Owner'.Value | |
26 | local Player = script:WaitForChild'Owner'.Value | |
27 | local Mouse,mouse,UserInputService,ContextActionService | |
28 | script.Owner:destroy() | |
29 | local scriptName = "Aprins" | |
30 | do | |
31 | local GUID = {} | |
32 | do | |
33 | - | --The reality of my life isn't real but a Universe -makhail07 |
33 | + | GUID.IDs = {}; |
34 | - | wait(0.2) |
34 | + | function GUID:new(len) |
35 | local id; | |
36 | if(not len)then | |
37 | id = (tostring(function() end)) | |
38 | id = id:gsub("function: ","") | |
39 | else | |
40 | local function genID(len) | |
41 | local newID = "" | |
42 | for i = 1,len do | |
43 | newID = newID..string.char(math.random(48,90)) | |
44 | end | |
45 | return newID | |
46 | end | |
47 | repeat id = genID(len) until not GUID.IDs[id] | |
48 | local oid = id; | |
49 | id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end} | |
50 | GUID.IDs[oid]=true; | |
51 | end | |
52 | return id | |
53 | end | |
54 | end | |
55 | ||
56 | local AHB = Instance.new("BindableEvent") | |
57 | ||
58 | local FPS = 30 | |
59 | ||
60 | local TimeFrame = 0 | |
61 | ||
62 | local LastFrame = tick() | |
63 | local Frame = 1/FPS | |
64 | ||
65 | game:service'RunService'.Heartbeat:connect(function(s,p) | |
66 | TimeFrame = TimeFrame + s | |
67 | if(TimeFrame >= Frame)then | |
68 | for i = 1,math.floor(TimeFrame/Frame) do | |
69 | AHB:Fire() | |
70 | end | |
71 | LastFrame=tick() | |
72 | TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame) | |
73 | end | |
74 | end) | |
75 | ||
76 | ||
77 | function swait(dur) | |
78 | if(dur == 0 or typeof(dur) ~= 'number')then | |
79 | AHB.Event:wait() | |
80 | else | |
81 | for i = 1, dur*FPS do | |
82 | AHB.Event:wait() | |
83 | end | |
84 | end | |
85 | end | |
86 | ||
87 | oPlayer = Player | |
88 | Player = oPlayer | |
89 | ||
90 | local loudnesses={} | |
91 | script.Parent = Player.Character | |
92 | CoAS = {Actions={}} | |
93 | local Event = Instance.new("RemoteEvent") | |
94 | Event.Name = "UserInputEvent" | |
95 | Event.Parent = Player.Character | |
96 | local Func = Instance.new("RemoteFunction") | |
97 | Func.Name = "GetClientProperty" | |
98 | Func.Parent = Player.Character | |
99 | local fakeEvent = function() | |
100 | local t = {_fakeEvent=true,Waited={},Connected={}} | |
101 | t.Connect = function(self,f) | |
102 | local ft={} | |
103 | ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end} | |
104 | ft.Disconnect=ft.disconnect | |
105 | ||
106 | ft.Func=function(...) | |
107 | for id,_ in next, t.Waited do | |
108 | t.Waited[id] = true | |
109 | end | |
110 | return f(...) | |
111 | end; | |
112 | ||
113 | table.insert(self.Connected,ft) | |
114 | return ft; | |
115 | end | |
116 | t.connect = t.Connect | |
117 | t.Wait = function() | |
118 | local guid = GUID:new(25) | |
119 | local waitingId = guid:Get() | |
120 | t.Waited[waitingId]=false | |
121 | repeat swait() until t.Waited[waitingId]==true | |
122 | t.Waited[waitingId]=nil; | |
123 | guid:Trash() | |
124 | end | |
125 | t.wait = t.Wait | |
126 | return t | |
127 | end | |
128 | m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
129 | UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
130 | Run = {RenderStepped=fakeEvent()} | |
131 | ||
132 | function CoAS:BindAction(name,fun,touch,...) | |
133 | CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}} | |
134 | end | |
135 | function CoAS:UnbindAction(name) | |
136 | CoAS.Actions[name] = nil | |
137 | end | |
138 | local function te(self,ev,...) | |
139 | local t = self[ev] | |
140 | if t and t._fakeEvent and t.Connected then | |
141 | for i,v in next, t.Connected do | |
142 | if(v.Func and not v.Disconnected)then | |
143 | v.Func(...) | |
144 | else | |
145 | t.Connected[i]=nil | |
146 | end | |
147 | end | |
148 | end | |
149 | end | |
150 | m.TrigEvent = te | |
151 | UsIS.TrigEvent = te | |
152 | Run.TrigEvent = te | |
153 | Event.OnServerEvent:Connect(function(plr,io,...) | |
154 | if io.Mouse then | |
155 | m.Target = io.Target | |
156 | m.Hit = io.Hit | |
157 | elseif io.KeyEvent then | |
158 | m:TrigEvent('Key'..io.KeyEvent,io.Key) | |
159 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
160 | if io.UserInputState == Enum.UserInputState.Begin then | |
161 | m:TrigEvent("Button1Down") | |
162 | else | |
163 | m:TrigEvent("Button1Up") | |
164 | end | |
165 | end | |
166 | if(not io.KeyEvent and not io.Mouse)then | |
167 | ||
168 | for n,t in pairs(CoAS.Actions) do | |
169 | for _,k in pairs(t.Keys) do | |
170 | if k==io.KeyCode then | |
171 | t.Function(t.Name,io.UserInputState,io) | |
172 | end | |
173 | end | |
174 | end | |
175 | if io.UserInputState == Enum.UserInputState.Begin then | |
176 | UsIS:TrigEvent("InputBegan",io,false) | |
177 | else | |
178 | UsIS:TrigEvent("InputEnded",io,false) | |
179 | end | |
180 | end | |
181 | local varargs={...} | |
182 | --remote:FireServer("MouseEventCall",event,...) | |
183 | if(type=='MouseEventCall')then | |
184 | local event = table.remove(varargs,1) | |
185 | if(m[event])then | |
186 | Event:FireAllClients(event,unpack(varargs)) | |
187 | m:TrigEvent(event,unpack(varargs)) | |
188 | end | |
189 | ||
190 | elseif(type=='MouseUpdate')then | |
191 | m.Target = varargs[1].Target | |
192 | m.Hit = varargs[1].Hit | |
193 | Event:FireAllClients("UpdatePos",m.Target,m.Hit) | |
194 | end | |
195 | ||
196 | ||
197 | end) | |
198 | ||
199 | Func.OnServerInvoke = function(plr,inst,play) | |
200 | if plr~=Player then return end | |
201 | if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then | |
202 | loudnesses[inst]=play | |
203 | end | |
204 | end | |
205 | ||
206 | function GetClientProperty(inst,prop) | |
207 | if(prop == 'PlaybackLoudness' and loudnesses[inst])then | |
208 | return loudnesses[inst] | |
209 | elseif(prop == 'PlaybackLoudness')then | |
210 | return Func:InvokeClient(Player,'RegSound',inst) | |
211 | end | |
212 | return Func:InvokeClient(Player,inst,prop) | |
213 | end | |
214 | NLS ([=[ | |
215 | ||
216 | ||
217 | local me = game:service'Players'.localPlayer; | |
218 | local mouse = me:GetMouse(); | |
219 | local UIS = game:service'UserInputService' | |
220 | local ch = me.Character; | |
221 | ||
222 | local UserEvent = ch:WaitForChild('UserInputEvent',30) | |
223 | ||
224 | UIS.InputChanged:connect(function(io,gpe) | |
225 | if(io.UserInputType == Enum.UserInputType.MouseMovement)then | |
226 | UserEvent:FireServer{Mouse=true,Target=mouse.Target,Hit=mouse.Hit} | |
227 | end | |
228 | end) | |
229 | ||
230 | mouse.Changed:connect(function(o) | |
231 | if(o == 'Target' or o == 'Hit')then | |
232 | UserEvent:FireServer{Mouse=true,Target=mouse.Target,Hit=mouse.Hit} | |
233 | end | |
234 | end) | |
235 | ||
236 | UIS.InputBegan:connect(function(io,gpe) | |
237 | if(gpe)then return end | |
238 | UserEvent:FireServer{InputObject=true,KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState} | |
239 | end) | |
240 | ||
241 | UIS.InputEnded:connect(function(io,gpe) | |
242 | if(gpe)then return end | |
243 | UserEvent:FireServer{InputObject=true,KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState} | |
244 | end) | |
245 | ||
246 | mouse.KeyDown:connect(function(k) | |
247 | UserEvent:FireServer{KeyEvent='Down',Key=k} | |
248 | end) | |
249 | ||
250 | mouse.KeyUp:connect(function(k) | |
251 | UserEvent:FireServer{KeyEvent='Up',Key=k} | |
252 | end) | |
253 | ||
254 | - | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then |
254 | + | local ClientProp = ch:WaitForChild('GetClientProperty',30) |
255 | - | |
255 | + | |
256 | - | hit.Parent:FindFirstChild("Head"):BreakJoints() |
256 | + | local sounds = {} |
257 | - | end |
257 | + | |
258 | ||
259 | function regSound(o) | |
260 | if(o:IsA'Sound')then | |
261 | ||
262 | local lastLoudness = o.PlaybackLoudness | |
263 | ClientProp:InvokeServer(o,lastLoudness) | |
264 | table.insert(sounds,{o,lastLoudness}) | |
265 | - | if insta == true then |
265 | + | --ClientProp:InvokeServer(o,o.PlaybackLoudness) |
266 | - | hit.Parent:FindFirstChild("Head"):BreakJoints() |
266 | + | |
267 | - | end |
267 | + | |
268 | ||
269 | ClientProp.OnClientInvoke = function(inst,prop) | |
270 | if(inst == 'RegSound')then | |
271 | regSound(prop) | |
272 | for i = 1, #sounds do | |
273 | if(sounds[i][1] == prop)then | |
274 | return sounds[i][2] | |
275 | end | |
276 | end | |
277 | else | |
278 | return inst[prop] | |
279 | end | |
280 | end | |
281 | ||
282 | for _,v in next, workspace:GetDescendants() do regSound(v) end | |
283 | workspace.DescendantAdded:connect(regSound) | |
284 | me.Character.DescendantAdded:connect(regSound) | |
285 | ||
286 | game:service'RunService'.RenderStepped:connect(function() | |
287 | for i = 1, #sounds do | |
288 | local tab = sounds[i] | |
289 | local object,last=unpack(tab) | |
290 | if(object.PlaybackLoudness ~= last)then | |
291 | sounds[i][2]=object.PlaybackLoudness | |
292 | ClientProp:InvokeServer(object,sounds[i][2]) | |
293 | end | |
294 | end | |
295 | end) | |
296 | ]=], owner.PlayerGui); | |
297 | ----Sandboxed game object that allows the usage of client-side methods and services | |
298 | --Real game object | |
299 | local RealGame = game | |
300 | ||
301 | --Metatable for fake service | |
302 | local FakeService_Metatable = { | |
303 | __index = function(self,k) | |
304 | local s = rawget(self,"_RealService") | |
305 | if s then | |
306 | return typeof(s[k])=="function" | |
307 | and function(_,...)return s[k](s,...)end or s[k] | |
308 | end | |
309 | end, | |
310 | __newindex = function(self,k,v) | |
311 | local s = rawget(self,"_RealService") | |
312 | if s then s[k]=v end | |
313 | end | |
314 | } | |
315 | local function FakeService(t,RealService) | |
316 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
317 | return setmetatable(t,FakeService_Metatable) | |
318 | end | |
319 | ||
320 | --Fake game object | |
321 | local FakeGame = { | |
322 | GetService = function(self,s) | |
323 | return rawget(self,s) or RealGame:GetService(s) | |
324 | end, | |
325 | Players = FakeService({ | |
326 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
327 | },"Players"), | |
328 | UserInputService = FakeService(UsIS,"UserInputService"), | |
329 | ContextActionService = FakeService(CoAS,"ContextActionService"), | |
330 | RunService = FakeService({ | |
331 | _btrs = {}, | |
332 | RenderStepped = RealGame:GetService("RunService").Heartbeat, | |
333 | BindToRenderStep = function(self,name,_,fun) | |
334 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
335 | end, | |
336 | UnbindFromRenderStep = function(self,name) | |
337 | self._btrs[name]:Disconnect() | |
338 | end, | |
339 | },"RunService") | |
340 | } | |
341 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
342 | FakeGame.service = FakeGame.GetService | |
343 | FakeService(FakeGame,game) | |
344 | --Changing owner to fake player object to support owner:GetMouse() | |
345 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
346 | end | |
347 | ||
348 | LoadLibrary=function(lib) | |
349 | if(lib:lower()=="rbxutility")then | |
350 | return setmetatable({ | |
351 | Create = function(ty) | |
352 | return function(data) | |
353 | local obj = Instance.new(ty) | |
354 | for k, v in pairs(data) do | |
355 | if type(k) == 'number' then | |
356 | v.Parent = obj | |
357 | else | |
358 | obj[k] = v | |
359 | end | |
360 | end | |
361 | return obj | |
362 | end | |
363 | end | |
364 | },{__index=function(_,v) return ({})[v] end}) | |
365 | else | |
366 | return {} | |
367 | end | |
368 | end | |
369 | -----PASTE SCRIPTS BELOW THIS LINE DO NOT TOUCH ANY OF THE CODE ABOVE THIS LINE | |
370 | ||
371 | ||
372 | ||
373 | local FavIDs = { | |
374 | 340106355, --Nefl Crystals | |
375 | 927529620, --Dimension | |
376 | 876981900, --Fantasy | |
377 | 398987889, --Ordinary Days | |
378 | 1117396305, --Oh wait, it's you. | |
379 | 885996042, --Action Winter Journey | |
380 | 919231299, --Sprawling Idiot Effigy | |
381 | 743466274, --Good Day Sunshine | |
382 | 727411183, --Knife Fight | |
383 | 1402748531, --The Earth Is Counting On You! | |
384 | 595230126 --Robot Language | |
385 | } | |
386 | ||
387 | ||
388 | ||
389 | ||
390 | local plr = game:service'Players'.LocalPlayer | |
391 | print('Local User is '..plr.Name) | |
392 | print('Solace Loaded') | |
393 | print("I'll destroy that little fanstasy of yours.") | |
394 | local char = plr.Character | |
395 | local hum = char.Humanoid | |
396 | local hed = char.Head | |
397 | local root = char.HumanoidRootPart | |
398 | local rootj = root.RootJoint | |
399 | local tors = char.Torso | |
400 | local ra = char["Right Arm"] | |
401 | local la = char["Left Arm"] | |
402 | local rl = char["Right Leg"] | |
403 | local ll = char["Left Leg"] | |
404 | local neck = tors["Neck"] | |
405 | local mouse = plr:GetMouse() | |
406 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
407 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
408 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
409 | local maincolor = BrickColor.new("Institutional white") | |
410 | ------------------------------------------------------- | |
411 | --End Whitelist and Invincibility-- | |
412 | ------------------------------------------------------- | |
413 | ||
414 | ------------------------------------------------------- | |
415 | --Start Good Stuff-- | |
416 | ------------------------------------------------------- | |
417 | cam = game.Workspace.CurrentCamera | |
418 | CF = CFrame.new | |
419 | angles = CFrame.Angles | |
420 | attack = false | |
421 | Euler = CFrame.fromEulerAnglesXYZ | |
422 | Rad = math.rad | |
423 | IT = Instance.new | |
424 | BrickC = BrickColor.new | |
425 | Cos = math.cos | |
426 | Acos = math.acos | |
427 | Sin = math.sin | |
428 | Asin = math.asin | |
429 | Abs = math.abs | |
430 | Mrandom = math.random | |
431 | Floor = math.floor | |
432 | ------------------------------------------------------- | |
433 | --End Good Stuff-- | |
434 | ------------------------------------------------------- | |
435 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
436 | RSH, LSH = nil, nil | |
437 | RW = Instance.new("Weld") | |
438 | LW = Instance.new("Weld") | |
439 | RH = tors["Right Hip"] | |
440 | LH = tors["Left Hip"] | |
441 | RSH = tors["Right Shoulder"] | |
442 | LSH = tors["Left Shoulder"] | |
443 | RSH.Parent = nil | |
444 | LSH.Parent = nil | |
445 | - | for _, c in pairs(workspace:children()) do |
445 | + | |
446 | - | local hum = c:findFirstChild("Humanoid") |
446 | + | |
447 | - | if hum ~= nil then |
447 | + | |
448 | - | local head = c:findFirstChild("Head") |
448 | + | |
449 | - | if head ~= nil then |
449 | + | |
450 | - | local targ = head.Position - Part.Position |
450 | + | |
451 | - | local mag = targ.magnitude |
451 | + | |
452 | - | if magni >= mag and c.Name ~= plr.Name then |
452 | + | |
453 | - | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) |
453 | + | |
454 | - | end |
454 | + | |
455 | - | end |
455 | + | |
456 | - | end |
456 | + | |
457 | - | end |
457 | + | |
458 | ------------------------------------------------------- | |
459 | --Start HeartBeat-- | |
460 | ------------------------------------------------------- | |
461 | ArtificialHB = Instance.new("BindableEvent", script) | |
462 | ArtificialHB.Name = "Heartbeat" | |
463 | script:WaitForChild("Heartbeat") | |
464 | ||
465 | frame = 1 / 60 | |
466 | tf = 0 | |
467 | allowframeloss = false | |
468 | tossremainder = false | |
469 | ||
470 | ||
471 | lastframe = tick() | |
472 | script.Heartbeat:Fire() | |
473 | ||
474 | ||
475 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
476 | tf = tf + s | |
477 | if tf >= frame then | |
478 | if allowframeloss then | |
479 | script.Heartbeat:Fire() | |
480 | lastframe = tick() | |
481 | else | |
482 | for i = 1, math.floor(tf / frame) do | |
483 | script.Heartbeat:Fire() | |
484 | end | |
485 | lastframe = tick() | |
486 | end | |
487 | if tossremainder then | |
488 | tf = 0 | |
489 | else | |
490 | tf = tf - frame * math.floor(tf / frame) | |
491 | end | |
492 | end | |
493 | end) | |
494 | ------------------------------------------------------- | |
495 | --End HeartBeat-- | |
496 | ------------------------------------------------------- | |
497 | ||
498 | ------------------------------------------------------- | |
499 | --Start Important Functions-- | |
500 | ------------------------------------------------------- | |
501 | function swait(num) | |
502 | if num == 0 or num == nil then | |
503 | game:service("RunService").Stepped:wait(0) | |
504 | else | |
505 | for i = 0, num do | |
506 | game:service("RunService").Stepped:wait(0) | |
507 | end | |
508 | end | |
509 | end | |
510 | function thread(f) | |
511 | coroutine.resume(coroutine.create(f)) | |
512 | end | |
513 | function clerp(a, b, t) | |
514 | local qa = { | |
515 | QuaternionFromCFrame(a) | |
516 | } | |
517 | local qb = { | |
518 | QuaternionFromCFrame(b) | |
519 | } | |
520 | local ax, ay, az = a.x, a.y, a.z | |
521 | local bx, by, bz = b.x, b.y, b.z | |
522 | local _t = 1 - t | |
523 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
524 | end | |
525 | function QuaternionFromCFrame(cf) | |
526 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
527 | local trace = m00 + m11 + m22 | |
528 | if trace > 0 then | |
529 | local s = math.sqrt(1 + trace) | |
530 | local recip = 0.5 / s | |
531 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
532 | else | |
533 | local i = 0 | |
534 | if m00 < m11 then | |
535 | i = 1 | |
536 | end | |
537 | if m22 > (i == 0 and m00 or m11) then | |
538 | i = 2 | |
539 | end | |
540 | if i == 0 then | |
541 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
542 | local recip = 0.5 / s | |
543 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
544 | elseif i == 1 then | |
545 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
546 | local recip = 0.5 / s | |
547 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
548 | elseif i == 2 then | |
549 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
550 | local recip = 0.5 / s | |
551 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
552 | end | |
553 | end | |
554 | end | |
555 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
556 | local xs, ys, zs = x + x, y + y, z + z | |
557 | local wx, wy, wz = w * xs, w * ys, w * zs | |
558 | local xx = x * xs | |
559 | local xy = x * ys | |
560 | local xz = x * zs | |
561 | local yy = y * ys | |
562 | local yz = y * zs | |
563 | local zz = z * zs | |
564 | 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)) | |
565 | end | |
566 | function QuaternionSlerp(a, b, t) | |
567 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
568 | local startInterp, finishInterp | |
569 | if cosTheta >= 1.0E-4 then | |
570 | if 1 - cosTheta > 1.0E-4 then | |
571 | local theta = math.acos(cosTheta) | |
572 | local invSinTheta = 1 / Sin(theta) | |
573 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
574 | finishInterp = Sin(t * theta) * invSinTheta | |
575 | else | |
576 | startInterp = 1 - t | |
577 | finishInterp = t | |
578 | end | |
579 | elseif 1 + cosTheta > 1.0E-4 then | |
580 | local theta = math.acos(-cosTheta) | |
581 | local invSinTheta = 1 / Sin(theta) | |
582 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
583 | finishInterp = Sin(t * theta) * invSinTheta | |
584 | else | |
585 | startInterp = t - 1 | |
586 | finishInterp = t | |
587 | end | |
588 | 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 | |
589 | end | |
590 | function rayCast(Position, Direction, Range, Ignore) | |
591 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
592 | end | |
593 | local RbxUtility = LoadLibrary("RbxUtility") | |
594 | local Create = RbxUtility.Create | |
595 | ||
596 | ------------------------------------------------------- | |
597 | --Start Damage Function-- | |
598 | ------------------------------------------------------- | |
599 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
600 | if hit.Parent == nil then | |
601 | return | |
602 | end | |
603 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
604 | for _, v in pairs(hit.Parent:children()) do | |
605 | if v:IsA("Humanoid") then | |
606 | h = v | |
607 | end | |
608 | end | |
609 | - | Block = { |
609 | + | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then |
610 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) |
610 | + | |
611 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
611 | + | hit.Parent:FindFirstChild("Head"):BreakJoints() |
612 | - | prt.Anchored = true |
612 | + | |
613 | - | prt.CFrame = cframe |
613 | + | |
614 | - | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
614 | + | |
615 | - | game:GetService("Debris"):AddItem(prt, 10) |
615 | + | |
616 | - | if Type == 1 or Type == nil then |
616 | + | |
617 | - | table.insert(Effects, { |
617 | + | |
618 | - | prt, |
618 | + | |
619 | - | "Block1", |
619 | + | |
620 | - | delay, |
620 | + | if insta == true then |
621 | - | x3, |
621 | + | hit.Parent:FindFirstChild("Head"):BreakJoints() |
622 | - | y3, |
622 | + | |
623 | - | z3, |
623 | + | |
624 | - | msh |
624 | + | |
625 | - | }) |
625 | + | |
626 | - | elseif Type == 2 then |
626 | + | |
627 | - | table.insert(Effects, { |
627 | + | |
628 | - | prt, |
628 | + | |
629 | - | "Block2", |
629 | + | |
630 | - | delay, |
630 | + | |
631 | - | x3, |
631 | + | |
632 | - | y3, |
632 | + | |
633 | - | z3, |
633 | + | |
634 | - | msh |
634 | + | |
635 | - | }) |
635 | + | |
636 | - | else |
636 | + | |
637 | - | table.insert(Effects, { |
637 | + | |
638 | - | prt, |
638 | + | |
639 | - | "Block3", |
639 | + | |
640 | - | delay, |
640 | + | |
641 | - | x3, |
641 | + | |
642 | - | y3, |
642 | + | |
643 | - | z3, |
643 | + | |
644 | - | msh |
644 | + | |
645 | - | }) |
645 | + | |
646 | - | end |
646 | + | |
647 | - | end |
647 | + | |
648 | - | }, |
648 | + | |
649 | - | Sphere = { |
649 | + | |
650 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
650 | + | |
651 | - | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) |
651 | + | |
652 | - | prt.Anchored = true |
652 | + | |
653 | - | prt.CFrame = cframe |
653 | + | |
654 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
654 | + | |
655 | - | game:GetService("Debris"):AddItem(prt, 10) |
655 | + | |
656 | - | table.insert(Effects, { |
656 | + | |
657 | - | prt, |
657 | + | |
658 | - | "Cylinder", |
658 | + | |
659 | - | delay, |
659 | + | |
660 | - | x3, |
660 | + | |
661 | - | y3, |
661 | + | |
662 | - | z3, |
662 | + | |
663 | - | msh |
663 | + | |
664 | - | }) |
664 | + | |
665 | - | end |
665 | + | |
666 | - | }, |
666 | + | |
667 | - | Cylinder = { |
667 | + | |
668 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
668 | + | |
669 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
669 | + | |
670 | - | prt.Anchored = true |
670 | + | |
671 | - | prt.CFrame = cframe |
671 | + | |
672 | - | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
672 | + | |
673 | - | game:GetService("Debris"):AddItem(prt, 10) |
673 | + | |
674 | - | table.insert(Effects, { |
674 | + | |
675 | - | prt, |
675 | + | |
676 | - | "Cylinder", |
676 | + | |
677 | - | delay, |
677 | + | |
678 | - | x3, |
678 | + | |
679 | - | y3, |
679 | + | |
680 | - | z3, |
680 | + | |
681 | - | msh |
681 | + | |
682 | - | }) |
682 | + | |
683 | - | end |
683 | + | |
684 | - | }, |
684 | + | |
685 | - | Wave = { |
685 | + | |
686 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
686 | + | |
687 | - | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) |
687 | + | |
688 | - | prt.Anchored = true |
688 | + | |
689 | - | prt.CFrame = cframe |
689 | + | |
690 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) |
690 | + | |
691 | - | game:GetService("Debris"):AddItem(prt, 10) |
691 | + | |
692 | - | table.insert(Effects, { |
692 | + | |
693 | - | prt, |
693 | + | |
694 | - | "Cylinder", |
694 | + | |
695 | - | delay, |
695 | + | |
696 | - | x3 / 60, |
696 | + | |
697 | - | y3 / 60, |
697 | + | |
698 | - | z3 / 60, |
698 | + | |
699 | - | msh |
699 | + | |
700 | - | }) |
700 | + | |
701 | - | end |
701 | + | |
702 | - | }, |
702 | + | |
703 | - | Ring = { |
703 | + | |
704 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
704 | + | |
705 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
705 | + | |
706 | - | prt.Anchored = true |
706 | + | |
707 | - | prt.CFrame = cframe |
707 | + | |
708 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
708 | + | |
709 | - | game:GetService("Debris"):AddItem(prt, 10) |
709 | + | |
710 | - | table.insert(Effects, { |
710 | + | |
711 | - | prt, |
711 | + | |
712 | - | "Cylinder", |
712 | + | |
713 | - | delay, |
713 | + | |
714 | - | x3, |
714 | + | |
715 | - | y3, |
715 | + | |
716 | - | z3, |
716 | + | |
717 | - | msh |
717 | + | |
718 | - | }) |
718 | + | |
719 | - | end |
719 | + | |
720 | - | }, |
720 | + | |
721 | - | Break = { |
721 | + | |
722 | - | Create = function(brickcolor, cframe, x1, y1, z1) |
722 | + | |
723 | - | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) |
723 | + | |
724 | - | prt.Anchored = true |
724 | + | |
725 | - | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
725 | + | |
726 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
726 | + | |
727 | - | local num = math.random(10, 50) / 1000 |
727 | + | |
728 | - | game:GetService("Debris"):AddItem(prt, 10) |
728 | + | |
729 | - | table.insert(Effects, { |
729 | + | |
730 | - | prt, |
730 | + | |
731 | - | "Shatter", |
731 | + | |
732 | - | num, |
732 | + | |
733 | - | prt.CFrame, |
733 | + | |
734 | - | math.random() - math.random(), |
734 | + | |
735 | - | 0, |
735 | + | |
736 | - | math.random(50, 100) / 100 |
736 | + | |
737 | - | }) |
737 | + | |
738 | - | end |
738 | + | |
739 | - | }, |
739 | + | |
740 | - | Spiral = { |
740 | + | |
741 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
741 | + | |
742 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
742 | + | |
743 | - | prt.Anchored = true |
743 | + | |
744 | - | prt.CFrame = cframe |
744 | + | |
745 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
745 | + | |
746 | - | game:GetService("Debris"):AddItem(prt, 10) |
746 | + | |
747 | - | table.insert(Effects, { |
747 | + | |
748 | - | prt, |
748 | + | |
749 | - | "Cylinder", |
749 | + | |
750 | - | delay, |
750 | + | |
751 | - | x3, |
751 | + | |
752 | - | y3, |
752 | + | |
753 | - | z3, |
753 | + | |
754 | - | msh |
754 | + | |
755 | - | }) |
755 | + | |
756 | - | end |
756 | + | |
757 | - | }, |
757 | + | |
758 | - | Push = { |
758 | + | |
759 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
759 | + | |
760 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
760 | + | |
761 | - | prt.Anchored = true |
761 | + | |
762 | - | prt.CFrame = cframe |
762 | + | |
763 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
763 | + | |
764 | - | game:GetService("Debris"):AddItem(prt, 10) |
764 | + | |
765 | - | table.insert(Effects, { |
765 | + | |
766 | - | prt, |
766 | + | |
767 | - | "Cylinder", |
767 | + | |
768 | - | delay, |
768 | + | |
769 | - | x3, |
769 | + | |
770 | - | y3, |
770 | + | |
771 | - | z3, |
771 | + | |
772 | - | msh |
772 | + | |
773 | - | }) |
773 | + | |
774 | - | end |
774 | + | |
775 | - | } |
775 | + | |
776 | TextScaled = true, | |
777 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
778 | Parent = BillboardGui, | |
779 | } | |
780 | game.Debris:AddItem(EffectPart, (Time)) | |
781 | EffectPart.Parent = game:GetService("Workspace") | |
782 | delay(0, function() | |
783 | local Frames = (Time / Rate) | |
784 | for Frame = 1, Frames do | |
785 | wait(Rate) | |
786 | local Percent = (Frame / Frames) | |
787 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
788 | TextLabel.TextTransparency = Percent | |
789 | end | |
790 | if EffectPart and EffectPart.Parent then | |
791 | EffectPart:Destroy() | |
792 | end | |
793 | end) | |
794 | - | |
794 | + | |
795 | ------------------------------------------------------- | |
796 | --End Damage Function Customization-- | |
797 | ------------------------------------------------------- | |
798 | ||
799 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
800 | - | if meshid ~= "nil" then |
800 | + | for _, c in pairs(workspace:children()) do |
801 | - | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid |
801 | + | local hum = c:findFirstChild("Humanoid") |
802 | if hum ~= nil then | |
803 | local head = c:findFirstChild("Head") | |
804 | if head ~= nil then | |
805 | local targ = head.Position - Part.Position | |
806 | local mag = targ.magnitude | |
807 | if magni >= mag and c.Name ~= plr.Name then | |
808 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
809 | end | |
810 | end | |
811 | end | |
812 | end | |
813 | end | |
814 | ||
815 | ||
816 | CFuncs = { | |
817 | Part = { | |
818 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
819 | local Part = Create("Part")({ | |
820 | Parent = Parent, | |
821 | Reflectance = Reflectance, | |
822 | Transparency = Transparency, | |
823 | CanCollide = false, | |
824 | Locked = true, | |
825 | BrickColor = BrickColor.new(tostring(BColor)), | |
826 | Name = Name, | |
827 | Size = Size, | |
828 | Material = Material | |
829 | }) | |
830 | RemoveOutlines(Part) | |
831 | return Part | |
832 | end | |
833 | }, | |
834 | Mesh = { | |
835 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
836 | local Msh = Create(Mesh)({ | |
837 | Parent = Part, | |
838 | Offset = OffSet, | |
839 | Scale = Scale | |
840 | }) | |
841 | if Mesh == "SpecialMesh" then | |
842 | Msh.MeshType = MeshType | |
843 | Msh.MeshId = MeshId | |
844 | end | |
845 | return Msh | |
846 | end | |
847 | }, | |
848 | Mesh = { | |
849 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
850 | local Msh = Create(Mesh)({ | |
851 | Parent = Part, | |
852 | Offset = OffSet, | |
853 | Scale = Scale | |
854 | }) | |
855 | if Mesh == "SpecialMesh" then | |
856 | Msh.MeshType = MeshType | |
857 | Msh.MeshId = MeshId | |
858 | end | |
859 | return Msh | |
860 | end | |
861 | }, | |
862 | Weld = { | |
863 | Create = function(Parent, Part0, Part1, C0, C1) | |
864 | local Weld = Create("Weld")({ | |
865 | Parent = Parent, | |
866 | Part0 = Part0, | |
867 | Part1 = Part1, | |
868 | C0 = C0, | |
869 | C1 = C1 | |
870 | }) | |
871 | return Weld | |
872 | end | |
873 | }, | |
874 | Sound = { | |
875 | Create = function(id, par, vol, pit) | |
876 | coroutine.resume(coroutine.create(function() | |
877 | local S = Create("Sound")({ | |
878 | Volume = vol, | |
879 | Pitch = pit or 1, | |
880 | SoundId = id, | |
881 | Parent = par or workspace | |
882 | }) | |
883 | wait() | |
884 | S:play() | |
885 | game:GetService("Debris"):AddItem(S, 6) | |
886 | end)) | |
887 | end | |
888 | }, | |
889 | ParticleEmitter = { | |
890 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
891 | local fp = Create("ParticleEmitter")({ | |
892 | Parent = Parent, | |
893 | Color = ColorSequence.new(Color1, Color2), | |
894 | LightEmission = LightEmission, | |
895 | Size = Size, | |
896 | Texture = Texture, | |
897 | Transparency = Transparency, | |
898 | ZOffset = ZOffset, | |
899 | Acceleration = Accel, | |
900 | Drag = Drag, | |
901 | LockedToPart = LockedToPart, | |
902 | VelocityInheritance = VelocityInheritance, | |
903 | EmissionDirection = EmissionDirection, | |
904 | Enabled = Enabled, | |
905 | Lifetime = LifeTime, | |
906 | Rate = Rate, | |
907 | Rotation = Rotation, | |
908 | RotSpeed = RotSpeed, | |
909 | Speed = Speed, | |
910 | VelocitySpread = VelocitySpread | |
911 | }) | |
912 | return fp | |
913 | end | |
914 | } | |
915 | } | |
916 | function RemoveOutlines(part) | |
917 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
918 | end | |
919 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
920 | local Part = Create("Part")({ | |
921 | formFactor = FormFactor, | |
922 | Parent = Parent, | |
923 | Reflectance = Reflectance, | |
924 | Transparency = Transparency, | |
925 | CanCollide = false, | |
926 | Locked = true, | |
927 | BrickColor = BrickColor.new(tostring(BColor)), | |
928 | Name = Name, | |
929 | Size = Size, | |
930 | Material = Material | |
931 | }) | |
932 | RemoveOutlines(Part) | |
933 | return Part | |
934 | end | |
935 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
936 | local Msh = Create(Mesh)({ | |
937 | Parent = Part, | |
938 | Offset = OffSet, | |
939 | Scale = Scale | |
940 | }) | |
941 | if Mesh == "SpecialMesh" then | |
942 | Msh.MeshType = MeshType | |
943 | Msh.MeshId = MeshId | |
944 | end | |
945 | return Msh | |
946 | end | |
947 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
948 | local Weld = Create("Weld")({ | |
949 | Parent = Parent, | |
950 | Part0 = Part0, | |
951 | Part1 = Part1, | |
952 | C0 = C0, | |
953 | C1 = C1 | |
954 | }) | |
955 | return Weld | |
956 | end | |
957 | ||
958 | ||
959 | ------------------------------------------------------- | |
960 | --Start Effect Function-- | |
961 | ------------------------------------------------------- | |
962 | EffectModel = Instance.new("Model", char) | |
963 | Effects = { | |
964 | Block = { | |
965 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
966 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
967 | prt.Anchored = true | |
968 | prt.CFrame = cframe | |
969 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
970 | game:GetService("Debris"):AddItem(prt, 10) | |
971 | if Type == 1 or Type == nil then | |
972 | table.insert(Effects, { | |
973 | prt, | |
974 | "Block1", | |
975 | delay, | |
976 | x3, | |
977 | y3, | |
978 | z3, | |
979 | msh | |
980 | - | if dude.Name ~= char then |
980 | + | |
981 | - | local bgf = IT("BodyGyro", dude.Head) |
981 | + | elseif Type == 2 then |
982 | - | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) |
982 | + | table.insert(Effects, { |
983 | - | local val = IT("BoolValue", dude) |
983 | + | prt, |
984 | - | val.Name = "IsHit" |
984 | + | "Block2", |
985 | - | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') |
985 | + | delay, |
986 | - | local soulst = coroutine.wrap(function() |
986 | + | x3, |
987 | - | local soul = Instance.new("Part",dude) |
987 | + | y3, |
988 | - | soul.Size = Vector3.new(1,1,1) |
988 | + | z3, |
989 | - | soul.CanCollide = false |
989 | + | msh |
990 | - | soul.Anchored = false |
990 | + | |
991 | - | soul.Position = torso.Position |
991 | + | else |
992 | - | soul.Transparency = 1 |
992 | + | table.insert(Effects, { |
993 | - | local PartEmmit1 = IT("ParticleEmitter", soul) |
993 | + | prt, |
994 | - | PartEmmit1.LightEmission = 1 |
994 | + | "Block3", |
995 | - | PartEmmit1.Texture = "rbxassetid://569507414" |
995 | + | delay, |
996 | - | PartEmmit1.Color = ColorSequence.new(maincolor.Color) |
996 | + | x3, |
997 | - | PartEmmit1.Rate = 250 |
997 | + | y3, |
998 | - | PartEmmit1.Lifetime = NumberRange.new(1.6) |
998 | + | z3, |
999 | - | PartEmmit1.Size = NumberSequence.new({ |
999 | + | msh |
1000 | - | NumberSequenceKeypoint.new(0, 1, 0), |
1000 | + | |
1001 | - | NumberSequenceKeypoint.new(1, 0, 0) |
1001 | + | |
1002 | - | }) |
1002 | + | |
1003 | - | PartEmmit1.Transparency = NumberSequence.new({ |
1003 | + | |
1004 | - | NumberSequenceKeypoint.new(0, 0, 0), |
1004 | + | Sphere = { |
1005 | - | NumberSequenceKeypoint.new(1, 1, 0) |
1005 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
1006 | - | }) |
1006 | + | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) |
1007 | - | PartEmmit1.Speed = NumberRange.new(0, 0) |
1007 | + | prt.Anchored = true |
1008 | - | PartEmmit1.VelocitySpread = 30000 |
1008 | + | prt.CFrame = cframe |
1009 | - | PartEmmit1.Rotation = NumberRange.new(-360, 360) |
1009 | + | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
1010 | - | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) |
1010 | + | game:GetService("Debris"):AddItem(prt, 10) |
1011 | - | local BodPoss = IT("BodyPosition", soul) |
1011 | + | table.insert(Effects, { |
1012 | - | BodPoss.P = 3000 |
1012 | + | prt, |
1013 | - | BodPoss.D = 1000 |
1013 | + | "Cylinder", |
1014 | - | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) |
1014 | + | delay, |
1015 | - | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) |
1015 | + | x3, |
1016 | - | wait(1.6) |
1016 | + | y3, |
1017 | - | soul.Touched:connect(function(hit) |
1017 | + | z3, |
1018 | - | if hit.Parent == char then |
1018 | + | msh |
1019 | - | soul:Destroy() |
1019 | + | |
1020 | end | |
1021 | }, | |
1022 | - | wait(1.2) |
1022 | + | Cylinder = { |
1023 | - | while soul do |
1023 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
1024 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1025 | - | PartEmmit1.Color = ColorSequence.new(maincolor.Color) |
1025 | + | prt.Anchored = true |
1026 | - | BodPoss.Position = tors.Position |
1026 | + | prt.CFrame = cframe |
1027 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1028 | game:GetService("Debris"):AddItem(prt, 10) | |
1029 | - | soulst() |
1029 | + | table.insert(Effects, { |
1030 | prt, | |
1031 | "Cylinder", | |
1032 | delay, | |
1033 | - | local Cam = workspace.CurrentCamera |
1033 | + | x3, |
1034 | y3, | |
1035 | z3, | |
1036 | msh | |
1037 | }) | |
1038 | end | |
1039 | }, | |
1040 | Wave = { | |
1041 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1042 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1043 | prt.Anchored = true | |
1044 | prt.CFrame = cframe | |
1045 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
1046 | game:GetService("Debris"):AddItem(prt, 10) | |
1047 | table.insert(Effects, { | |
1048 | prt, | |
1049 | "Cylinder", | |
1050 | delay, | |
1051 | x3 / 60, | |
1052 | y3 / 60, | |
1053 | z3 / 60, | |
1054 | msh | |
1055 | }) | |
1056 | end | |
1057 | }, | |
1058 | Ring = { | |
1059 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1060 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1061 | prt.Anchored = true | |
1062 | prt.CFrame = cframe | |
1063 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1064 | game:GetService("Debris"):AddItem(prt, 10) | |
1065 | table.insert(Effects, { | |
1066 | prt, | |
1067 | "Cylinder", | |
1068 | delay, | |
1069 | x3, | |
1070 | y3, | |
1071 | z3, | |
1072 | msh | |
1073 | }) | |
1074 | end | |
1075 | }, | |
1076 | Break = { | |
1077 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1078 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1079 | prt.Anchored = true | |
1080 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1081 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1082 | local num = math.random(10, 50) / 1000 | |
1083 | game:GetService("Debris"):AddItem(prt, 10) | |
1084 | table.insert(Effects, { | |
1085 | prt, | |
1086 | "Shatter", | |
1087 | num, | |
1088 | prt.CFrame, | |
1089 | math.random() - math.random(), | |
1090 | 0, | |
1091 | math.random(50, 100) / 100 | |
1092 | }) | |
1093 | end | |
1094 | }, | |
1095 | Spiral = { | |
1096 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1097 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1098 | prt.Anchored = true | |
1099 | prt.CFrame = cframe | |
1100 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1101 | game:GetService("Debris"):AddItem(prt, 10) | |
1102 | table.insert(Effects, { | |
1103 | prt, | |
1104 | "Cylinder", | |
1105 | delay, | |
1106 | x3, | |
1107 | y3, | |
1108 | z3, | |
1109 | msh | |
1110 | }) | |
1111 | end | |
1112 | }, | |
1113 | Push = { | |
1114 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1115 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1116 | prt.Anchored = true | |
1117 | prt.CFrame = cframe | |
1118 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1119 | game:GetService("Debris"):AddItem(prt, 10) | |
1120 | table.insert(Effects, { | |
1121 | prt, | |
1122 | "Cylinder", | |
1123 | delay, | |
1124 | x3, | |
1125 | y3, | |
1126 | z3, | |
1127 | msh | |
1128 | }) | |
1129 | end | |
1130 | } | |
1131 | } | |
1132 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
1133 | local fp = IT("Part") | |
1134 | fp.formFactor = formfactor | |
1135 | fp.Parent = parent | |
1136 | fp.Reflectance = reflectance | |
1137 | fp.Transparency = transparency | |
1138 | fp.CanCollide = false | |
1139 | fp.Locked = true | |
1140 | fp.BrickColor = brickcolor | |
1141 | fp.Name = name | |
1142 | fp.Size = size | |
1143 | fp.Position = tors.Position | |
1144 | RemoveOutlines(fp) | |
1145 | fp.Material = "SmoothPlastic" | |
1146 | fp:BreakJoints() | |
1147 | return fp | |
1148 | end | |
1149 | ||
1150 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1151 | local mesh = IT(Mesh) | |
1152 | mesh.Parent = part | |
1153 | if Mesh == "SpecialMesh" then | |
1154 | mesh.MeshType = meshtype | |
1155 | if meshid ~= "nil" then | |
1156 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
1157 | end | |
1158 | end | |
1159 | mesh.Offset = offset | |
1160 | mesh.Scale = scale | |
1161 | return mesh | |
1162 | end | |
1163 | ||
1164 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
1165 | local type = type | |
1166 | local rng = Instance.new("Part", char) | |
1167 | rng.Anchored = true | |
1168 | rng.BrickColor = color | |
1169 | rng.CanCollide = false | |
1170 | rng.FormFactor = 3 | |
1171 | rng.Name = "Ring" | |
1172 | rng.Material = "Neon" | |
1173 | rng.Size = Vector3.new(1, 1, 1) | |
1174 | rng.Transparency = 0 | |
1175 | rng.TopSurface = 0 | |
1176 | rng.BottomSurface = 0 | |
1177 | rng.CFrame = pos | |
1178 | local rngm = Instance.new("SpecialMesh", rng) | |
1179 | rngm.MeshType = MType | |
1180 | rngm.Scale = scale | |
1181 | local scaler2 = 1 | |
1182 | if type == "Add" then | |
1183 | scaler2 = 1 * value | |
1184 | elseif type == "Divide" then | |
1185 | scaler2 = 1 / value | |
1186 | end | |
1187 | coroutine.resume(coroutine.create(function() | |
1188 | for i = 0, 10 / bonuspeed, 0.1 do | |
1189 | swait() | |
1190 | if type == "Add" then | |
1191 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1192 | elseif type == "Divide" then | |
1193 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1194 | end | |
1195 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1196 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
1197 | end | |
1198 | rng:Destroy() | |
1199 | end)) | |
1200 | end | |
1201 | ||
1202 | function Eviscerate(dude) | |
1203 | if dude.Name ~= char then | |
1204 | local bgf = IT("BodyGyro", dude.Head) | |
1205 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1206 | local val = IT("BoolValue", dude) | |
1207 | val.Name = "IsHit" | |
1208 | local ds = coroutine.wrap(function() | |
1209 | dude:WaitForChild("Head"):BreakJoints() | |
1210 | wait(0.5) | |
1211 | target = nil | |
1212 | coroutine.resume(coroutine.create(function() | |
1213 | for i, v in pairs(dude:GetChildren()) do | |
1214 | if v:IsA("Accessory") then | |
1215 | v:Destroy() | |
1216 | end | |
1217 | if v:IsA("Humanoid") then | |
1218 | v:Destroy() | |
1219 | end | |
1220 | if v:IsA("CharacterMesh") then | |
1221 | v:Destroy() | |
1222 | end | |
1223 | if v:IsA("Model") then | |
1224 | v:Destroy() | |
1225 | end | |
1226 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1227 | for x, o in pairs(v:GetChildren()) do | |
1228 | if o:IsA("Decal") then | |
1229 | o:Destroy() | |
1230 | end | |
1231 | end | |
1232 | coroutine.resume(coroutine.create(function() | |
1233 | v.Material = "Neon" | |
1234 | v.CanCollide = false | |
1235 | local PartEmmit1 = IT("ParticleEmitter", v) | |
1236 | PartEmmit1.LightEmission = 1 | |
1237 | PartEmmit1.Texture = "rbxassetid://284205403" | |
1238 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1239 | PartEmmit1.Rate = 150 | |
1240 | PartEmmit1.Lifetime = NumberRange.new(1) | |
1241 | PartEmmit1.Size = NumberSequence.new({ | |
1242 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
1243 | NumberSequenceKeypoint.new(1, 0, 0) | |
1244 | }) | |
1245 | PartEmmit1.Transparency = NumberSequence.new({ | |
1246 | NumberSequenceKeypoint.new(0, 0, 0), | |
1247 | NumberSequenceKeypoint.new(1, 1, 0) | |
1248 | }) | |
1249 | - | root.Size = root.Size * Player_Size |
1249 | + | |
1250 | - | tors.Size = tors.Size * Player_Size |
1250 | + | |
1251 | - | hed.Size = hed.Size * Player_Size |
1251 | + | |
1252 | - | ra.Size = ra.Size * Player_Size |
1252 | + | |
1253 | - | la.Size = la.Size * Player_Size |
1253 | + | |
1254 | - | rl.Size = rl.Size * Player_Size |
1254 | + | |
1255 | - | ll.Size = ll.Size * Player_Size |
1255 | + | |
1256 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1257 | - | rootj.Parent = root |
1257 | + | |
1258 | - | neck.Parent = tors |
1258 | + | |
1259 | - | RW.Parent = tors |
1259 | + | |
1260 | for i = 0, 49 do | |
1261 | - | RH.Parent = tors |
1261 | + | |
1262 | - | LH.Parent = tors |
1262 | + | |
1263 | end | |
1264 | - | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) |
1264 | + | |
1265 | - | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) |
1265 | + | |
1266 | - | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) |
1266 | + | |
1267 | - | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) |
1267 | + | |
1268 | - | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 |
1268 | + | |
1269 | - | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 |
1269 | + | |
1270 | end)) | |
1271 | - | RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) |
1271 | + | |
1272 | - | LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) |
1272 | + | |
1273 | - | RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) |
1273 | + | |
1274 | - | LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) |
1274 | + | |
1275 | - | --hat.Parent = Character |
1275 | + | |
1276 | end | |
1277 | end | |
1278 | ||
1279 | function FindNearestHead(Position, Distance, SinglePlayer) | |
1280 | if SinglePlayer then | |
1281 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
1282 | end | |
1283 | local List = {} | |
1284 | for i, v in pairs(workspace:GetChildren()) do | |
1285 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
1286 | table.insert(List, v) | |
1287 | end | |
1288 | end | |
1289 | return List | |
1290 | end | |
1291 | ||
1292 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
1293 | local type = type | |
1294 | local rng = Instance.new("Part", char) | |
1295 | rng.Anchored = true | |
1296 | rng.BrickColor = color | |
1297 | rng.CanCollide = false | |
1298 | rng.FormFactor = 3 | |
1299 | rng.Name = "Ring" | |
1300 | rng.Material = "Neon" | |
1301 | rng.Size = Vector3.new(1, 1, 1) | |
1302 | rng.Transparency = 0 | |
1303 | rng.TopSurface = 0 | |
1304 | rng.BottomSurface = 0 | |
1305 | rng.CFrame = pos | |
1306 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
1307 | local rngm = Instance.new("SpecialMesh", rng) | |
1308 | rngm.MeshType = MType | |
1309 | rngm.Scale = Vector3.new(x1, y1, z1) | |
1310 | local scaler2 = 1 | |
1311 | local speeder = FastSpeed | |
1312 | if type == "Add" then | |
1313 | scaler2 = 1 * value | |
1314 | elseif type == "Divide" then | |
1315 | scaler2 = 1 / value | |
1316 | end | |
1317 | coroutine.resume(coroutine.create(function() | |
1318 | for i = 0, 10 / bonuspeed, 0.1 do | |
1319 | swait() | |
1320 | if type == "Add" then | |
1321 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1322 | elseif type == "Divide" then | |
1323 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1324 | end | |
1325 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
1326 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
1327 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1328 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
1329 | end | |
1330 | rng:Destroy() | |
1331 | end)) | |
1332 | end | |
1333 | ||
1334 | function SoulSteal(dude) | |
1335 | if dude.Name ~= char then | |
1336 | local bgf = IT("BodyGyro", dude.Head) | |
1337 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1338 | - | if string.byte(key) == 48 and attack == false then |
1338 | + | |
1339 | - | Swing = 2 |
1339 | + | |
1340 | - | hum.WalkSpeed = 38.82 |
1340 | + | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') |
1341 | local soulst = coroutine.wrap(function() | |
1342 | local soul = Instance.new("Part",dude) | |
1343 | soul.Size = Vector3.new(1,1,1) | |
1344 | - | if string.byte(key) == 48 and attack == false then |
1344 | + | soul.CanCollide = false |
1345 | - | Swing = 1 |
1345 | + | soul.Anchored = false |
1346 | - | hum.WalkSpeed = 8 |
1346 | + | soul.Position = torso.Position |
1347 | soul.Transparency = 1 | |
1348 | local PartEmmit1 = IT("ParticleEmitter", soul) | |
1349 | PartEmmit1.LightEmission = 1 | |
1350 | PartEmmit1.Texture = "rbxassetid://569507414" | |
1351 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1352 | PartEmmit1.Rate = 250 | |
1353 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
1354 | PartEmmit1.Size = NumberSequence.new({ | |
1355 | NumberSequenceKeypoint.new(0, 1, 0), | |
1356 | NumberSequenceKeypoint.new(1, 0, 0) | |
1357 | - | |
1357 | + | |
1358 | PartEmmit1.Transparency = NumberSequence.new({ | |
1359 | NumberSequenceKeypoint.new(0, 0, 0), | |
1360 | NumberSequenceKeypoint.new(1, 1, 0) | |
1361 | }) | |
1362 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1363 | PartEmmit1.VelocitySpread = 30000 | |
1364 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
1365 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
1366 | local BodPoss = IT("BodyPosition", soul) | |
1367 | BodPoss.P = 3000 | |
1368 | BodPoss.D = 1000 | |
1369 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1370 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1371 | wait(1.6) | |
1372 | soul.Touched:connect(function(hit) | |
1373 | if hit.Parent == char then | |
1374 | soul:Destroy() | |
1375 | end | |
1376 | end) | |
1377 | wait(1.2) | |
1378 | while soul do | |
1379 | swait() | |
1380 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1381 | BodPoss.Position = tors.Position | |
1382 | end | |
1383 | end) | |
1384 | soulst() | |
1385 | end | |
1386 | end | |
1387 | function FaceMouse() | |
1388 | local Cam = workspace.CurrentCamera | |
1389 | return { | |
1390 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
1391 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
1392 | } | |
1393 | end | |
1394 | ------------------------------------------------------- | |
1395 | --End Effect Function-- | |
1396 | ------------------------------------------------------- | |
1397 | function Cso(ID, PARENT, VOLUME, PITCH) | |
1398 | local NSound = nil | |
1399 | coroutine.resume(coroutine.create(function() | |
1400 | NSound = IT("Sound", PARENT) | |
1401 | NSound.Volume = VOLUME | |
1402 | NSound.Pitch = PITCH | |
1403 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1404 | swait() | |
1405 | NSound:play() | |
1406 | game:GetService("Debris"):AddItem(NSound, 10) | |
1407 | end)) | |
1408 | return NSound | |
1409 | end | |
1410 | function CameraEnshaking(Length, Intensity) | |
1411 | coroutine.resume(coroutine.create(function() | |
1412 | local intensity = 1 * Intensity | |
1413 | local rotM = 0.01 * Intensity | |
1414 | for i = 0, Length, 0.1 do | |
1415 | swait() | |
1416 | intensity = intensity - 0.05 * Intensity / Length | |
1417 | rotM = rotM - 5.0E-4 * Intensity / Length | |
1418 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
1419 | cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) | |
1420 | - | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) |
1420 | + | |
1421 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
1422 | end)) | |
1423 | end | |
1424 | New = function(Object, Parent, Name, Data) | |
1425 | local Object = Instance.new(Object) | |
1426 | for Index, Value in pairs(Data or {}) do | |
1427 | Object[Index] = Value | |
1428 | end | |
1429 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) |
1429 | + | |
1430 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) |
1430 | + | |
1431 | - | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * 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) |
1431 | + | |
1432 | - | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * 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) |
1432 | + | |
1433 | - | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) |
1433 | + | |
1434 | - | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-65) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15) |
1434 | + | |
1435 | - | HW.C0 = clerp(HW.C0, CF(0, -1 , -.2) * angles(Rad(90), Rad(0), Rad(-90)), 0.1) |
1435 | + | |
1436 | ||
1437 | ||
1438 | ------------------------------------------------------- | |
1439 | --Start Weapon Creation-- | |
1440 | ------------------------------------------------------- | |
1441 | Zukain_Katana = New("Model",char,"Zukain_Katana",{}) | |
1442 | Handle = New("Part",Zukain_Katana,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1.76834857, 0.200000003),CFrame = CFrame.new(1.16075099, 7.89765215, -100.573105, 1, 0, 0, 0, -0.707106948, 0.707106948, 0, -0.707106948, -0.707106948),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1443 | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.768976569, 1, 0.901659966),}) | |
1444 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16011798, 8.39845085, -100.079697, 1, 0, 0, 0, 0, 1.00000036, 0, -1.00000036, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1445 | Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(0.793101251, 0.64835465, 0.64231962),}) | |
1446 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0),C1 = CFrame.new(-0.000633001328, -0.703010559, 0.00522613525, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1447 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16011798, 8.23512936, -100.243011, 1, 0, 0, 0, 0, 1.00000036, 0, -1.00000036, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1448 | Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(0.793101251, 0.64835465, 0.64231962),}) | |
1449 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0),C1 = CFrame.new(-0.000633001328, -0.472045898, 0.00521850586, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1450 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16011798, 8.0624094, -100.415726, 1, 0, 0, 0, 0, 1.00000036, 0, -1.00000036, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1451 | Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(0.793101251, 0.64835465, 0.64231962),}) | |
1452 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0),C1 = CFrame.new(-0.000633001328, -0.227783203, 0.00521850586, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1453 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16011798, 7.72293615, -100.755203, 1, 0, 0, 0, 0, 1.00000036, 0, -1.00000036, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1454 | Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(0.793101251, 0.64835465, 0.64231962),}) | |
1455 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0),C1 = CFrame.new(-0.000633001328, 0.252304077, 0.00521850586, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1456 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16011798, 7.89289379, -100.585251, 1, 0, 0, 0, 0, 1.00000036, 0, -1.00000036, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1457 | Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(0.793101251, 0.64835465, 0.64231962),}) | |
1458 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0),C1 = CFrame.new(-0.000633001328, 0.0119552612, 0.00522613525, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1459 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16012597, 6.85338116, -101.030701, 0, 0.707106948, -0.707106709, 0.707107008, 0.500000119, 0.500000298, 0.707107008, -0.500000119, -0.500000298),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.937255, 0.721569, 0.219608),}) | |
1460 | Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(0.385996014, 0.64835465, 0.64231962),}) | |
1461 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0, 0.707106829, 0.707106829, 0.707106948, 0.49999994, -0.49999994, -0.707106709, 0.500000119, -0.500000119),C1 = CFrame.new(-0.000625014305, 1.0619812, -0.414840698, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1462 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16011798, 7.38517857, -101.092957, 1, 0, 0, 0, 0, 1.00000036, 0, -1.00000036, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1463 | Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(0.793101251, 0.64835465, 0.64231962),}) | |
1464 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0),C1 = CFrame.new(-0.000633001328, 0.72996521, 0.00521850586, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1465 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16011798, 7.45044518, -101.627769, 0, 0.707106948, -0.707106709, 0.707107008, 0.500000119, 0.500000298, 0.707107008, -0.500000119, -0.500000298),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.937255, 0.721569, 0.219608),}) | |
1466 | Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(0.385996014, 0.64835465, 0.64231962),}) | |
1467 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0, 0.707106829, 0.707106829, 0.707106948, 0.49999994, -0.49999994, -0.707106709, 0.500000119, -0.500000119),C1 = CFrame.new(-0.000633001328, 1.0619812, 0.429534912, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1468 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.878141046, 0.200000003, 1.06329548),CFrame = CFrame.new(1.15981996, 7.15133572, -101.329674, 1, 0, 0, 0, -0.707106888, 0.707106888, 0, -0.707106888, -0.707106888),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,Color = Color3.new(0.937255, 0.721569, 0.219608),}) | |
1469 | Mesh = New("CylinderMesh",Handle2,"Mesh",{Scale = Vector3.new(1, 0.385997146, 1),}) | |
1470 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),C1 = CFrame.new(-0.000931024551, 1.06269836, 0.0072479248, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1471 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.15981996, 8.63947964, -99.9694519, 1, 0, 0, 0, -0.707107008, 0.707107008, 0, -0.707107008, -0.707107008),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,Color = Color3.new(0.937255, 0.721569, 0.219608),}) | |
1472 | Mesh = New("CylinderMesh",Handle2,"Mesh",{Scale = Vector3.new(0.771992147, 0.690572917, 0.793099046),}) | |
1473 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),C1 = CFrame.new(-0.000931024551, -0.951400757, 0.0977020264, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1474 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.15981996, 8.5055809, -99.8338318, 1, 0, 0, 0, -0.707107008, 0.707107008, 0, -0.707107008, -0.707107008),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,Color = Color3.new(0.937255, 0.721569, 0.219608),}) | |
1475 | Mesh = New("CylinderMesh",Handle2,"Mesh",{Scale = Vector3.new(0.771992147, 0.696604252, 0.793099046),}) | |
1476 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),C1 = CFrame.new(-0.000931024551, -0.952613831, -0.0928726196, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1477 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16075099, 8.57104111, -99.8997192, 1, 0, 0, 0, -0.707107008, 0.707107008, 0, -0.707107008, -0.707107008),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.937255, 0.721569, 0.219608),}) | |
1478 | Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(0.768976569, 0.699619949, 0.901659966),}) | |
1479 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),C1 = CFrame.new(0, -0.952316284, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1480 | Blade = New("Part",Zukain_Katana,"Blade",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 3.321383, 0.200000003),CFrame = CFrame.new(1.16162896, 5.85721016, -102.636574, 1, 0, 0, 0, -0.707107008, 0.707107008, 0, -0.707107008, -0.707107008),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1481 | Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.657399535, 1, 0.901659966),}) | |
1482 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),C1 = CFrame.new(0.000877976418, 2.90190125, 0.0162811279, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1483 | Blade = New("Part",Zukain_Katana,"Blade",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 2.11815834, 0.200000003),CFrame = CFrame.new(1.16162896, 3.97205186, -104.582367, 1, 0, 0, 0, -0.676060498, 0.736846507, 0, -0.736846507, -0.676060498),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1484 | Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.657399535, 1, 0.901659966),}) | |
1485 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.676060319, -0.736846328, 0, 0.736846328, -0.676060319),C1 = CFrame.new(0.000877976418, 5.61079407, 0.0591583252, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1486 | Blade = New("Part",Zukain_Katana,"Blade",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 2.11695218, 0.200000003),CFrame = CFrame.new(1.16139197, 3.9036243, -104.520401, 0.707107246, 8.42937951e-08, -0.707106352, 0.52102828, -0.676061392, 0.521028817, -0.478047311, -0.736845732, -0.478047967),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1487 | Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.467417091, 1, 0.467415661),}) | |
1488 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.707107246, 0.521028161, -0.478047192, 8.42937951e-08, -0.676061213, -0.736845434, -0.707106352, 0.521028638, -0.478047818),C1 = CFrame.new(0.00064098835, 5.61536407, -0.0330429077, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1489 | Blade = New("Part",Zukain_Katana,"Blade",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16139197, 2.5424304, -106.351837, 0.70710808, -1.05367299e-07, -0.707105458, 0.697225213, -0.166586101, 0.697227836, -0.117794037, -0.986027181, -0.117794305),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1490 | Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.467417091, 0.633276939, 0.467415661),}) | |
1491 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.70710808, 0.697225034, -0.117794015, -1.05367299e-07, -0.166586086, -0.986026883, -0.707105458, 0.697227597, -0.117794298),C1 = CFrame.new(0.00064098835, 7.87289429, 0.299468994, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1492 | Blade = New("Part",Zukain_Katana,"Blade",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16162896, 2.59807253, -106.357254, 1, 0, 0, 0, -0.00258597732, 0.999996901, 0, -0.999996901, -0.00258597732),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1493 | Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.657399535, 0.569949329, 0.494555891),}) | |
1494 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.00258599897, -0.999996662, 0, 0.999996662, -0.00258599897),C1 = CFrame.new(0.000877976418, 7.83737946, 0.342643738, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1495 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.15981996, 7.29141712, -101.317497, 1, 0, 0, 0, -0.707107008, 0.707107008, 0, -0.707107008, -0.707107008),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,Color = Color3.new(0.937255, 0.721569, 0.219608),}) | |
1496 | Mesh = New("CylinderMesh",Handle2,"Mesh",{Scale = Vector3.new(0.771992147, 0.690572917, 0.793099046),}) | |
1497 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),C1 = CFrame.new(-0.000931024551, 0.955039978, 0.097694397, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1498 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.15981996, 7.15751839, -101.181885, 1, 0, 0, 0, -0.707107008, 0.707107008, 0, -0.707107008, -0.707107008),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,Color = Color3.new(0.937255, 0.721569, 0.219608),}) | |
1499 | Mesh = New("CylinderMesh",Handle2,"Mesh",{Scale = Vector3.new(0.771992147, 0.696604252, 0.793099046),}) | |
1500 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),C1 = CFrame.new(-0.000931024551, 0.953826904, -0.092880249, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1501 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16075099, 7.22297859, -101.24778, 1, 0, 0, 0, -0.707107008, 0.707107008, 0, -0.707107008, -0.707107008),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.937255, 0.721569, 0.219608),}) | |
1502 | Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(0.768976569, 0.699619949, 0.901659966),}) | |
1503 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),C1 = CFrame.new(0, 0.95413208, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1504 | Blade = New("Part",Zukain_Katana,"Blade",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 3.32982659, 0.200000003),CFrame = CFrame.new(1.16139197, 5.78809166, -102.575134, 0.707106948, 0, -0.707106709, 0.500000119, -0.707107008, 0.500000298, -0.500000119, -0.707107008, -0.500000298),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1505 | Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.467417091, 1, 0.467415661),}) | |
1506 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.707106948, 0.49999994, -0.49999994, 0, -0.707106829, -0.707106829, -0.707106709, 0.500000119, -0.500000119),C1 = CFrame.new(0.00064098835, 2.90733337, -0.0760345459, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1507 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16075099, 7.06944275, -101.401321, 1, 0, 0, 0, -0.707107008, 0.707107008, 0, -0.707107008, -0.707107008),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.937255, 0.721569, 0.219608),}) | |
1508 | Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(0.768976569, 0.699619949, 0.901659966),}) | |
1509 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),C1 = CFrame.new(0, 1.17127228, 7.62939453e-06, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1510 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.15981996, 7.13789177, -101.471039, 1, 0, 0, 0, -0.707107008, 0.707107008, 0, -0.707107008, -0.707107008),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,Color = Color3.new(0.937255, 0.721569, 0.219608),}) | |
1511 | Mesh = New("CylinderMesh",Handle2,"Mesh",{Scale = Vector3.new(0.771992147, 0.690572917, 0.793099046),}) | |
1512 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),C1 = CFrame.new(-0.000931024551, 1.17216492, 0.0977020264, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1513 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.15981996, 7.00398254, -101.335419, 1, 0, 0, 0, -0.707107008, 0.707107008, 0, -0.707107008, -0.707107008),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,Color = Color3.new(0.937255, 0.721569, 0.219608),}) | |
1514 | Mesh = New("CylinderMesh",Handle2,"Mesh",{Scale = Vector3.new(0.771992147, 0.696604252, 0.793099046),}) | |
1515 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),C1 = CFrame.new(-0.000931024551, 1.17095947, -0.092880249, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1516 | Handle2 = New("Part",Zukain_Katana,"Handle2",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16011798, 7.55109024, -100.927071, 1, 0, 0, 0, 0, 1.00000036, 0, -1.00000036, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1517 | Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(0.793101251, 0.64835465, 0.64231962),}) | |
1518 | mot = New("Motor",Handle2,"mot",{Part0 = Handle2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0),C1 = CFrame.new(-0.000633001328, 0.495346069, 0.00523376465, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1519 | Handle1 = New("Part",Zukain_Katana,"Handle1",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 1.76653922, 0.200000003),CFrame = CFrame.new(1.15981996, 7.96610117, -100.64283, 1, 0, 0, 0, -0.707107008, 0.707107008, 0, -0.707107008, -0.707107008),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,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1520 | Mesh = New("CylinderMesh",Handle1,"Mesh",{Scale = Vector3.new(0.771992147, 1, 0.793099046),}) | |
1521 | mot = New("Motor",Handle1,"mot",{Part0 = Handle1,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),C1 = CFrame.new(-0.000931024551, 0.000900268555, 0.0977020264, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1522 | Blade = New("Part",Zukain_Katana,"Blade",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.609151542, 0.200000003),CFrame = CFrame.new(1.16139197, 3.01041842, -105.536285, 0.707105935, 6.53275379e-07, -0.707107663, 0.566065133, -0.599285662, 0.566063285, -0.423759073, -0.800535619, -0.423758864),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1523 | Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.467417091, 1, 0.467415661),}) | |
1524 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.707105935, 0.566064954, -0.423758954, 6.53275379e-07, -0.599285483, -0.80053544, -0.707107663, 0.566063106, -0.423758715),C1 = CFrame.new(0.00064098835, 6.96529388, 0.0537033081, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1525 | Blade = New("Part",Zukain_Katana,"Blade",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.610357821, 0.200000003),CFrame = CFrame.new(1.16163599, 3.08467245, -105.591133, 1, 0, 0, 0, -0.59928447, 0.800536573, 0, -0.800536573, -0.59928447),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1526 | Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.657399535, 1, 0.901659966),}) | |
1527 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.599284291, -0.800536335, 0, 0.800536335, -0.599284291),C1 = CFrame.new(0.000885009766, 6.9515686, 0.144989014, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1528 | Blade = New("Part",Zukain_Katana,"Blade",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.609151542, 0.200000003),CFrame = CFrame.new(1.16139197, 2.68954659, -106.041069, 0.70710665, -4.42541989e-07, -0.707106948, 0.622500896, -0.47432667, 0.622501016, -0.335399926, -0.880349338, -0.33539927),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1529 | Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.467417091, 1, 0.467415661),}) | |
1530 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.70710665, 0.622500718, -0.335399836, -4.42541989e-07, -0.474326551, -0.88034904, -0.707106948, 0.622500837, -0.33539921),C1 = CFrame.new(0.00064098835, 7.54911804, 0.183746338, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1531 | Blade = New("Part",Zukain_Katana,"Blade",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.609151542, 0.200000003),CFrame = CFrame.new(1.16162097, 2.77138567, -106.083794, 1, 0, 0, 0, -0.474326313, 0.880349517, 0, -0.880349576, -0.474326253),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1532 | Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.657399535, 1, 0.901659966),}) | |
1533 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.474326164, -0.880349278, 0, 0.880349219, -0.474326134),C1 = CFrame.new(0.000869989395, 7.52146149, 0.271827698, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1534 | Blade = New("Part",Zukain_Katana,"Blade",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16139197, 2.59642172, -106.49707, 0.7071082, 9.06159073e-07, -0.707105398, 0.337037176, 0.879096627, 0.337039649, 0.621614218, -0.476644367, 0.621616125),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1535 | Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.467417091, 0.666448534, 0.467415661),}) | |
1536 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.7071082, 0.337037086, 0.621614099, 9.06159073e-07, 0.879096389, -0.476644188, -0.707105398, 0.33703953, 0.621615887),C1 = CFrame.new(0.00064098835, 7.93740845, 0.440338135, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1537 | Blade = New("Part",Zukain_Katana,"Blade",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16162896, 2.62758207, -106.370247, 1, 0, 0, 0, -0.214267105, 0.976775408, 0, -0.976775408, -0.214267105),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1538 | Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.657399535, 0.518684149, 0.859441757),}) | |
1539 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.21426703, -0.97677511, 0, 0.97677511, -0.214267045),C1 = CFrame.new(0.000877976418, 7.82569885, 0.372695923, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1540 | Blade = New("Part",Zukain_Katana,"Blade",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16162896, 2.59278584, -106.432526, 1, 0, 0, 0, 0.302041978, 0.953294873, 0, -0.953294873, 0.302041978),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1541 | Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.657399535, 0.609152138, 0.443290949),}) | |
1542 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.302041888, -0.953294635, 0, 0.953294635, 0.302041888),C1 = CFrame.new(0.000877976418, 7.89434052, 0.392127991, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1543 | Blade = New("Part",Zukain_Katana,"Blade",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16162097, 2.64189959, -106.464447, 1, 0, 0, 0, 0.890703201, 0.454586029, 0, -0.454586029, 0.890703201),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1544 | Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.657399535, 0.407106876, 0.506618261),}) | |
1545 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.890702903, -0.45458594, 0, 0.45458594, 0.890702903),C1 = CFrame.new(0.000869989395, 7.88218689, 0.449432373, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1546 | Blade = New("Part",Zukain_Katana,"Blade",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16139197, 2.54999399, -106.442116, 0.707107961, -7.37570787e-08, -0.707105756, 0.67002511, 0.319578916, 0.670027137, 0.225976035, -0.947559953, 0.225976869),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),}) | |
1547 | Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.467417091, 0.633276939, 0.467415661),}) | |
1548 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.707107961, 0.670024931, 0.225975975, -7.37570787e-08, 0.319578826, -0.947559655, -0.707105756, 0.670026958, 0.22597678),C1 = CFrame.new(0.00064098835, 7.93138123, 0.368652344, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1549 | Handle1 = New("Part",Zukain_Katana,"Handle1",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 1.76774538, 0.200000003),CFrame = CFrame.new(1.15981996, 7.83220243, -100.507225, 1, 0, 0, 0, -0.707107008, 0.707107008, 0, -0.707107008, -0.707107008),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,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1550 | Mesh = New("CylinderMesh",Handle1,"Mesh",{Scale = Vector3.new(0.771992147, 1, 0.793099046),}) | |
1551 | mot = New("Motor",Handle1,"mot",{Part0 = Handle1,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),C1 = CFrame.new(-0.000931024551, -0.000305175781, -0.0928649902, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1552 | ||
1553 | Quiver = New("Model",char,"Quiver",{}) | |
1554 | Gold_End = New("Part",Quiver,"Gold_End",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.389613628),CFrame = CFrame.new(1.16133106, 4.95799971, -101.514183, 1, 0, 0, 0, -0.707106948, 0.707106948, 0, -0.707106948, -0.707106948),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.937255, 0.721569, 0.219608),}) | |
1555 | Mesh = New("BlockMesh",Gold_End,"Mesh",{Scale = Vector3.new(0.811194837, 0.964993775, 1),}) | |
1556 | Leather = New("Part",Quiver,"Leather",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.276832253, 0.26718089),CFrame = CFrame.new(1.16162896, 0.52565527, -106.496445, 1, 0, 0, 0, -0.944312453, 0.329051137, 0, -0.329051137, -0.944312453),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1557 | Mesh = New("BlockMesh",Leather,"Mesh",{Scale = Vector3.new(0.778023303, 1, 1),}) | |
1558 | mot = New("Motor",Leather,"mot",{Part0 = Leather,Part1 = Gold_End,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.944312215, -0.329051077, 0, 0.329051077, -0.944312215),C1 = CFrame.new(0.000297904015, 6.65712738, 0.388847351, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1559 | Leather = New("Part",Quiver,"Leather",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 4.5155611, 0.38720116),CFrame = CFrame.new(1.16162896, 3.42700958, -103.043968, 1, 0, 0, 0, -0.707106888, 0.707106888, 0, -0.707106888, -0.707106888),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1560 | Mesh = New("BlockMesh",Leather,"Mesh",{Scale = Vector3.new(0.778023303, 1, 1),}) | |
1561 | mot = New("Motor",Leather,"mot",{Part0 = Leather,Part1 = Gold_End,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),C1 = CFrame.new(0.000297904015, 2.16429138, -0.000854492188, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1562 | Leather = New("Part",Quiver,"Leather",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.854018271, 0.38720116),CFrame = CFrame.new(1.16162896, 0.712272167, -106.11174, 1, 0, 0, 0, -0.435052335, 0.900405586, 0, -0.900405586, -0.435052335),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1563 | Mesh = New("BlockMesh",Leather,"Mesh",{Scale = Vector3.new(0.778023303, 1, 1),}) | |
1564 | mot = New("Motor",Leather,"mot",{Part0 = Leather,Part1 = Gold_End,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.435052156, -0.900405288, 0, 0.900405288, -0.435052156),C1 = CFrame.new(0.000297904015, 6.25314331, 0.248779297, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1565 | Leather = New("Part",Quiver,"Leather",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.755709648, 0.38720116),CFrame = CFrame.new(1.16162896, 1.58482671, -104.903145, 1, 0, 0, 0, -0.680810273, 0.73246032, 0, -0.73246032, -0.680810273),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1566 | Mesh = New("BlockMesh",Leather,"Mesh",{Scale = Vector3.new(0.778023303, 1, 1),}) | |
1567 | mot = New("Motor",Leather,"mot",{Part0 = Leather,Part1 = Gold_End,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.680810034, -0.732460082, 0, 0.732460082, -0.680810034),C1 = CFrame.new(0.000297904015, 4.78154755, 0.0111618042, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1568 | Leather = New("Part",Quiver,"Leather",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.755709648, 0.38720116),CFrame = CFrame.new(1.16162896, 1.11120677, -105.464134, 1, 0, 0, 0, -0.609987438, 0.792411506, 0, -0.792411506, -0.609987438),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1569 | Mesh = New("BlockMesh",Leather,"Mesh",{Scale = Vector3.new(0.778023303, 1, 1),}) | |
1570 | mot = New("Motor",Leather,"mot",{Part0 = Leather,Part1 = Gold_End,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.609987259, -0.792411268, 0, 0.792411268, -0.609987259),C1 = CFrame.new(0.000297904015, 5.51313019, 0.0729446411, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1571 | Gold_End2 = New("Part",Quiver,"Gold_End2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16133106, 4.84093237, -101.626137, 1, 0, 0, 0, 0.707107008, 0.707107008, 0, -0.707107008, 0.707107008),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.937255, 0.721569, 0.219608),}) | |
1572 | Mesh = New("BlockMesh",Gold_End2,"Mesh",{Scale = Vector3.new(0.811194837, 0.964993775, 0.65438205),}) | |
1573 | mot = New("Motor",Gold_End2,"mot",{Part0 = Gold_End2,Part1 = Gold_End,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.707106829, -0.707106829, 0, 0.707106829, 0.707106829),C1 = CFrame.new(0, 0.161941528, -0.00361633301, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1574 | Hole = New("Part",Quiver,"Hole",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16133106, 4.96929646, -101.522934, 1, 0, 0, 0, -0.707107008, 0.707107008, 0, -0.707107008, -0.707107008),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1575 | Mesh = New("BlockMesh",Hole,"Mesh",{Scale = Vector3.new(0.696602225, 0.964993775, 0.961971819),}) | |
1576 | mot = New("Motor",Hole,"mot",{Part0 = Hole,Part1 = Gold_End,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),C1 = CFrame.new(0, -0.00180053711, 0.014175415, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1577 | Hole = New("Part",Quiver,"Hole",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.16133106, 4.90104151, -101.456383, 0.707106948, 0, 0.707106709, -0.500000119, -0.707107008, 0.500000298, 0.500000119, -0.707107008, -0.500000298),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1578 | Mesh = New("BlockMesh",Hole,"Mesh",{Scale = Vector3.new(0.494557381, 0.964993775, 0.49455604),}) | |
1579 | mot = New("Motor",Hole,"mot",{Part0 = Hole,Part1 = Gold_End,C0 = CFrame.new(0, 0, 0, 0.707106948, -0.49999994, 0.49999994, 0, -0.707106829, -0.707106829, 0.707106709, 0.500000119, -0.500000119),C1 = CFrame.new(0, -0.000595092773, -0.0811462402, 1, 0, 0, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829),}) | |
1580 | ||
1581 | ||
1582 | local NewInstance = function(instance,parent,properties) | |
1583 | local inst = Instance.new(instance,parent) | |
1584 | if(properties)then | |
1585 | for i,v in next, properties do | |
1586 | pcall(function() inst[i] = v end) | |
1587 | end | |
1588 | end | |
1589 | return inst; | |
1590 | end | |
1591 | ||
1592 | local HW = NewInstance('Weld',char,{Part0 = la, Part1 = Handle, C0 = CF(0, -1, -.2) * angles(Rad(-25), Rad(0), Rad(-8))}) | |
1593 | local HW2 = NewInstance('Weld',char,{Part0 = tors, Part1 = Gold_End, C0 = CF(1, 0, -2) * angles(Rad(116), Rad(180), Rad(0))}) | |
1594 | ||
1595 | ------------------------------------------------------- | |
1596 | --End Weapon Creation-- | |
1597 | ------------------------------------------------------- | |
1598 | ||
1599 | ------------------------------------------------------- | |
1600 | --Start Customization-- | |
1601 | ------------------------------------------------------- | |
1602 | local Player_Size = 1 | |
1603 | if Player_Size ~= 1 then | |
1604 | root.Size = root.Size * Player_Size | |
1605 | tors.Size = tors.Size * Player_Size | |
1606 | hed.Size = hed.Size * Player_Size | |
1607 | ra.Size = ra.Size * Player_Size | |
1608 | la.Size = la.Size * Player_Size | |
1609 | rl.Size = rl.Size * Player_Size | |
1610 | ll.Size = ll.Size * Player_Size | |
1611 | ---------------------------------------------------------------------------------- | |
1612 | rootj.Parent = root | |
1613 | neck.Parent = tors | |
1614 | RW.Parent = tors | |
1615 | LW.Parent = tors | |
1616 | RH.Parent = tors | |
1617 | LH.Parent = tors | |
1618 | ---------------------------------------------------------------------------------- | |
1619 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1620 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1621 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
1622 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
1623 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
1624 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
1625 | ---------------------------------------------------------------------------------- | |
1626 | RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1627 | LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1628 | RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1629 | LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1630 | --hat.Parent = Character | |
1631 | end | |
1632 | ---------------------------------------------------------------------------------- | |
1633 | local SONG = 1241386960 | |
1634 | local SONG2 = 0 | |
1635 | local Music = Instance.new("Sound",tors) | |
1636 | Music.Volume = 2.5 | |
1637 | Music.Looped = true | |
1638 | Music.Pitch = 1 --Pitcher | |
1639 | ---------------------------------------------------------------------------------- | |
1640 | local equipped = false | |
1641 | local idle = 0 | |
1642 | local change = 1 | |
1643 | local val = 0 | |
1644 | local toim = 0 | |
1645 | local idleanim = 0.4 | |
1646 | local sine = 0 | |
1647 | local Sit = 1 | |
1648 | ---------------------------------------------------------------------------------- | |
1649 | hum.WalkSpeed = 8 | |
1650 | hum.JumpPower = 57 | |
1651 | hum.Animator.Parent = nil | |
1652 | ------------------------------------------------------- | |
1653 | --End Customization-- | |
1654 | ------------------------------------------------------- | |
1655 | ||
1656 | ||
1657 | ------------------------------------------------------- | |
1658 | --Start Attacks N Stuff-- | |
1659 | ------------------------------------------------------- | |
1660 | function Taunt() | |
1661 | attack = true | |
1662 | hum.WalkSpeed = 0 | |
1663 | Cso("1535994137", hed, 10, 1) | |
1664 | for i = 0, 6, 0.1 do | |
1665 | swait() | |
1666 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15) | |
1667 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-3 - 1.5 * Cos(sine / 7)), Rad(0), Rad(-25)), 0.3) | |
1668 | RH.C0 = clerp(RH.C0, CF(.8* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, .2* Player_Size) * angles(Rad(0), Rad(45), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
1669 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
1670 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-20), Rad(25)), 0.1) | |
1671 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(78 + 3.5 * Cos(sine / 20)), Rad(-25), Rad(-20)), 0.1) | |
1672 | HW.C0 = clerp(HW.C0, CF(0, -1 , -.2) * angles(Rad(-25 + 3.5 * Cos(sine / 20)), Rad(0), Rad(-8)), 0.1) | |
1673 | HW2.C0 = clerp(HW2.C0, CF(1, 0 + 0.1 * Cos(sine / 20), -2 + 0.1 * Cos(sine / 20)) * angles(Rad(116 + 3.5 * Cos(sine / 20)), Rad(180), Rad(0)), 0.1) | |
1674 | end | |
1675 | for i = 0, 6, 0.1 do | |
1676 | swait() | |
1677 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15) | |
1678 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-3 - 1.5 * Cos(sine / 7)), Rad(0), Rad(-25)), 0.3) | |
1679 | RH.C0 = clerp(RH.C0, CF(.8* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, .2* Player_Size) * angles(Rad(0), Rad(45), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
1680 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
1681 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-20), Rad(25)), 0.1) | |
1682 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(78 + 3.5 * Cos(sine / 20)), Rad(-25), Rad(-20)), 0.1) | |
1683 | HW.C0 = clerp(HW.C0, CF(0, -1 , -.2) * angles(Rad(-25 + 3.5 * Cos(sine / 20)), Rad(0), Rad(-8)), 0.1) | |
1684 | HW2.C0 = clerp(HW2.C0, CF(1, 0 + 0.1 * Cos(sine / 20), -2 + 0.1 * Cos(sine / 20)) * angles(Rad(116 + 3.5 * Cos(sine / 20)), Rad(180), Rad(0)), 0.1) | |
1685 | end | |
1686 | attack = false | |
1687 | hum.WalkSpeed = 8 | |
1688 | end | |
1689 | ------------------------------------------------------- | |
1690 | --End Attacks N Stuff-- | |
1691 | ------------------------------------------------------- | |
1692 | mouse.KeyDown:connect(function(key) | |
1693 | if string.byte(key) == 48 and attack == false then | |
1694 | Swing = 2 | |
1695 | hum.WalkSpeed = 38.82 | |
1696 | end | |
1697 | end) | |
1698 | mouse.KeyUp:connect(function(key) | |
1699 | if string.byte(key) == 48 and attack == false then | |
1700 | Swing = 1 | |
1701 | hum.WalkSpeed = 8 | |
1702 | end | |
1703 | end) | |
1704 | mouse.KeyDown:connect(function(key) | |
1705 | if attack == false then | |
1706 | if key == 't' then | |
1707 | Taunt() | |
1708 | end | |
1709 | end | |
1710 | end) | |
1711 | ||
1712 | ||
1713 | ||
1714 | ||
1715 | ||
1716 | ||
1717 | ||
1718 | ||
1719 | ------------------------------------------------------- | |
1720 | --Start Animations-- | |
1721 | ------------------------------------------------------- | |
1722 | print("By Makhail07") | |
1723 | while true do | |
1724 | swait() | |
1725 | sine = sine + change | |
1726 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1727 | local velderp = root.Velocity.y | |
1728 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
1729 | if equipped == true or equipped == false then | |
1730 | if attack == false then | |
1731 | idle = idle + 1 | |
1732 | else | |
1733 | idle = 0 | |
1734 | end | |
1735 | if 1 < root.Velocity.y and hitfloor == nil then | |
1736 | Anim = "Jump" | |
1737 | if attack == false then | |
1738 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15) | |
1739 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
1740 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1741 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1742 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1) | |
1743 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1) | |
1744 | end | |
1745 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
1746 | Anim = "Fall" | |
1747 | if attack == false then | |
1748 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15) | |
1749 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
1750 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15) | |
1751 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15) | |
1752 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1) | |
1753 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1) | |
1754 | end | |
1755 | elseif torvel < 1 and hitfloor ~= nil then | |
1756 | Anim = "Idle" | |
1757 | change = 1 | |
1758 | if attack == false then | |
1759 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-20)), 0.15) | |
1760 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-3 - 2.5 * Cos(sine / 20)), Rad(0), Rad(20)), 0.3) | |
1761 | RH.C0 = clerp(RH.C0, CF(.8* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, .2* Player_Size) * angles(Rad(0), Rad(45), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
1762 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
1763 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20 - 6.5 * Sin(sine / 22)), Rad(-20 - 6.5 * Sin(sine / 22)), Rad(13)), 0.1) | |
1764 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(78 + 3.5 * Cos(sine / 20)), Rad(-25), Rad(-20)), 0.1) | |
1765 | HW.C0 = clerp(HW.C0, CF(0, -1 , -.2) * angles(Rad(-25 + 3.5 * Cos(sine / 20)), Rad(0), Rad(-8)), 0.1) | |
1766 | HW2.C0 = clerp(HW2.C0, CF(1, 0 + 0.1 * Cos(sine / 20), -2 + 0.1 * Cos(sine / 20)) * angles(Rad(116 + 3.5 * Cos(sine / 20)), Rad(180), Rad(0)), 0.1) | |
1767 | end | |
1768 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
1769 | Anim = "Walk" | |
1770 | change = 1 | |
1771 | if attack == false then | |
1772 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.055 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15) | |
1773 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
1774 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
1775 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
1776 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1) | |
1777 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1) | |
1778 | HW.C0 = clerp(HW.C0, CF(0, -1 , -.2) * angles(Rad(90), Rad(0), Rad(0)), 0.1) | |
1779 | end | |
1780 | elseif torvel >= 25 and hitfloor ~= nil then | |
1781 | Anim = "Sprint" | |
1782 | change = 1.35 | |
1783 | if attack == false then | |
1784 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
1785 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
1786 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * 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) | |
1787 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * 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) | |
1788 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
1789 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-65) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15) | |
1790 | HW.C0 = clerp(HW.C0, CF(0, -1 , -.2) * angles(Rad(90), Rad(0), Rad(-90)), 0.1) | |
1791 | end | |
1792 | end | |
1793 | end | |
1794 | Music.SoundId = "rbxassetid://"..SONG | |
1795 | Music.Looped = true | |
1796 | Music.Pitch = 1 | |
1797 | Music.Volume = 1.5 | |
1798 | Music.Parent = tors | |
1799 | Music:Resume() | |
1800 | if 0 < #Effects then | |
1801 | for e = 1, #Effects do | |
1802 | if Effects[e] ~= nil then | |
1803 | local Thing = Effects[e] | |
1804 | if Thing ~= nil then | |
1805 | local Part = Thing[1] | |
1806 | local Mode = Thing[2] | |
1807 | local Delay = Thing[3] | |
1808 | local IncX = Thing[4] | |
1809 | local IncY = Thing[5] | |
1810 | local IncZ = Thing[6] | |
1811 | if 1 >= Thing[1].Transparency then | |
1812 | if Thing[2] == "Block1" then | |
1813 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1814 | local Mesh = Thing[1].Mesh | |
1815 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1816 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1817 | elseif Thing[2] == "Block2" then | |
1818 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
1819 | local Mesh = Thing[7] | |
1820 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1821 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1822 | elseif Thing[2] == "Block3" then | |
1823 | 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) | |
1824 | local Mesh = Thing[7] | |
1825 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1826 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1827 | elseif Thing[2] == "Cylinder" then | |
1828 | local Mesh = Thing[1].Mesh | |
1829 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1830 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1831 | elseif Thing[2] == "Blood" then | |
1832 | local Mesh = Thing[7] | |
1833 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
1834 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1835 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1836 | elseif Thing[2] == "Elec" then | |
1837 | local Mesh = Thing[1].Mesh | |
1838 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1839 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1840 | elseif Thing[2] == "Disappear" then | |
1841 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1842 | elseif Thing[2] == "Shatter" then | |
1843 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1844 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1845 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1846 | Thing[6] = Thing[6] + Thing[5] | |
1847 | end | |
1848 | else | |
1849 | Part.Parent = nil | |
1850 | table.remove(Effects, e) | |
1851 | end | |
1852 | end | |
1853 | end | |
1854 | end | |
1855 | end | |
1856 | end | |
1857 | ------------------------------------------------------- | |
1858 | --End Animations And Script-- | |
1859 | ------------------------------------------------------- |