SHOW:
|
|
- or go back to the newest paste.
1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
3 | local Player,game,owner = owner,game | |
4 | local RealPlayer = Player | |
5 | do | |
6 | print("FE Compatibility code V2 by Mokiros") | |
7 | local RealPlayer = RealPlayer | |
8 | script.Parent = RealPlayer.Character | |
9 | ||
10 | --Fake event to make stuff like Mouse.KeyDown work | |
11 | local Disconnect_Function = function(this) | |
12 | this[1].Functions[this[2]] = nil | |
13 | end | |
14 | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}} | |
15 | local FakeEvent_Metatable = {__index={ | |
16 | Connect = function(this,f) | |
17 | local i = tostring(math.random(0,10000)) | |
18 | while this.Functions[i] do | |
19 | i = tostring(math.random(0,10000)) | |
20 | end | |
21 | this.Functions[i] = f | |
22 | return setmetatable({this,i},Disconnect_Metatable) | |
23 | end | |
24 | }} | |
25 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
26 | local function fakeEvent() | |
27 | return setmetatable({Functions={}},FakeEvent_Metatable) | |
28 | end | |
29 | ||
30 | --Creating fake input objects with fake variables | |
31 | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()} | |
32 | FakeMouse.keyUp = FakeMouse.KeyUp | |
33 | FakeMouse.keyDown = FakeMouse.KeyDown | |
34 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
35 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
36 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
37 | end} | |
38 | --Merged 2 functions into one by checking amount of arguments | |
39 | CAS.UnbindAction = CAS.BindAction | |
40 | ||
41 | --This function will trigger the events that have been :Connect()'ed | |
42 | local function TriggerEvent(self,ev,...) | |
43 | for _,f in pairs(self[ev].Functions) do | |
44 | f(...) | |
45 | end | |
46 | end | |
47 | FakeMouse.TriggerEvent = TriggerEvent | |
48 | UIS.TriggerEvent = TriggerEvent | |
49 | ||
50 | --Client communication | |
51 | local Event = Instance.new("RemoteEvent") | |
52 | Event.Name = "UserInput_Event" | |
53 | Event.OnServerEvent:Connect(function(plr,io) | |
54 | if plr~=RealPlayer then return end | |
55 | FakeMouse.Target = io.Target | |
56 | FakeMouse.Hit = io.Hit | |
57 | if not io.isMouse then | |
58 | local b = io.UserInputState == Enum.UserInputState.Begin | |
59 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
60 | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") | |
61 | end | |
62 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
63 | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") | |
64 | end | |
65 | for _,t in pairs(CAS.Actions) do | |
66 | for _,k in pairs(t.Keys) do | |
67 | if k==io.KeyCode then | |
68 | t.Function(t.Name,io.UserInputState,io) | |
69 | end | |
70 | end | |
71 | end | |
72 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
73 | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) | |
74 | end | |
75 | end) | |
76 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event") | |
77 | local Mouse = owner:GetMouse() | |
78 | local UIS = game:GetService("UserInputService") | |
79 | local input = function(io,RobloxHandled) | |
80 | if RobloxHandled then return end | |
81 | --Since InputObject is a client-side instance, we create and pass table instead | |
82 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
83 | end | |
84 | UIS.InputBegan:Connect(input) | |
85 | UIS.InputEnded:Connect(input) | |
86 | ||
87 | local h,t | |
88 | --Give the server mouse data every second frame, but only if the values changed | |
89 | --If player is not moving their mouse, client won't fire events | |
90 | local HB = game:GetService("RunService").Heartbeat | |
91 | while true do | |
92 | if h~=Mouse.Hit or t~=Mouse.Target then | |
93 | h,t=Mouse.Hit,Mouse.Target | |
94 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
95 | end | |
96 | --Wait 2 frames | |
97 | for i=1,2 do | |
98 | HB:Wait() | |
99 | end | |
100 | end]==],script) | |
101 | ||
102 | ----Sandboxed game object that allows the usage of client-side methods and services | |
103 | --Real game object | |
104 | local RealGame = game | |
105 | ||
106 | --Metatable for fake service | |
107 | local FakeService_Metatable = { | |
108 | __index = function(self,k) | |
109 | local s = rawget(self,"_RealService") | |
110 | if s then | |
111 | return typeof(s[k])=="function" | |
112 | and function(_,...)return s[k](s,...)end or s[k] | |
113 | end | |
114 | end, | |
115 | __newindex = function(self,k,v) | |
116 | local s = rawget(self,"_RealService") | |
117 | if s then s[k]=v end | |
118 | end | |
119 | } | |
120 | local function FakeService(t,RealService) | |
121 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
122 | return setmetatable(t,FakeService_Metatable) | |
123 | end | |
124 | ||
125 | --Fake game object | |
126 | local FakeGame = { | |
127 | GetService = function(self,s) | |
128 | return rawget(self,s) or RealGame:GetService(s) | |
129 | end, | |
130 | Players = FakeService({ | |
131 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player) | |
132 | },"Players"), | |
133 | UserInputService = FakeService(UIS,"UserInputService"), | |
134 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
135 | RunService = FakeService({ | |
136 | _btrs = {}, | |
137 | RenderStepped = RealGame:GetService("RunService").Heartbeat, | |
138 | BindToRenderStep = function(self,name,_,fun) | |
139 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
140 | end, | |
141 | UnbindFromRenderStep = function(self,name) | |
142 | self._btrs[name]:Disconnect() | |
143 | end, | |
144 | },"RunService") | |
145 | } | |
146 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
147 | FakeGame.service = FakeGame.GetService | |
148 | FakeService(FakeGame,game) | |
149 | --Changing owner to fake player object to support owner:GetMouse() | |
150 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
151 | end | |
152 | ||
153 | --[[ | |
154 | Stand: The King/Jade Emperor | |
155 | User: FujiWara Chujo | |
156 | ]] | |
157 | local Cn=CFrame.new | |
158 | local CA=CFrame.Angles | |
159 | local mr=math.rad | |
160 | local rn=math.random | |
161 | local mc=math.cos | |
162 | local Vn=Vector3.new | |
163 | local NR=NumberRange.new | |
164 | local NSeq=NumberSequence.new | |
165 | local plrs=game:service"Players" | |
166 | local wrk=game:service"Workspace" | |
167 | local deb=game:service"Debris" | |
168 | local IS=game:GetService("InsertService") | |
169 | local p=plrs.LocalPlayer | |
170 | local cam=wrk.CurrentCamera | |
171 | local char=p.Character | |
172 | local mouse=p:GetMouse() | |
173 | local lam=char["Left Arm"] | |
174 | local ram=char["Right Arm"] | |
175 | local llg=char["Left Leg"] | |
176 | local rlg=char["Right Leg"] | |
177 | local hed=char.Head | |
178 | local tor=char.Torso | |
179 | local larm = lam | |
180 | local rarm = ram | |
181 | local lleg = llg | |
182 | local rleg = rlg | |
183 | local torso = tor | |
184 | local hrp=char.HumanoidRootPart | |
185 | local PlayerSpeed = char.Humanoid.WalkSpeed | |
186 | local on=false | |
187 | local noRig=false | |
188 | local curws=16 | |
189 | local sine=0 | |
190 | local ift={} | |
191 | local ifxd=false | |
192 | local run=false | |
193 | local stance="Cane" | |
194 | local Speed = 16 | |
195 | local Health = 9000 | |
196 | ||
197 | PlayerSpeed = 16 | |
198 | --[[ | |
199 | ypcall(function() | |
200 | char.Shirt:Destroy() | |
201 | char.Pants:Destroy() | |
202 | shirt = Instance.new("Shirt", char) | |
203 | shirt.Name = "Shirt" | |
204 | pants = Instance.new("Pants", char) | |
205 | pants.Name = "Pants" | |
206 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=260998937" | |
207 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=260361888" | |
208 | end) | |
209 | ]] | |
210 | Debounces = { | |
211 | CanAttack = true; | |
212 | NoIdl = false; | |
213 | Slashing = false; | |
214 | Slashed = false; | |
215 | RPunch = false; | |
216 | RPunched = false; | |
217 | LPunch = false; | |
218 | LPunched = false; | |
219 | } | |
220 | ||
221 | local trappedTorsos = {} | |
222 | ||
223 | ---Functions | |
224 | ||
225 | function FndHm(flnm) | |
226 | for i,v in pairs(flnm:GetChildren()) do | |
227 | if v:IsA("Humanoid") then | |
228 | return v | |
229 | end | |
230 | end | |
231 | end | |
232 | local hum=FndHm(char) | |
233 | --hum.Name="" | |
234 | ||
235 | ||
236 | function chrDes(inst) | |
237 | local ret=nil | |
238 | for _,v in pairs(game.Players:GetChildren()) do | |
239 | if inst:IsDescendantOf(v) then | |
240 | ret=v | |
241 | break | |
242 | end | |
243 | end | |
244 | return ret | |
245 | end | |
246 | ||
247 | -- | |
248 | function get(a) | |
249 | local cont={} | |
250 | for i,v in pairs(a:GetChildren()) do | |
251 | if v==char then | |
252 | else | |
253 | table.insert(cont,v) | |
254 | pcall(function() | |
255 | for _,b in pairs(get(v)) do | |
256 | table.insert(cont,b) | |
257 | end | |
258 | end) | |
259 | end | |
260 | end | |
261 | return cont | |
262 | end | |
263 | for _,v in pairs(get(game.Workspace)) do | |
264 | if v:IsA("Sparkles") or v:IsA("Fire") then | |
265 | v:Destroy() | |
266 | end | |
267 | end | |
268 | ||
269 | -- | |
270 | function inT(qur,tbl) | |
271 | local a=false | |
272 | for i,v in pairs(tbl) do | |
273 | if v==qur then | |
274 | a=true | |
275 | break | |
276 | else | |
277 | a=false | |
278 | end | |
279 | end | |
280 | return a | |
281 | end | |
282 | ||
283 | -- | |
284 | function Tween(a,b,c) | |
285 | return a+(b-a)*c | |
286 | end | |
287 | ||
288 | -- | |
289 | function Avg(a,b) | |
290 | return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2) | |
291 | end | |
292 | ||
293 | -- | |
294 | function Lerp(c1,c2,tim) | |
295 | local com1={c1.C0.X,c1.C0.Y,c1.C0.Z,c1.C0:toEulerAnglesXYZ()} | |
296 | local com2={c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
297 | for i,v in pairs(com1) do | |
298 | com1[i]=v+(com2[i]-v)*tim | |
299 | end | |
300 | return Cn(com1[1],com1[2],com1[3])*CA(select(4,unpack(com1))) | |
301 | end | |
302 | ||
303 | function RLerp(c1,c2,tim) | |
304 | return c1:lerp(c2,tim) | |
305 | end | |
306 | ||
307 | -- | |
308 | function ALerp(c1,c2,tim) | |
309 | local com1={c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
310 | local com2={c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
311 | for i,v in pairs(com1) do | |
312 | com1[i]=v+(com2[i]-v)*tim | |
313 | end | |
314 | return Cn(com1[1],com1[2],com1[3])*CA(select(4,unpack(com1))) | |
315 | end | |
316 | ||
317 | -- | |
318 | function Lerprs(ud,ud2,al) | |
319 | local a,b,c,d=ud.X.Scale,ud.X.Offset,ud.Y.Scale,ud.Y.Offset | |
320 | local a2,b2,c2,d2=ud2.X.Scale,ud2.X.Offset,ud2.Y.Scale,ud2.Y.Offset | |
321 | local x,y,z,w=(a+(a2-a)*al),(b+(b2-b)*al),(c+(c2-c)*al),(d+(d2-d)*al) | |
322 | return UDim2.new(x,y,z,w) | |
323 | end | |
324 | ||
325 | -- | |
326 | function newAnim(wld) | |
327 | local asd={["Weld"]=wld;["Int"]=0;["Frame"]=1;} | |
328 | asd.getFrames=function() | |
329 | local num=0 | |
330 | for _,v in pairs(asd) do | |
331 | pcall(function() | |
332 | num=num+v.Length | |
333 | end) | |
334 | end | |
335 | return num | |
336 | end | |
337 | return asd | |
338 | end | |
339 | ||
340 | -- | |
341 | function newKF(tab,c0,lng,off) | |
342 | off=off or 1 | |
343 | table.insert(tab,{["C0"]=c0,["Length"]=lng,["Offset"]=off}) | |
344 | end | |
345 | ||
346 | -- | |
347 | function runKF(tab) | |
348 | tab.Int=tab.Int+1 | |
349 | if tab.Int>=tab[tab.Frame].Length then | |
350 | tab.Frame=tab.Frame+1 | |
351 | tab.Int=0 | |
352 | if tab.Frame>#tab then | |
353 | tab.Frame=1 | |
354 | end | |
355 | end | |
356 | tab.Weld.C0=RLerp(tab.Weld.C0,tab[tab.Frame].C0,(tab[tab.Frame].Offset/tab[tab.Frame].Length)*tab.Int) | |
357 | end | |
358 | ||
359 | -- | |
360 | function nwPrt(prnt,siz,cf,col) | |
361 | local prt=Instance.new("Part") | |
362 | prt.Parent=prnt | |
363 | prt.FormFactor=3 | |
364 | prt.Name="Part" | |
365 | prt.Size=siz | |
366 | prt.CanCollide=false | |
367 | prt.Anchored=true | |
368 | prt.Locked=true | |
369 | prt.TopSurface=10 | |
370 | prt.BottomSurface=10 | |
371 | prt.FrontSurface=10 | |
372 | prt.BackSurface=10 | |
373 | prt.LeftSurface=10 | |
374 | prt.RightSurface=10 | |
375 | prt:BreakJoints() | |
376 | prt.CFrame=cf or CFrame.new(30,10,30) | |
377 | prt.Material="SmoothPlastic" | |
378 | prt.BrickColor=BrickColor.new(col) | |
379 | m=Instance.new("SpecialMesh",prt) | |
380 | m.MeshType=6 | |
381 | return prt | |
382 | end | |
383 | ||
384 | -- | |
385 | function nwWdg(prnt,siz,cf,col) | |
386 | local prt=Instance.new("WedgePart") | |
387 | prt.Parent=prnt | |
388 | prt.FormFactor=3 | |
389 | prt.Name="Part" | |
390 | prt.Size=siz | |
391 | prt.CanCollide=false | |
392 | prt.Anchored=false | |
393 | prt.Locked=true | |
394 | prt.TopSurface=0 | |
395 | prt.BottomSurface=0 | |
396 | prt:BreakJoints() | |
397 | prt.CFrame=cf or CFrame.new(30,10,30) | |
398 | prt.Material="SmoothPlastic" | |
399 | prt.BrickColor=BrickColor.new(col) | |
400 | return prt | |
401 | end | |
402 | ||
403 | -- | |
404 | function newGui(prnt,clsnm,siz,pos,bsp,bc,bt) | |
405 | local gui=Instance.new(clsnm,prnt) | |
406 | gui.Size=siz or UDim2.new(0,100,0,100) | |
407 | gui.Position=pos or UDim2.new(0,0,0,0) | |
408 | gui.BorderSizePixel=bsp or 0 | |
409 | gui.BackgroundColor3=bc or Color3.new(0,0,0) | |
410 | gui.BackgroundTransparency=bt or 1 | |
411 | return gui | |
412 | end | |
413 | ||
414 | -- | |
415 | function nwWld(wp0,wp1,wc0) | |
416 | wld = Instance.new("Weld",wp1) | |
417 | wld.Part0=wp0 | |
418 | wld.Part1=wp1 | |
419 | wld.C0=wc0 or Cn(0,0,0) | |
420 | return wld | |
421 | end | |
422 | ||
423 | function newWeld(wp0,wp1,wc0x,wc0y,wc0z) | |
424 | local wld = Instance.new("Weld",wp1) | |
425 | wld.Part0 = wp0 | |
426 | wld.Part1 = wp1 | |
427 | wld.C0 = CFrame.new(wc0x,wc0y,wc0z) | |
428 | end | |
429 | ||
430 | -- | |
431 | function nwSnd(prnt,pch,vol,id) | |
432 | local s=Instance.new("Sound",prnt) | |
433 | s.Pitch=pch | |
434 | s.Volume=vol | |
435 | s.SoundId="rbxassetid://"..id | |
436 | s.PlayOnRemove=true | |
437 | return s | |
438 | end | |
439 | ||
440 | -- | |
441 | function newRay(start,face,range,wat) | |
442 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
443 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
444 | return rey,hit,pos | |
445 | end | |
446 | ||
447 | function nooutline(part) | |
448 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
449 | end | |
450 | ||
451 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
452 | local fp=it("Part") | |
453 | fp.formFactor=formfactor | |
454 | fp.Parent=parent | |
455 | fp.Reflectance=reflectance | |
456 | fp.Transparency=transparency | |
457 | fp.CanCollide=false | |
458 | fp.Locked=true | |
459 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
460 | fp.Name=name | |
461 | fp.Size=size | |
462 | fp.Position=Character.Torso.Position | |
463 | nooutline(fp) | |
464 | fp.Material=material | |
465 | fp:BreakJoints() | |
466 | return fp | |
467 | end | |
468 | ||
469 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
470 | local mesh=it(Mesh) | |
471 | mesh.Parent=part | |
472 | if Mesh=="SpecialMesh" then | |
473 | mesh.MeshType=meshtype | |
474 | mesh.MeshId=meshid | |
475 | end | |
476 | mesh.Offset=offset | |
477 | mesh.Scale=scale | |
478 | return mesh | |
479 | end | |
480 | ||
481 | function weld(parent,part0,part1,c0,c1) | |
482 | local weld=it("Weld") | |
483 | weld.Parent=parent | |
484 | weld.Part0=part0 | |
485 | weld.Part1=part1 | |
486 | weld.C0=c0 | |
487 | weld.C1=c1 | |
488 | return weld | |
489 | end | |
490 | TfwTimeStopped = false | |
491 | function Damagefunc(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
492 | if hit.Parent==nil then | |
493 | return | |
494 | end | |
495 | h=hit.Parent:FindFirstChild("Humanoid") | |
496 | for _,v in pairs(hit.Parent:children()) do | |
497 | if v:IsA("Humanoid") then | |
498 | h=v | |
499 | end | |
500 | end | |
501 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
502 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
503 | end | |
504 | if hit.Parent.className=="Hat" then | |
505 | hit=hit.Parent.Parent:findFirstChild("Head") | |
506 | end | |
507 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
508 | if hit.Parent:findFirstChild("DebounceHit")~=nil then | |
509 | if hit.Parent.DebounceHit.Value==true then | |
510 | return | |
511 | end | |
512 | end | |
513 | --[[if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
514 | return | |
515 | end]] | |
516 | --hs(hit,1.2) | |
517 | c=Instance.new("ObjectValue") | |
518 | c.Name="creator" | |
519 | c.Value=game:service("Players").LocalPlayer | |
520 | c.Parent=h | |
521 | game:GetService("Debris"):AddItem(c,.5) | |
522 | Damage=math.random(minim,maxim) | |
523 | --h:TakeDamage(Damage) | |
524 | blocked=false | |
525 | block=hit.Parent:findFirstChild("Block") | |
526 | if block~=nil then | |
527 | print(block.className) | |
528 | if block.className=="NumberValue" then | |
529 | if block.Value>0 then | |
530 | blocked=true | |
531 | if decreaseblock==nil then | |
532 | block.Value=block.Value-1 | |
533 | end | |
534 | end | |
535 | end | |
536 | if block.className=="IntValue" then | |
537 | if block.Value>0 then | |
538 | blocked=true | |
539 | if decreaseblock~=nil then | |
540 | block.Value=block.Value-1 | |
541 | end | |
542 | end | |
543 | end | |
544 | end | |
545 | if blocked==false then | |
546 | --h:TakeDamage(Damage) | |
547 | if TfwTimeStopped == false then | |
548 | h.Health=h.Health-Damage | |
549 | ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "MUDA", 1.5, Part.BrickColor.Color) | |
550 | elseif TfwTimeStopped == true then | |
551 | repeat wait() until TfwTimeStopped == false | |
552 | h.Health=h.Health-0.1 | |
553 | ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "MUDA", 1.5, Part.BrickColor.Color) | |
554 | end | |
555 | else | |
556 | h.Health=h.Health-(Damage/2) | |
557 | ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color) | |
558 | end | |
559 | if Type=="Knockdown" then | |
560 | hum=hit.Parent.Humanoid | |
561 | hum.PlatformStand=true | |
562 | coroutine.resume(coroutine.create(function(HHumanoid) | |
563 | swait(1) | |
564 | HHumanoid.PlatformStand=false | |
565 | end),hum) | |
566 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
567 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
568 | local bodvol=Instance.new("BodyVelocity") | |
569 | bodvol.velocity=angle*knockback | |
570 | bodvol.P=500 | |
571 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
572 | bodvol.Parent=hit | |
573 | rl = Instance.new("BodyAngularVelocity") | |
574 | rl.P = 3000 | |
575 | rl.maxTorque = Vector3.new(500000, 500000, 500000) | |
576 | rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
577 | rl.Parent = hit | |
578 | game:GetService("Debris"):AddItem(bodvol,.5) | |
579 | game:GetService("Debris"):AddItem(rl,.5) | |
580 | elseif Type=="Attract" then | |
581 | hum=hit.Parent.Humanoid | |
582 | hum.PlatformStand=true | |
583 | coroutine.resume(coroutine.create(function(HHumanoid) | |
584 | swait(1) | |
585 | HHumanoid.PlatformStand=false | |
586 | end),hum) | |
587 | local angle=(hit.Position-(Property.Position-Vector3.new(0,0,0))).unit | |
588 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
589 | local bodvol=Instance.new("BodyVelocity") | |
590 | bodvol.velocity=-angle*-knockback | |
591 | bodvol.P=500 | |
592 | bodvol.maxForce=Vector3.new(-8e+003, -8e+003, -8e+003) | |
593 | bodvol.Parent=hit | |
594 | rl = Instance.new("BodyAngularVelocity") | |
595 | rl.P = 3000 | |
596 | rl.maxTorque = Vector3.new(500000, 500000, 500000) | |
597 | rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
598 | rl.Parent = hit | |
599 | game:GetService("Debris"):AddItem(bodvol,.5) | |
600 | game:GetService("Debris"):AddItem(rl,.5) | |
601 | elseif Type=="MUDA" then | |
602 | hum=hit.Parent.Humanoid | |
603 | hum.PlatformStand=true | |
604 | coroutine.resume(coroutine.create(function(HHumanoid) | |
605 | swait(1) | |
606 | HHumanoid.PlatformStand=false | |
607 | end),hum) | |
608 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
609 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
610 | local bodvol=Instance.new("BodyVelocity") | |
611 | bodvol.velocity=angle*knockback | |
612 | bodvol.P=500 | |
613 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
614 | bodvol.Parent=hit | |
615 | rl = Instance.new("BodyAngularVelocity") | |
616 | rl.P = 3000 | |
617 | rl.maxTorque = Vector3.new(500000, 500000, 500000) | |
618 | rl.angularvelocity = Vector3.new(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3)) | |
619 | rl.Parent = hit | |
620 | game:GetService("Debris"):AddItem(bodvol,.5) | |
621 | game:GetService("Debris"):AddItem(rl,.5) | |
622 | elseif Type == "Killer Queen" then | |
623 | hum=hit.Parent.Humanoid | |
624 | hum.PlatformStand=true | |
625 | coroutine.resume(coroutine.create(function(HHumanoid) | |
626 | swait(1) | |
627 | HHumanoid.PlatformStand=false | |
628 | end),hum) | |
629 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
630 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
631 | local bodvol=Instance.new("BodyVelocity") | |
632 | bodvol.velocity=angle*knockback | |
633 | bodvol.P=500 | |
634 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
635 | bodvol.Parent=hit | |
636 | rl = Instance.new("BodyAngularVelocity") | |
637 | rl.P = 3000 | |
638 | rl.maxTorque = Vector3.new(500000, 500000, 500000) | |
639 | rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
640 | rl.Parent = hit | |
641 | game:GetService("Debris"):AddItem(bodvol,.5) | |
642 | game:GetService("Debris"):AddItem(rl,.5) | |
643 | wait(3) | |
644 | KillerQueen = Instance.new("Explosion",hit) | |
645 | KillerQueen.Position = hit.Position | |
646 | elseif Type=="Normal" then | |
647 | vp=Instance.new("BodyVelocity") | |
648 | vp.P=500 | |
649 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
650 | --vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
651 | if KnockbackType==1 then | |
652 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
653 | elseif KnockbackType==2 then | |
654 | vp.velocity=Property.CFrame.lookVector*knockback | |
655 | end | |
656 | if knockback>0 then | |
657 | vp.Parent=hit.Parent.Torso | |
658 | end | |
659 | game:GetService("Debris"):AddItem(vp,.5) | |
660 | elseif Type=="Up" then | |
661 | local bodyVelocity=Instance.new("BodyVelocity") | |
662 | bodyVelocity.velocity=vt(0,60,0) | |
663 | bodyVelocity.P=5000 | |
664 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
665 | bodyVelocity.Parent=hit | |
666 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
667 | rl=Instance.new("BodyAngularVelocity") | |
668 | rl.P=3000 | |
669 | rl.maxTorque=Vector3.new(500000,500000,500000) | |
670 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
671 | rl.Parent=hit | |
672 | game:GetService("Debris"):AddItem(rl,.5) | |
673 | elseif Type=="Snare" then | |
674 | bp=Instance.new("BodyPosition") | |
675 | bp.P=2000 | |
676 | bp.D=100 | |
677 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
678 | bp.position=hit.Parent.Torso.Position | |
679 | bp.Parent=hit.Parent.Torso | |
680 | game:GetService("Debris"):AddItem(bp,1) | |
681 | elseif Type=="Target" then | |
682 | local Targetting = false | |
683 | if Targetting==false then | |
684 | ZTarget=hit.Parent.Torso | |
685 | coroutine.resume(coroutine.create(function(Part) | |
686 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
687 | swait(5) | |
688 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
689 | end),ZTarget) | |
690 | local TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
691 | local targetgui=Instance.new("BillboardGui") | |
692 | targetgui.Parent=ZTarget | |
693 | targetgui.Size=UDim2.new(10,100,10,100) | |
694 | local targ=Instance.new("ImageLabel") | |
695 | targ.Parent=targetgui | |
696 | targ.BackgroundTransparency=1 | |
697 | targ.Image="rbxassetid://4834067" | |
698 | targ.Size=UDim2.new(1,0,1,0) | |
699 | cam.CameraType="Scriptable" | |
700 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
701 | local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
702 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
703 | Targetting=true | |
704 | RocketTarget=ZTarget | |
705 | for i=1,Property do | |
706 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
707 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
708 | swait() | |
709 | end | |
710 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
711 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
712 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
713 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
714 | end | |
715 | Targetting=false | |
716 | RocketTarget=nil | |
717 | targetgui.Parent=nil | |
718 | cam.CameraType="Custom" | |
719 | end | |
720 | end | |
721 | local debounce=Instance.new("BoolValue") | |
722 | debounce.Name="DebounceHit" | |
723 | debounce.Parent=hit.Parent | |
724 | debounce.Value=true | |
725 | game:GetService("Debris"):AddItem(debounce,Delay) | |
726 | c=Instance.new("ObjectValue") | |
727 | c.Name="creator" | |
728 | c.Value=Player | |
729 | c.Parent=h | |
730 | game:GetService("Debris"):AddItem(c,.5) | |
731 | end | |
732 | end | |
733 | ||
734 | function ShowDamage(Pos, Text, Time, Color) | |
735 | local Rate = (1 / 30) | |
736 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
737 | local Text = (Text or "") | |
738 | local Time = (Time or 2) | |
739 | local Color = (Color or Color3.new(1, 0, 0)) | |
740 | local EffectPart = part("Custom",workspace,"Neon",0,1,BrickColor.new(Color),"Effect",vt(0,0,0)) | |
741 | EffectPart.Anchored = true | |
742 | local BillboardGui = Instance.new("BillboardGui") | |
743 | BillboardGui.Size = UDim2.new(3, 3, 3, 3) | |
744 | BillboardGui.Adornee = EffectPart | |
745 | local TextLabel = Instance.new("TextLabel") | |
746 | TextLabel.BackgroundTransparency = 1 | |
747 | TextLabel.Size = UDim2.new(3, 3, 3, 3) | |
748 | TextLabel.Text = Text | |
749 | TextLabel.TextColor3 = Color | |
750 | TextLabel.TextStrokeColor3 = BrickColor.new("Really black").Color | |
751 | TextLabel.TextScaled = true | |
752 | TextLabel.TextStrokeTransparency = 0 | |
753 | TextLabel.Font = Enum.Font.SourceSansBold | |
754 | TextLabel.Parent = BillboardGui | |
755 | BillboardGui.Parent = EffectPart | |
756 | game.Debris:AddItem(EffectPart, (Time + 0.1)) | |
757 | EffectPart.Parent = game:GetService("Workspace") | |
758 | Delay(0, function() | |
759 | local Frames = (Time / Rate) | |
760 | for Frame = 1, Frames do | |
761 | wait(Rate) | |
762 | local Percent = (Frame / Frames) | |
763 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
764 | TextLabel.TextTransparency = Percent | |
765 | TextLabel.TextStrokeTransparency = Percent | |
766 | end | |
767 | if EffectPart and EffectPart.Parent then | |
768 | EffectPart:Destroy() | |
769 | end | |
770 | end) | |
771 | end | |
772 | ||
773 | Player = p | |
774 | workspace[Player.Name].Archivable=true | |
775 | pchar = workspace[Player.Name]:Clone() --Create("Model",{Parent=workspace}) | |
776 | pchar.Parent=workspace[Player.Name] | |
777 | torso=pchar.Torso | |
778 | humane=pchar.Humanoid | |
779 | pchar.Name= "The King" | |
780 | pl=pchar | |
781 | humane.MaxHealth=Health | |
782 | wait() | |
783 | humane.Health=Health | |
784 | humane.WalkSpeed=Speed | |
785 | ||
786 | pchar.Head.face:remove() | |
787 | ||
788 | --m:ClearAllChildren() | |
789 | ---Weld | |
790 | ||
791 | local law=nwWld(tor,lam,Cn(-1.5,0.5,0)) | |
792 | law.C1=CFrame.new(0,0.5,0) | |
793 | local raw=nwWld(tor,ram,Cn(1.5,0.5,0)) | |
794 | raw.C1=CFrame.new(0,0.5,0) | |
795 | local hew=nwWld(tor,hed,Cn(0,1.5,0)) | |
796 | local llw=nwWld(tor,llg,Cn(-0.5,-1,0)) | |
797 | llw.C1=CFrame.new(0,1,0) | |
798 | local rlw=nwWld(tor,rlg,Cn(0.5,-1,0)) | |
799 | rlw.C1=CFrame.new(0,1,0) | |
800 | local tow=nwWld(hrp,tor,Cn(0,-1,0)) | |
801 | tow.C1=CFrame.new(0,-1,0) | |
802 | ||
803 | local hrp2 = pchar.HumanoidRootPart | |
804 | local tor2 = torso | |
805 | local hed2 = pchar.Head | |
806 | local lam2=pchar["Left Arm"] | |
807 | local ram2=pchar["Right Arm"] | |
808 | local llg2=pchar["Left Leg"] | |
809 | local rlg2=pchar["Right Leg"] | |
810 | ||
811 | local law2=nwWld(tor2,lam2,Cn(-1.5,0.5,0)) | |
812 | law2.C1=CFrame.new(0,0.5,0) | |
813 | local raw2=nwWld(tor2,ram2,Cn(1.5,0.5,0)) | |
814 | raw2.C1=CFrame.new(0,0.5,0) | |
815 | local hew2=nwWld(torso,hed2,Cn(0,1.5,0)) | |
816 | local llw2=nwWld(torso,llg2,Cn(-0.5,-1,0)) | |
817 | llw2.C1=CFrame.new(0,1,0) | |
818 | local rlw2=nwWld(tor2,rlg2,Cn(0.5,-1,0)) | |
819 | rlw2.C1=CFrame.new(0,1,0) | |
820 | local tow2=nwWld(hrp2,tor2,Cn(0,-1,0)) | |
821 | tow2.C1=CFrame.new(0,-1,0) | |
822 | ||
823 | ||
824 | local laD=CFrame.new(-1.5,0.5,0) | |
825 | local raD=CFrame.new(1.5,0.5,0) | |
826 | local hD=CFrame.new(0,1.5,0) | |
827 | local tD=CFrame.new(0,-1,0) | |
828 | local llD=CFrame.new(-0.5,-1,0) | |
829 | local rlD=CFrame.new(0.5,-1,0) | |
830 | ||
831 | ---Build | |
832 | ||
833 | ---Animations | |
834 | ||
835 | --Idle | |
836 | local heid=newAnim(hew) | |
837 | newKF(heid,hD*CA(mr(-5.5),0,0),50,0.3) | |
838 | newKF(heid,hD*CA(mr(-4),0,0),40,0.3) | |
839 | local toid=newAnim(tow) | |
840 | newKF(toid,tD*Cn(0,2.0125,0)*CA(mr(6),0,0),50,0.3) | |
841 | newKF(toid,tD*Cn(0,3.0125,0)*CA(mr(5),0,0),40,0.3) | |
842 | local laid=newAnim(law) | |
843 | newKF(laid,laD*Cn(0,0.0125,0)*CA(mr(-20),0,mr(0)),10,0.2) | |
844 | newKF(laid,laD*Cn(0,-0.0125,0)*CA(mr(-20),0,mr(0)),10,0.2) | |
845 | newKF(laid,laD*Cn(0,0.0125,0)*CA(mr(-20),0,mr(0)),10,0.2) | |
846 | newKF(laid,laD*Cn(0,-0.0125,0)*CA(mr(-20),0,mr(0)),10,0.2) | |
847 | local raid=newAnim(raw) | |
848 | newKF(raid,raD*Cn(0,-0.0125,0)*CA(mr(20),0,mr(0)),50,0.3) | |
849 | newKF(raid,raD*Cn(0,0.0125,0)*CA(mr(0),0,mr(0)),40,0.3) | |
850 | local llid=newAnim(llw) | |
851 | newKF(llid,llD*Cn(0,0.0125,0)*CA(mr(-16),0,0),50,0.3) | |
852 | newKF(llid,llD*Cn(0,-0.0125,0)*CA(mr(-15),0,mr(0)),40,0.3) | |
853 | local rlid=newAnim(rlw) | |
854 | newKF(rlid,rlD*Cn(0,0.0125,0)*CA(mr(-6),0,0),50,0.3) | |
855 | newKF(rlid,rlD*Cn(0,-0.0125,0)*CA(mr(-5),0,mr(0)),40,0.3) | |
856 | ||
857 | local heid2=newAnim(hew2) | |
858 | newKF(heid2,hD*CA(mr(16),0,0),40,0.3) | |
859 | newKF(heid2,hD*CA(mr(14),0,0),40,0.3) | |
860 | local toid2=newAnim(tow2) | |
861 | newKF(toid2,tD*Cn(0,0.5,3)*CA(mr(0),0,0),50,1) | |
862 | newKF(toid2,tD*Cn(0,1,3)*CA(mr(0),0,0),40,1) | |
863 | local laid2=newAnim(law2) | |
864 | newKF(laid2,laD*Cn(0.5,0.0125,-1)*CA(mr(20),mr(50),mr(20)),50,0.3) | |
865 | newKF(laid2,laD*Cn(0.5,-0.0125,-1)*CA(mr(20),mr(50),mr(20)),40,0.3) | |
866 | local raid2=newAnim(raw2) | |
867 | newKF(raid2,raD*Cn(-0.5,-0.0125,-1)*CA(mr(20),mr(-50),mr(-20)),50,0.3) | |
868 | newKF(raid2,raD*Cn(-0.5,0.0125,-1)*CA(mr(20),mr(-50),mr(-20)),40,0.3) | |
869 | local llid2=newAnim(llw2) | |
870 | newKF(llid2,llD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3) | |
871 | newKF(llid2,llD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3) | |
872 | local rlid2=newAnim(rlw2) | |
873 | newKF(rlid2,rlD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3) | |
874 | newKF(rlid2,rlD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3) | |
875 | ||
876 | --Walk | |
877 | local hewk=newAnim(hew) | |
878 | newKF(hewk,hD*CA(mr(5),mr(0),0),10,0.2) | |
879 | newKF(hewk,hD*CA(mr(5),0,0),10,0.2) | |
880 | newKF(hewk,hD*CA(mr(5),mr(0),0),10,0.2) | |
881 | newKF(hewk,hD*CA(mr(5),0,0),10,0.2) | |
882 | local towk=newAnim(tow) | |
883 | newKF(towk,tD*Cn(0,2.0125,0)*CA(mr(-5),mr(0),0),50,0.4) | |
884 | newKF(towk,tD*Cn(0,3.0125,0)*CA(mr(-5),mr(0),0),40,0.4) | |
885 | local lawk=newAnim(law) | |
886 | newKF(lawk,laD*CA(mr(-40),0,0),20,0.4) | |
887 | local rawk=newAnim(raw) | |
888 | newKF(rawk,raD*CA(mr(-40),0,0),20,0.4) | |
889 | local llwk=newAnim(llw) | |
890 | newKF(llwk,llD*Cn(0,0.0125,0)*CA(mr(-16),0,0),50,0.3) | |
891 | newKF(llwk,llD*Cn(0,-0.0125,0)*CA(mr(-15),0,mr(0)),40,0.3) | |
892 | local rlwk=newAnim(rlw) | |
893 | newKF(rlwk,rlD*Cn(0,0.0125,0)*CA(mr(-6),0,0),50,0.3) | |
894 | newKF(rlwk,rlD*Cn(0,-0.0125,0)*CA(mr(-5),0,mr(0)),40,0.3) | |
895 | ||
896 | ||
897 | --Sprint | |
898 | local hesp=newAnim(hew) | |
899 | newKF(hesp,hD*CA(mr(5),mr(0),0),10,0.2) | |
900 | newKF(hesp,hD*CA(mr(5),0,0),10,0.2) | |
901 | newKF(hesp,hD*CA(mr(5),mr(0),0),10,0.2) | |
902 | newKF(hesp,hD*CA(mr(5),0,0),10,0.2) | |
903 | local tosp=newAnim(tow) | |
904 | newKF(tosp,tD*Cn(0,2.0125,0)*CA(mr(-5),mr(10),0),10,0.4) | |
905 | newKF(tosp,tD*Cn(0,3.0125,0)*CA(mr(-5),mr(-10),0),10,0.4) | |
906 | local lasp=newAnim(law) | |
907 | newKF(lasp,laD*Cn(0,-0.1,-0.2)*CA(mr(60),0,0),20,0.4) | |
908 | newKF(lasp,laD*CA(mr(-40),0,0),20,0.4) | |
909 | local rasp=newAnim(raw) | |
910 | newKF(rasp,raD*CA(mr(-40),0,0),20,0.4) | |
911 | newKF(rasp,raD*Cn(0,-0.1,-0.2)*CA(mr(60),0,0),20,0.4) | |
912 | local llsp=newAnim(llw) | |
913 | newKF(llsp,llD*Cn(0,0.0125,0)*CA(mr(-16),0,0),50,0.3) | |
914 | newKF(llsp,llD*Cn(0,-0.0125,0)*CA(mr(-15),0,mr(0)),40,0.3) | |
915 | local rlsp=newAnim(rlw) | |
916 | newKF(rlsp,rlD*Cn(0,0.0125,0)*CA(mr(-6),0,0),50,0.3) | |
917 | newKF(rlsp,rlD*Cn(0,-0.0125,0)*CA(mr(-5),0,mr(0)),40,0.3) | |
918 | ||
919 | --Jump | |
920 | local hejp=newAnim(hew) | |
921 | newKF(hejp,hD*CA(mr(60),0,0),8,0.6) | |
922 | newKF(hejp,hD*CA(mr(60),0,0),8,0.6) | |
923 | local tojp=newAnim(tow) | |
924 | newKF(tojp,tD*CA(mr(0),0,0),8,0.6) | |
925 | newKF(tojp,tD*CA(mr(0),0,0),8,0.6) | |
926 | local lajp=newAnim(law) | |
927 | newKF(lajp,laD*CA(mr(0),0,mr(-5)),16,0.4) | |
928 | newKF(lajp,laD*CA(mr(0),0,mr(-5)),16,0.4) | |
929 | local rajp=newAnim(raw) | |
930 | newKF(rajp,raD*CA(mr(0),0,mr(5)),16,0.4) | |
931 | newKF(rajp,raD*CA(mr(0),0,mr(5)),16,0.4) | |
932 | local lljp=newAnim(llw) | |
933 | newKF(lljp,llD*CA(0,0,mr(-5)),16,0.4) | |
934 | newKF(lljp,llD*CA(0,0,mr(-5)),16,0.4) | |
935 | local rljp=newAnim(rlw) | |
936 | newKF(rljp,rlD*CA(0,0,mr(5)),16,0.4) | |
937 | newKF(rljp,rlD*CA(0,0,mr(5)),16,0.4) | |
938 | ||
939 | --Freefall | |
940 | local heff=newAnim(hew) | |
941 | newKF(heff,hD*CA(mr(-5),0,0),8,0.6) | |
942 | newKF(heff,hD*CA(mr(-5),0,0),8,0.6) | |
943 | local toff=newAnim(tow) | |
944 | newKF(toff,tD*CA(mr(0),0,0),8,0.6) | |
945 | newKF(toff,tD*CA(mr(0),0,0),8,0.6) | |
946 | local laff=newAnim(law) | |
947 | newKF(laff,laD*CA(mr(140),0,0),16,0.4) | |
948 | newKF(laff,laD*CA(mr(140),0,0),16,0.4) | |
949 | local raff=newAnim(raw) | |
950 | newKF(raff,raD*CA(mr(140),0,0),16,0.4) | |
951 | newKF(raff,raD*CA(mr(140),0,0),16,0.4) | |
952 | local llff=newAnim(llw) | |
953 | newKF(llff,llD*CA(0,0,mr(-5)),16,0.4) | |
954 | newKF(llff,llD*CA(0,0,mr(-5)),16,0.4) | |
955 | local rlff=newAnim(rlw) | |
956 | newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4) | |
957 | newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4) | |
958 | ||
959 | --Time Has Stopped | |
960 | local hesp2=newAnim(hew) | |
961 | newKF(hesp2,hD*CA(mr(-30),mr(0),mr(0)),10,0.5) | |
962 | local tosp2=newAnim(tow) | |
963 | newKF(tosp2,tD*Cn(0,0,0)*CA(mr(30),mr(0),mr(0)),10,0.5) | |
964 | local lasp2=newAnim(law) | |
965 | newKF(lasp2,laD*CA(mr(90),mr(0),mr(-60)),20,1.5) | |
966 | local rasp2=newAnim(raw) | |
967 | newKF(rasp2,raD*CA(mr(90),mr(0),mr(60)),20,1.5) | |
968 | local llsp2=newAnim(llw) | |
969 | newKF(llsp2,llD*Cn(0,0,0)*CA(mr(-30),mr(0),mr(0)),20,0.5) | |
970 | local rlsp2=newAnim(rlw) | |
971 | newKF(rlsp2,rlD*Cn(0,0,0)*CA(mr(-30),0,mr(0)),10,0.5) | |
972 | ||
973 | local hesp3=newAnim(hew2) | |
974 | newKF(hesp3,hD*CA(mr(-15),mr(0),mr(0)),50,0.2) | |
975 | local tosp3=newAnim(tow2) | |
976 | newKF(tosp3,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),50,0.4) | |
977 | local lasp3=newAnim(law2) | |
978 | newKF(lasp3,laD*CA(mr(80),mr(0),mr(65)),30,0.4) | |
979 | newKF(lasp3,laD*CA(mr(120),mr(0),mr(-60)),50,0.4) | |
980 | local rasp3=newAnim(raw2) | |
981 | newKF(rasp3,raD*CA(mr(80),mr(0),mr(-65)),30,0.4) | |
982 | newKF(rasp3,raD*CA(mr(120),mr(0),mr(60)),50,0.4) | |
983 | local llsp3=newAnim(llw2) | |
984 | newKF(llsp3,llD*CA(mr(0),mr(0),mr(1.5)),50,0.4) | |
985 | local rlsp3=newAnim(rlw2) | |
986 | newKF(rlsp3,rlD*CA(mr(0),mr(0),mr(-1.5)),50,0.4) | |
987 | ||
988 | local hesp4=newAnim(hew2) | |
989 | newKF(hesp4,hD*CA(mr(-10),mr(0),mr(0)),10,0.2) | |
990 | local tosp4=newAnim(tow2) | |
991 | newKF(tosp4,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),10,0.4) | |
992 | local lasp4=newAnim(law2) | |
993 | newKF(lasp4,laD*CA(mr(120),mr(0),mr(-60)),20,0.4) | |
994 | local rasp4=newAnim(raw2) | |
995 | newKF(rasp4,raD*CA(mr(120),mr(0),mr(60)),20,0.4) | |
996 | local llsp4=newAnim(llw2) | |
997 | newKF(llsp4,llD*CA(mr(0),mr(0),mr(1.5)),20,0.4) | |
998 | local rlsp4=newAnim(rlw2) | |
999 | newKF(rlsp4,rlD*CA(mr(0),mr(0),mr(-1.5)),10,0.4) | |
1000 | ||
1001 | --Let time flow again | |
1002 | local hetoki=newAnim(hew) | |
1003 | newKF(hetoki,hD*CA(mr(0),mr(0),mr(0)),10,0.2) | |
1004 | local totoki=newAnim(tow) | |
1005 | newKF(totoki,tD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4) | |
1006 | local latoki=newAnim(law) | |
1007 | newKF(latoki,laD*Cn(0,-0.1,-0.2)*CA(mr(0),mr(0),mr(0)),20,0.4) | |
1008 | local ratoki=newAnim(raw) | |
1009 | newKF(ratoki,raD*CA(mr(0),mr(0),mr(0)),20,0.4) | |
1010 | local lltoki=newAnim(llw) | |
1011 | newKF(lltoki,llD*CA(mr(0),mr(0),mr(0)),20,0.4) | |
1012 | local rltoki=newAnim(rlw) | |
1013 | newKF(rltoki,rlD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4) | |
1014 | --//Example of Keyframe | |
1015 | --[[ | |
1016 | local hesp2=newAnim(hew) | |
1017 | newKF(hesp2,hD*CA(mr(0),mr(0),mr(0)),10,0.2) | |
1018 | local tosp2=newAnim(tow) | |
1019 | newKF(tosp2,tD*CA(mr(0),mr(0),mr(0)),10,0.4) | |
1020 | local lasp2=newAnim(law) | |
1021 | newKF(lasp2,laD*CA(mr(0),mr(0),mr(0)),20,0.4) | |
1022 | local rasp2=newAnim(raw) | |
1023 | newKF(rasp2,raD*CA(mr(0),mr(0),mr(0)),20,0.4) | |
1024 | local llsp2=newAnim(llw) | |
1025 | newKF(llsp2,llD*CA(mr(0),mr(0),mr(0)),20,0.4) | |
1026 | local rlsp2=newAnim(rlw) | |
1027 | newKF(rlsp2,rlD*CA(mr(0),mr(0),mr(0)),10,0.4) | |
1028 | ]] | |
1029 | function onDamage(Part) | |
1030 | if Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("BodyVelocity") ~= nil or Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("RocketPropulsion") ~= nil then | |
1031 | Part.Anchored = true | |
1032 | if Part:findFirstChild("Mesh") ~= nil then | |
1033 | z = Part:findFirstChild("Mesh") | |
1034 | for i = 1,5 do | |
1035 | z.Scale = z.Scale + Vector3.new(1,1,1) | |
1036 | wait(0.05) | |
1037 | end | |
1038 | end | |
1039 | end | |
1040 | end | |
1041 | ||
1042 | function trappedTorsos:isTrapped(t) | |
1043 | for nildata, index in next,self do | |
1044 | if index==t then | |
1045 | return true | |
1046 | end | |
1047 | end | |
1048 | return false | |
1049 | end | |
1050 | ||
1051 | function trappedTorsos:Capture(hit) | |
1052 | if hit:isA'BasePart' then | |
1053 | if not trappedTorsos:isTrapped(hit) and not hit:IsDescendantOf(char) then | |
1054 | table.insert(trappedTorsos, hit) | |
1055 | hit.Anchored = true --trapped! | |
1056 | --print'trapped!' | |
1057 | end | |
1058 | end | |
1059 | end | |
1060 | ||
1061 | function trappedTorsos:ReleasePart(hit) | |
1062 | if hit:isA'BasePart' then | |
1063 | if trappedTorsos:isTrapped(hit) and not hit:IsDescendantOf(char) then | |
1064 | table.remove(trappedTorsos, hit) | |
1065 | hit.Anchored = false --trapped! | |
1066 | --print'trapped!' | |
1067 | end | |
1068 | end | |
1069 | end | |
1070 | ||
1071 | function trappedTorsos:Trip(hit) | |
1072 | if hit:isA'BasePart' then | |
1073 | if not hit:IsDescendantOf(char) then | |
1074 | hit.Parent.Humanoid.PlatformStand = true | |
1075 | end | |
1076 | end | |
1077 | end | |
1078 | ||
1079 | function trappedTorsos:Repel(hit) | |
1080 | if hit:isA'BasePart' then | |
1081 | if not hit:IsDescendantOf(char) then | |
1082 | Damagefunc(torso,hit,5,15,math.random(100,100),"Knockdown",RootPart,.2,1) | |
1083 | end | |
1084 | end | |
1085 | end | |
1086 | ||
1087 | function trappedTorsos:Attract(hit) | |
1088 | if hit:isA'BasePart' then | |
1089 | if not hit:IsDescendantOf(char) then | |
1090 | Damagefunc(torso,hit,5,15,math.random(100,100),"Attact",RootPart,.2,1) | |
1091 | end | |
1092 | end | |
1093 | end | |
1094 | ||
1095 | function trappedTorsos:Target(hit) | |
1096 | if hit:isA'BasePart' then | |
1097 | if not hit:IsDescendantOf(char) then | |
1098 | Target = hit | |
1099 | end | |
1100 | end | |
1101 | end | |
1102 | ||
1103 | function trappedTorsos:Release() | |
1104 | for i,v in next, self do | |
1105 | if type(v)=='userdata' then | |
1106 | if v:isA('BasePart') then | |
1107 | v.Anchored = false | |
1108 | self[i] = nil | |
1109 | end | |
1110 | end | |
1111 | end | |
1112 | end | |
1113 | ||
1114 | --Za Warudo | |
1115 | Attacking = false | |
1116 | WasOn = true | |
1117 | function TheWorld(Mode) | |
1118 | if Mode == "Time Stop" then | |
1119 | if WasOn == true and StandOn == false then | |
1120 | StandOn = true | |
1121 | WasOn = false | |
1122 | end | |
1123 | wait() | |
1124 | local TimeStop = Instance.new("Sound",tor) | |
1125 | TimeStop.SoundId = "rbxassetid://520743795" | |
1126 | TimeStop.Looped = false | |
1127 | TimeStop.Volume = 1 | |
1128 | local AreaOfEffect = Instance.new("Part",char) | |
1129 | AreaOfEffect.Position = tor.Position | |
1130 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
1131 | AreaOfEffect.Anchored = true | |
1132 | AreaOfEffect.CanCollide = false | |
1133 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white") | |
1134 | AreaOfEffect.Transparency = 0.9 | |
1135 | AreaOfEffect.Shape = "Ball" | |
1136 | AreaOfEffect.Material = "Neon" | |
1137 | TimeStop:Play() | |
1138 | for i = 1,10 do | |
1139 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
1140 | AreaOfEffect.CFrame = char.Torso.CFrame | |
1141 | wait() | |
1142 | end | |
1143 | coroutine.wrap(function() | |
1144 | do local me={} | |
1145 | ||
1146 | me.plrs = game:service'Workspace':children'' | |
1147 | ||
1148 | function me:getNear(mag) | |
1149 | local rtn = {} | |
1150 | ||
1151 | for k,v in next,me.plrs do | |
1152 | local chxr = v | |
1153 | ||
1154 | if chxr then | |
1155 | if chxr:findFirstChild'Torso' then | |
1156 | local pos = (chxr.Torso.Position-tor.Position).magnitude | |
1157 | ||
1158 | if pos<=mag then | |
1159 | for a,b in pairs(chxr:children()) do | |
1160 | if b:IsA("BasePart") then | |
1161 | table.insert(rtn, b) | |
1162 | end | |
1163 | end | |
1164 | end | |
1165 | end | |
1166 | end | |
1167 | end | |
1168 | return rtn | |
1169 | end | |
1170 | ||
1171 | for no, torso in ipairs(me:getNear(25)) do | |
1172 | --print(torso:GetFullName()) | |
1173 | --print(torso:GetFullName()) | |
1174 | trappedTorsos:Capture(torso) | |
1175 | end | |
1176 | ||
1177 | ||
1178 | end | |
1179 | end)() | |
1180 | AreaOfEffect:Destroy() | |
1181 | workspace.Gravity = 70 | |
1182 | for i,v in pairs(char:children()) do | |
1183 | if v:IsA("Part") then | |
1184 | v.Anchored = false | |
1185 | end | |
1186 | if v:IsA("Hat") then | |
1187 | v.Handle.Anchored = false | |
1188 | end | |
1189 | end | |
1190 | for i,v in pairs(pchar:children()) do | |
1191 | if v:IsA("Part") then | |
1192 | v.Anchored = false | |
1193 | end | |
1194 | if v:IsA("Hat") then | |
1195 | v.Handle.Anchored = false | |
1196 | end | |
1197 | end | |
1198 | if WasOn == false then | |
1199 | StandOn = false | |
1200 | WasOn = true | |
1201 | end | |
1202 | hum.WalkSpeed = 16 | |
1203 | end | |
1204 | if Mode == "Light Gravity" then | |
1205 | LightGrav = true | |
1206 | if WasOn == true and StandOn == false then | |
1207 | StandOn = true | |
1208 | WasOn = false | |
1209 | end | |
1210 | wait() | |
1211 | local TimeStop = Instance.new("Sound",char) | |
1212 | TimeStop.SoundId = "rbxassetid://520743795" | |
1213 | TimeStop.Looped = false | |
1214 | TimeStop.Volume = 1 | |
1215 | local AreaOfEffect = Instance.new("Part",char) | |
1216 | AreaOfEffect.Position = tor.Position | |
1217 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
1218 | AreaOfEffect.Anchored = true | |
1219 | AreaOfEffect.CanCollide = false | |
1220 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white") | |
1221 | AreaOfEffect.Transparency = 0.9 | |
1222 | AreaOfEffect.Shape = "Ball" | |
1223 | AreaOfEffect.Material = "Neon" | |
1224 | TimeStop:Play() | |
1225 | for i = 1,10 do | |
1226 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
1227 | AreaOfEffect.CFrame = char.Torso.CFrame | |
1228 | wait() | |
1229 | end | |
1230 | AreaOfEffect:Destroy() | |
1231 | workspace.Gravity = -196.2 | |
1232 | for i,v in pairs(char:children()) do | |
1233 | if v:IsA("Part") then | |
1234 | v.Anchored = false | |
1235 | end | |
1236 | if v:IsA("Hat") then | |
1237 | v.Handle.Anchored = false | |
1238 | end | |
1239 | end | |
1240 | for i,v in pairs(pchar:children()) do | |
1241 | if v:IsA("Part") then | |
1242 | v.Anchored = false | |
1243 | end | |
1244 | if v:IsA("Hat") then | |
1245 | v.Handle.Anchored = false | |
1246 | end | |
1247 | end | |
1248 | if WasOn == false then | |
1249 | StandOn = false | |
1250 | WasOn = true | |
1251 | end | |
1252 | HeavyGrav = false | |
1253 | NormalGrav = false | |
1254 | hum.WalkSpeed = 16 | |
1255 | end | |
1256 | if Mode == "Normal Gravity" then | |
1257 | NormalGrav = true | |
1258 | LightGrav = false | |
1259 | HeavyGrav = false | |
1260 | if WasOn == true and StandOn == false then | |
1261 | StandOn = true | |
1262 | WasOn = false | |
1263 | end | |
1264 | wait() | |
1265 | local TimeStop = Instance.new("Sound",char) | |
1266 | TimeStop.SoundId = "rbxassetid://520743795" | |
1267 | TimeStop.Looped = false | |
1268 | TimeStop.Volume = 1 | |
1269 | local AreaOfEffect = Instance.new("Part",char) | |
1270 | AreaOfEffect.Position = tor.Position | |
1271 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
1272 | AreaOfEffect.Anchored = true | |
1273 | AreaOfEffect.CanCollide = false | |
1274 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white") | |
1275 | AreaOfEffect.Transparency = 0.9 | |
1276 | AreaOfEffect.Shape = "Ball" | |
1277 | AreaOfEffect.Material = "Neon" | |
1278 | TimeStop:Play() | |
1279 | for i = 1,10 do | |
1280 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
1281 | AreaOfEffect.CFrame = char.Torso.CFrame | |
1282 | wait() | |
1283 | end | |
1284 | AreaOfEffect:Destroy() | |
1285 | workspace.Gravity = 196.2 | |
1286 | for i,v in pairs(char:children()) do | |
1287 | if v:IsA("Part") then | |
1288 | v.Anchored = false | |
1289 | end | |
1290 | if v:IsA("Hat") then | |
1291 | v.Handle.Anchored = false | |
1292 | end | |
1293 | end | |
1294 | for i,v in pairs(pchar:children()) do | |
1295 | if v:IsA("Part") then | |
1296 | v.Anchored = false | |
1297 | end | |
1298 | if v:IsA("Hat") then | |
1299 | v.Handle.Anchored = false | |
1300 | end | |
1301 | end | |
1302 | if WasOn == false then | |
1303 | StandOn = false | |
1304 | WasOn = true | |
1305 | end | |
1306 | hum.WalkSpeed = 16 | |
1307 | end | |
1308 | if Mode == "Heavy Gravity" then | |
1309 | HeavyGrav = true | |
1310 | if WasOn == true and StandOn == false then | |
1311 | StandOn = true | |
1312 | WasOn = false | |
1313 | end | |
1314 | wait() | |
1315 | local TimeStop = Instance.new("Sound",char) | |
1316 | TimeStop.SoundId = "rbxassetid://520743795" | |
1317 | TimeStop.Looped = false | |
1318 | TimeStop.Volume = 1 | |
1319 | local AreaOfEffect = Instance.new("Part",char) | |
1320 | AreaOfEffect.Position = tor.Position | |
1321 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
1322 | AreaOfEffect.Anchored = true | |
1323 | AreaOfEffect.CanCollide = false | |
1324 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white") | |
1325 | AreaOfEffect.Transparency = 0.9 | |
1326 | AreaOfEffect.Shape = "Ball" | |
1327 | AreaOfEffect.Material = "Neon" | |
1328 | TimeStop:Play() | |
1329 | for i = 1,10 do | |
1330 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
1331 | AreaOfEffect.CFrame = char.Torso.CFrame | |
1332 | wait() | |
1333 | end | |
1334 | coroutine.wrap(function() | |
1335 | do local me={} | |
1336 | ||
1337 | me.plrs = game:service'Workspace':children'' | |
1338 | ||
1339 | function me:getNear(mag) | |
1340 | local rtn = {} | |
1341 | ||
1342 | for k,v in next,me.plrs do | |
1343 | local chxr = v | |
1344 | ||
1345 | if chxr then | |
1346 | if chxr:findFirstChild'Torso' then | |
1347 | local pos = (chxr.Torso.Position-tor.Position).magnitude | |
1348 | ||
1349 | if pos<=mag then | |
1350 | for a,b in pairs(chxr:children()) do | |
1351 | if b:IsA("BasePart") then | |
1352 | table.insert(rtn, b) | |
1353 | end | |
1354 | end | |
1355 | end | |
1356 | end | |
1357 | end | |
1358 | end | |
1359 | return rtn | |
1360 | end | |
1361 | ||
1362 | for no, torso in ipairs(me:getNear(5555)) do | |
1363 | --print(torso:GetFullName()) | |
1364 | --print(torso:GetFullName()) | |
1365 | trappedTorsos:Trip(torso) | |
1366 | end | |
1367 | ||
1368 | ||
1369 | end | |
1370 | end)() | |
1371 | AreaOfEffect:Destroy() | |
1372 | workspace.Gravity = math.huge | |
1373 | for i,v in pairs(char:children()) do | |
1374 | if v:IsA("Part") then | |
1375 | v.Anchored = false | |
1376 | end | |
1377 | if v:IsA("Hat") then | |
1378 | v.Handle.Anchored = false | |
1379 | end | |
1380 | end | |
1381 | for i,v in pairs(pchar:children()) do | |
1382 | if v:IsA("Part") then | |
1383 | v.Anchored = false | |
1384 | end | |
1385 | if v:IsA("Hat") then | |
1386 | v.Handle.Anchored = false | |
1387 | end | |
1388 | end | |
1389 | if WasOn == false then | |
1390 | StandOn = false | |
1391 | WasOn = true | |
1392 | end | |
1393 | NormalGrav = false | |
1394 | LightGrav = false | |
1395 | hum.WalkSpeed = 16 | |
1396 | end | |
1397 | if Mode == "World Time Stop" then | |
1398 | if WasOn == true and StandOn == false then | |
1399 | StandOn = true | |
1400 | WasOn = false | |
1401 | end | |
1402 | wait() | |
1403 | local TimeStop = Instance.new("Sound",char) | |
1404 | TimeStop.SoundId = "rbxassetid://520743795" | |
1405 | TimeStop.Looped = false | |
1406 | TimeStop.Volume = 1 | |
1407 | local AreaOfEffect = Instance.new("Part",char) | |
1408 | AreaOfEffect.Position = tor.Position | |
1409 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
1410 | AreaOfEffect.Anchored = true | |
1411 | AreaOfEffect.CanCollide = false | |
1412 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white") | |
1413 | AreaOfEffect.Transparency = 0.9 | |
1414 | AreaOfEffect.Shape = "Ball" | |
1415 | AreaOfEffect.Material = "Neon" | |
1416 | TimeStop:Play() | |
1417 | for i = 1,10 do | |
1418 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
1419 | AreaOfEffect.CFrame = char.Torso.CFrame | |
1420 | wait() | |
1421 | end | |
1422 | coroutine.wrap(function() | |
1423 | do local me={} | |
1424 | ||
1425 | me.plrs = game:service'Workspace':children'' | |
1426 | ||
1427 | function me:getNear(mag) | |
1428 | local rtn = {} | |
1429 | ||
1430 | for k,v in next,me.plrs do | |
1431 | local chxr = v | |
1432 | ||
1433 | if chxr then | |
1434 | if chxr:findFirstChild'Torso' then | |
1435 | local pos = (chxr.Torso.Position-tor.Position).magnitude | |
1436 | ||
1437 | if pos<=mag then | |
1438 | for a,b in pairs(chxr:children()) do | |
1439 | if b:IsA("BasePart") then | |
1440 | table.insert(rtn, b) | |
1441 | end | |
1442 | end | |
1443 | end | |
1444 | end | |
1445 | end | |
1446 | end | |
1447 | return rtn | |
1448 | end | |
1449 | ||
1450 | for no, torso in ipairs(me:getNear(5555)) do | |
1451 | --print(torso:GetFullName()) | |
1452 | --print(torso:GetFullName()) | |
1453 | trappedTorsos:Capture(torso) | |
1454 | end | |
1455 | ||
1456 | ||
1457 | end | |
1458 | end)() | |
1459 | AreaOfEffect:Destroy() | |
1460 | workspace.Gravity = 70 | |
1461 | for i,v in pairs(char:children()) do | |
1462 | if v:IsA("Part") then | |
1463 | v.Anchored = false | |
1464 | end | |
1465 | if v:IsA("Hat") then | |
1466 | v.Handle.Anchored = false | |
1467 | end | |
1468 | end | |
1469 | for i,v in pairs(pchar:children()) do | |
1470 | if v:IsA("Part") then | |
1471 | v.Anchored = false | |
1472 | end | |
1473 | if v:IsA("Hat") then | |
1474 | v.Handle.Anchored = false | |
1475 | end | |
1476 | end | |
1477 | if WasOn == false then | |
1478 | StandOn = false | |
1479 | WasOn = true | |
1480 | end | |
1481 | hum.WalkSpeed = 16 | |
1482 | end | |
1483 | if Mode == "Time Start" then | |
1484 | local TimeStop = Instance.new("Sound",tor) | |
1485 | TimeStop.SoundId = "rbxassetid://520743795" | |
1486 | TimeStop.Looped = false | |
1487 | TimeStop.Volume = 1 | |
1488 | TimeStop:Play() | |
1489 | local AreaOfEffect2 = Instance.new("Part",tor) | |
1490 | AreaOfEffect2.Position = tor.Position | |
1491 | AreaOfEffect2.Size = Vector3.new(0.01,0.01,0.01) | |
1492 | AreaOfEffect2.Anchored = true | |
1493 | AreaOfEffect2.CanCollide = false | |
1494 | AreaOfEffect2.Transparency = 1 | |
1495 | AreaOfEffect2.BrickColor = BrickColor.new("Institutional white") | |
1496 | AreaOfEffect2.Transparency = 0.99 | |
1497 | AreaOfEffect2.Shape = "Ball" | |
1498 | AreaOfEffect2.Material = "Neon" | |
1499 | AreaOfEffect2.Touched:connect(function(hit) | |
1500 | if hit ~= "Base" then | |
1501 | --hit.Anchored = false | |
1502 | end | |
1503 | end) | |
1504 | for i = 1,10 do | |
1505 | AreaOfEffect2.Size = AreaOfEffect2.Size + Vector3.new(4.1,4.1,4.1) | |
1506 | AreaOfEffect2.CFrame = char.Torso.CFrame | |
1507 | wait() | |
1508 | end | |
1509 | trappedTorsos:Release() | |
1510 | AreaOfEffect2:Destroy() | |
1511 | TfwTimeStopped = false | |
1512 | workspace.Gravity = 196.2 | |
1513 | end | |
1514 | if Mode == "Repel" then | |
1515 | if WasOn == true and StandOn == false then | |
1516 | StandOn = true | |
1517 | WasOn = false | |
1518 | end | |
1519 | wait() | |
1520 | local TimeStop = Instance.new("Sound",char) | |
1521 | TimeStop.SoundId = "rbxassetid://520743795" | |
1522 | TimeStop.Looped = false | |
1523 | TimeStop.Volume = 1 | |
1524 | local AreaOfEffect = Instance.new("Part",char) | |
1525 | AreaOfEffect.Position = tor.Position | |
1526 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
1527 | AreaOfEffect.Anchored = true | |
1528 | AreaOfEffect.CanCollide = false | |
1529 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white") | |
1530 | AreaOfEffect.Transparency = 0.9 | |
1531 | AreaOfEffect.Shape = "Ball" | |
1532 | AreaOfEffect.Material = "Neon" | |
1533 | TimeStop:Play() | |
1534 | for i = 1,10 do | |
1535 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
1536 | AreaOfEffect.CFrame = char.Torso.CFrame | |
1537 | wait() | |
1538 | end | |
1539 | coroutine.wrap(function() | |
1540 | do local me={} | |
1541 | ||
1542 | me.plrs = game:service'Workspace':children'' | |
1543 | ||
1544 | function me:getNear(mag) | |
1545 | local rtn = {} | |
1546 | ||
1547 | for k,v in next,me.plrs do | |
1548 | local chxr = v | |
1549 | ||
1550 | if chxr then | |
1551 | if chxr:findFirstChild'Torso' then | |
1552 | local pos = (chxr.Torso.Position-tor.Position).magnitude | |
1553 | ||
1554 | if pos<=mag then | |
1555 | for a,b in pairs(chxr:children()) do | |
1556 | if b:IsA("BasePart") then | |
1557 | table.insert(rtn, b) | |
1558 | end | |
1559 | end | |
1560 | end | |
1561 | end | |
1562 | end | |
1563 | end | |
1564 | return rtn | |
1565 | end | |
1566 | ||
1567 | for no, torso in ipairs(me:getNear(5555)) do | |
1568 | --print(torso:GetFullName()) | |
1569 | --print(torso:GetFullName()) | |
1570 | trappedTorsos:Repel(torso) | |
1571 | end | |
1572 | ||
1573 | ||
1574 | end | |
1575 | end)() | |
1576 | AreaOfEffect:Destroy() | |
1577 | for i,v in pairs(char:children()) do | |
1578 | if v:IsA("Part") then | |
1579 | v.Anchored = false | |
1580 | end | |
1581 | if v:IsA("Hat") then | |
1582 | v.Handle.Anchored = false | |
1583 | end | |
1584 | end | |
1585 | for i,v in pairs(pchar:children()) do | |
1586 | if v:IsA("Part") then | |
1587 | v.Anchored = false | |
1588 | end | |
1589 | if v:IsA("Hat") then | |
1590 | v.Handle.Anchored = false | |
1591 | end | |
1592 | end | |
1593 | if WasOn == false then | |
1594 | StandOn = false | |
1595 | WasOn = true | |
1596 | end | |
1597 | end | |
1598 | if Mode == "Attract" then | |
1599 | if WasOn == true and StandOn == false then | |
1600 | StandOn = true | |
1601 | WasOn = false | |
1602 | end | |
1603 | wait() | |
1604 | local TimeStop = Instance.new("Sound",char) | |
1605 | TimeStop.SoundId = "rbxassetid://520743795" | |
1606 | TimeStop.Looped = false | |
1607 | TimeStop.Volume = 1 | |
1608 | local AreaOfEffect = Instance.new("Part",char) | |
1609 | AreaOfEffect.Position = tor.Position | |
1610 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
1611 | AreaOfEffect.Anchored = true | |
1612 | AreaOfEffect.CanCollide = false | |
1613 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white") | |
1614 | AreaOfEffect.Transparency = 0.9 | |
1615 | AreaOfEffect.Shape = "Ball" | |
1616 | AreaOfEffect.Material = "Neon" | |
1617 | TimeStop:Play() | |
1618 | for i = 1,10 do | |
1619 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
1620 | AreaOfEffect.CFrame = char.Torso.CFrame | |
1621 | wait() | |
1622 | end | |
1623 | coroutine.wrap(function() | |
1624 | do local me={} | |
1625 | ||
1626 | me.plrs = game:service'Workspace':children'' | |
1627 | ||
1628 | function me:getNear(mag) | |
1629 | local rtn = {} | |
1630 | ||
1631 | for k,v in next,me.plrs do | |
1632 | local chxr = v | |
1633 | ||
1634 | if chxr then | |
1635 | if chxr:findFirstChild'Torso' then | |
1636 | local pos = (chxr.Torso.Position-tor.Position).magnitude | |
1637 | ||
1638 | if pos<=mag then | |
1639 | for a,b in pairs(chxr:children()) do | |
1640 | if b:IsA("BasePart") then | |
1641 | table.insert(rtn, b) | |
1642 | end | |
1643 | end | |
1644 | end | |
1645 | end | |
1646 | end | |
1647 | end | |
1648 | return rtn | |
1649 | end | |
1650 | ||
1651 | for no, torso in ipairs(me:getNear(5555)) do | |
1652 | --print(torso:GetFullName()) | |
1653 | --print(torso:GetFullName()) | |
1654 | trappedTorsos:Attract(torso) | |
1655 | end | |
1656 | ||
1657 | ||
1658 | end | |
1659 | end)() | |
1660 | AreaOfEffect:Destroy() | |
1661 | for i,v in pairs(char:children()) do | |
1662 | if v:IsA("Part") then | |
1663 | v.Anchored = false | |
1664 | end | |
1665 | if v:IsA("Hat") then | |
1666 | v.Handle.Anchored = false | |
1667 | end | |
1668 | end | |
1669 | for i,v in pairs(pchar:children()) do | |
1670 | if v:IsA("Part") then | |
1671 | v.Anchored = false | |
1672 | end | |
1673 | if v:IsA("Hat") then | |
1674 | v.Handle.Anchored = false | |
1675 | end | |
1676 | end | |
1677 | if WasOn == false then | |
1678 | StandOn = false | |
1679 | WasOn = true | |
1680 | end | |
1681 | end | |
1682 | if Mode == "Target" then | |
1683 | hum.Health = AnotherOneBitesZaDusto | |
1684 | if WasOn == true and StandOn == false then | |
1685 | StandOn = true | |
1686 | WasOn = false | |
1687 | end | |
1688 | wait() | |
1689 | local TimeStop = Instance.new("Sound",char) | |
1690 | TimeStop.SoundId = "rbxassetid://520743795" | |
1691 | TimeStop.Looped = false | |
1692 | TimeStop.Volume = 1 | |
1693 | local AreaOfEffect = Instance.new("Part",char) | |
1694 | AreaOfEffect.Position = tor.Position | |
1695 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
1696 | AreaOfEffect.Anchored = true | |
1697 | AreaOfEffect.CanCollide = false | |
1698 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white") | |
1699 | AreaOfEffect.Transparency = 0.9 | |
1700 | AreaOfEffect.Shape = "Ball" | |
1701 | AreaOfEffect.Material = "Neon" | |
1702 | TimeStop:Play() | |
1703 | for i = 1,10 do | |
1704 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
1705 | AreaOfEffect.CFrame = char.Torso.CFrame | |
1706 | wait() | |
1707 | end | |
1708 | coroutine.wrap(function() | |
1709 | do local me={} | |
1710 | ||
1711 | me.plrs = game:service'Workspace':children'' | |
1712 | ||
1713 | function me:getNear(mag) | |
1714 | local rtn = {} | |
1715 | ||
1716 | for k,v in next,me.plrs do | |
1717 | local chxr = v | |
1718 | ||
1719 | if chxr then | |
1720 | if chxr:findFirstChild'Torso' then | |
1721 | local pos = (chxr.Torso.Position-tor.Position).magnitude | |
1722 | ||
1723 | if pos<=mag then | |
1724 | for a,b in pairs(chxr:children()) do | |
1725 | if b:IsA("BasePart") then | |
1726 | table.insert(rtn, b) | |
1727 | end | |
1728 | end | |
1729 | end | |
1730 | end | |
1731 | end | |
1732 | end | |
1733 | return rtn | |
1734 | end | |
1735 | ||
1736 | for no, torso in ipairs(me:getNear(5555)) do | |
1737 | --print(torso:GetFullName()) | |
1738 | --print(torso:GetFullName()) | |
1739 | trappedTorsos:Target(torso) | |
1740 | end | |
1741 | end | |
1742 | end)() | |
1743 | AreaOfEffect:Destroy() | |
1744 | for i,v in pairs(char:children()) do | |
1745 | if v:IsA("Part") then | |
1746 | v.Anchored = false | |
1747 | end | |
1748 | if v:IsA("Hat") then | |
1749 | v.Handle.Anchored = false | |
1750 | end | |
1751 | end | |
1752 | for i,v in pairs(pchar:children()) do | |
1753 | if v:IsA("Part") then | |
1754 | v.Anchored = false | |
1755 | end | |
1756 | if v:IsA("Hat") then | |
1757 | v.Handle.Anchored = false | |
1758 | end | |
1759 | end | |
1760 | if WasOn == false then | |
1761 | StandOn = false | |
1762 | WasOn = true | |
1763 | end | |
1764 | end | |
1765 | end | |
1766 | ||
1767 | LightGrav = false | |
1768 | NormalGrav = true | |
1769 | HeavyGrav = false | |
1770 | ||
1771 | Rapid = false | |
1772 | TimeStopped = false | |
1773 | OneSecond = false | |
1774 | Cha = char | |
1775 | Character = char | |
1776 | it=Instance.new | |
1777 | vt=Vector3.new | |
1778 | cn=CFrame.new | |
1779 | euler=CFrame.fromEulerAnglesXYZ | |
1780 | angles=CFrame.Angles | |
1781 | RootPart = hrp | |
1782 | mouse.KeyDown:connect(function(key) | |
1783 | if key == "q" then | |
1784 | if TimeStopped == false and Attacking == false then | |
1785 | TheWorld("Time Stop") | |
1786 | TimeStopped = true | |
1787 | TfwTimeStopped = true | |
1788 | elseif TimeStopped == true and Attacking == false then | |
1789 | TheWorld("Time Start") | |
1790 | TimeStopped = false | |
1791 | end | |
1792 | end | |
1793 | if key == "p" and TimeStopped == false and Attacking == false then | |
1794 | TheWorld("World Time Stop") | |
1795 | TimeStopped = true | |
1796 | TfwTimeStopped = true | |
1797 | end | |
1798 | if key == "z" then | |
1799 | TheWorld("Light Gravity") | |
1800 | end | |
1801 | if key == "x" then | |
1802 | TheWorld("Normal Gravity") | |
1803 | end | |
1804 | if key == "c" then | |
1805 | TheWorld("Heavy Gravity") | |
1806 | end | |
1807 | if key == "f" then | |
1808 | TheWorld("Repel") | |
1809 | end | |
1810 | if key == "g" then | |
1811 | TheWorld("Attract") | |
1812 | end | |
1813 | if key == "v" then | |
1814 | TheWorld("Target") | |
1815 | end | |
1816 | if key == "[" then | |
1817 | ControlledWorlds = false | |
1818 | end | |
1819 | if key == "]" then | |
1820 | ControlledWorlds = true | |
1821 | end | |
1822 | if key == "e" then | |
1823 | Rapid = true | |
1824 | Attacking = true | |
1825 | con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,1,2,math.random(0,0),"MUDA",RootPart,.2,1) end) | |
1826 | con2 = lam2.Touched:connect(function(hit) Damagefunc(torso,hit,1,2,math.random(0,0),"MUDA",RootPart,.2,1) end) | |
1827 | while Rapid == true do | |
1828 | for i = 1, 3 do | |
1829 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7) | |
1830 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7) | |
1831 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3) | |
1832 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3) | |
1833 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3) | |
1834 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3) | |
1835 | wait() | |
1836 | end | |
1837 | for i = 1, 3 do | |
1838 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7) | |
1839 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7) | |
1840 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3) | |
1841 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3) | |
1842 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3) | |
1843 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3) | |
1844 | wait() | |
1845 | end | |
1846 | for i = 1, 3 do | |
1847 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7) | |
1848 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 1.7) | |
1849 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3) | |
1850 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3) | |
1851 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3) | |
1852 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3) | |
1853 | wait() | |
1854 | end | |
1855 | for i = 1, 3 do | |
1856 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7) | |
1857 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7) | |
1858 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3) | |
1859 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3) | |
1860 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3) | |
1861 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3) | |
1862 | wait() | |
1863 | end | |
1864 | end | |
1865 | con1:disconnect() | |
1866 | con2:disconnect() | |
1867 | Attacking = false | |
1868 | end | |
1869 | if key == "r" and Attacking == false then | |
1870 | con1 = ram2.Touched:connect(function(hit) | |
1871 | trappedTorsos:Capture(hit) | |
1872 | end) | |
1873 | ItsHot = false | |
1874 | Attacking = true | |
1875 | for i = 1, 3 do | |
1876 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7) | |
1877 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7) | |
1878 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3) | |
1879 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3) | |
1880 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3) | |
1881 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3) | |
1882 | wait() | |
1883 | end | |
1884 | wait(1) | |
1885 | con1:disconnect() | |
1886 | Attacking = false | |
1887 | end | |
1888 | if key == "t" and Attacking == false then | |
1889 | con1 = ram2.Touched:connect(function(hit) | |
1890 | trappedTorsos:ReleasePart() | |
1891 | end) | |
1892 | ItsHot = false | |
1893 | Attacking = true | |
1894 | for i = 1, 3 do | |
1895 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(90,95)),math.rad(math.random(20,20)),math.rad(20)), 1.7) | |
1896 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7) | |
1897 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3) | |
1898 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3) | |
1899 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3) | |
1900 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3) | |
1901 | wait() | |
1902 | end | |
1903 | wait(3) | |
1904 | Attacking = false | |
1905 | con1:disconnect() | |
1906 | end | |
1907 | end) | |
1908 | ||
1909 | mouse.KeyUp:connect(function(key) | |
1910 | if key == "e" and Rapid == true or key == "v" and Rapid == true then | |
1911 | Rapid = false | |
1912 | end | |
1913 | end) | |
1914 | ||
1915 | for i, v in pairs(pchar:GetChildren()) do | |
1916 | if v:IsA('Hat') then | |
1917 | v.Handle.Transparency=1 | |
1918 | end | |
1919 | if v:IsA("Part") then | |
1920 | v.Material = "Neon" | |
1921 | v.BrickColor = BrickColor.new("Gold") | |
1922 | end | |
1923 | end | |
1924 | ||
1925 | -------------------------------Sprint | |
1926 | mouse.KeyDown:connect(function(key) | |
1927 | if string.byte(key) == 48 then | |
1928 | hum.WalkSpeed = 48 | |
1929 | end | |
1930 | end) | |
1931 | mouse.KeyUp:connect(function(key) | |
1932 | if string.byte(key) == 48 then | |
1933 | hum.WalkSpeed=16 | |
1934 | end | |
1935 | end) | |
1936 | ------------------------------------- | |
1937 | hum.FreeFalling:connect(function(f) | |
1938 | if f then | |
1939 | ffing=true | |
1940 | else | |
1941 | ffing=false | |
1942 | end | |
1943 | end) | |
1944 | hum.Jumping:connect(function(j) | |
1945 | if j then | |
1946 | jjing=true | |
1947 | else | |
1948 | jjing=false | |
1949 | end | |
1950 | end) | |
1951 | function Lerping(c1,c2,al) | |
1952 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
1953 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
1954 | for i,v in pairs(com1) do | |
1955 | com1[i] = v+(com2[i]-v)*al | |
1956 | end | |
1957 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
1958 | end | |
1959 | ||
1960 | m = Instance.new("Model",char) | |
1961 | ||
1962 | Handle = Instance.new("Part", m) | |
1963 | Handle:BreakJoints() | |
1964 | Handle.TopSurface = "Smooth" | |
1965 | Handle.Material = "SmoothPlastic" | |
1966 | Handle.Name = 'Handle' | |
1967 | Handle.Anchored = true | |
1968 | Handle.Transparency = 0 Handle.BottomSurface = "Smooth" | |
1969 | Handle.FormFactor = "Custom" Handle.CanCollide = false | |
1970 | Handle.BrickColor = BrickColor.new("Really black") | |
1971 | Handle.Size = Vector3.new(2.31999993, 0.34799999, 0.200000003) | |
1972 | ||
1973 | Part = Instance.new("Part", m) | |
1974 | Part:BreakJoints() | |
1975 | Part.TopSurface = "Smooth" | |
1976 | Part.Material = "SmoothPlastic" | |
1977 | Part.Name = 'Part' | |
1978 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
1979 | Part.FormFactor = "Custom" Part.CanCollide = false | |
1980 | Part.BrickColor = BrickColor.new("Really black") | |
1981 | Part.Size = Vector3.new(0.34799999, 0.200000003, 0.34799999) | |
1982 | Partweld = Instance.new("Motor6D") | |
1983 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1984 | Partweld.C1 = CFrame.new(-0.697142124, -0.240707397, 0.697052002, 0.707106292, -6.45096577e-007, -0.707100093, 7.29660428e-007, 0.999991119, -4.4702773e-008, 0.707106292, -4.72456946e-007, 0.707100153) | |
1985 | Partweld.Parent = Part | |
1986 | PartMesh = Instance.new("BlockMesh",Part) | |
1987 | PartMesh.Name = "Mesh" | |
1988 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
1989 | PartMesh.Scale = Vector3.new(1, 0.898999929, 1) | |
1990 | ||
1991 | Part = Instance.new("Part", m) | |
1992 | Part:BreakJoints() | |
1993 | Part.TopSurface = "Smooth" | |
1994 | Part.Material = "SmoothPlastic" | |
1995 | Part.Name = 'Part' | |
1996 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
1997 | Part.FormFactor = "Custom" Part.CanCollide = false | |
1998 | Part.BrickColor = BrickColor.new("Really black") | |
1999 | Part.Size = Vector3.new(2.31999993, 0.200000003, 0.200000003) | |
2000 | Partweld = Instance.new("Motor6D") | |
2001 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2002 | Partweld.C1 = CFrame.new(3.81469727e-006, -0.232005119, 1.97199249, 0.999999762, -2.87769808e-013, 5.96046448e-008, 5.25801624e-013, 0.999991417, 2.84217094e-014, 0, -1.17239551e-013, 0.999991238) | |
2003 | Partweld.Parent = Part | |
2004 | PartMesh = Instance.new("BlockMesh",Part) | |
2005 | PartMesh.Name = "Mesh" | |
2006 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2007 | PartMesh.Scale = Vector3.new(1, 0.579999983, 0.579999983) | |
2008 | ||
2009 | Part = Instance.new("Part", m) | |
2010 | Part:BreakJoints() | |
2011 | Part.TopSurface = "Smooth" | |
2012 | Part.Material = "SmoothPlastic" | |
2013 | Part.Name = 'Part' | |
2014 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2015 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2016 | Part.BrickColor = BrickColor.new("Really black") | |
2017 | Part.Size = Vector3.new(1.15999997, 0.200000003, 1.15999997) | |
2018 | Partweld = Instance.new("Motor6D") | |
2019 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2020 | Partweld.C1 = CFrame.new(-0.697060108, -0.237798691, 0.696979523, 0.707100153, -7.8854832e-008, -0.707074642, 6.79929997e-008, 0.999963224, -4.47018209e-008, 0.707100153, -2.54248249e-008, 0.707074702) | |
2021 | Partweld.Parent = Part | |
2022 | PartMesh = Instance.new("BlockMesh",Part) | |
2023 | PartMesh.Name = "Mesh" | |
2024 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2025 | PartMesh.Scale = Vector3.new(1, 0.696000099, 1) | |
2026 | ||
2027 | Part = Instance.new("Part", m) | |
2028 | Part:BreakJoints() | |
2029 | Part.TopSurface = "Smooth" | |
2030 | Part.Material = "SmoothPlastic" | |
2031 | Part.Name = 'Part' | |
2032 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2033 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2034 | Part.BrickColor = BrickColor.new("Really black") | |
2035 | Part.Size = Vector3.new(0.200000003, 0.200000003, 2.0880003) | |
2036 | Partweld = Instance.new("Motor6D") | |
2037 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2038 | Partweld.C1 = CFrame.new(-1.21799088, -0.231980324, 0.985839844, 0.999999762, 5.87768056e-010, 1.80602074e-005, -5.86997118e-010, 0.999974251, -6.33293951e-009, -1.80006027e-005, 6.33261976e-009, 0.99997437) | |
2039 | Partweld.Parent = Part | |
2040 | PartMesh = Instance.new("BlockMesh",Part) | |
2041 | PartMesh.Name = "Mesh" | |
2042 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2043 | PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 1) | |
2044 | ||
2045 | Part = Instance.new("Part", m) | |
2046 | Part:BreakJoints() | |
2047 | Part.TopSurface = "Smooth" | |
2048 | Part.Material = "SmoothPlastic" | |
2049 | Part.Name = 'Part' | |
2050 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2051 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2052 | Part.BrickColor = BrickColor.new("Really black") | |
2053 | Part.Size = Vector3.new(0.200000003, 0.34799999, 0.200000003) | |
2054 | Partweld = Instance.new("Motor6D") | |
2055 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2056 | Partweld.C1 = CFrame.new(0.000141143799, 1.8119812e-005, -1.21799469, 1.81794167e-005, -1.78968406e-007, -0.999964833, 6.0702348e-007, 0.999964714, -1.78957677e-007, 0.999999702, -6.06998185e-007, 1.82688236e-005) | |
2057 | Partweld.Parent = Part | |
2058 | PartMesh = Instance.new("BlockMesh",Part) | |
2059 | PartMesh.Name = "Mesh" | |
2060 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2061 | PartMesh.Scale = Vector3.new(0.579999983, 1, 0.579999983) | |
2062 | ||
2063 | Part = Instance.new("Part", m) | |
2064 | Part:BreakJoints() | |
2065 | Part.TopSurface = "Smooth" | |
2066 | Part.Material = "SmoothPlastic" | |
2067 | Part.Name = 'Part' | |
2068 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2069 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2070 | Part.BrickColor = BrickColor.new("Really black") | |
2071 | Part.Size = Vector3.new(0.200000003, 0.200000003, 2.0880003) | |
2072 | Partweld = Instance.new("Motor6D") | |
2073 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2074 | Partweld.C1 = CFrame.new(-1.21799469, 0.232003212, 0.985847473, 0.999999762, 5.66021896e-010, 1.80602074e-005, -5.65410829e-010, 0.999973297, -6.33274055e-009, -1.80006027e-005, 6.3324741e-009, 0.999973238) | |
2075 | Partweld.Parent = Part | |
2076 | PartMesh = Instance.new("BlockMesh",Part) | |
2077 | PartMesh.Name = "Mesh" | |
2078 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2079 | PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 1) | |
2080 | ||
2081 | Part = Instance.new("Part", m) | |
2082 | Part:BreakJoints() | |
2083 | Part.TopSurface = "Smooth" | |
2084 | Part.Material = "SmoothPlastic" | |
2085 | Part.Name = 'Part' | |
2086 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2087 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2088 | Part.BrickColor = BrickColor.new("Mid gray") | |
2089 | Part.Size = Vector3.new(2.31999969, 0.200000003, 1.8560003) | |
2090 | Partweld = Instance.new("Motor6D") | |
2091 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2092 | Partweld.C1 = CFrame.new(3.81469727e-006, -0.115989685, 0.985801697, 0.999999762, 6.05332673e-010, 1.80602074e-005, -6.04796213e-010, 0.999982834, -6.33284003e-009, -1.80006027e-005, 6.33262687e-009, 0.999982953) | |
2093 | Partweld.Parent = Part | |
2094 | PartMesh = Instance.new("BlockMesh",Part) | |
2095 | PartMesh.Name = "Mesh" | |
2096 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2097 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2098 | ||
2099 | Part = Instance.new("Part", m) | |
2100 | Part:BreakJoints() | |
2101 | Part.TopSurface = "Smooth" | |
2102 | Part.Material = "SmoothPlastic" | |
2103 | Part.Name = 'Part' | |
2104 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2105 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2106 | Part.BrickColor = BrickColor.new("Institutional white") | |
2107 | Part.Size = Vector3.new(0.579999983, 0.200000003, 0.579999983) | |
2108 | Partweld = Instance.new("Motor6D") | |
2109 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2110 | Partweld.C1 = CFrame.new(1.52587891e-005, 0.226189613, 0.985958099, 0.99999094, -4.17435785e-007, -8.94069672e-008, 4.17436127e-007, 0.999991119, 2.08614694e-007, -2.98023224e-008, -2.83119846e-007, 0.999982476) | |
2111 | Partweld.Parent = Part | |
2112 | PartMesh = Instance.new("BlockMesh",Part) | |
2113 | PartMesh.Name = "Mesh" | |
2114 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2115 | PartMesh.Scale = Vector3.new(1, 0.811999977, 1) | |
2116 | ||
2117 | Part = Instance.new("Part", m) | |
2118 | Part:BreakJoints() | |
2119 | Part.TopSurface = "Smooth" | |
2120 | Part.Material = "SmoothPlastic" | |
2121 | Part.Name = 'Part' | |
2122 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2123 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2124 | Part.BrickColor = BrickColor.new("Institutional white") | |
2125 | Part.Size = Vector3.new(0.579999983, 0.200000003, 0.579999983) | |
2126 | Partweld = Instance.new("Motor6D") | |
2127 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2128 | Partweld.C1 = CFrame.new(1.52587891e-005, -0.237810135, 0.985958099, 0.99999094, -4.17435785e-007, -8.94069672e-008, 4.17436127e-007, 0.999991119, 2.08614694e-007, -2.98023224e-008, -2.83119846e-007, 0.999982476) | |
2129 | Partweld.Parent = Part | |
2130 | PartMesh = Instance.new("BlockMesh",Part) | |
2131 | PartMesh.Name = "Mesh" | |
2132 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2133 | PartMesh.Scale = Vector3.new(1, 0.811999977, 1) | |
2134 | ||
2135 | Part = Instance.new("Part", m) | |
2136 | Part:BreakJoints() | |
2137 | Part.TopSurface = "Smooth" | |
2138 | Part.Material = "SmoothPlastic" | |
2139 | Part.Name = 'Part' | |
2140 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2141 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2142 | Part.BrickColor = BrickColor.new("Really black") | |
2143 | Part.Size = Vector3.new(1.15999997, 0.200000003, 1.15999997) | |
2144 | Partweld = Instance.new("Motor6D") | |
2145 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2146 | Partweld.C1 = CFrame.new(-0.985813141, -0.237781525, 0, 1.80006027e-005, 1.57576963e-007, -0.999979973, 8.91885605e-008, 0.99998039, 2.61884452e-007, 0.999999166, -8.91910901e-008, 1.80602074e-005) | |
2147 | Partweld.Parent = Part | |
2148 | PartMesh = Instance.new("BlockMesh",Part) | |
2149 | PartMesh.Name = "Mesh" | |
2150 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2151 | PartMesh.Scale = Vector3.new(1, 0.69599998, 1) | |
2152 | ||
2153 | Part = Instance.new("Part", m) | |
2154 | Part:BreakJoints() | |
2155 | Part.TopSurface = "Smooth" | |
2156 | Part.Material = "SmoothPlastic" | |
2157 | Part.Name = 'Part' | |
2158 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2159 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2160 | Part.BrickColor = BrickColor.new("Really black") | |
2161 | Part.Size = Vector3.new(0.34799999, 0.200000003, 0.34799999) | |
2162 | Partweld = Instance.new("Motor6D") | |
2163 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2164 | Partweld.C1 = CFrame.new(-5.7220459e-005, 0.223287582, 0.985862732, 0.999999285, -4.17447836e-007, 5.96046448e-008, 4.17451417e-007, 0.999991119, 2.08614694e-007, 8.94069672e-008, -8.94065408e-008, 0.999990642) | |
2165 | Partweld.Parent = Part | |
2166 | PartMesh = Instance.new("BlockMesh",Part) | |
2167 | PartMesh.Name = "Mesh" | |
2168 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2169 | PartMesh.Scale = Vector3.new(1, 0.898999929, 1) | |
2170 | ||
2171 | Part = Instance.new("Part", m) | |
2172 | Part:BreakJoints() | |
2173 | Part.TopSurface = "Smooth" | |
2174 | Part.Material = "SmoothPlastic" | |
2175 | Part.Name = 'Part' | |
2176 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2177 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2178 | Part.BrickColor = BrickColor.new("Really black") | |
2179 | Part.Size = Vector3.new(1.15999997, 0.200000003, 1.15999997) | |
2180 | Partweld = Instance.new("Motor6D") | |
2181 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2182 | Partweld.C1 = CFrame.new(-0.985980988, 0.22618866, 0, -8.94069672e-008, 1.63911707e-007, -0.999990642, 8.97813663e-008, 0.999991119, 2.68218798e-007, 0.999999285, -8.97803574e-008, 5.96046448e-008) | |
2183 | Partweld.Parent = Part | |
2184 | PartMesh = Instance.new("BlockMesh",Part) | |
2185 | PartMesh.Name = "Mesh" | |
2186 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2187 | PartMesh.Scale = Vector3.new(1, 0.69599998, 1) | |
2188 | ||
2189 | Part = Instance.new("Part", m) | |
2190 | Part:BreakJoints() | |
2191 | Part.TopSurface = "Smooth" | |
2192 | Part.Material = "SmoothPlastic" | |
2193 | Part.Name = 'Part' | |
2194 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2195 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2196 | Part.BrickColor = BrickColor.new("Really black") | |
2197 | Part.Size = Vector3.new(1.15999997, 0.200000003, 1.15999997) | |
2198 | Partweld = Instance.new("Motor6D") | |
2199 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2200 | Partweld.C1 = CFrame.new(-0.697110176, 0.226187706, 0.697032928, 0.707100391, -7.8857461e-008, -0.707094431, 6.79927936e-008, 0.999991119, -4.4702837e-008, 0.707100332, -2.54258214e-008, 0.707094312) | |
2201 | Partweld.Parent = Part | |
2202 | PartMesh = Instance.new("BlockMesh",Part) | |
2203 | PartMesh.Name = "Mesh" | |
2204 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2205 | PartMesh.Scale = Vector3.new(1, 0.696000099, 1) | |
2206 | ||
2207 | Part = Instance.new("Part", m) | |
2208 | Part:BreakJoints() | |
2209 | Part.TopSurface = "Smooth" | |
2210 | Part.Material = "SmoothPlastic" | |
2211 | Part.Name = 'Part' | |
2212 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2213 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2214 | Part.BrickColor = BrickColor.new("Institutional white") | |
2215 | Part.Size = Vector3.new(0.579999983, 0.200000003, 0.579999983) | |
2216 | Partweld = Instance.new("Motor6D") | |
2217 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2218 | Partweld.C1 = CFrame.new(-0.697163582, 0.226187706, 0.697189331, 0.707100332, -7.88574468e-008, -0.707094491, 6.7967342e-008, 0.999991119, -4.47028512e-008, 0.707100451, 4.37624692e-009, 0.707094193) | |
2219 | Partweld.Parent = Part | |
2220 | PartMesh = Instance.new("BlockMesh",Part) | |
2221 | PartMesh.Name = "Mesh" | |
2222 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2223 | PartMesh.Scale = Vector3.new(1, 0.812000036, 1) | |
2224 | ||
2225 | Part = Instance.new("Part", m) | |
2226 | Part:BreakJoints() | |
2227 | Part.TopSurface = "Smooth" | |
2228 | Part.Material = "SmoothPlastic" | |
2229 | Part.Name = 'Part' | |
2230 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2231 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2232 | Part.BrickColor = BrickColor.new("Really black") | |
2233 | Part.Size = Vector3.new(0.34799999, 0.200000003, 0.34799999) | |
2234 | Partweld = Instance.new("Motor6D") | |
2235 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2236 | Partweld.C1 = CFrame.new(-5.7220459e-005, -0.240706444, 0.985862732, 0.999999285, -4.17447836e-007, 5.96046448e-008, 4.17451417e-007, 0.999991119, 2.08614694e-007, 8.94069672e-008, -8.94065408e-008, 0.999990642) | |
2237 | Partweld.Parent = Part | |
2238 | PartMesh = Instance.new("BlockMesh",Part) | |
2239 | PartMesh.Name = "Mesh" | |
2240 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2241 | PartMesh.Scale = Vector3.new(1, 0.898999929, 1) | |
2242 | ||
2243 | Part = Instance.new("Part", m) | |
2244 | Part:BreakJoints() | |
2245 | Part.TopSurface = "Smooth" | |
2246 | Part.Material = "SmoothPlastic" | |
2247 | Part.Name = 'Part' | |
2248 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2249 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2250 | Part.BrickColor = BrickColor.new("Really black") | |
2251 | Part.Size = Vector3.new(2.31999993, 0.200000003, 0.200000003) | |
2252 | Partweld = Instance.new("Motor6D") | |
2253 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2254 | Partweld.C1 = CFrame.new(3.81469727e-006, 0.23197937, -1.52587891e-005, 0.999999762, 2.23820962e-013, 5.96046448e-008, 7.10542736e-015, 0.999991417, -1.03028697e-013, 0, 1.0658141e-014, 0.999991238) | |
2255 | Partweld.Parent = Part | |
2256 | PartMesh = Instance.new("BlockMesh",Part) | |
2257 | PartMesh.Name = "Mesh" | |
2258 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2259 | PartMesh.Scale = Vector3.new(1, 0.579999983, 0.579999983) | |
2260 | ||
2261 | Part = Instance.new("Part", m) | |
2262 | Part:BreakJoints() | |
2263 | Part.TopSurface = "Smooth" | |
2264 | Part.Material = "SmoothPlastic" | |
2265 | Part.Name = 'Part' | |
2266 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2267 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2268 | Part.BrickColor = BrickColor.new("Institutional white") | |
2269 | Part.Size = Vector3.new(0.579999983, 0.200000003, 0.579999983) | |
2270 | Partweld = Instance.new("Motor6D") | |
2271 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2272 | Partweld.C1 = CFrame.new(-0.697163105, -0.237812042, 0.697189331, 0.707100332, -7.88574468e-008, -0.707094491, 6.7967342e-008, 0.999991119, -4.47028512e-008, 0.707100451, 4.37624692e-009, 0.707094193) | |
2273 | Partweld.Parent = Part | |
2274 | PartMesh = Instance.new("BlockMesh",Part) | |
2275 | PartMesh.Name = "Mesh" | |
2276 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2277 | PartMesh.Scale = Vector3.new(1, 0.812000036, 1) | |
2278 | ||
2279 | Part = Instance.new("Part", m) | |
2280 | Part:BreakJoints() | |
2281 | Part.TopSurface = "Smooth" | |
2282 | Part.Material = "SmoothPlastic" | |
2283 | Part.Name = 'Part' | |
2284 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2285 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2286 | Part.BrickColor = BrickColor.new("Institutional white") | |
2287 | Part.Size = Vector3.new(2.31999993, 0.200000003, 1.85600007) | |
2288 | Partweld = Instance.new("Motor6D") | |
2289 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2290 | Partweld.C1 = CFrame.new(0, 0.232005119, 0.985790253, 0.999999762, 6.06398487e-010, 1.80602074e-005, -6.05488992e-010, 0.999969959, -6.3331953e-009, -1.80006027e-005, 6.33281516e-009, 0.99996984) | |
2291 | Partweld.Parent = Part | |
2292 | PartMesh = Instance.new("BlockMesh",Part) | |
2293 | PartMesh.Name = "Mesh" | |
2294 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2295 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2296 | ||
2297 | Part = Instance.new("Part", m) | |
2298 | Part:BreakJoints() | |
2299 | Part.TopSurface = "Smooth" | |
2300 | Part.Material = "SmoothPlastic" | |
2301 | Part.Name = 'Part' | |
2302 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2303 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2304 | Part.BrickColor = BrickColor.new("Really black") | |
2305 | Part.Size = Vector3.new(0.34799999, 0.200000003, 0.34799999) | |
2306 | Partweld = Instance.new("Motor6D") | |
2307 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2308 | Partweld.C1 = CFrame.new(-0.697142363, 0.223291397, 0.697052002, 0.707106292, -6.45096577e-007, -0.707100093, 7.29660428e-007, 0.999991119, -4.4702773e-008, 0.707106292, -4.72456946e-007, 0.707100153) | |
2309 | Partweld.Parent = Part | |
2310 | PartMesh = Instance.new("BlockMesh",Part) | |
2311 | PartMesh.Name = "Mesh" | |
2312 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2313 | PartMesh.Scale = Vector3.new(1, 0.898999929, 1) | |
2314 | ||
2315 | Part = Instance.new("Part", m) | |
2316 | Part:BreakJoints() | |
2317 | Part.TopSurface = "Smooth" | |
2318 | Part.Material = "SmoothPlastic" | |
2319 | Part.Name = 'Part' | |
2320 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2321 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2322 | Part.BrickColor = BrickColor.new("Mid gray") | |
2323 | Part.Size = Vector3.new(2.31999969, 0.200000003, 1.8560003) | |
2324 | Partweld = Instance.new("Motor6D") | |
2325 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2326 | Partweld.C1 = CFrame.new(0, 0.115994453, 0.985679626, 0.999999762, 6.06839023e-010, 1.80602074e-005, -6.06164008e-010, 0.999978542, -6.33337294e-009, -1.79708004e-005, 6.33308517e-009, 0.999978423) | |
2327 | Partweld.Parent = Part | |
2328 | PartMesh = Instance.new("BlockMesh",Part) | |
2329 | PartMesh.Name = "Mesh" | |
2330 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2331 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2332 | ||
2333 | Part = Instance.new("Part", m) | |
2334 | Part:BreakJoints() | |
2335 | Part.TopSurface = "Smooth" | |
2336 | Part.Material = "SmoothPlastic" | |
2337 | Part.Name = 'Part' | |
2338 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2339 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2340 | Part.BrickColor = BrickColor.new("Mid gray") | |
2341 | Part.Size = Vector3.new(2.31999969, 0.200000003, 1.8560003) | |
2342 | Partweld = Instance.new("Motor6D") | |
2343 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2344 | Partweld.C1 = CFrame.new(0, -5.7220459e-006, 0.985614777, 0.999999762, 6.06938499e-010, 1.80602074e-005, -6.06267037e-010, 0.999978542, -6.33343333e-009, -1.79708004e-005, 6.33315622e-009, 0.999978423) | |
2345 | Partweld.Parent = Part | |
2346 | PartMesh = Instance.new("BlockMesh",Part) | |
2347 | PartMesh.Name = "Mesh" | |
2348 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2349 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2350 | ||
2351 | Part = Instance.new("Part", m) | |
2352 | Part:BreakJoints() | |
2353 | Part.TopSurface = "Smooth" | |
2354 | Part.Material = "SmoothPlastic" | |
2355 | Part.Name = 'Part' | |
2356 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2357 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2358 | Part.BrickColor = BrickColor.new("Institutional white") | |
2359 | Part.Size = Vector3.new(2.31999993, 0.200000003, 1.85600007) | |
2360 | Partweld = Instance.new("Motor6D") | |
2361 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2362 | Partweld.C1 = CFrame.new(-3.81469727e-006, -0.231994629, 0.98563385, 0.999999762, 5.88961768e-010, 1.80602074e-005, -5.88052274e-010, 0.999969959, -6.33351505e-009, -1.80006027e-005, 6.3331278e-009, 0.99996984) | |
2363 | Partweld.Parent = Part | |
2364 | PartMesh = Instance.new("BlockMesh",Part) | |
2365 | PartMesh.Name = "Mesh" | |
2366 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2367 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2368 | ||
2369 | Part = Instance.new("Part", m) | |
2370 | Part:BreakJoints() | |
2371 | Part.TopSurface = "Smooth" | |
2372 | Part.Material = "SmoothPlastic" | |
2373 | Part.Name = 'Part' | |
2374 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2375 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2376 | Part.BrickColor = BrickColor.new("Really black") | |
2377 | Part.Size = Vector3.new(2.31999993, 0.200000003, 0.200000003) | |
2378 | Partweld = Instance.new("Motor6D") | |
2379 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2380 | Partweld.C1 = CFrame.new(-7.62939453e-006, -0.231983185, -0.000392913818, 0.999999762, 5.89174931e-010, 1.80602074e-005, -5.88627813e-010, 0.999982834, -6.33369623e-009, -1.79708004e-005, 6.33347597e-009, 0.999982774) | |
2381 | Partweld.Parent = Part | |
2382 | PartMesh = Instance.new("BlockMesh",Part) | |
2383 | PartMesh.Name = "Mesh" | |
2384 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2385 | PartMesh.Scale = Vector3.new(1, 0.579999983, 0.579999983) | |
2386 | ||
2387 | Part = Instance.new("Part", m) | |
2388 | Part:BreakJoints() | |
2389 | Part.TopSurface = "Smooth" | |
2390 | Part.Material = "SmoothPlastic" | |
2391 | Part.Name = 'Part' | |
2392 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2393 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2394 | Part.BrickColor = BrickColor.new("Really black") | |
2395 | Part.Size = Vector3.new(0.200000003, 0.34799999, 0.200000003) | |
2396 | Partweld = Instance.new("Motor6D") | |
2397 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2398 | Partweld.C1 = CFrame.new(0.000408172607, 1.71661377e-005, 1.2179985, 1.81794167e-005, -1.78972357e-007, -0.999982238, 6.07028539e-007, 0.999982357, -1.78961514e-007, 0.999999702, -6.07014329e-007, 1.82688236e-005) | |
2399 | Partweld.Parent = Part | |
2400 | PartMesh = Instance.new("BlockMesh",Part) | |
2401 | PartMesh.Name = "Mesh" | |
2402 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2403 | PartMesh.Scale = Vector3.new(0.579999983, 1, 0.579999983) | |
2404 | ||
2405 | Part = Instance.new("Part", m) | |
2406 | Part:BreakJoints() | |
2407 | Part.TopSurface = "Smooth" | |
2408 | Part.Material = "SmoothPlastic" | |
2409 | Part.Name = 'Part' | |
2410 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2411 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2412 | Part.BrickColor = BrickColor.new("Really black") | |
2413 | Part.Size = Vector3.new(0.200000003, 0.200000003, 2.0880003) | |
2414 | Partweld = Instance.new("Motor6D") | |
2415 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2416 | Partweld.C1 = CFrame.new(1.21799469, -0.231983185, 0.985591888, 0.999999762, 5.89174931e-010, 1.80602074e-005, -5.88627813e-010, 0.999982834, -6.33369623e-009, -1.79708004e-005, 6.33347597e-009, 0.999982774) | |
2417 | Partweld.Parent = Part | |
2418 | PartMesh = Instance.new("BlockMesh",Part) | |
2419 | PartMesh.Name = "Mesh" | |
2420 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2421 | PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 1) | |
2422 | ||
2423 | Part = Instance.new("Part", m) | |
2424 | Part:BreakJoints() | |
2425 | Part.TopSurface = "Smooth" | |
2426 | Part.Material = "SmoothPlastic" | |
2427 | Part.Name = 'Part' | |
2428 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2429 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2430 | Part.BrickColor = BrickColor.new("Really black") | |
2431 | Part.Size = Vector3.new(0.200000003, 0.200000003, 2.0880003) | |
2432 | Partweld = Instance.new("Motor6D") | |
2433 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2434 | Partweld.C1 = CFrame.new(1.21799469, 0.232002258, 0.985588074, 0.999999762, 5.78641135e-010, 1.80602074e-005, -5.78168624e-010, 0.999980927, -6.33353991e-009, -1.79708004e-005, 6.33334807e-009, 0.999980807) | |
2435 | Partweld.Parent = Part | |
2436 | PartMesh = Instance.new("BlockMesh",Part) | |
2437 | PartMesh.Name = "Mesh" | |
2438 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2439 | PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 1) | |
2440 | ||
2441 | Part = Instance.new("Part", m) | |
2442 | Part:BreakJoints() | |
2443 | Part.TopSurface = "Smooth" | |
2444 | Part.Material = "SmoothPlastic" | |
2445 | Part.Name = 'Part' | |
2446 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2447 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2448 | Part.BrickColor = BrickColor.new("Really black") | |
2449 | Part.Size = Vector3.new(2.31999993, 0.200000003, 0.200000003) | |
2450 | Partweld = Instance.new("Motor6D") | |
2451 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2452 | Partweld.C1 = CFrame.new(3.81469727e-006, 0.231988907, 1.97200775, 0.999999762, 1.69357861e-011, 5.96046448e-008, -1.6701307e-011, 0.999991179, 2.27373675e-013, 2.98023224e-008, -3.23296945e-013, 0.99999094) | |
2453 | Partweld.Parent = Part | |
2454 | PartMesh = Instance.new("BlockMesh",Part) | |
2455 | PartMesh.Name = "Mesh" | |
2456 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2457 | PartMesh.Scale = Vector3.new(1, 0.579999983, 0.579999983) | |
2458 | ||
2459 | HandleMesh = Instance.new("BlockMesh",Handle) | |
2460 | HandleMesh.Name = "Mesh" | |
2461 | HandleMesh.Offset = Vector3.new(0, 0, 0) | |
2462 | HandleMesh.Scale = Vector3.new(1, 1, 0.579999983) | |
2463 | ||
2464 | m2 = Instance.new("Model",char) | |
2465 | ||
2466 | Handle2 = Instance.new("Part", m2) | |
2467 | Handle2:BreakJoints() | |
2468 | Handle2.TopSurface = "Smooth" | |
2469 | Handle2.Material = "SmoothPlastic" | |
2470 | Handle2.Name = 'Handle2' | |
2471 | Handle2.Anchored = true | |
2472 | Handle2.Transparency = 0 | |
2473 | Handle2.BottomSurface = "Smooth" | |
2474 | Handle2.FormFactor = "Custom" | |
2475 | Handle2.CanCollide = false | |
2476 | Handle2.BrickColor = BrickColor.new("Institutional white") | |
2477 | Handle2.Size = Vector3.new(2.31999993, 0.34799999, 0.200000003) | |
2478 | ||
2479 | Part = Instance.new("Part", m2) | |
2480 | Part:BreakJoints() | |
2481 | Part.TopSurface = "Smooth" | |
2482 | Part.Material = "SmoothPlastic" | |
2483 | Part.Name = 'Part' | |
2484 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2485 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2486 | Part.BrickColor = BrickColor.new("Institutional white") | |
2487 | Part.Size = Vector3.new(0.34799999, 0.200000003, 0.34799999) | |
2488 | Partweld = Instance.new("Motor6D") | |
2489 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2490 | Partweld.C1 = CFrame.new(-0.697142124, -0.240707397, 0.697052002, 0.707106292, -6.45096577e-007, -0.707100093, 7.29660428e-007, 0.999991119, -4.4702773e-008, 0.707106292, -4.72456946e-007, 0.707100153) | |
2491 | Partweld.Parent = Part | |
2492 | PartMesh = Instance.new("BlockMesh",Part) | |
2493 | PartMesh.Name = "Mesh" | |
2494 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2495 | PartMesh.Scale = Vector3.new(1, 0.898999929, 1) | |
2496 | ||
2497 | Part = Instance.new("Part", m2) | |
2498 | Part:BreakJoints() | |
2499 | Part.TopSurface = "Smooth" | |
2500 | Part.Material = "SmoothPlastic" | |
2501 | Part.Name = 'Part' | |
2502 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2503 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2504 | Part.BrickColor = BrickColor.new("Institutional white") | |
2505 | Part.Size = Vector3.new(2.31999993, 0.200000003, 0.200000003) | |
2506 | Partweld = Instance.new("Motor6D") | |
2507 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2508 | Partweld.C1 = CFrame.new(3.81469727e-006, -0.232005119, 1.97199249, 0.999999762, -2.87769808e-013, 5.96046448e-008, 5.25801624e-013, 0.999991417, 2.84217094e-014, 0, -1.17239551e-013, 0.999991238) | |
2509 | Partweld.Parent = Part | |
2510 | PartMesh = Instance.new("BlockMesh",Part) | |
2511 | PartMesh.Name = "Mesh" | |
2512 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2513 | PartMesh.Scale = Vector3.new(1, 0.579999983, 0.579999983) | |
2514 | ||
2515 | Part = Instance.new("Part", m2) | |
2516 | Part:BreakJoints() | |
2517 | Part.TopSurface = "Smooth" | |
2518 | Part.Material = "SmoothPlastic" | |
2519 | Part.Name = 'Part' | |
2520 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2521 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2522 | Part.BrickColor = BrickColor.new("Institutional white") | |
2523 | Part.Size = Vector3.new(1.15999997, 0.200000003, 1.15999997) | |
2524 | Partweld = Instance.new("Motor6D") | |
2525 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2526 | Partweld.C1 = CFrame.new(-0.697060108, -0.237798691, 0.696979523, 0.707100153, -7.8854832e-008, -0.707074642, 6.79929997e-008, 0.999963224, -4.47018209e-008, 0.707100153, -2.54248249e-008, 0.707074702) | |
2527 | Partweld.Parent = Part | |
2528 | PartMesh = Instance.new("BlockMesh",Part) | |
2529 | PartMesh.Name = "Mesh" | |
2530 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2531 | PartMesh.Scale = Vector3.new(1, 0.696000099, 1) | |
2532 | ||
2533 | Part = Instance.new("Part", m2) | |
2534 | Part:BreakJoints() | |
2535 | Part.TopSurface = "Smooth" | |
2536 | Part.Material = "SmoothPlastic" | |
2537 | Part.Name = 'Part' | |
2538 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2539 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2540 | Part.BrickColor = BrickColor.new("Institutional white") | |
2541 | Part.Size = Vector3.new(0.200000003, 0.200000003, 2.0880003) | |
2542 | Partweld = Instance.new("Motor6D") | |
2543 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2544 | Partweld.C1 = CFrame.new(-1.21799088, -0.231980324, 0.985839844, 0.999999762, 5.87768056e-010, 1.80602074e-005, -5.86997118e-010, 0.999974251, -6.33293951e-009, -1.80006027e-005, 6.33261976e-009, 0.99997437) | |
2545 | Partweld.Parent = Part | |
2546 | PartMesh = Instance.new("BlockMesh",Part) | |
2547 | PartMesh.Name = "Mesh" | |
2548 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2549 | PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 1) | |
2550 | ||
2551 | Part = Instance.new("Part", m2) | |
2552 | Part:BreakJoints() | |
2553 | Part.TopSurface = "Smooth" | |
2554 | Part.Material = "SmoothPlastic" | |
2555 | Part.Name = 'Part' | |
2556 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2557 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2558 | Part.BrickColor = BrickColor.new("Institutional white") | |
2559 | Part.Size = Vector3.new(0.200000003, 0.34799999, 0.200000003) | |
2560 | Partweld = Instance.new("Motor6D") | |
2561 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2562 | Partweld.C1 = CFrame.new(0.000141143799, 1.8119812e-005, -1.21799469, 1.81794167e-005, -1.78968406e-007, -0.999964833, 6.0702348e-007, 0.999964714, -1.78957677e-007, 0.999999702, -6.06998185e-007, 1.82688236e-005) | |
2563 | Partweld.Parent = Part | |
2564 | PartMesh = Instance.new("BlockMesh",Part) | |
2565 | PartMesh.Name = "Mesh" | |
2566 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2567 | PartMesh.Scale = Vector3.new(0.579999983, 1, 0.579999983) | |
2568 | ||
2569 | Part = Instance.new("Part", m2) | |
2570 | Part:BreakJoints() | |
2571 | Part.TopSurface = "Smooth" | |
2572 | Part.Material = "SmoothPlastic" | |
2573 | Part.Name = 'Part' | |
2574 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2575 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2576 | Part.BrickColor = BrickColor.new("Institutional white") | |
2577 | Part.Size = Vector3.new(0.200000003, 0.200000003, 2.0880003) | |
2578 | Partweld = Instance.new("Motor6D") | |
2579 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2580 | Partweld.C1 = CFrame.new(-1.21799469, 0.232003212, 0.985847473, 0.999999762, 5.66021896e-010, 1.80602074e-005, -5.65410829e-010, 0.999973297, -6.33274055e-009, -1.80006027e-005, 6.3324741e-009, 0.999973238) | |
2581 | Partweld.Parent = Part | |
2582 | PartMesh = Instance.new("BlockMesh",Part) | |
2583 | PartMesh.Name = "Mesh" | |
2584 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2585 | PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 1) | |
2586 | ||
2587 | Part = Instance.new("Part", m2) | |
2588 | Part:BreakJoints() | |
2589 | Part.TopSurface = "Smooth" | |
2590 | Part.Material = "SmoothPlastic" | |
2591 | Part.Name = 'Part' | |
2592 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2593 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2594 | Part.BrickColor = BrickColor.new("Mid gray") | |
2595 | Part.Size = Vector3.new(2.31999969, 0.200000003, 1.8560003) | |
2596 | Partweld = Instance.new("Motor6D") | |
2597 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2598 | Partweld.C1 = CFrame.new(3.81469727e-006, -0.115989685, 0.985801697, 0.999999762, 6.05332673e-010, 1.80602074e-005, -6.04796213e-010, 0.999982834, -6.33284003e-009, -1.80006027e-005, 6.33262687e-009, 0.999982953) | |
2599 | Partweld.Parent = Part | |
2600 | PartMesh = Instance.new("BlockMesh",Part) | |
2601 | PartMesh.Name = "Mesh" | |
2602 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2603 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2604 | ||
2605 | Part = Instance.new("Part", m2) | |
2606 | Part:BreakJoints() | |
2607 | Part.TopSurface = "Smooth" | |
2608 | Part.Material = "SmoothPlastic" | |
2609 | Part.Name = 'Part' | |
2610 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2611 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2612 | Part.BrickColor = BrickColor.new("Really black") | |
2613 | Part.Size = Vector3.new(0.579999983, 0.200000003, 0.579999983) | |
2614 | Partweld = Instance.new("Motor6D") | |
2615 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2616 | Partweld.C1 = CFrame.new(1.52587891e-005, 0.226189613, 0.985958099, 0.99999094, -4.17435785e-007, -8.94069672e-008, 4.17436127e-007, 0.999991119, 2.08614694e-007, -2.98023224e-008, -2.83119846e-007, 0.999982476) | |
2617 | Partweld.Parent = Part | |
2618 | PartMesh = Instance.new("BlockMesh",Part) | |
2619 | PartMesh.Name = "Mesh" | |
2620 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2621 | PartMesh.Scale = Vector3.new(1, 0.811999977, 1) | |
2622 | ||
2623 | Part = Instance.new("Part", m2) | |
2624 | Part:BreakJoints() | |
2625 | Part.TopSurface = "Smooth" | |
2626 | Part.Material = "SmoothPlastic" | |
2627 | Part.Name = 'Part' | |
2628 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2629 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2630 | Part.BrickColor = BrickColor.new("Really black") | |
2631 | Part.Size = Vector3.new(0.579999983, 0.200000003, 0.579999983) | |
2632 | Partweld = Instance.new("Motor6D") | |
2633 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2634 | Partweld.C1 = CFrame.new(1.52587891e-005, -0.237810135, 0.985958099, 0.99999094, -4.17435785e-007, -8.94069672e-008, 4.17436127e-007, 0.999991119, 2.08614694e-007, -2.98023224e-008, -2.83119846e-007, 0.999982476) | |
2635 | Partweld.Parent = Part | |
2636 | PartMesh = Instance.new("BlockMesh",Part) | |
2637 | PartMesh.Name = "Mesh" | |
2638 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2639 | PartMesh.Scale = Vector3.new(1, 0.811999977, 1) | |
2640 | ||
2641 | Part = Instance.new("Part", m2) | |
2642 | Part:BreakJoints() | |
2643 | Part.TopSurface = "Smooth" | |
2644 | Part.Material = "SmoothPlastic" | |
2645 | Part.Name = 'Part' | |
2646 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2647 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2648 | Part.BrickColor = BrickColor.new("Institutional white") | |
2649 | Part.Size = Vector3.new(1.15999997, 0.200000003, 1.15999997) | |
2650 | Partweld = Instance.new("Motor6D") | |
2651 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2652 | Partweld.C1 = CFrame.new(-0.985813141, -0.237781525, 0, 1.80006027e-005, 1.57576963e-007, -0.999979973, 8.91885605e-008, 0.99998039, 2.61884452e-007, 0.999999166, -8.91910901e-008, 1.80602074e-005) | |
2653 | Partweld.Parent = Part | |
2654 | PartMesh = Instance.new("BlockMesh",Part) | |
2655 | PartMesh.Name = "Mesh" | |
2656 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2657 | PartMesh.Scale = Vector3.new(1, 0.69599998, 1) | |
2658 | ||
2659 | Part = Instance.new("Part", m2) | |
2660 | Part:BreakJoints() | |
2661 | Part.TopSurface = "Smooth" | |
2662 | Part.Material = "SmoothPlastic" | |
2663 | Part.Name = 'Part' | |
2664 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2665 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2666 | Part.BrickColor = BrickColor.new("Institutional white") | |
2667 | Part.Size = Vector3.new(0.34799999, 0.200000003, 0.34799999) | |
2668 | Partweld = Instance.new("Motor6D") | |
2669 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2670 | Partweld.C1 = CFrame.new(-5.7220459e-005, 0.223287582, 0.985862732, 0.999999285, -4.17447836e-007, 5.96046448e-008, 4.17451417e-007, 0.999991119, 2.08614694e-007, 8.94069672e-008, -8.94065408e-008, 0.999990642) | |
2671 | Partweld.Parent = Part | |
2672 | PartMesh = Instance.new("BlockMesh",Part) | |
2673 | PartMesh.Name = "Mesh" | |
2674 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2675 | PartMesh.Scale = Vector3.new(1, 0.898999929, 1) | |
2676 | ||
2677 | Part = Instance.new("Part", m2) | |
2678 | Part:BreakJoints() | |
2679 | Part.TopSurface = "Smooth" | |
2680 | Part.Material = "SmoothPlastic" | |
2681 | Part.Name = 'Part' | |
2682 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2683 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2684 | Part.BrickColor = BrickColor.new("Institutional white") | |
2685 | Part.Size = Vector3.new(1.15999997, 0.200000003, 1.15999997) | |
2686 | Partweld = Instance.new("Motor6D") | |
2687 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2688 | Partweld.C1 = CFrame.new(-0.985980988, 0.22618866, 0, -8.94069672e-008, 1.63911707e-007, -0.999990642, 8.97813663e-008, 0.999991119, 2.68218798e-007, 0.999999285, -8.97803574e-008, 5.96046448e-008) | |
2689 | Partweld.Parent = Part | |
2690 | PartMesh = Instance.new("BlockMesh",Part) | |
2691 | PartMesh.Name = "Mesh" | |
2692 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2693 | PartMesh.Scale = Vector3.new(1, 0.69599998, 1) | |
2694 | ||
2695 | Part = Instance.new("Part", m2) | |
2696 | Part:BreakJoints() | |
2697 | Part.TopSurface = "Smooth" | |
2698 | Part.Material = "SmoothPlastic" | |
2699 | Part.Name = 'Part' | |
2700 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2701 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2702 | Part.BrickColor = BrickColor.new("Institutional white") | |
2703 | Part.Size = Vector3.new(1.15999997, 0.200000003, 1.15999997) | |
2704 | Partweld = Instance.new("Motor6D") | |
2705 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2706 | Partweld.C1 = CFrame.new(-0.697110176, 0.226187706, 0.697032928, 0.707100391, -7.8857461e-008, -0.707094431, 6.79927936e-008, 0.999991119, -4.4702837e-008, 0.707100332, -2.54258214e-008, 0.707094312) | |
2707 | Partweld.Parent = Part | |
2708 | PartMesh = Instance.new("BlockMesh",Part) | |
2709 | PartMesh.Name = "Mesh" | |
2710 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2711 | PartMesh.Scale = Vector3.new(1, 0.696000099, 1) | |
2712 | ||
2713 | Part = Instance.new("Part", m2) | |
2714 | Part:BreakJoints() | |
2715 | Part.TopSurface = "Smooth" | |
2716 | Part.Material = "SmoothPlastic" | |
2717 | Part.Name = 'Part' | |
2718 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2719 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2720 | Part.BrickColor = BrickColor.new("Really black") | |
2721 | Part.Size = Vector3.new(0.579999983, 0.200000003, 0.579999983) | |
2722 | Partweld = Instance.new("Motor6D") | |
2723 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2724 | Partweld.C1 = CFrame.new(-0.697163582, 0.226187706, 0.697189331, 0.707100332, -7.88574468e-008, -0.707094491, 6.7967342e-008, 0.999991119, -4.47028512e-008, 0.707100451, 4.37624692e-009, 0.707094193) | |
2725 | Partweld.Parent = Part | |
2726 | PartMesh = Instance.new("BlockMesh",Part) | |
2727 | PartMesh.Name = "Mesh" | |
2728 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2729 | PartMesh.Scale = Vector3.new(1, 0.812000036, 1) | |
2730 | ||
2731 | Part = Instance.new("Part", m2) | |
2732 | Part:BreakJoints() | |
2733 | Part.TopSurface = "Smooth" | |
2734 | Part.Material = "SmoothPlastic" | |
2735 | Part.Name = 'Part' | |
2736 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2737 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2738 | Part.BrickColor = BrickColor.new("Institutional white") | |
2739 | Part.Size = Vector3.new(0.34799999, 0.200000003, 0.34799999) | |
2740 | Partweld = Instance.new("Motor6D") | |
2741 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2742 | Partweld.C1 = CFrame.new(-5.7220459e-005, -0.240706444, 0.985862732, 0.999999285, -4.17447836e-007, 5.96046448e-008, 4.17451417e-007, 0.999991119, 2.08614694e-007, 8.94069672e-008, -8.94065408e-008, 0.999990642) | |
2743 | Partweld.Parent = Part | |
2744 | PartMesh = Instance.new("BlockMesh",Part) | |
2745 | PartMesh.Name = "Mesh" | |
2746 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2747 | PartMesh.Scale = Vector3.new(1, 0.898999929, 1) | |
2748 | ||
2749 | Part = Instance.new("Part", m2) | |
2750 | Part:BreakJoints() | |
2751 | Part.TopSurface = "Smooth" | |
2752 | Part.Material = "SmoothPlastic" | |
2753 | Part.Name = 'Part' | |
2754 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2755 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2756 | Part.BrickColor = BrickColor.new("Institutional white") | |
2757 | Part.Size = Vector3.new(2.31999993, 0.200000003, 0.200000003) | |
2758 | Partweld = Instance.new("Motor6D") | |
2759 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2760 | Partweld.C1 = CFrame.new(3.81469727e-006, 0.23197937, -1.52587891e-005, 0.999999762, 2.23820962e-013, 5.96046448e-008, 7.10542736e-015, 0.999991417, -1.03028697e-013, 0, 1.0658141e-014, 0.999991238) | |
2761 | Partweld.Parent = Part | |
2762 | PartMesh = Instance.new("BlockMesh",Part) | |
2763 | PartMesh.Name = "Mesh" | |
2764 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2765 | PartMesh.Scale = Vector3.new(1, 0.579999983, 0.579999983) | |
2766 | ||
2767 | Part = Instance.new("Part", m2) | |
2768 | Part:BreakJoints() | |
2769 | Part.TopSurface = "Smooth" | |
2770 | Part.Material = "SmoothPlastic" | |
2771 | Part.Name = 'Part' | |
2772 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2773 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2774 | Part.BrickColor = BrickColor.new("Really black") | |
2775 | Part.Size = Vector3.new(0.579999983, 0.200000003, 0.579999983) | |
2776 | Partweld = Instance.new("Motor6D") | |
2777 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2778 | Partweld.C1 = CFrame.new(-0.697163105, -0.237812042, 0.697189331, 0.707100332, -7.88574468e-008, -0.707094491, 6.7967342e-008, 0.999991119, -4.47028512e-008, 0.707100451, 4.37624692e-009, 0.707094193) | |
2779 | Partweld.Parent = Part | |
2780 | PartMesh = Instance.new("BlockMesh",Part) | |
2781 | PartMesh.Name = "Mesh" | |
2782 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2783 | PartMesh.Scale = Vector3.new(1, 0.812000036, 1) | |
2784 | ||
2785 | Part = Instance.new("Part", m2) | |
2786 | Part:BreakJoints() | |
2787 | Part.TopSurface = "Smooth" | |
2788 | Part.Material = "SmoothPlastic" | |
2789 | Part.Name = 'Part' | |
2790 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2791 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2792 | Part.BrickColor = BrickColor.new("Really black") | |
2793 | Part.Size = Vector3.new(2.31999993, 0.200000003, 1.85600007) | |
2794 | Partweld = Instance.new("Motor6D") | |
2795 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2796 | Partweld.C1 = CFrame.new(0, 0.232005119, 0.985790253, 0.999999762, 6.06398487e-010, 1.80602074e-005, -6.05488992e-010, 0.999969959, -6.3331953e-009, -1.80006027e-005, 6.33281516e-009, 0.99996984) | |
2797 | Partweld.Parent = Part | |
2798 | PartMesh = Instance.new("BlockMesh",Part) | |
2799 | PartMesh.Name = "Mesh" | |
2800 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2801 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2802 | ||
2803 | Part = Instance.new("Part", m2) | |
2804 | Part:BreakJoints() | |
2805 | Part.TopSurface = "Smooth" | |
2806 | Part.Material = "SmoothPlastic" | |
2807 | Part.Name = 'Part' | |
2808 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2809 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2810 | Part.BrickColor = BrickColor.new("Institutional white") | |
2811 | Part.Size = Vector3.new(0.34799999, 0.200000003, 0.34799999) | |
2812 | Partweld = Instance.new("Motor6D") | |
2813 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2814 | Partweld.C1 = CFrame.new(-0.697142363, 0.223291397, 0.697052002, 0.707106292, -6.45096577e-007, -0.707100093, 7.29660428e-007, 0.999991119, -4.4702773e-008, 0.707106292, -4.72456946e-007, 0.707100153) | |
2815 | Partweld.Parent = Part | |
2816 | PartMesh = Instance.new("BlockMesh",Part) | |
2817 | PartMesh.Name = "Mesh" | |
2818 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2819 | PartMesh.Scale = Vector3.new(1, 0.898999929, 1) | |
2820 | ||
2821 | Part = Instance.new("Part", m2) | |
2822 | Part:BreakJoints() | |
2823 | Part.TopSurface = "Smooth" | |
2824 | Part.Material = "SmoothPlastic" | |
2825 | Part.Name = 'Part' | |
2826 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2827 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2828 | Part.BrickColor = BrickColor.new("Mid gray") | |
2829 | Part.Size = Vector3.new(2.31999969, 0.200000003, 1.8560003) | |
2830 | Partweld = Instance.new("Motor6D") | |
2831 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2832 | Partweld.C1 = CFrame.new(0, 0.115994453, 0.985679626, 0.999999762, 6.06839023e-010, 1.80602074e-005, -6.06164008e-010, 0.999978542, -6.33337294e-009, -1.79708004e-005, 6.33308517e-009, 0.999978423) | |
2833 | Partweld.Parent = Part | |
2834 | PartMesh = Instance.new("BlockMesh",Part) | |
2835 | PartMesh.Name = "Mesh" | |
2836 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2837 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2838 | ||
2839 | Part = Instance.new("Part", m2) | |
2840 | Part:BreakJoints() | |
2841 | Part.TopSurface = "Smooth" | |
2842 | Part.Material = "SmoothPlastic" | |
2843 | Part.Name = 'Part' | |
2844 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2845 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2846 | Part.BrickColor = BrickColor.new("Mid gray") | |
2847 | Part.Size = Vector3.new(2.31999969, 0.200000003, 1.8560003) | |
2848 | Partweld = Instance.new("Motor6D") | |
2849 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2850 | Partweld.C1 = CFrame.new(0, -5.7220459e-006, 0.985614777, 0.999999762, 6.06938499e-010, 1.80602074e-005, -6.06267037e-010, 0.999978542, -6.33343333e-009, -1.79708004e-005, 6.33315622e-009, 0.999978423) | |
2851 | Partweld.Parent = Part | |
2852 | PartMesh = Instance.new("BlockMesh",Part) | |
2853 | PartMesh.Name = "Mesh" | |
2854 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2855 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2856 | ||
2857 | Part = Instance.new("Part", m2) | |
2858 | Part:BreakJoints() | |
2859 | Part.TopSurface = "Smooth" | |
2860 | Part.Material = "SmoothPlastic" | |
2861 | Part.Name = 'Part' | |
2862 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2863 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2864 | Part.BrickColor = BrickColor.new("Really black") | |
2865 | Part.Size = Vector3.new(2.31999993, 0.200000003, 1.85600007) | |
2866 | Partweld = Instance.new("Motor6D") | |
2867 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2868 | Partweld.C1 = CFrame.new(-3.81469727e-006, -0.231994629, 0.98563385, 0.999999762, 5.88961768e-010, 1.80602074e-005, -5.88052274e-010, 0.999969959, -6.33351505e-009, -1.80006027e-005, 6.3331278e-009, 0.99996984) | |
2869 | Partweld.Parent = Part | |
2870 | PartMesh = Instance.new("BlockMesh",Part) | |
2871 | PartMesh.Name = "Mesh" | |
2872 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2873 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2874 | ||
2875 | Part = Instance.new("Part", m2) | |
2876 | Part:BreakJoints() | |
2877 | Part.TopSurface = "Smooth" | |
2878 | Part.Material = "SmoothPlastic" | |
2879 | Part.Name = 'Part' | |
2880 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2881 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2882 | Part.BrickColor = BrickColor.new("Institutional white") | |
2883 | Part.Size = Vector3.new(2.31999993, 0.200000003, 0.200000003) | |
2884 | Partweld = Instance.new("Motor6D") | |
2885 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2886 | Partweld.C1 = CFrame.new(-7.62939453e-006, -0.231983185, -0.000392913818, 0.999999762, 5.89174931e-010, 1.80602074e-005, -5.88627813e-010, 0.999982834, -6.33369623e-009, -1.79708004e-005, 6.33347597e-009, 0.999982774) | |
2887 | Partweld.Parent = Part | |
2888 | PartMesh = Instance.new("BlockMesh",Part) | |
2889 | PartMesh.Name = "Mesh" | |
2890 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2891 | PartMesh.Scale = Vector3.new(1, 0.579999983, 0.579999983) | |
2892 | ||
2893 | Part = Instance.new("Part", m2) | |
2894 | Part:BreakJoints() | |
2895 | Part.TopSurface = "Smooth" | |
2896 | Part.Material = "SmoothPlastic" | |
2897 | Part.Name = 'Part' | |
2898 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2899 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2900 | Part.BrickColor = BrickColor.new("Institutional white") | |
2901 | Part.Size = Vector3.new(0.200000003, 0.34799999, 0.200000003) | |
2902 | Partweld = Instance.new("Motor6D") | |
2903 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2904 | Partweld.C1 = CFrame.new(0.000408172607, 1.71661377e-005, 1.2179985, 1.81794167e-005, -1.78972357e-007, -0.999982238, 6.07028539e-007, 0.999982357, -1.78961514e-007, 0.999999702, -6.07014329e-007, 1.82688236e-005) | |
2905 | Partweld.Parent = Part | |
2906 | PartMesh = Instance.new("BlockMesh",Part) | |
2907 | PartMesh.Name = "Mesh" | |
2908 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2909 | PartMesh.Scale = Vector3.new(0.579999983, 1, 0.579999983) | |
2910 | ||
2911 | Part = Instance.new("Part", m2) | |
2912 | Part:BreakJoints() | |
2913 | Part.TopSurface = "Smooth" | |
2914 | Part.Material = "SmoothPlastic" | |
2915 | Part.Name = 'Part' | |
2916 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2917 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2918 | Part.BrickColor = BrickColor.new("Institutional white") | |
2919 | Part.Size = Vector3.new(0.200000003, 0.200000003, 2.0880003) | |
2920 | Partweld = Instance.new("Motor6D") | |
2921 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2922 | Partweld.C1 = CFrame.new(1.21799469, -0.231983185, 0.985591888, 0.999999762, 5.89174931e-010, 1.80602074e-005, -5.88627813e-010, 0.999982834, -6.33369623e-009, -1.79708004e-005, 6.33347597e-009, 0.999982774) | |
2923 | Partweld.Parent = Part | |
2924 | PartMesh = Instance.new("BlockMesh",Part) | |
2925 | PartMesh.Name = "Mesh" | |
2926 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2927 | PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 1) | |
2928 | ||
2929 | Part = Instance.new("Part", m2) | |
2930 | Part:BreakJoints() | |
2931 | Part.TopSurface = "Smooth" | |
2932 | Part.Material = "SmoothPlastic" | |
2933 | Part.Name = 'Part' | |
2934 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2935 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2936 | Part.BrickColor = BrickColor.new("Institutional white") | |
2937 | Part.Size = Vector3.new(0.200000003, 0.200000003, 2.0880003) | |
2938 | Partweld = Instance.new("Motor6D") | |
2939 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2940 | Partweld.C1 = CFrame.new(1.21799469, 0.232002258, 0.985588074, 0.999999762, 5.78641135e-010, 1.80602074e-005, -5.78168624e-010, 0.999980927, -6.33353991e-009, -1.79708004e-005, 6.33334807e-009, 0.999980807) | |
2941 | Partweld.Parent = Part | |
2942 | PartMesh = Instance.new("BlockMesh",Part) | |
2943 | PartMesh.Name = "Mesh" | |
2944 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2945 | PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 1) | |
2946 | ||
2947 | Part = Instance.new("Part", m2) | |
2948 | Part:BreakJoints() | |
2949 | Part.TopSurface = "Smooth" | |
2950 | Part.Material = "SmoothPlastic" | |
2951 | Part.Name = 'Part' | |
2952 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2953 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2954 | Part.BrickColor = BrickColor.new("Institutional white") | |
2955 | Part.Size = Vector3.new(2.31999993, 0.200000003, 0.200000003) | |
2956 | Partweld = Instance.new("Motor6D") | |
2957 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2958 | Partweld.C1 = CFrame.new(3.81469727e-006, 0.231988907, 1.97200775, 0.999999762, 1.69357861e-011, 5.96046448e-008, -1.6701307e-011, 0.999991179, 2.27373675e-013, 2.98023224e-008, -3.23296945e-013, 0.99999094) | |
2959 | Partweld.Parent = Part | |
2960 | PartMesh = Instance.new("BlockMesh",Part) | |
2961 | PartMesh.Name = "Mesh" | |
2962 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2963 | PartMesh.Scale = Vector3.new(1, 0.579999983, 0.579999983) | |
2964 | ||
2965 | HandleMesh = Instance.new("BlockMesh",Handle2) | |
2966 | HandleMesh.Name = "Mesh" | |
2967 | HandleMesh.Offset = Vector3.new(0, 0, 0) | |
2968 | HandleMesh.Scale = Vector3.new(1, 1, 0.579999983) | |
2969 | ||
2970 | ||
2971 | CubesOfPower = Instance.new("Model",Workspace.Terrain) | |
2972 | ||
2973 | World = Instance.new("Part",CubesOfPower) | |
2974 | World.Size = Vector3.new(3,3,3) | |
2975 | World.Anchored = true | |
2976 | World.Position = workspace.Base.Position | |
2977 | World.Material = "SmoothPlastic" | |
2978 | World.Reflectance = 1 | |
2979 | ||
2980 | World2 = Instance.new("Part",CubesOfPower) | |
2981 | World2.Size = Vector3.new(3,3,3) | |
2982 | World2.Anchored = true | |
2983 | World2.Position = workspace.Base.Position | |
2984 | World2.Material = "SmoothPlastic" | |
2985 | World2.Reflectance = 1 | |
2986 | ||
2987 | World3 = Instance.new("Part",CubesOfPower) | |
2988 | World3.Size = Vector3.new(3,3,3) | |
2989 | World3.Anchored = true | |
2990 | World3.Position = workspace.Base.Position | |
2991 | World3.Material = "SmoothPlastic" | |
2992 | World3.Reflectance = 1 | |
2993 | ||
2994 | World4 = Instance.new("Part",CubesOfPower) | |
2995 | World4.Size = Vector3.new(3,3,3) | |
2996 | World4.Anchored = true | |
2997 | World4.Position = workspace.Base.Position | |
2998 | World4.Material = "SmoothPlastic" | |
2999 | World4.Reflectance = 1 | |
3000 | ||
3001 | WorldX = Instance.new("Part",CubesOfPower) | |
3002 | WorldX.Size = Vector3.new(3,3,3) | |
3003 | WorldX.Anchored = true | |
3004 | WorldX.Position = workspace.Base.Position | |
3005 | WorldX.Material = "SmoothPlastic" | |
3006 | WorldX.Reflectance = 1 | |
3007 | ||
3008 | World2X = Instance.new("Part",CubesOfPower) | |
3009 | World2X.Size = Vector3.new(3,3,3) | |
3010 | World2X.Anchored = true | |
3011 | World2X.Position = workspace.Base.Position | |
3012 | World2X.Material = "SmoothPlastic" | |
3013 | World2X.Reflectance = 1 | |
3014 | ||
3015 | World3X = Instance.new("Part",CubesOfPower) | |
3016 | World3X.Size = Vector3.new(3,3,3) | |
3017 | World3X.Anchored = true | |
3018 | World3X.Position = workspace.Base.Position | |
3019 | World3X.Material = "SmoothPlastic" | |
3020 | World3X.Reflectance = 1 | |
3021 | ||
3022 | World4X = Instance.new("Part",CubesOfPower) | |
3023 | World4X.Size = Vector3.new(3,3,3) | |
3024 | World4X.Anchored = true | |
3025 | World4X.Position = workspace.Base.Position | |
3026 | World4X.Material = "SmoothPlastic" | |
3027 | World4X.Reflectance = 1 | |
3028 | ||
3029 | Target = nil | |
3030 | ||
3031 | World.Touched:connect(function(hit) | |
3032 | Damagefunc(torso,hit,0,0,math.random(100,100),"Knockdown",RootPart,.2,1) | |
3033 | end) | |
3034 | World2.Touched:connect(function(hit) | |
3035 | Damagefunc(torso,hit,0,0,math.random(100,100),"Knockdown",RootPart,.2,1) | |
3036 | end) | |
3037 | World3.Touched:connect(function(hit) | |
3038 | Damagefunc(torso,hit,0,0,math.random(100,100),"Knockdown",RootPart,.2,1) | |
3039 | end) | |
3040 | World4.Touched:connect(function(hit) | |
3041 | Damagefunc(torso,hit,0,0,math.random(100,100),"Knockdown",RootPart,.2,1) | |
3042 | end) | |
3043 | WorldX.Touched:connect(function(hit) | |
3044 | Damagefunc(torso,hit,0,0,math.random(100,100),"Knockdown",RootPart,.2,1) | |
3045 | end) | |
3046 | World2X.Touched:connect(function(hit) | |
3047 | Damagefunc(torso,hit,0,0,math.random(100,100),"Knockdown",RootPart,.2,1) | |
3048 | end) | |
3049 | World3X.Touched:connect(function(hit) | |
3050 | Damagefunc(torso,hit,0,0,math.random(100,100),"Knockdown",RootPart,.2,1) | |
3051 | end) | |
3052 | World4X.Touched:connect(function(hit) | |
3053 | Damagefunc(torso,hit,0,0,math.random(100,100),"Knockdown",RootPart,.2,1) | |
3054 | end) | |
3055 | ||
3056 | StandOn = false | |
3057 | local hrprv=0 | |
3058 | angle = 0 | |
3059 | angle2 = 0 | |
3060 | angle3 = 0 | |
3061 | anglespeed = 2 | |
3062 | anglespeed2 = 1 | |
3063 | anglespeed3 = .4 | |
3064 | MyHealth = hum.Health | |
3065 | MyMaxHealth = hum.MaxHealth | |
3066 | MyMaxHealth = humane.Health | |
3067 | MyHealth = humane.Health | |
3068 | humane.Name = "The Worldo" | |
3069 | ItsHot = true | |
3070 | ControlledWorlds = true | |
3071 | jjing=false | |
3072 | Light = false | |
3073 | Dark = true | |
3074 | game:GetService("RunService").Stepped:connect(function() | |
3075 | for i, v in pairs(pchar:GetChildren()) do | |
3076 | if v:IsA("Part") then | |
3077 | v.BrickColor = BrickColor.new("Really black") | |
3078 | end | |
3079 | end | |
3080 | for i,v in ipairs(m:children()) do | |
3081 | if v:isA'Part' then | |
3082 | v.CanCollide = false | |
3083 | v.Reflectance = 0 | |
3084 | if Light == true then | |
3085 | v.Transparency = 0 | |
3086 | else | |
3087 | v.Transparency = 1 | |
3088 | end | |
3089 | end | |
3090 | end | |
3091 | ||
3092 | for i,v in ipairs(m2:children()) do | |
3093 | if v:isA'Part' then | |
3094 | v.CanCollide = false | |
3095 | v.Reflectance = 0 | |
3096 | if Dark == true then | |
3097 | v.Transparency = 0 | |
3098 | else | |
3099 | v.Transparency = 1 | |
3100 | end | |
3101 | end | |
3102 | end | |
3103 | angle = ((angle % 100) + anglespeed/10) | |
3104 | angle2 = ((angle2 % 100) + anglespeed2/10) | |
3105 | angle3 = ((angle3 % 100) + anglespeed3/10) | |
3106 | hrprv=Tween(hrprv,hrp.RotVelocity.Y,0.4) | |
3107 | sine=sine+1 | |
3108 | if HeavyGrav == true then | |
3109 | hum.JumpPower = math.huge | |
3110 | else | |
3111 | hum.JumpPower = 50 | |
3112 | end | |
3113 | if StandOn == false then | |
3114 | for i,v in pairs(pchar:children()) do | |
3115 | if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then | |
3116 | v.Transparency = 1 | |
3117 | end | |
3118 | end | |
3119 | elseif StandOn == true then | |
3120 | for i,v in pairs(pchar:children()) do | |
3121 | if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then | |
3122 | v.Transparency = 1 | |
3123 | end | |
3124 | end | |
3125 | end | |
3126 | MyHealth = humane.Health | |
3127 | humane.Health = MyHealth | |
3128 | if hum.Sit==true then | |
3129 | animpose="Sitting" | |
3130 | elseif hrp.Velocity.y > 1 then | |
3131 | animpose = "Jumping" | |
3132 | elseif ffing==true then | |
3133 | animpose="Freefalling" | |
3134 | elseif (hrp.Velocity*Vn(1,0,1)).magnitude<2 then | |
3135 | animpose="Idle" | |
3136 | elseif (hrp.Velocity*Vn(1,0,1)).magnitude<20 then | |
3137 | animpose="Walking" | |
3138 | elseif (hrp.Velocity*Vn(1,0,1)).magnitude>20 then | |
3139 | animpose="Sprinting" | |
3140 | end | |
3141 | if ControlledWorlds == true then | |
3142 | Handle.CFrame = RLerp(Handle.CFrame,tor.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),.04) | |
3143 | Handle2.CFrame = RLerp(Handle2.CFrame,tor.CFrame*CFrame.Angles(math.rad(-sine),math.rad(-sine),math.rad(-sine))*CFrame.new(2,2+math.sin(-angle3)*.2,-3)*CFrame.Angles(math.rad(-sine),math.rad(-sine),math.rad(-sine)),.04) | |
3144 | World.CFrame = RLerp(World.CFrame,workspace.Base.CFrame*CFrame.new(100,10+math.sin(angle3)*.2,0)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(math.cos(angle3),math.sin(angle),math.sin(angle2)),.94) | |
3145 | World2.CFrame = RLerp(World2.CFrame,workspace.Base.CFrame*CFrame.new(-100,10+math.sin(angle3)*.2,0)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(math.cos(angle3),math.sin(angle),math.sin(angle2)),.59) | |
3146 | World3.CFrame = RLerp(World3.CFrame,workspace.Base.CFrame*CFrame.new(0,10+math.sin(angle3)*.2,100)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(math.cos(angle3),math.sin(angle),math.sin(angle2)),.04) | |
3147 | World4.CFrame = RLerp(World4.CFrame,workspace.Base.CFrame*CFrame.new(0,10+math.sin(angle3)*.2,-100)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(math.cos(angle3),math.sin(angle),math.sin(angle2)),.34) | |
3148 | WorldX.CFrame = RLerp(WorldX.CFrame,workspace.Base.CFrame*CFrame.new(50,10+math.sin(angle3)*.2,50)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(math.cos(angle3),math.sin(angle),math.sin(angle2)),.64) | |
3149 | World2X.CFrame = RLerp(World2X.CFrame,workspace.Base.CFrame*CFrame.new(-50,10+math.sin(angle3)*.2,50)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(math.cos(angle3),math.sin(angle),math.sin(angle2)),.742) | |
3150 | World3X.CFrame = RLerp(World3X.CFrame,workspace.Base.CFrame*CFrame.new(50,10+math.sin(angle3)*.2,-50)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(math.cos(angle3),math.sin(angle),math.sin(angle2)),.49) | |
3151 | World4X.CFrame = RLerp(World4X.CFrame,workspace.Base.CFrame*CFrame.new(-50,10+math.sin(angle3)*.2,-50)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(math.cos(angle3),math.sin(angle),math.sin(angle2)),.5) | |
3152 | elseif ControlledWorlds == false then | |
3153 | Handle.CFrame = RLerp(Handle.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),.04) | |
3154 | Handle2.CFrame = RLerp(Handle2.CFrame,Target.CFrame*CFrame.Angles(math.rad(-sine),math.rad(-sine),math.rad(-sine))*CFrame.new(2,2+math.sin(-angle3)*.2,-3)*CFrame.Angles(math.rad(-sine),math.rad(-sine),math.rad(-sine)),.04) | |
3155 | World.CFrame = RLerp(World.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),0.04) | |
3156 | World2.CFrame = RLerp(World2.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),0.44) | |
3157 | World3.CFrame = RLerp(World3.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),0.1) | |
3158 | World4.CFrame = RLerp(World4.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),0.094) | |
3159 | WorldX.CFrame = RLerp(WorldX.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),0.6) | |
3160 | World2X.CFrame = RLerp(World2X.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),0.9) | |
3161 | World3X.CFrame = RLerp(World3X.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),0.2) | |
3162 | World4X.CFrame = RLerp(World4X.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),0.05) | |
3163 | end | |
3164 | if Attacking == false then | |
3165 | torso.CFrame = hrp.CFrame*CFrame.new(0,0,3) | |
3166 | runKF(heid2) | |
3167 | runKF(toid2) | |
3168 | runKF(laid2) | |
3169 | runKF(raid2) | |
3170 | runKF(llid2) | |
3171 | runKF(rlid2) | |
3172 | end | |
3173 | if noRig==false then | |
3174 | if animpose=="Idle" then | |
3175 | runKF(heid) | |
3176 | runKF(toid) | |
3177 | runKF(laid) | |
3178 | runKF(raid) | |
3179 | runKF(llid) | |
3180 | runKF(rlid) | |
3181 | elseif animpose=="Walking" then | |
3182 | runKF(hewk) | |
3183 | runKF(towk) | |
3184 | runKF(lawk) | |
3185 | runKF(rawk) | |
3186 | runKF(llwk) | |
3187 | runKF(rlwk) | |
3188 | --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/25),0.4) | |
3189 | --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/25),0.4) | |
3190 | ---llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/25),0.4) | |
3191 | elseif animpose=="Sprinting" then | |
3192 | runKF(hesp) | |
3193 | runKF(tosp) | |
3194 | runKF(lasp) | |
3195 | runKF(rasp) | |
3196 | runKF(llsp) | |
3197 | runKF(rlsp) | |
3198 | --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4) | |
3199 | --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/10),0.4) | |
3200 | --llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/10),0.4) | |
3201 | elseif animpose=="Freefalling" then | |
3202 | runKF(heff) | |
3203 | runKF(toff) | |
3204 | runKF(laff) | |
3205 | runKF(raff) | |
3206 | runKF(llff) | |
3207 | runKF(rlff) | |
3208 | --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4) | |
3209 | elseif animpose=="Jumping" then | |
3210 | runKF(hejp) | |
3211 | runKF(tojp) | |
3212 | runKF(lajp) | |
3213 | runKF(rajp) | |
3214 | runKF(lljp) | |
3215 | runKF(rljp) | |
3216 | end | |
3217 | end | |
3218 | end) | |
3219 | ||
3220 | print(hum.JumpPower) | |
3221 | ||
3222 | AnotherOneBitesZaDusto = 1000 | |
3223 | hum.MaxHealth = 1000 | |
3224 | wait() | |
3225 | hum.Health = 1000 | |
3226 | function Switching() | |
3227 | if Light == true then | |
3228 | Light = false | |
3229 | Dark = true | |
3230 | elseif Dark == true then | |
3231 | Light = true | |
3232 | Dark = false | |
3233 | end | |
3234 | end | |
3235 | while wait(100) do | |
3236 | AnotherOneBitesZaDusto = hum.Health | |
3237 | print'Changed' | |
3238 | Switching() | |
3239 | end |