SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,game,owner = owner,game | |
3 | local RealPlayer = Player | |
4 | do | |
5 | print("So Cewl!!") | |
6 | local rp = RealPlayer | |
7 | script.Parent = rp.Character | |
8 | ||
9 | --RemoteEvent for communicating | |
10 | local Event = Instance.new("RemoteEvent") | |
11 | Event.Name = "UserInput_Event" | |
12 | ||
13 | --Fake event to make stuff like Mouse.KeyDown work | |
14 | local function fakeEvent() | |
15 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
16 | t.connect = t.Connect | |
17 | return t | |
18 | end | |
19 | ||
20 | --Creating fake input objects with fake variables | |
21 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
22 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
23 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
24 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
25 | end} | |
26 | --Merged 2 functions into one by checking amount of arguments | |
27 | CAS.UnbindAction = CAS.BindAction | |
28 | ||
29 | --This function will trigger the events that have been :Connect()'ed | |
30 | local function te(self,ev,...) | |
31 | local t = m[ev] | |
32 | if t and t._fakeEvent then | |
33 | for _,f in pairs(t.Functions) do | |
34 | f(...) | |
35 | end | |
36 | end | |
37 | end | |
38 | m.TrigEvent = te | |
39 | UIS.TrigEvent = te | |
40 | ||
41 | Event.OnServerEvent:Connect(function(plr,io) | |
42 | if plr~=rp then return end | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | if not io.isMouse then | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local Mouse = Player:GetMouse() | |
66 | local UIS = game:GetService("UserInputService") | |
67 | local input = function(io,a) | |
68 | if a then return end | |
69 | --Since InputObject is a client-side instance, we create and pass table instead | |
70 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
71 | end | |
72 | UIS.InputBegan:Connect(input) | |
73 | UIS.InputEnded:Connect(input) | |
74 | ||
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | ||
85 | ----Sandboxed game object that allows the usage of client-side methods and services | |
86 | --Real game object | |
87 | local _rg = game | |
88 | ||
89 | --Metatable for fake service | |
90 | local fsmt = { | |
91 | __index = function(self,k) | |
92 | local s = rawget(self,"_RealService") | |
93 | if s then return s[k] end | |
94 | end, | |
95 | __newindex = function(self,k,v) | |
96 | local s = rawget(self,"_RealService") | |
97 | if s then s[k]=v end | |
98 | end, | |
99 | __call = function(self,...) | |
100 | local s = rawget(self,"_RealService") | |
101 | if s then return s(...) end | |
102 | end | |
103 | } | |
104 | local function FakeService(t,RealService) | |
105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
106 | return setmetatable(t,fsmt) | |
107 | end | |
108 | ||
109 | --Fake game object | |
110 | local g = { | |
111 | GetService = function(self,s) | |
112 | return self[s] | |
113 | end, | |
114 | Players = FakeService({ | |
115 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
116 | },"Players"), | |
117 | UserInputService = FakeService(UIS,"UserInputService"), | |
118 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
119 | } | |
120 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
121 | g.service = g.GetService | |
122 | ||
123 | g.RunService = FakeService({ | |
124 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
125 | BindToRenderStep = function(self,name,_,fun) | |
126 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
127 | end, | |
128 | UnbindFromRenderStep = function(self,name) | |
129 | self._btrs[name]:Disconnect() | |
130 | end, | |
131 | },"RunService") | |
132 | ||
133 | setmetatable(g,{ | |
134 | __index=function(self,s) | |
135 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
136 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
137 | end, | |
138 | __newindex = fsmt.__newindex, | |
139 | __call = fsmt.__call | |
140 | }) | |
141 | --Changing owner to fake player object to support owner:GetMouse() | |
142 | game,owner = g,g.Players.LocalPlayer | |
143 | end | |
144 | ||
145 | coroutine.resume(coroutine.create(function() | |
146 | ||
147 | local S = setmetatable({},{__index = function(s,i) return game:service(i) end}) | |
148 | local Plrs = S.Players | |
149 | local Plr = Plrs.LocalPlayer | |
150 | local Char = Plr.Character | |
151 | local Hum = Char:FindFirstChildOfClass'Humanoid' | |
152 | local RArm = Char["Right Arm"] | |
153 | local LArm = Char["Left Arm"] | |
154 | local RLeg = Char["Right Leg"] | |
155 | local LLeg = Char["Left Leg"] | |
156 | local Root = Char:FindFirstChild'HumanoidRootPart' | |
157 | local Torso = Char.Torso | |
158 | local Head = Char.Head | |
159 | local NeutralAnims = true | |
160 | local Attack = false | |
161 | local BloodPuddles = {} | |
162 | local Effects = {} | |
163 | local Debounces = {Debounces={}} | |
164 | local Mouse = Plr:GetMouse() | |
165 | local Hit = {} | |
166 | local Sine = 0 | |
167 | local Idle = 0 | |
168 | local Change = 1 | |
169 | local FLArm,FRArm,FRArmW,FLArmW | |
170 | local Stunned = {} | |
171 | local VoidSB = (game.PlaceId == 843468296) -- You can change the 843468296 to 0 if you dont care about potential lag on Void SB | |
172 | --// Debounce System \\-- | |
173 | ||
174 | ||
175 | function Debounces:New(name,cooldown) | |
176 | local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0} | |
177 | setmetatable(aaaaa,{__index = Debounces}) | |
178 | Debounces.Debounces[name] = aaaaa | |
179 | return aaaaa | |
180 | end | |
181 | ||
182 | function Debounces:Use(overrideUsable) | |
183 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
184 | if(self.Usable or overrideUsable)then | |
185 | self.Usable = false | |
186 | self.CoolingDown = true | |
187 | local LastUse = time() | |
188 | self.LastUse = LastUse | |
189 | delay(self.Cooldown or 2,function() | |
190 | if(self.LastUse == LastUse)then | |
191 | self.CoolingDown = false | |
192 | self.Usable = true | |
193 | end | |
194 | end) | |
195 | end | |
196 | end | |
197 | ||
198 | function Debounces:Get(name) | |
199 | assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name))) | |
200 | for i,v in next, Debounces.Debounces do | |
201 | if(i == name)then | |
202 | return v; | |
203 | end | |
204 | end | |
205 | end | |
206 | ||
207 | function Debounces:GetProgressPercentage() | |
208 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
209 | if(self.CoolingDown and not self.Usable)then | |
210 | return math.max( | |
211 | math.floor( | |
212 | ( | |
213 | (time()-self.LastUse)/self.Cooldown or 2 | |
214 | )*100 | |
215 | ) | |
216 | ) | |
217 | else | |
218 | return 100 | |
219 | end | |
220 | end | |
221 | ||
222 | --// Shortcut Variables \\-- | |
223 | local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ} | |
224 | local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV} | |
225 | local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis} | |
226 | local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end} | |
227 | local R3 = {N=Region3.new} | |
228 | local De = S.Debris | |
229 | local WS = workspace | |
230 | local Lght = S.Lighting | |
231 | local RepS = S.ReplicatedStorage | |
232 | local IN = Instance.new | |
233 | ||
234 | --// Extended ROBLOX tables \\-- | |
235 | local Instance = setmetatable({AllChildren = function(where,callback,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do callback(v) end end, ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance}) | |
236 | --// Customization \\-- | |
237 | ||
238 | local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this | |
239 | local Remove_Hats = false | |
240 | local Remove_Clothing = false | |
241 | local PlayerSize = 1 | |
242 | local DamageColor = BrickColor.new'Really red' | |
243 | local MusicPitch = 1 | |
244 | local BloodID = "rbxassetid://284205403" | |
245 | local BloodColor = BrickColor.new'Crimson' | |
246 | local BloodMaterial = Enum.Material.SmoothPlastic | |
247 | ||
248 | --// Weapon and GUI creation, and Character Customization \\-- | |
249 | ||
250 | if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end | |
251 | if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end | |
252 | local Effects = IN("Folder",Char) | |
253 | Effects.Name = "Effects" | |
254 | ||
255 | New = function(Object, Parent, Name, Data) | |
256 | local Object = Instance.new(Object) | |
257 | for Index, Value in pairs(Data or {}) do | |
258 | Object[Index] = Value | |
259 | end | |
260 | Object.Parent = Parent | |
261 | Object.Name = Name | |
262 | return Object | |
263 | end | |
264 | ||
265 | ||
266 | --// Instance Creation Functions \\-- | |
267 | ||
268 | function Sound(parent,id,pitch,volume,looped,effect,autoPlay) | |
269 | local Sound = IN("Sound") | |
270 | Sound.SoundId = "rbxassetid://".. tostring(id or 0) | |
271 | Sound.Pitch = pitch or 1 | |
272 | Sound.Volume = volume or 1 | |
273 | Sound.Looped = looped or false | |
274 | if(autoPlay)then | |
275 | coroutine.wrap(function() | |
276 | repeat wait() until Sound.IsLoaded | |
277 | Sound.Playing = autoPlay or false | |
278 | end)() | |
279 | end | |
280 | if(not looped and effect)then | |
281 | Sound.Ended:connect(function() | |
282 | Sound.Volume = 0 | |
283 | Sound:destroy() | |
284 | end) | |
285 | elseif(effect)then | |
286 | warn("Sound can't be looped and a sound effect!") | |
287 | end | |
288 | Sound.Parent =parent or Torso | |
289 | return Sound | |
290 | end | |
291 | function Part(parent,color,material,size,cframe,anchored,cancollide) | |
292 | local part = IN("Part") | |
293 | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0) | |
294 | part.Material = material or Enum.Material.SmoothPlastic | |
295 | part.TopSurface,part.BottomSurface=10,10 | |
296 | part.Size = size or V3.N(1,1,1) | |
297 | part.CFrame = cframe or CF.N(0,0,0) | |
298 | part.CanCollide = cancollide or false | |
299 | part.Anchored = anchored or false | |
300 | part.Parent = parent or Char | |
301 | return part | |
302 | end | |
303 | ||
304 | function Mesh(parent,meshtype,meshid,textid,scale,offset) | |
305 | local part = IN("SpecialMesh") | |
306 | part.MeshId = meshid or "" | |
307 | part.TextureId = textid or "" | |
308 | part.Scale = scale or V3.N(1,1,1) | |
309 | part.Offset = offset or V3.N(0,0,0) | |
310 | part.MeshType = meshtype or Enum.MeshType.Sphere | |
311 | part.Parent = parent | |
312 | return part | |
313 | end | |
314 | ||
315 | NewInstance = function(instance,parent,properties) | |
316 | local inst = Instance.new(instance,parent) | |
317 | if(properties)then | |
318 | for i,v in next, properties do | |
319 | pcall(function() inst[i] = v end) | |
320 | end | |
321 | end | |
322 | return inst; | |
323 | end | |
324 | ||
325 | --// Stop animations \\-- | |
326 | for _,v in next, Hum:GetPlayingAnimationTracks() do | |
327 | v:Stop(); | |
328 | end | |
329 | ||
330 | --// Artificial HB \\-- | |
331 | ||
332 | local ArtificialHB = IN("BindableEvent", script) | |
333 | ArtificialHB.Name = "Heartbeat" | |
334 | ||
335 | script:WaitForChild("Heartbeat") | |
336 | ||
337 | local tf = 0 | |
338 | local allowframeloss = false | |
339 | local tossremainder = false | |
340 | local lastframe = tick() | |
341 | local frame = 1/Frame_Speed | |
342 | ArtificialHB:Fire() | |
343 | ||
344 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
345 | tf = tf + s | |
346 | if tf >= frame then | |
347 | if allowframeloss then | |
348 | script.Heartbeat:Fire() | |
349 | lastframe = tick() | |
350 | else | |
351 | for i = 1, math.floor(tf / frame) do | |
352 | ArtificialHB:Fire() | |
353 | end | |
354 | lastframe = tick() | |
355 | end | |
356 | if tossremainder then | |
357 | tf = 0 | |
358 | else | |
359 | tf = tf - frame * math.floor(tf / frame) | |
360 | end | |
361 | end | |
362 | end) | |
363 | ||
364 | function swait(num) | |
365 | if num == 0 or num == nil then | |
366 | ArtificialHB.Event:wait() | |
367 | else | |
368 | for i = 0, num do | |
369 | ArtificialHB.Event:wait() | |
370 | end | |
371 | end | |
372 | end | |
373 | ||
374 | ||
375 | --// Effect Function(s) \\-- | |
376 | ||
377 | function FakeWeld(p0,p1) | |
378 | local attachment0 = Instance.new('Attachment',p0) | |
379 | local attachment1 = Instance.new('Attachment',p1) | |
380 | return NewInstance("HingeConstraint",p0,{Attachment0=attachment0,Attachment1=attachment1,LimitsEnabled=true,UpperAngle=0,LowerAngle=0}) | |
381 | end | |
382 | ||
383 | function Fragment(v) | |
384 | v:ClearAllChildren() | |
385 | local Fragments = NewInstance("Folder",v.Parent,{Name='Fragmentation'}) | |
386 | v.Archivable = true | |
387 | -- X | |
388 | v.Size = Vector3.new(v.Size.x/2,v.Size.y,v.Size.z) | |
389 | v.Name = v.Name.."Fragment" | |
390 | ||
391 | local a = v:Clone() | |
392 | a.Parent = Fragments | |
393 | a.CFrame = CF.N(-.5,1,1) * a.CFrame | |
394 | v.CFrame = CF.N(.5,1,1) * v.CFrame | |
395 | -- Y | |
396 | v.Size = Vector3.new(v.Size.x,v.Size.y/2,v.Size.z) | |
397 | ||
398 | local a = v:Clone() | |
399 | a.Parent = Fragments | |
400 | a.CFrame = CF.N(1,-.5,1) * a.CFrame | |
401 | v.CFrame = CF.N(1,.5,1) * v.CFrame | |
402 | -- Z | |
403 | v.Size = Vector3.new(v.Size.x,v.Size.y,v.Size.z/2) | |
404 | ||
405 | local a = v:Clone() | |
406 | a.Parent = Fragments | |
407 | a.CFrame = CF.N(1,1,-.5) * a.CFrame | |
408 | v.CFrame = CF.N(1,1,.5) * v.CFrame | |
409 | ||
410 | v.Parent = Fragments | |
411 | return Fragments | |
412 | end | |
413 | ||
414 | local blood = NewInstance("ParticleEmitter",nil,{ | |
415 | Color = ColorSequence.new(BloodColor.Color), | |
416 | LightEmission=.1, | |
417 | LightInfluence=1, | |
418 | ZOffset=.9, | |
419 | Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)}, | |
420 | Texture="rbxassetid://284205403", | |
421 | Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}, | |
422 | Acceleration = V3.N(0,-15,0), | |
423 | Lifetime = NumberRange.new(1,2), | |
424 | Rate=50, | |
425 | Speed = NumberRange.new(5,15), | |
426 | SpreadAngle = Vector2.new(15,15), | |
427 | Enabled = false, | |
428 | EmissionDirection = 'Back', | |
429 | }) | |
430 | ||
431 | local blood2 = NewInstance("ParticleEmitter",nil,{ | |
432 | Color = ColorSequence.new(BloodColor.Color), | |
433 | LightEmission=.1, | |
434 | LightInfluence=1, | |
435 | ZOffset=.9, | |
436 | Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)}, | |
437 | Texture=BloodID, | |
438 | Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}, | |
439 | Acceleration = V3.N(0,-125,0), | |
440 | Lifetime = NumberRange.new(1,2), | |
441 | Rate=50, | |
442 | Speed = NumberRange.new(5,15), | |
443 | SpreadAngle = Vector2.new(15,15), | |
444 | Enabled = false, | |
445 | EmissionDirection = 'Back', | |
446 | }) | |
447 | ||
448 | local blood3 = NewInstance("ParticleEmitter",nil,{ | |
449 | Color = ColorSequence.new(BloodColor.Color), | |
450 | Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)}, | |
451 | Texture=BloodID, | |
452 | Lifetime = NumberRange.new(.4), | |
453 | Rate=50, | |
454 | LockedToPart=true, | |
455 | Speed = NumberRange.new(0,2), | |
456 | Enabled = false, | |
457 | }) | |
458 | ||
459 | function Blood(size,cframe,amount) | |
460 | local part = Instance.new("Part",Effects) | |
461 | part.Transparency = 1 | |
462 | part.Size = size | |
463 | part.Anchored = true | |
464 | part.CanCollide = false | |
465 | part.CFrame = cframe | |
466 | S.Debris:AddItem(part,6) | |
467 | local prtcl = blood:Clone() | |
468 | prtcl.Parent = part | |
469 | prtcl:Emit(amount) | |
470 | return part, prtcl | |
471 | end | |
472 | ||
473 | function Blood2(size,cframe) | |
474 | local part = Instance.new("Part",Effects) | |
475 | part.Transparency = 1 | |
476 | part.Size = size | |
477 | part.Anchored = false | |
478 | part.CanCollide = false | |
479 | part.CFrame = cframe | |
480 | local prtcl = blood:Clone() | |
481 | prtcl.Enabled = true | |
482 | prtcl.Parent = part | |
483 | return part, prtcl | |
484 | end | |
485 | ||
486 | function Blood3(size,cframe,amount) | |
487 | local part = Instance.new("Part",Effects) | |
488 | part.Transparency = 1 | |
489 | part.Size = size | |
490 | part.Anchored = true | |
491 | part.CanCollide = false | |
492 | part.CFrame = cframe | |
493 | S.Debris:AddItem(part,6) | |
494 | local prtcl = blood2:Clone() | |
495 | prtcl.Parent = part | |
496 | prtcl:Emit(amount) | |
497 | return part, prtcl | |
498 | end | |
499 | ||
500 | function Blood4(size,cframe) | |
501 | local part = Instance.new("Part",Effects) | |
502 | part.Transparency = 1 | |
503 | part.Size = size | |
504 | part.Anchored = false | |
505 | part.CanCollide = false | |
506 | part.CFrame = cframe | |
507 | local prtcl = blood2:Clone() | |
508 | prtcl.Enabled = true | |
509 | prtcl.Parent = part | |
510 | return part, prtcl | |
511 | end | |
512 | ||
513 | ||
514 | function BloodDrop(pos,dir,maxsize) | |
515 | if(game.PlaceId ~= 843468296)then | |
516 | local owo = NewInstance("Part",Effects,{Transparency=0,Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.2,.2,.2), CanCollide = false}) | |
517 | owo.CFrame=CF.N(pos,dir) | |
518 | local bv = Instance.new("BodyVelocity",owo) | |
519 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
520 | bv.velocity = CF.N(pos,dir+V3.N(M.RNG(-3,3)/30,M.RNG(-3,3)/30,M.RNG(-3,3)/30)).lookVector*15 | |
521 | bv.Name = "MOVE" | |
522 | --[[local prt = blood3:Clone() | |
523 | prt.Parent = owo | |
524 | prt.Enabled = true]] | |
525 | delay(.01, function() bv:destroy() end) | |
526 | local touch; | |
527 | touch = owo.Touched:connect(function(hit) | |
528 | if(hit.Anchored==true and hit.CanCollide and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then | |
529 | touch:disconnect() | |
530 | BloodPuddle(owo.Position+V3.N(0,1,0),100,maxsize,owo) | |
531 | owo:destroy() | |
532 | end | |
533 | end) | |
534 | end | |
535 | end | |
536 | ||
537 | function BloodPuddle(position,range,maxSize,where) | |
538 | local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new( | |
539 | position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range | |
540 | ),{where,Char},false,true) | |
541 | if(hit and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then | |
542 | if(hit.Name == 'BloodPuddle')then | |
543 | local dist = (position - hit.Position).magnitude | |
544 | if (hit.Size.Z <= 5 and hit.Size.Z < maxSize) or (hit.Size.Z > 5 and hit.Size.Z < maxSize and dist < hit.Size.Z/3) then | |
545 | --hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1) | |
546 | hit.Size = hit.Size + V3.N(.1,0,.1) | |
547 | end | |
548 | if(hit.Size.Z < 2)then | |
549 | pcall(function() hit.Sound:Play() end) | |
550 | end | |
551 | else | |
552 | local Puddle = NewInstance('Part',workspace,{Material=BloodMaterial,BrickColor=BloodColor,Size=V3.N(1,.1,1),CFrame=CF.N(pos,pos+norm)*CF.A(90*M.P/180,0,0),Anchored=true,CanCollide=false,Archivable=false,Locked=true,Name='BloodPuddle'}) | |
553 | local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'}) | |
554 | Sound(Puddle,685857471,1,2,false,false,true) | |
555 | coroutine.wrap(function() | |
556 | swait(75) | |
557 | repeat | |
558 | swait() | |
559 | Puddle.Size = Puddle.Size - V3.N(.02,0,.02) | |
560 | until Puddle.Size.Z < 0.51 | |
561 | Puddle:destroy() | |
562 | end)() | |
563 | end | |
564 | end | |
565 | end | |
566 | ||
567 | function recurse(root,callback,i) | |
568 | i= i or 0 | |
569 | for _,v in pairs(root:GetChildren()) do | |
570 | i = i + 1 | |
571 | callback(i,v) | |
572 | ||
573 | if #v:GetChildren() > 0 then | |
574 | i = recurse(v,callback,i) | |
575 | end | |
576 | end | |
577 | ||
578 | return i | |
579 | end | |
580 | ||
581 | function ragdollJoint(character, part0, part1, attachmentName, className, properties) -- thanks mustardfat im too lazy | |
582 | if character:FindFirstChild("RagdollConstraint"..part1.Name) == nil then | |
583 | for i,v in pairs(character:GetChildren()) do | |
584 | if v:IsA("MeshPart") and (v.MeshId == 'http://www.roblox.com/asset/?id=553602991' or v.MeshId == 'http://www.roblox.com/asset/?id=553602977' or v.MeshId == 'http://www.roblox.com/asset/?id=553602987') then | |
585 | v.Size = Vector3.new(1,1,1) | |
586 | end | |
587 | end | |
588 | if part1:FindFirstChildOfClass('Motor6D') then | |
589 | part1:FindFirstChildOfClass('Motor6D'):Remove() | |
590 | end | |
591 | if attachmentName ~= "NeckAttachment" then | |
592 | attachmentName = attachmentName.."RigAttachment" | |
593 | end | |
594 | local constraint = Instance.new(className.."Constraint") | |
595 | constraint.Attachment0 = part0:FindFirstChild(attachmentName) | |
596 | constraint.Attachment1 = part1:FindFirstChild(attachmentName) | |
597 | constraint.Name = "RagdollConstraint"..part1.Name | |
598 | if character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
599 | local collidepart = Instance.new('Part',part1) | |
600 | collidepart.Size = part1.Size/2 | |
601 | if string.find(string.lower(part1.Name),"upper") then | |
602 | if string.find(string.lower(part1.Name),"leg") then | |
603 | collidepart.Size = part1.Size/3 | |
604 | else | |
605 | collidepart.Size = part1.Size/2.5 | |
606 | end | |
607 | end | |
608 | collidepart.CanCollide = true | |
609 | collidepart.Name = "RagdollJoint" | |
610 | collidepart.Anchored = false | |
611 | collidepart.Transparency = 1 | |
612 | collidepart.CFrame = part1.CFrame | |
613 | collidepart:BreakJoints() | |
614 | local attachment0 = Instance.new('Attachment',part1) | |
615 | local attachment1 = Instance.new('Attachment',collidepart) | |
616 | if attachment0 and attachment1 then | |
617 | local constraint = Instance.new("HingeConstraint") | |
618 | constraint.Attachment0 = attachment0 | |
619 | constraint.Attachment1 = attachment1 | |
620 | constraint.LimitsEnabled = true | |
621 | constraint.UpperAngle = 0 | |
622 | constraint.LowerAngle = 0 | |
623 | constraint.Parent = character | |
624 | end | |
625 | if string.find(string.lower(part1.Name),"upper") then | |
626 | if string.find(string.lower(part1.Name),"leg") then | |
627 | attachment0.Position = Vector3.new(0,0.01,0) | |
628 | else | |
629 | attachment0.Position = Vector3.new(0,0.25,0) | |
630 | end | |
631 | else | |
632 | attachment0.Position = Vector3.new(0,-0.1,0) | |
633 | end | |
634 | end | |
635 | for _,propertyData in next,properties or {} do | |
636 | constraint[propertyData[1]] = propertyData[2] | |
637 | end | |
638 | constraint.Parent = character | |
639 | return constraint | |
640 | end | |
641 | end | |
642 | ||
643 | ||
644 | function getAttachment0(character,attachmentName) | |
645 | for _,child in next,character:children() do | |
646 | local attachment = child:FindFirstChild(attachmentName) | |
647 | if attachment then | |
648 | return attachment | |
649 | end | |
650 | end | |
651 | end | |
652 | ||
653 | ||
654 | function Ragdoll(who,half,snapped) | |
655 | pcall(function() | |
656 | who:breakJoints() | |
657 | local who = who | |
658 | local hhh = who:FindFirstChildOfClass'Humanoid' | |
659 | local t = GetTorso(who) | |
660 | pcall(function() | |
661 | who.HumanoidRootPart:destroy() | |
662 | end) | |
663 | hhh.Health = 0 | |
664 | Stunned[who] = true | |
665 | if(hhh.RigType == Enum.HumanoidRigType.R6)then | |
666 | local RA,LA,RL,LL,HD = who:FindFirstChild'Right Arm',who:FindFirstChild'Left Arm',who:FindFirstChild'Right Leg',who:FindFirstChild'Left Leg',who:FindFirstChild'Head' | |
667 | pcall(function() | |
668 | if(hhh.Health > 0)then local CollideRA = NewInstance('Part',who,{Size=RA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'}) | |
669 | FakeWeld(RA,CollideRA) end | |
670 | local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()}) | |
671 | local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()}) | |
672 | local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2}) | |
673 | end) | |
674 | pcall(function() | |
675 | local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()}) | |
676 | local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()}) | |
677 | ||
678 | local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2}) | |
679 | ||
680 | if(hhh.Health > 0)then local CollideLA = NewInstance('Part',who,{Size=LA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'}) | |
681 | FakeWeld(LA,CollideLA) end | |
682 | end) | |
683 | pcall(function() | |
684 | if(HD)then | |
685 | local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()}) | |
686 | local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()}) | |
687 | local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()}) | |
688 | local HC = NewInstance('HingeConstraint',t,{LimitsEnabled=true,UpperAngle=50,LowerAngle=-50,Attachment0=NJ,Attachment1=NJ2}) | |
689 | ||
690 | if(snapped)then | |
691 | NJ.Orientation = V3.N(0,90,0) | |
692 | end | |
693 | if(hhh.Health > 0)then | |
694 | local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'}) | |
695 | FakeWeld(HD,CollideHD) | |
696 | end | |
697 | end | |
698 | end) | |
699 | if(not half)then | |
700 | local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()}) | |
701 | local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()}) | |
702 | local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()}) | |
703 | local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()}) | |
704 | local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2}) | |
705 | local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2}) | |
706 | if(hhh.Health > 0)then local CollideRL = NewInstance('Part',who,{Size=RL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'}) | |
707 | local CollideLL = NewInstance('Part',who,{Size=LL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'}) | |
708 | ||
709 | FakeWeld(RL,CollideRL) | |
710 | FakeWeld(LL,CollideLL) end | |
711 | end | |
712 | for _,v in next, who:children() do | |
713 | if(v:IsA'BasePart')then | |
714 | v.CanCollide = true | |
715 | end | |
716 | end | |
717 | else | |
718 | local character = who | |
719 | ||
720 | if(half)then | |
721 | pcall(function() | |
722 | character.UpperTorso.WaistRigAttachment:Destroy() | |
723 | end) | |
724 | end | |
725 | ||
726 | local handProperties = { | |
727 | {"LimitsEnabled", true}; | |
728 | {"UpperAngle",0}; | |
729 | {"LowerAngle",0}; | |
730 | } | |
731 | local footProperties = { | |
732 | {"LimitsEnabled", true}; | |
733 | {"UpperAngle", 15}; | |
734 | {"LowerAngle", -45}; | |
735 | } | |
736 | local shinProperties = { | |
737 | {"LimitsEnabled", true}; | |
738 | {"UpperAngle", 0}; | |
739 | {"LowerAngle", -75}; | |
740 | } | |
741 | if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then | |
742 | ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties) | |
743 | end | |
744 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then | |
745 | ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket") | |
746 | end | |
747 | if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then | |
748 | ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket") | |
749 | end | |
750 | if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then | |
751 | ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties) | |
752 | end | |
753 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then | |
754 | ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket") | |
755 | end | |
756 | if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then | |
757 | ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket") | |
758 | end | |
759 | if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then | |
760 | ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties) | |
761 | end | |
762 | if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then | |
763 | ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties) | |
764 | end | |
765 | if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then | |
766 | ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket") | |
767 | end | |
768 | if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then | |
769 | ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties) | |
770 | end | |
771 | if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then | |
772 | ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties) | |
773 | end | |
774 | if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then | |
775 | ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket") | |
776 | end | |
777 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then | |
778 | ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", { | |
779 | {"LimitsEnabled",true}; | |
780 | {"UpperAngle",5}; | |
781 | {"Radius",5}; | |
782 | }) | |
783 | end | |
784 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then | |
785 | ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", { | |
786 | {"LimitsEnabled",true}; | |
787 | {"UpperAngle",50}; | |
788 | {"LowerAngle",-50}; | |
789 | }) | |
790 | end | |
791 | local NeckA = ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", { | |
792 | {"LimitsEnabled",true}; | |
793 | {"UpperAngle",50}; | |
794 | {"LowerAngle",-50}; | |
795 | }) | |
796 | ||
797 | recurse(character, function(_,v) | |
798 | if v:IsA("Attachment") then | |
799 | v.Axis = Vector3.new(0, 1, 0) | |
800 | v.SecondaryAxis = Vector3.new(0, 0, 1) | |
801 | v.Rotation = Vector3.new(0, 0, 0) | |
802 | if(v.Parent == character.Head and snapped)then | |
803 | v.Orientation = V3.N(0,-90,0) | |
804 | end | |
805 | end | |
806 | end) | |
807 | end | |
808 | end) | |
809 | end | |
810 | ||
811 | ||
812 | function Bezier(startpos, pos2, pos3, endpos, t) | |
813 | local A = startpos:lerp(pos2, t) | |
814 | local B = pos2:lerp(pos3, t) | |
815 | local C = pos3:lerp(endpos, t) | |
816 | local lerp1 = A:lerp(B, t) | |
817 | local lerp2 = B:lerp(C, t) | |
818 | local cubic = lerp1:lerp(lerp2, t) | |
819 | return cubic | |
820 | end | |
821 | ||
822 | function Effect(data) | |
823 | local FX = data.Effect or 'Resize-AndFade' | |
824 | local Parent = data.Parent or Effects | |
825 | local Color = data.Color or C3.N(0,0,0) | |
826 | local Size = data.Size or V3.N(1,1,1) | |
827 | local MoveDir = data.MoveDirection or nil | |
828 | local MeshData = data.Mesh or nil | |
829 | local SndData = data.Sound or nil | |
830 | local Frames = data.Frames or 45 | |
831 | local Manual = data.Manual or nil | |
832 | local Material = data.Material or nil | |
833 | local CFra = data.CFrame or Torso.CFrame | |
834 | local Settings = data.FXSettings or {} | |
835 | local Snd,Prt,Msh; | |
836 | if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then | |
837 | Prt = Manual | |
838 | else | |
839 | Prt = Part(Parent,Color,Material,Size,CFra,true,false) | |
840 | end | |
841 | if(typeof(MeshData) == 'table')then | |
842 | Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset) | |
843 | elseif(typeof(MeshData) == 'Instance')then | |
844 | Msh = MeshData:Clone() | |
845 | Msh.Parent = Prt | |
846 | end | |
847 | if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then | |
848 | Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true) | |
849 | end | |
850 | if(Snd)then | |
851 | repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0 | |
852 | Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch | |
853 | end | |
854 | local MoveSpeed = nil; | |
855 | if(MoveDir)then | |
856 | MoveSpeed = (CFra.p - MoveDir).magnitude/Frames | |
857 | end | |
858 | local Inc = M.RNG()-M.RNG() | |
859 | local Thingie = 0 | |
860 | local Thingie2 = M.RNG(50,100)/100 | |
861 | ||
862 | coroutine.wrap(function() | |
863 | if(FX ~= 'Arc')then | |
864 | for i = 1, Frames do | |
865 | if(FX == 'Resize-AndFade')then | |
866 | if(not Settings.EndSize)then | |
867 | Settings.EndSize = V3.N(0,0,0) | |
868 | end | |
869 | local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize)) | |
870 | if(Settings.EndIsIncrement)then | |
871 | Prt.Size = Prt.Size - Settings.EndSize | |
872 | else | |
873 | Prt.Size = Prt.Size - grow/Frames | |
874 | end | |
875 | Prt.Transparency = (i/Frames) | |
876 | elseif(FX == 'Resize+AndFade')then | |
877 | if(not Settings.EndSize)then | |
878 | Settings.EndSize = Size*2 | |
879 | end | |
880 | local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize)) | |
881 | if(Settings.EndIsIncrement)then | |
882 | Prt.Size = Prt.Size + Settings.EndSize | |
883 | else | |
884 | Prt.Size = Prt.Size + grow/Frames | |
885 | end | |
886 | Prt.Transparency = (i/Frames) | |
887 | elseif(FX == 'Fade')then | |
888 | Prt.Transparency = (i/Frames) | |
889 | end | |
890 | if(Settings.RandomizeCFrame)then | |
891 | Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)) | |
892 | end | |
893 | if(MoveDir and MoveSpeed)then | |
894 | local Orientation = Prt.Orientation | |
895 | Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed) | |
896 | Prt.Orientation = Orientation | |
897 | end | |
898 | if(swait and typeof(swait) == 'function')then | |
899 | swait() | |
900 | else | |
901 | wait() | |
902 | end | |
903 | end | |
904 | Prt:destroy() | |
905 | else | |
906 | local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End | |
907 | if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end | |
908 | local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
909 | local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
910 | assert(start ~= nil,"You need to specify a start point!") | |
911 | assert(endP ~= nil,"You need to specify an end point!") | |
912 | for i = 0, 1, Settings.Speed or 0.01 do | |
913 | if(Settings.Home)then | |
914 | endP = Settings.Home.CFrame | |
915 | end | |
916 | Prt.CFrame = Bezier(start, quarter, threequarter, endP, i) | |
917 | if(swait and typeof(swait) == 'function')then | |
918 | swait() | |
919 | else | |
920 | wait() | |
921 | end | |
922 | end | |
923 | if(Settings.RemoveOnGoal)then | |
924 | Prt:destroy() | |
925 | end | |
926 | end | |
927 | end)() | |
928 | return Prt,Msh,Snd | |
929 | end | |
930 | ||
931 | ||
932 | function SoulSteal(character) | |
933 | local torso = (character:FindFirstChild'Head' or character:FindFirstChild'Torso' or character:FindFirstChild'UpperTorso' or character:FindFirstChild'LowerTorso' or character:FindFirstChild'HumanoidRootPart') | |
934 | print(torso) | |
935 | if(torso and torso:IsA'BasePart')then | |
936 | local Model = Instance.new("Model",Effects) | |
937 | Model.Name = character.Name.."'s Soul" | |
938 | character:BreakJoints() | |
939 | local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false) | |
940 | Soul.Name = 'Head' | |
941 | NewInstance("Humanoid",Model,{Health=0,MaxHealth=0}) | |
942 | Effect{ | |
943 | Effect="Arc", | |
944 | Manual = Soul, | |
945 | FXSettings={ | |
946 | Start=torso.CFrame, | |
947 | Home = Torso, | |
948 | RemoveOnGoal = true, | |
949 | } | |
950 | } | |
951 | local lastPoint = Soul.CFrame.p | |
952 | ||
953 | for i = 0, 1, 0.01 do | |
954 | local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0) | |
955 | local mag = (lastPoint - Soul.Position).magnitude | |
956 | Effect{ | |
957 | Effect = "Fade", | |
958 | CFrame = point * CF.N(0, mag/2, 0), | |
959 | Size = V3.N(.5,mag+.5,.5), | |
960 | Color = Soul.BrickColor | |
961 | } | |
962 | lastPoint = Soul.CFrame.p | |
963 | swait() | |
964 | end | |
965 | for i = 1, 5 do | |
966 | Effect{ | |
967 | Effect="Fade", | |
968 | Color = BrickColor.new'Really red', | |
969 | MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p | |
970 | } | |
971 | end | |
972 | end | |
973 | end | |
974 | ||
975 | ||
976 | ||
977 | ||
978 | ||
979 | ||
980 | function OnceWas(who) | |
981 | for _,v in next, who:children() do | |
982 | if(v:IsA'BasePart')then | |
983 | Effect{ | |
984 | Parent=Effects, | |
985 | Effect='Fade', | |
986 | Color = BrickColor.new'Crimson', | |
987 | Material = Enum.Material.Glass, | |
988 | Size = v.Size, | |
989 | CFrame=v.CFrame, | |
990 | Frames = 90, | |
991 | } | |
992 | end | |
993 | end | |
994 | end | |
995 | ||
996 | function Teleport(where) | |
997 | OnceWas(Char) | |
998 | Sound(Root,235097614,3,1,false,true,true) | |
999 | Sound(Root,75356820,2,1,false,true,true) | |
1000 | Root.CFrame = CF.N(where.p) | |
1001 | OnceWas(Char) | |
1002 | end | |
1003 | ||
1004 | function Dash() | |
1005 | Attack = true | |
1006 | Sound(Root,235097614,3,1,false,true,true) | |
1007 | Sound(Root,75356820,2,1,false,true,true) | |
1008 | for i = 1, 5 do | |
1009 | OnceWas(Char) | |
1010 | Root.CFrame = Root.CFrame*CF.N(0,0,-5) | |
1011 | swait() | |
1012 | end | |
1013 | Attack = false | |
1014 | end | |
1015 | ||
1016 | local debounceme = false | |
1017 | ||
1018 | local function getPlayer(name) | |
1019 | local returned = {} | |
1020 | for i,v in pairs(game.Players:GetPlayers()) do | |
1021 | if v.Name:sub(1,name:len()):lower() == name:lower() then | |
1022 | table.insert(returned,v) | |
1023 | end | |
1024 | end | |
1025 | return returned | |
1026 | end | |
1027 | ||
1028 | ||
1029 | ||
1030 | local function crucify(p, char) | |
1031 | local hum = char.Humanoid | |
1032 | for k,c in pairs(char:GetChildren()) do if c:IsA("Part") and c.Name~="HumanoidRootPart" then c.Anchored=true end end | |
1033 | hum.HealthDisplayDistance = 0 | |
1034 | --execcmd god | |
1035 | local stake = Instance.new("Part",char) | |
1036 | stake.Anchored = true | |
1037 | stake.BrickColor = BrickColor.new("Reddish brown") | |
1038 | stake.Material = "Wood" | |
1039 | stake.Size = Vector3.new(1,7,1) | |
1040 | stake.CFrame = char.Torso.CFrame*CFrame.new(0,0,1) | |
1041 | local hay = Instance.new("Part",char) | |
1042 | hay.Anchored = true | |
1043 | hay.Material = "Grass" | |
1044 | hay.BrickColor = BrickColor.new("New Yeller") | |
1045 | hay.Size = Vector3.new(6,1,5) | |
1046 | hay.CFrame = char.Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,2,0) | |
1047 | local hay2 = hay:clone() | |
1048 | hay2.Parent = char | |
1049 | hay2.CFrame = char.Torso.CFrame*CFrame.new(0,-2.6,0)*CFrame.Angles(0,6,0) | |
1050 | local fire = Instance.new("Fire",hay) | |
1051 | fire.Enabled = false | |
1052 | fire.Heat = 25 | |
1053 | fire.Size = 2 | |
1054 | fire.Color = Color3.new(255/255,0/255,0) | |
1055 | local smoke = Instance.new("Smoke",hay) | |
1056 | smoke.Enabled = false | |
1057 | smoke.Opacity = 1 | |
1058 | smoke.RiseVelocity = 25 | |
1059 | smoke.Size = 15 | |
1060 | smoke.Color = Color3.new(0,0,0) | |
1061 | local light = Instance.new("PointLight",hay) | |
1062 | light.Color = Color3.new(255/255,0/255,0) | |
1063 | light.Range = 0 | |
1064 | light.Brightness = 1 | |
1065 | light.Enabled = false | |
1066 | CV="Maroon" | |
1067 | Player = hum.Parent.Parent | |
1068 | Character = hum.Parent | |
1069 | local txt = Instance.new("BillboardGui", Character) | |
1070 | txt.Adornee = Character.Head | |
1071 | txt.Name = tostring(game.Players.LocalPlayer.Name) | |
1072 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
1073 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
1074 | local text = Instance.new("TextLabel", txt) | |
1075 | text.Size = UDim2.new(10, 0, 7, 0) | |
1076 | text.FontSize = "Size24" | |
1077 | text.TextScaled = true | |
1078 | text.TextTransparency = 0 | |
1079 | text.BackgroundTransparency = 1 | |
1080 | text.TextTransparency = 0 | |
1081 | text.TextStrokeTransparency = 0 | |
1082 | text.Font = "Arcade" | |
1083 | text.TextStrokeColor3 = Color3.new(255,0,0) | |
1084 | ||
1085 | v=Instance.new("Part") | |
1086 | v.Name = "ColorBrick" | |
1087 | v.Parent= p.Character.Torso | |
1088 | v.FormFactor="Symmetric" | |
1089 | v.Anchored=true | |
1090 | v.CanCollide=false | |
1091 | v.BottomSurface="Smooth" | |
1092 | v.TopSurface="Smooth" | |
1093 | v.Size=Vector3.new(10,5,3) | |
1094 | v.Transparency=1 | |
1095 | v.CFrame=Character.Torso.CFrame | |
1096 | v.BrickColor=BrickColor.new(CV) | |
1097 | v.Transparency=1 | |
1098 | text.TextColor3 = Color3.new(0,0,0) | |
1099 | v.Shape="Block" | |
1100 | text.Text = "Work of the devil" | |
1101 | ||
1102 | local crack = Instance.new("Sound",hay) | |
1103 | crack.SoundId = "rbxassetid://239443642" | |
1104 | crack.Looped = true | |
1105 | crack.Volume = 0 | |
1106 | local scream = Instance.new("Sound",char.Torso) | |
1107 | scream.SoundId = "rbxassetid://264227115" | |
1108 | scream.Looped = true | |
1109 | scream.Volume = 0 | |
1110 | --]] | |
1111 | wait() | |
1112 | char['Left Arm'].CFrame = char.Torso.CFrame * CFrame.new(-0.8,0,0.7) * CFrame.Angles(-1,0,0.5) | |
1113 | char['Right Arm'].CFrame = char.Torso.CFrame * CFrame.new(0.8,0,0.7) * CFrame.Angles(-1,0,-0.5) | |
1114 | ||
1115 | local bods = char['Body Colors'] | |
1116 | local colors = { | |
1117 | --"Really red"; | |
1118 | "Bright red"; | |
1119 | "Crimson"; | |
1120 | "Maroon"; | |
1121 | "Really black"; | |
1122 | } | |
1123 | ||
1124 | fire.Enabled=true | |
1125 | smoke.Enabled=true | |
1126 | light.Enabled=true | |
1127 | crack:Play() | |
1128 | scream:Play() | |
1129 | scream.Pitch = 0.8 | |
1130 | --scream.Volume = 0.5 | |
1131 | for i=1,30 do | |
1132 | crack.Volume = crack.Volume+(1/30) | |
1133 | scream.Volume = crack.Volume | |
1134 | fire.Size=i | |
1135 | smoke.RiseVelocity=i-5 | |
1136 | smoke.Size=i/2 | |
1137 | light.Range=i*2 | |
1138 | wait(1) | |
1139 | end | |
1140 | ||
1141 | for i=1,#colors do | |
1142 | bods.HeadColor=BrickColor.new(colors[i]) | |
1143 | bods.LeftArmColor=BrickColor.new(colors[i]) | |
1144 | bods.LeftLegColor=BrickColor.new(colors[i]) | |
1145 | bods.RightArmColor=BrickColor.new(colors[i]) | |
1146 | bods.RightLegColor=BrickColor.new(colors[i]) | |
1147 | bods.TorsoColor=BrickColor.new(colors[i]) | |
1148 | hay.BrickColor=BrickColor.new(colors[i]) | |
1149 | hay2.BrickColor=BrickColor.new(colors[i]) | |
1150 | stake.BrickColor=BrickColor.new(colors[i]) | |
1151 | wait(5) | |
1152 | end | |
1153 | wait(10) | |
1154 | scream.Volume = 0.5 | |
1155 | wait(1) | |
1156 | scream:Stop() | |
1157 | char:BreakJoints() | |
1158 | end | |
1159 | ||
1160 | local puntextchange = coroutine.create(function(text, txt, hum) | |
1161 | repeat | |
1162 | wait(math.random(0.2,0.5)) | |
1163 | text.Text = "No escape" | |
1164 | wait(math.random(0.2,0.5)) | |
1165 | txt.StudsOffset = Vector3.new(-11,8,0) | |
1166 | wait(math.random(0.2,0.5)) | |
1167 | txt.StudsOffset = Vector3.new(-9,8,0) | |
1168 | text.Text = "Work of the devil" | |
1169 | wait(math.random(0.2,0.5)) | |
1170 | text.Text = "No where to run." | |
1171 | txt.StudsOffset = Vector3.new(-8,6,0) | |
1172 | wait(0.17) | |
1173 | txt.StudsOffset = Vector3.new(-9,8,0) | |
1174 | wait(0.18) | |
1175 | - | text.Text = "Lucifer Morningstar" |
1175 | + | text.Text = "Lucifer" |
1176 | until hum.Health == 0 | |
1177 | end) | |
1178 | ||
1179 | function Wave() | |
1180 | if debounceme == false then | |
1181 | debounceme = true | |
1182 | cyl = Instance.new("Part", workspace) | |
1183 | cyl.Shape = "Cylinder" | |
1184 | cyl.Transparency = 0.5 | |
1185 | cyl.Orientation = Vector3.new(0, 0, -90) | |
1186 | cyl.Anchored = true | |
1187 | cyl.CanCollide = false | |
1188 | cyl.Position = game.Players.LocalPlayer:GetMouse().Hit.p | |
1189 | cyl.BrickColor = BrickColor.new("Maroon") | |
1190 | cyl.BackSurface,cyl.BottomSurface,cyl.FrontSurface,cyl.LeftSurface,cyl.RightSurface,cyl.TopSurface = "Smooth","Smooth","Smooth","Smooth","Smooth","Smooth" | |
1191 | coroutine.resume(coroutine.create(function() | |
1192 | repeat | |
1193 | wait(1) | |
1194 | cyl.Touched:connect(function(hit) | |
1195 | if hit.Parent.Humanoid then | |
1196 | hit.Parent.Humanoid.MaxHealth = 0 | |
1197 | end | |
1198 | end) | |
1199 | until not cyl | |
1200 | end)) | |
1201 | for i=1,100 do | |
1202 | wait() | |
1203 | cyl.Size = Vector3.new(i,i,i) | |
1204 | end | |
1205 | cyl:Remove() | |
1206 | local debounceme = false | |
1207 | end | |
1208 | end | |
1209 | ||
1210 | game.Players.LocalPlayer.Chatted:connect(function(msg) | |
1211 | if msg:sub(1,12) == "/punishment " then | |
1212 | local player = getPlayer(string.sub(msg,13)) | |
1213 | if #player == 1 then | |
1214 | local player = player[1] | |
1215 | if player.Character then | |
1216 | crucify(player, player.Character) | |
1217 | puntextchange(player.Character[player.Name].TextLabel,player.Character[player.Name],player.Character.Humanoid) | |
1218 | end | |
1219 | end | |
1220 | end | |
1221 | end) | |
1222 | ||
1223 | Mouse.KeyDown:connect(function(k) | |
1224 | if(Attack)then return end | |
1225 | if(k == 'z')then Teleport(Mouse.Hit*CF.N(0,3.25,0)) end | |
1226 | if(k == 'x')then Dash() end | |
1227 | if(k == 'm')then Wave() end | |
1228 | end) | |
1229 | end)) | |
1230 | ||
1231 | coroutine.resume(coroutine.create(function() | |
1232 | local aura = Instance.new("ParticleEmitter",game.Players.LocalPlayer.Character.Torso) | |
1233 | aura.Texture = "rbxassetid://305563617" | |
1234 | aura.LightEmission = 1 | |
1235 | aura.Color = ColorSequence.new(Color3.new(255/255,0/255,0/255)) | |
1236 | aura.Rate = 25 | |
1237 | aura.Lifetime = NumberRange.new(0.75) | |
1238 | aura.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1239 | aura.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1240 | aura.Speed = NumberRange.new(15) | |
1241 | aura.VelocitySpread = 50 | |
1242 | local aura2 = Instance.new("ParticleEmitter",tors) | |
1243 | aura2.Texture = "rbxassetid://296874871" | |
1244 | aura2.LightEmission = 1 | |
1245 | aura2.Color = ColorSequence.new(Color3.new(255/255,0/255,0/255)) | |
1246 | aura2.Rate = 99999 | |
1247 | aura2.Lifetime = NumberRange.new(1.5) | |
1248 | aura2.Acceleration = vt(0,45,0) | |
1249 | aura2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1250 | aura2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1251 | aura2.Speed = NumberRange.new(-25) | |
1252 | aura2.Rotation = NumberRange.new(-500,500) | |
1253 | aura2.VelocitySpread = 45 | |
1254 | aura2.RotSpeed = NumberRange.new(-500,500) | |
1255 | local auran = Instance.new("ParticleEmitter",tors) | |
1256 | auran.Texture = "rbxassetid://296874871" | |
1257 | auran.LightEmission = 1 | |
1258 | auran.Color = ColorSequence.new(Color3.new(255/255,0/255,0/255)) | |
1259 | auran.Rate = 0 | |
1260 | auran.Lifetime = NumberRange.new(5) | |
1261 | auran.Acceleration = vt(0,-45,0) | |
1262 | auran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1263 | auran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1264 | auran.Speed = NumberRange.new(65) | |
1265 | auran.Rotation = NumberRange.new(-500,500) | |
1266 | auran.VelocitySpread = 100 | |
1267 | auran.RotSpeed = NumberRange.new(-500,500) | |
1268 | end)) | |
1269 | ||
1270 | coroutine.resume(coroutine.create(function() | |
1271 | for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
1272 | if v:IsA'Decal' then | |
1273 | v:Remove() | |
1274 | else if v:IsA'Accessory' then | |
1275 | v:Remove() | |
1276 | else if v:IsA'Shirt' then | |
1277 | v:Remove() | |
1278 | else if v:IsA'Pants' then | |
1279 | v:Remove() | |
1280 | end | |
1281 | end | |
1282 | end | |
1283 | end | |
1284 | end | |
1285 | end)) | |
1286 | ||
1287 | ||
1288 | coroutine.resume(coroutine.create(function() | |
1289 | CV="Maroon" | |
1290 | Player = game.Players.LocalPlayer | |
1291 | Character = Player.Character | |
1292 | local txt = Instance.new("BillboardGui", Character) | |
1293 | txt.Adornee = Character .Head | |
1294 | txt.Name = tostring(game.Players.LocalPlayer.Name) | |
1295 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
1296 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
1297 | local text = Instance.new("TextLabel", txt) | |
1298 | text.Size = UDim2.new(10, 0, 7, 0) | |
1299 | text.FontSize = "Size24" | |
1300 | text.TextScaled = true | |
1301 | text.TextTransparency = 0 | |
1302 | text.BackgroundTransparency = 1 | |
1303 | text.TextTransparency = 0 | |
1304 | text.TextStrokeTransparency = 0 | |
1305 | text.Font = "Antique" | |
1306 | text.TextStrokeColor3 = Color3.new(255,0,0) | |
1307 | ||
1308 | v=Instance.new("Part") | |
1309 | v.Name = "ColorBrick" | |
1310 | v.Parent=Player.Character | |
1311 | v.FormFactor="Symmetric" | |
1312 | v.Anchored=true | |
1313 | v.CanCollide=false | |
1314 | v.BottomSurface="Smooth" | |
1315 | v.TopSurface="Smooth" | |
1316 | v.Size=Vector3.new(10,5,3) | |
1317 | v.Transparency=1 | |
1318 | v.CFrame=Character.Torso.CFrame | |
1319 | v.BrickColor=BrickColor.new(CV) | |
1320 | v.Transparency=1 | |
1321 | text.TextColor3 = Color3.new(0,0,0) | |
1322 | v.Shape="Block" | |
1323 | text.Text = "Lucifer Morningstar" | |
1324 | end)) | |
1325 | ||
1326 | ||
1327 | ||
1328 | coroutine.resume(coroutine.create(function() | |
1329 | local runDummyScript = function(f,scri) | |
1330 | local oldenv = getfenv(f) | |
1331 | local newenv = setmetatable({}, { | |
1332 | __index = function(_, k) | |
1333 | if k:lower() == 'script' then | |
1334 | return scri | |
1335 | else | |
1336 | return oldenv[k] | |
1337 | end | |
1338 | end | |
1339 | }) | |
1340 | setfenv(f, newenv) | |
1341 | ypcall(function() f() end) | |
1342 | end | |
1343 | cors = {} | |
1344 | mas = Instance.new("Model",game:GetService("Lighting")) | |
1345 | mas.Name = "CompiledModel" | |
1346 | o1 = Instance.new("Model") | |
1347 | o2 = Instance.new("Part") | |
1348 | o3 = Instance.new("Weld") | |
1349 | o4 = Instance.new("Part") | |
1350 | o5 = Instance.new("Weld") | |
1351 | o6 = Instance.new("Part") | |
1352 | o7 = Instance.new("Weld") | |
1353 | o8 = Instance.new("Part") | |
1354 | o9 = Instance.new("Weld") | |
1355 | o10 = Instance.new("Part") | |
1356 | o11 = Instance.new("Weld") | |
1357 | o12 = Instance.new("Part") | |
1358 | o13 = Instance.new("Weld") | |
1359 | o14 = Instance.new("Part") | |
1360 | o15 = Instance.new("Weld") | |
1361 | o16 = Instance.new("Part") | |
1362 | o17 = Instance.new("Weld") | |
1363 | o18 = Instance.new("Part") | |
1364 | o19 = Instance.new("Weld") | |
1365 | o20 = Instance.new("Part") | |
1366 | o21 = Instance.new("Part") | |
1367 | o22 = Instance.new("Weld") | |
1368 | o23 = Instance.new("Part") | |
1369 | o24 = Instance.new("Weld") | |
1370 | o25 = Instance.new("Part") | |
1371 | o26 = Instance.new("Weld") | |
1372 | o27 = Instance.new("Part") | |
1373 | o28 = Instance.new("SpecialMesh") | |
1374 | o29 = Instance.new("Weld") | |
1375 | o30 = Instance.new("Part") | |
1376 | o31 = Instance.new("SpecialMesh") | |
1377 | o32 = Instance.new("Weld") | |
1378 | o33 = Instance.new("Part") | |
1379 | o34 = Instance.new("Weld") | |
1380 | o35 = Instance.new("Part") | |
1381 | o36 = Instance.new("SpecialMesh") | |
1382 | o37 = Instance.new("Weld") | |
1383 | o38 = Instance.new("Part") | |
1384 | o39 = Instance.new("SpecialMesh") | |
1385 | o40 = Instance.new("Weld") | |
1386 | o41 = Instance.new("Part") | |
1387 | o42 = Instance.new("Weld") | |
1388 | o43 = Instance.new("Part") | |
1389 | o44 = Instance.new("Weld") | |
1390 | o45 = Instance.new("Part") | |
1391 | o46 = Instance.new("Weld") | |
1392 | o47 = Instance.new("Part") | |
1393 | o48 = Instance.new("Weld") | |
1394 | o49 = Instance.new("Part") | |
1395 | o50 = Instance.new("Weld") | |
1396 | o51 = Instance.new("Part") | |
1397 | o52 = Instance.new("SpecialMesh") | |
1398 | o53 = Instance.new("Weld") | |
1399 | o54 = Instance.new("Part") | |
1400 | o55 = Instance.new("SpecialMesh") | |
1401 | o56 = Instance.new("Weld") | |
1402 | o57 = Instance.new("Part") | |
1403 | o58 = Instance.new("Weld") | |
1404 | o59 = Instance.new("Part") | |
1405 | o60 = Instance.new("SpecialMesh") | |
1406 | o61 = Instance.new("Weld") | |
1407 | o62 = Instance.new("Part") | |
1408 | o63 = Instance.new("SpecialMesh") | |
1409 | o64 = Instance.new("Weld") | |
1410 | o65 = Instance.new("Part") | |
1411 | o66 = Instance.new("Weld") | |
1412 | o67 = Instance.new("Part") | |
1413 | o68 = Instance.new("Weld") | |
1414 | o69 = Instance.new("Part") | |
1415 | o70 = Instance.new("Weld") | |
1416 | o1.Parent = mas | |
1417 | o2.Parent = o1 | |
1418 | o2.Material = Enum.Material.Neon | |
1419 | o2.BrickColor = BrickColor.new("Bright orange") | |
1420 | o2.Position = Vector3.new(2.01843858, 3.79534531, -0.256092936) | |
1421 | o2.Rotation = Vector3.new(165, -0.519999981, 179.339996) | |
1422 | o2.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007) | |
1423 | o2.CFrame = CFrame.new(2.01843858, 3.79534531, -0.256092936, -0.999890625, -0.0116026225, -0.00915808417, -0.00883699115, 0.96587497, -0.258858204, 0.0118489964, -0.258749008, -0.96587193) | |
1424 | o2.Color = Color3.new(1, 0, 0) | |
1425 | o2.Position = Vector3.new(2.01843858, 3.79534531, -0.256092936) | |
1426 | o2.Orientation = Vector3.new(15, -179.460007, -0.519999981) | |
1427 | o2.Color = Color3.new(1, 0, 0) | |
1428 | o3.Name = "Joint" | |
1429 | o3.Parent = o2 | |
1430 | o3.C0 = CFrame.new(0.528523922, -0.861619711, -0.0171282887, -0.999964595, -0.00840907171, 7.80839473e-05, -0.00812376011, 0.96355325, -0.26739341, 0.00217329431, -0.267384589, -0.963587463) | |
1431 | o3.Part0 = o2 | |
1432 | o3.Part1 = o20 | |
1433 | o4.Parent = o1 | |
1434 | o4.Material = Enum.Material.Neon | |
1435 | o4.BrickColor = BrickColor.new("Bright orange") | |
1436 | o4.Position = Vector3.new(2.01929164, 3.70664787, -0.25042206) | |
1437 | o4.Rotation = Vector3.new(-172.5, -0.74000001, 179.589996) | |
1438 | o4.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007) | |
1439 | o4.CFrame = CFrame.new(2.01929164, 3.70664787, -0.25042206, -0.999890625, -0.00721688289, -0.0128994547, -0.00883899163, 0.991411388, 0.130481288, 0.011846995, 0.130581066, -0.991366923) | |
1440 | o4.Color = Color3.new(1, 0, 0) | |
1441 | o4.Position = Vector3.new(2.01929164, 3.70664787, -0.25042206) | |
1442 | o4.Orientation = Vector3.new(-7.5, -179.25, -0.50999999) | |
1443 | o4.Color = Color3.new(1, 0, 0) | |
1444 | o5.Name = "Joint" | |
1445 | o5.Parent = o4 | |
1446 | o5.C0 = CFrame.new(0.528526783, -0.702271938, -0.328355253, -0.999964535, -0.00841108989, 7.61011615e-05, -0.00833929144, 0.992529452, 0.121720426, -0.00109933503, 0.121715471, -0.992564499) | |
1447 | o5.Part0 = o4 | |
1448 | o5.Part1 = o20 | |
1449 | o6.Parent = o1 | |
1450 | o6.Material = Enum.Material.Neon | |
1451 | o6.BrickColor = BrickColor.new("Bright orange") | |
1452 | o6.Position = Vector3.new(2.01928878, 3.75653982, -0.346634865) | |
1453 | o6.Rotation = Vector3.new(-37.5, -0.74000001, 179.589996) | |
1454 | o6.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007) | |
1455 | o6.CFrame = CFrame.new(2.01928878, 3.75653982, -0.346634865, -0.999890685, -0.00721472735, -0.0129033476, -0.00213099457, -0.793370485, 0.608735323, -0.0146289961, 0.608696342, 0.793268323) | |
1456 | o6.Color = Color3.new(1, 0, 0) | |
1457 | o6.Position = Vector3.new(2.01928878, 3.75653982, -0.346634865) | |
1458 | o6.Orientation = Vector3.new(-37.5, -0.930000007, -179.850006) | |
1459 | o6.Color = Color3.new(1, 0, 0) | |
1460 | o7.Name = "Joint" | |
1461 | o7.Parent = o6 | |
1462 | o7.C0 = CFrame.new(0.515877366, 0.838102102, -0.209653616, -0.999648094, -0.00193743419, -0.026456276, -0.0147638759, -0.787955523, 0.615555167, -0.0220389664, 0.615729153, 0.787649512) | |
1463 | o7.Part0 = o6 | |
1464 | o7.Part1 = o20 | |
1465 | o8.Parent = o1 | |
1466 | o8.Material = Enum.Material.Neon | |
1467 | o8.BrickColor = BrickColor.new("Bright orange") | |
1468 | o8.Position = Vector3.new(2.01843858, 3.69782782, -0.279909968) | |
1469 | o8.Rotation = Vector3.new(-60, -0.519999981, 179.339996) | |
1470 | o8.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007) | |
1471 | o8.CFrame = CFrame.new(2.01843858, 3.69782782, -0.279909968, -0.999890804, -0.0115992408, -0.00915751234, -0.00213099481, -0.500013113, 0.866015196, -0.0146239968, 0.865940154, 0.499933809) | |
1472 | o8.Color = Color3.new(1, 0, 0) | |
1473 | o8.Position = Vector3.new(2.01843858, 3.69782782, -0.279909968) | |
1474 | o8.Orientation = Vector3.new(-60, -1.04999995, -179.759995) | |
1475 | o8.Color = Color3.new(1, 0, 0) | |
1476 | o9.Name = "Joint" | |
1477 | o9.Parent = o8 | |
1478 | o9.C0 = CFrame.new(0.515879512, 0.606918216, -0.496954203, -0.999648273, -0.00193739019, -0.0264512785, -0.0220698789, -0.492333829, 0.870126605, -0.0147086382, 0.870404363, 0.492117912) | |
1479 | o9.Part0 = o8 | |
1480 | o9.Part1 = o20 | |
1481 | o10.Parent = o1 | |
1482 | o10.Material = Enum.Material.Neon | |
1483 | o10.BrickColor = BrickColor.new("Bright orange") | |
1484 | o10.Position = Vector3.new(0.931878984, 3.69782877, 0.290648431) | |
1485 | o10.Rotation = Vector3.new(-120, 0.519999981, -0.660000026) | |
1486 | o10.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007) | |
1487 | o10.CFrame = CFrame.new(0.931878984, 3.69782877, 0.290648431, 0.999890685, 0.0116018439, 0.00915900338, -0.00213100435, -0.500013053, 0.866015255, 0.0146269985, -0.865940154, -0.49993372) | |
1488 | o10.Color = Color3.new(1, 0, 0) | |
1489 | o10.Position = Vector3.new(0.931878984, 3.69782877, 0.290648431) | |
1490 | o10.Orientation = Vector3.new(-60, 178.949997, -179.759995) | |
1491 | o10.Color = Color3.new(1, 0, 0) | |
1492 | o11.Name = "Joint" | |
1493 | o11.Parent = o10 | |
1494 | o11.C0 = CFrame.new(0.565348864, 0.634711862, -0.480786085, 0.999646306, -0.00232441584, 0.02649194, 0.0216448922, -0.507653236, -0.86128962, 0.0154507086, 0.861558378, -0.507423341) | |
1495 | o11.Part0 = o10 | |
1496 | o11.Part1 = o20 | |
1497 | o12.Parent = o1 | |
1498 | o12.Material = Enum.Material.Neon | |
1499 | o12.BrickColor = BrickColor.new("Bright orange") | |
1500 | o12.Position = Vector3.new(0.931028008, 3.75654054, 0.357373416) | |
1501 | o12.Rotation = Vector3.new(-142.5, 0.74000001, -0.409999996) | |
1502 | o12.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007) | |
1503 | o12.CFrame = CFrame.new(0.931028008, 3.75654054, 0.357373416, 0.999890745, 0.00721476413, 0.0129033243, -0.00213100435, -0.793369174, 0.608737111, 0.0146289971, -0.60869807, -0.793267071) | |
1504 | o12.Color = Color3.new(1, 0, 0) | |
1505 | o12.Position = Vector3.new(0.931028008, 3.75654054, 0.357373416) | |
1506 | o12.Orientation = Vector3.new(-37.5, 179.070007, -179.850006) | |
1507 | o12.Color = Color3.new(1, 0, 0) | |
1508 | o13.Name = "Joint" | |
1509 | o13.Parent = o12 | |
1510 | o13.C0 = CFrame.new(0.565348148, 0.857591152, -0.184082627, 0.999646306, -0.00232439814, 0.0264939386, 0.0140854772, -0.798722088, -0.60153532, 0.0225594956, 0.601695657, -0.79840678) | |
1511 | o13.Part0 = o12 | |
1512 | o13.Part1 = o20 | |
1513 | o14.Parent = o1 | |
1514 | o14.Material = Enum.Material.Neon | |
1515 | o14.BrickColor = BrickColor.new("Bright orange") | |
1516 | o14.Position = Vector3.new(0.931028008, 3.70664787, 0.261160433) | |
1517 | o14.Rotation = Vector3.new(-7.5, 0.74000001, -0.409999996) | |
1518 | o14.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007) | |
1519 | o14.CFrame = CFrame.new(0.931028008, 3.70664787, 0.261160433, 0.999890745, 0.00721658766, 0.0129001662, -0.0088388212, 0.991411448, 0.130482212, -0.0118477289, -0.13058199, 0.991366923) | |
1520 | o14.Color = Color3.new(1, 0, 0) | |
1521 | o14.Position = Vector3.new(0.931028008, 3.70664787, 0.261160433) | |
1522 | o14.Orientation = Vector3.new(-7.5, 0.75, -0.50999999) | |
1523 | o14.Color = Color3.new(1, 0, 0) | |
1524 | o15.Name = "Joint" | |
1525 | o15.Parent = o14 | |
1526 | o15.C0 = CFrame.new(0.578826845, -0.697807789, -0.35886538, 0.999957085, -0.00926603936, 7.93803483e-05, 0.00918682106, 0.990215838, -0.139243081, 0.00121162832, 0.139237821, 0.990258455) | |
1527 | o15.Part0 = o14 | |
1528 | o15.Part1 = o20 | |
1529 | o16.Parent = o1 | |
1530 | o16.Material = Enum.Material.Neon | |
1531 | o16.BrickColor = BrickColor.new("Bright orange") | |
1532 | o16.Position = Vector3.new(0.931879044, 3.79534578, 0.266828835) | |
1533 | o16.Rotation = Vector3.new(15, 0.519999981, -0.660000026) | |
1534 | o16.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007) | |
1535 | o16.CFrame = CFrame.new(0.931879044, 3.79534578, 0.266828835, 0.999890745, 0.0116029736, 0.00915803667, -0.00883735623, 0.965874612, -0.258859128, -0.0118490467, 0.258749872, 0.965871692) | |
1536 | o16.Color = Color3.new(1, 0, 0) | |
1537 | o16.Position = Vector3.new(0.931879044, 3.79534578, 0.266828835) | |
1538 | o16.Orientation = Vector3.new(15, 0.540000021, -0.519999981) | |
1539 | o16.Color = Color3.new(1, 0, 0) | |
1540 | o17.Name = "Joint" | |
1541 | o17.Parent = o16 | |
1542 | o17.C0 = CFrame.new(0.578826129, -0.869171381, -0.0470205545, 0.999957085, -0.00926458556, 7.80494884e-05, 0.00895007607, 0.968120754, 0.250323892, -0.00239470415, -0.250312507, 0.968162179) | |
1543 | o17.Part0 = o16 | |
1544 | o17.Part1 = o20 | |
1545 | o18.Name = "fake" | |
1546 | o18.Parent = o1 | |
1547 | o18.Material = Enum.Material.SmoothPlastic | |
1548 | o18.BrickColor = BrickColor.new("Really black") | |
1549 | o18.Position = Vector3.new(1.47481501, 3.93284297, -0.00147139654) | |
1550 | o18.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996) | |
1551 | o18.CanCollide = false | |
1552 | o18.Locked = true | |
1553 | o18.FormFactor = Enum.FormFactor.Symmetric | |
1554 | o18.Size = Vector3.new(1.06999993, 0.120000005, 1) | |
1555 | o18.CFrame = CFrame.new(1.47481501, 3.93284297, -0.00147139654, 0.999929667, -0.000322859967, 0.0118490048, 0.00042756967, 0.99996078, -0.00883675925, -0.0118456846, 0.00884120632, 0.999890745) | |
1556 | o18.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1557 | o18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1558 | o18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1559 | o18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1560 | o18.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1561 | o18.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1562 | o18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1563 | o18.Position = Vector3.new(1.47481501, 3.93284297, -0.00147139654) | |
1564 | o18.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996) | |
1565 | o18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1566 | o19.Name = "Joint" | |
1567 | o19.Parent = o18 | |
1568 | o19.C0 = CFrame.new(0.0249999762, -0.970000029, 0, 0.99999994, -4.8239599e-09, 9.31322575e-10, -4.8239599e-09, 0.99999994, 9.31322575e-10, 9.31322575e-10, 9.31322575e-10, 1) | |
1569 | o19.Part0 = o18 | |
1570 | o19.Part1 = o20 | |
1571 | o20.Name = "REF" | |
1572 | o20.Parent = o1 | |
1573 | o20.BrickColor = BrickColor.new("Bright orange") | |
1574 | o20.Transparency = 1 | |
1575 | o20.Position = Vector3.new(1.50012636, 2.96289158, -0.0103435097) | |
1576 | o20.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996) | |
1577 | o20.CanCollide = false | |
1578 | o20.Locked = true | |
1579 | o20.FormFactor = Enum.FormFactor.Symmetric | |
1580 | o20.Size = Vector3.new(1, 2, 1) | |
1581 | o20.CFrame = CFrame.new(1.50012636, 2.96289158, -0.0103435097, 0.999929726, -0.000322855165, 0.0118490038, 0.00042757453, 0.99996084, -0.00883676019, -0.0118456865, 0.00884120632, 0.999890745) | |
1582 | o20.Color = Color3.new(1, 0, 0) | |
1583 | o20.Position = Vector3.new(1.50012636, 2.96289158, -0.0103435097) | |
1584 | o20.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996) | |
1585 | o20.Color = Color3.new(1, 0, 0) | |
1586 | o21.Name = "fake" | |
1587 | o21.Parent = o1 | |
1588 | o21.Material = Enum.Material.Neon | |
1589 | o21.BrickColor = BrickColor.new("Bright orange") | |
1590 | o21.Position = Vector3.new(1.47481501, 3.93284297, -0.00147139654) | |
1591 | o21.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996) | |
1592 | o21.CanCollide = false | |
1593 | o21.Locked = true | |
1594 | o21.FormFactor = Enum.FormFactor.Symmetric | |
1595 | o21.Size = Vector3.new(1.08000004, 0.100000001, 1.00999999) | |
1596 | o21.CFrame = CFrame.new(1.47481501, 3.93284297, -0.00147139654, 0.999929667, -0.000322859967, 0.0118490048, 0.00042756967, 0.99996078, -0.00883675925, -0.0118456846, 0.00884120632, 0.999890745) | |
1597 | o21.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1598 | o21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1599 | o21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1600 | o21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1601 | o21.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1602 | o21.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1603 | o21.Color = Color3.new(1, 0, 0) | |
1604 | o21.Position = Vector3.new(1.47481501, 3.93284297, -0.00147139654) | |
1605 | o21.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996) | |
1606 | o21.Color = Color3.new(1, 0, 0) | |
1607 | o22.Name = "Joint" | |
1608 | o22.Parent = o21 | |
1609 | o22.C0 = CFrame.new(0.0249999762, -0.970000029, 0, 0.99999994, -4.8239599e-09, 9.31322575e-10, -4.8239599e-09, 0.99999994, 9.31322575e-10, 9.31322575e-10, 9.31322575e-10, 1) | |
1610 | o22.Part0 = o21 | |
1611 | o22.Part1 = o20 | |
1612 | o23.Name = "part" | |
1613 | o23.Parent = o1 | |
1614 | o23.Material = Enum.Material.SmoothPlastic | |
1615 | o23.BrickColor = BrickColor.new("Really black") | |
1616 | o23.Position = Vector3.new(1.78174424, 3.20232034, -0.499926955) | |
1617 | o23.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996) | |
1618 | o23.CanCollide = false | |
1619 | o23.Locked = true | |
1620 | o23.FormFactor = Enum.FormFactor.Symmetric | |
1621 | o23.Size = Vector3.new(0.420000017, 1.52999997, 0.0900000334) | |
1622 | o23.CFrame = CFrame.new(1.78174424, 3.20232034, -0.499926955, 0.999929667, -0.000322859967, 0.0118490048, 0.00042756967, 0.99996078, -0.00883675925, -0.0118456846, 0.00884120632, 0.999890745) | |
1623 | o23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1624 | o23.Position = Vector3.new(1.78174424, 3.20232034, -0.499926955) | |
1625 | o23.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996) | |
1626 | o23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1627 | o24.Name = "Joint" | |
1628 | o24.Parent = o23 | |
1629 | o24.C0 = CFrame.new(-0.287499905, -0.234999895, 0.488308817, 0.99999994, -4.8239599e-09, 9.31322575e-10, -4.8239599e-09, 0.99999994, 9.31322575e-10, 9.31322575e-10, 9.31322575e-10, 1) | |
1630 | o24.Part0 = o23 | |
1631 | o24.Part1 = o20 | |
1632 | o25.Name = "part" | |
1633 | o25.Parent = o1 | |
1634 | o25.Material = Enum.Material.SmoothPlastic | |
1635 | o25.BrickColor = BrickColor.new("Really black") | |
1636 | o25.Position = Vector3.new(1.20953107, 3.20207596, -0.493148208) | |
1637 | o25.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996) | |
1638 | o25.CanCollide = false | |
1639 | o25.Locked = true | |
1640 | o25.FormFactor = Enum.FormFactor.Symmetric | |
1641 | o25.Size = Vector3.new(0.420000017, 1.52999997, 0.0900000334) | |
1642 | o25.CFrame = CFrame.new(1.20953107, 3.20207596, -0.493148208, 0.999929667, -0.000322859967, 0.0118490048, 0.00042756967, 0.99996078, -0.00883675925, -0.0118456846, 0.00884120632, 0.999890745) | |
1643 | o25.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1644 | o25.Position = Vector3.new(1.20953107, 3.20207596, -0.493148208) | |
1645 | o25.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996) | |
1646 | o25.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1647 | o26.Name = "Joint" | |
1648 | o26.Parent = o25 | |
1649 | o26.C0 = CFrame.new(0.284753442, -0.235000372, 0.488308817, 0.99999994, -4.8239599e-09, 9.31322575e-10, -4.8239599e-09, 0.99999994, 9.31322575e-10, 9.31322575e-10, 9.31322575e-10, 1) | |
1650 | o26.Part0 = o25 | |
1651 | o26.Part1 = o20 | |
1652 | o27.Name = "part" | |
1653 | o27.Parent = o1 | |
1654 | o27.Material = Enum.Material.SmoothPlastic | |
1655 | o27.BrickColor = BrickColor.new("Really black") | |
1656 | o27.Position = Vector3.new(1.7791779, 1.9886167, -0.518110156) | |
1657 | o27.Rotation = Vector3.new(0, 89.3199997, -179.979996) | |
1658 | o27.CanCollide = false | |
1659 | o27.Locked = true | |
1660 | o27.FormFactor = Enum.FormFactor.Symmetric | |
1661 | o27.Size = Vector3.new(0.0500000007, 0.949999988, 0.430000037) | |
1662 | o27.CFrame = CFrame.new(1.7791779, 1.9886167, -0.518110156, -0.0118680019, 4.2349493e-06, 0.999929428, -0.000349064358, -0.999999881, 8.25966708e-08, 0.999929488, -0.000349041075, 0.0118680047) | |
1663 | o27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1664 | o27.Position = Vector3.new(1.7791779, 1.9886167, -0.518110156) | |
1665 | o27.Orientation = Vector3.new(0, 89.3199997, -179.979996) | |
1666 | o27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1667 | o28.Parent = o27 | |
1668 | o28.MeshType = Enum.MeshType.Wedge | |
1669 | o29.Name = "Joint" | |
1670 | o29.Parent = o27 | |
1671 | o29.C0 = CFrame.new(0.51070261, -0.97445333, -0.273005605, -0.0237121694, 0.00849536248, 0.999682665, -0.00041921006, -0.99996388, 0.00848780759, 0.999718666, -0.000217817505, 0.0237148758) | |
1672 | o29.Part0 = o27 | |
1673 | o29.Part1 = o20 | |
1674 | o30.Name = "part" | |
1675 | o30.Parent = o1 | |
1676 | o30.Material = Enum.Material.SmoothPlastic | |
1677 | o30.BrickColor = BrickColor.new("Really black") | |
1678 | o30.Position = Vector3.new(1.21444392, 1.98861659, -0.511407495) | |
1679 | o30.Rotation = Vector3.new(0, -89.3199997, -179.979996) | |
1680 | o30.CanCollide = false | |
1681 | o30.Locked = true | |
1682 | o30.FormFactor = Enum.FormFactor.Symmetric | |
1683 | o30.Size = Vector3.new(0.0500000007, 0.949999988, 0.430000037) | |
1684 | o30.CFrame = CFrame.new(1.21444392, 1.98861659, -0.511407495, -0.0118680345, 4.14910755e-06, -0.999929488, -0.000349195674, -0.999999881, 4.82316409e-09, -0.999929488, 0.000349170528, 0.0118680345) | |
1685 | o30.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1686 | o30.Position = Vector3.new(1.21444392, 1.98861659, -0.511407495) | |
1687 | o30.Orientation = Vector3.new(0, -89.3199997, -179.979996) | |
1688 | o30.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1689 | o31.Parent = o30 | |
1690 | o31.MeshType = Enum.MeshType.Wedge | |
1691 | o32.Name = "Joint" | |
1692 | o32.Parent = o30 | |
1693 | o32.C0 = CFrame.new(-0.504759371, -0.974098802, -0.279715657, -2.24979594e-05, -0.00918593351, -0.9999578, -0.000427566702, -0.999957681, 0.00918594189, -0.999999881, 0.000427760155, 1.85696408e-05) | |
1694 | o32.Part0 = o30 | |
1695 | o32.Part1 = o20 | |
1696 | o33.Name = "part" | |
1697 | o33.Parent = o1 | |
1698 | o33.Material = Enum.Material.Neon | |
1699 | o33.BrickColor = BrickColor.new("Bright orange") | |
1700 | o33.Position = Vector3.new(1.49197471, 2.9470253, -0.478182614) | |
1701 | o33.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996) | |
1702 | o33.CanCollide = false | |
1703 | o33.Locked = true | |
1704 | o33.FormFactor = Enum.FormFactor.Symmetric | |
1705 | o33.Size = Vector3.new(0.790000021, 2.03999996, 0.0900000334) | |
1706 | o33.CFrame = CFrame.new(1.49197471, 2.9470253, -0.478182614, 0.999929667, -0.000322859967, 0.0118490048, 0.00042756967, 0.99996078, -0.00883675925, -0.0118456846, 0.00884120632, 0.999890745) | |
1707 | o33.Color = Color3.new(1, 0, 0) | |
1708 | o33.Position = Vector3.new(1.49197471, 2.9470253, -0.478182614) | |
1709 | o33.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996) | |
1710 | o33.Color = Color3.new(1, 0, 0) | |
1711 | o34.Name = "Joint" | |
1712 | o34.Parent = o33 | |
1713 | o34.C0 = CFrame.new(0.00261592865, 0.0199992657, 0.46774438, 0.99999994, -4.8239599e-09, 9.31322575e-10, -4.8239599e-09, 0.99999994, 9.31322575e-10, 9.31322575e-10, 9.31322575e-10, 1) | |
1714 | o34.Part0 = o33 | |
1715 | o34.Part1 = o20 | |
1716 | o35.Name = "part" | |
1717 | o35.Parent = o1 | |
1718 | o35.Material = Enum.Material.SmoothPlastic | |
1719 | o35.BrickColor = BrickColor.new("Really black") | |
1720 | o35.Position = Vector3.new(1.68771875, 2.15190101, -0.512167215) | |
1721 | o35.Rotation = Vector3.new(-92.5699997, -74.9800034, -92.6800003) | |
1722 | o35.CanCollide = false | |
1723 | o35.Locked = true | |
1724 | o35.FormFactor = Enum.FormFactor.Symmetric | |
1725 | o35.Size = Vector3.new(0.0500000007, 0.519999981, 0.430000037) | |
1726 | o35.CFrame = CFrame.new(1.68771875, 2.15190101, -0.512167215, -0.0121328495, 0.258796006, -0.965855658, -0.000337170437, 0.965925634, 0.258819014, 0.999926329, 0.00346587342, -0.0116321743) | |
1727 | o35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1728 | o35.Position = Vector3.new(1.68771875, 2.15190101, -0.512167215) | |
1729 | o35.Orientation = Vector3.new(-15, -90.6900024, -0.0199999996) | |
1730 | o35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1731 | o36.Parent = o35 | |
1732 | o36.MeshType = Enum.MeshType.Wedge | |
1733 | o37.Name = "Joint" | |
1734 | o37.Parent = o35 | |
1735 | o37.C0 = CFrame.new(0.503789365, 0.736547947, 0.385249794, -0.0239769556, 0.00850731414, 0.999676287, 0.25914979, 0.965834975, -0.00200368534, -0.965539336, 0.259017885, -0.0253624525) | |
1736 | o37.Part0 = o35 | |
1737 | o37.Part1 = o20 | |
1738 | o38.Name = "part" | |
1739 | o38.Parent = o1 | |
1740 | o38.Material = Enum.Material.SmoothPlastic | |
1741 | o38.BrickColor = BrickColor.new("Really black") | |
1742 | o38.Position = Vector3.new(1.29420042, 2.14426303, -0.512318134) | |
1743 | o38.Rotation = Vector3.new(-92.5599976, 74.9899979, 92.6299973) | |
1744 | o38.CanCollide = false | |
1745 | o38.Locked = true | |
1746 | o38.FormFactor = Enum.FormFactor.Symmetric | |
1747 | o38.Size = Vector3.new(0.0500000007, 0.519999981, 0.430000037) | |
1748 | o38.CFrame = CFrame.new(1.29420042, 2.14426303, -0.512318134, -0.0118680531, -0.25880447, 0.965860248, -0.000349207781, 0.965930641, 0.258818835, -0.999934316, 0.00273436401, -0.011553946) | |
1749 | o38.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1750 | o38.Position = Vector3.new(1.29420042, 2.14426303, -0.512318134) | |
1751 | o38.Orientation = Vector3.new(-15, 90.6900024, -0.0199999996) | |
1752 | o38.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1753 | o39.Parent = o38 | |
1754 | o39.MeshType = Enum.MeshType.Wedge | |
1755 | o40.Name = "Joint" | |
1756 | o40.Parent = o38 | |
1757 | o40.C0 = CFrame.new(-0.504666567, 0.738809347, 0.404969215, -2.24588439e-05, -0.00918598752, -0.999962628, -0.258405656, 0.966000617, -0.00886820722, 0.966039956, 0.258394748, -0.00239532255) | |
1758 | o40.Part0 = o38 | |
1759 | o40.Part1 = o20 | |
1760 | o41.Name = "part" | |
1761 | o41.Parent = o1 | |
1762 | o41.Material = Enum.Material.Neon | |
1763 | o41.BrickColor = BrickColor.new("Bright orange") | |
1764 | o41.Position = Vector3.new(0.96263957, 2.98702359, 0.00922585186) | |
1765 | o41.Rotation = Vector3.new(143.279999, 89.1500015, -143.259995) | |
1766 | o41.CanCollide = false | |
1767 | o41.Locked = true | |
1768 | o41.FormFactor = Enum.FormFactor.Symmetric | |
1769 | o41.Size = Vector3.new(0.790000021, 1.96000004, 0.0900000334) | |
1770 | o41.CFrame = CFrame.new(0.96263957, 2.98702359, 0.00922585186, -0.0118459975, 0.00884199701, 0.999890685, 0.000428000465, 0.99996084, -0.0088375546, -0.999929726, 0.000323263928, -0.0118493168) | |
1771 | o41.Color = Color3.new(1, 0, 0) | |
1772 | o41.Position = Vector3.new(0.96263957, 2.98702359, 0.00922585186) | |
1773 | o41.Orientation = Vector3.new(0.50999999, 90.6800003, 0.0199999996) | |
1774 | o41.Color = Color3.new(1, 0, 0) | |
1775 | o42.Name = "Joint" | |
1776 | o42.Parent = o41 | |
1777 | o42.C0 = CFrame.new(0.0131905926, -0.019384861, 0.537873149, -1.27591193e-07, -0.00840877742, -0.999964654, 0.00926510897, 0.999921739, -0.00840841699, 0.999957085, -0.00926478673, 7.77812675e-05) | |
1778 | o42.Part0 = o41 | |
1779 | o42.Part1 = o20 | |
1780 | o43.Name = "part" | |
1781 | o43.Parent = o1 | |
1782 | o43.Material = Enum.Material.SmoothPlastic | |
1783 | o43.BrickColor = BrickColor.new("Really black") | |
1784 | o43.Position = Vector3.new(0.945154786, 2.95708537, 0.291576743) | |
1785 | o43.Rotation = Vector3.new(143.279999, 89.1500015, -143.259995) | |
1786 | o43.CanCollide = false | |
1787 | o43.Locked = true | |
1788 | o43.FormFactor = Enum.FormFactor.Symmetric | |
1789 | o43.Size = Vector3.new(0.420000017, 2.01999998, 0.0900000334) | |
1790 | o43.CFrame = CFrame.new(0.945154786, 2.95708537, 0.291576743, -0.0118459975, 0.00884199701, 0.999890685, 0.000428000465, 0.99996084, -0.0088375546, -0.999929726, 0.000323263928, -0.0118493168) | |
1791 | o43.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1792 | o43.Position = Vector3.new(0.945154786, 2.95708537, 0.291576743) | |
1793 | o43.Orientation = Vector3.new(0.50999999, 90.6800003, 0.0199999996) | |
1794 | o43.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1795 | o44.Name = "Joint" | |
1796 | o44.Parent = o43 | |
1797 | o44.C0 = CFrame.new(0.295327336, 0.0106153488, 0.558437169, -1.27591193e-07, -0.00840877742, -0.999964654, 0.00926510897, 0.999921739, -0.00840841699, 0.999957085, -0.00926478673, 7.77812675e-05) | |
1798 | o44.Part0 = o43 | |
1799 | o44.Part1 = o20 | |
1800 | o45.Name = "part" | |
1801 | o45.Parent = o1 | |
1802 | o45.Material = Enum.Material.SmoothPlastic | |
1803 | o45.BrickColor = BrickColor.new("Really black") | |
1804 | o45.Position = Vector3.new(0.938376665, 2.95732975, -0.280635327) | |
1805 | o45.Rotation = Vector3.new(143.279999, 89.1500015, -143.259995) | |
1806 | o45.CanCollide = false | |
1807 | o45.Locked = true | |
1808 | o45.FormFactor = Enum.FormFactor.Symmetric | |
1809 | o45.Size = Vector3.new(0.420000017, 2.01999998, 0.0900000334) | |
1810 | o45.CFrame = CFrame.new(0.938376665, 2.95732975, -0.280635327, -0.0118459975, 0.00884199701, 0.999890685, 0.000428000465, 0.99996084, -0.0088375546, -0.999929726, 0.000323263928, -0.0118493168) | |
1811 | o45.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1812 | o45.Position = Vector3.new(0.938376665, 2.95732975, -0.280635327) | |
1813 | o45.Orientation = Vector3.new(0.50999999, 90.6800003, 0.0199999996) | |
1814 | o45.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1815 | o46.Name = "Joint" | |
1816 | o46.Parent = o45 | |
1817 | o46.C0 = CFrame.new(-0.276924908, 0.0106160641, 0.558436334, -1.27591193e-07, -0.00840877742, -0.999964654, 0.00926510897, 0.999921739, -0.00840841699, 0.999957085, -0.00926478673, 7.77812675e-05) | |
1818 | o46.Part0 = o45 | |
1819 | o46.Part1 = o20 | |
1820 | o47.Name = "part" | |
1821 | o47.Parent = o1 | |
1822 | o47.Material = Enum.Material.SmoothPlastic | |
1823 | o47.BrickColor = BrickColor.new("Really black") | |
1824 | o47.Position = Vector3.new(1.2103591, 3.2023201, 0.502368152) | |
1825 | o47.Rotation = Vector3.new(179.490005, -0.680000007, -179.979996) | |
1826 | o47.CanCollide = false | |
1827 | o47.Locked = true | |
1828 | o47.FormFactor = Enum.FormFactor.Symmetric | |
1829 | o47.Size = Vector3.new(0.420000017, 1.52999997, 0.0900000334) | |
1830 | o47.CFrame = CFrame.new(1.2103591, 3.2023201, 0.502368152, -0.999929786, 0.000323240965, -0.0118513182, 0.000428004656, 0.99996078, -0.00883754995, 0.0118479962, -0.00884199981, -0.999890745) | |
1831 | o47.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1832 | o47.Position = Vector3.new(1.2103591, 3.2023201, 0.502368152) | |
1833 | o47.Orientation = Vector3.new(0.50999999, -179.320007, 0.0199999996) | |
1834 | o47.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1835 | o48.Name = "Joint" | |
1836 | o48.Parent = o47 | |
1837 | o48.C0 = CFrame.new(-0.295923948, -0.234791994, 0.511337459, -0.999999702, 0.000855566177, -5.251728e-06, 0.000855520484, 0.999843419, -0.0176736191, -9.87201929e-06, -0.0176736191, -0.999843836) | |
1838 | o48.Part0 = o47 | |
1839 | o48.Part1 = o20 | |
1840 | o49.Name = "part" | |
1841 | o49.Parent = o1 | |
1842 | o49.Material = Enum.Material.SmoothPlastic | |
1843 | o49.BrickColor = BrickColor.new("Really black") | |
1844 | o49.Position = Vector3.new(1.78257418, 3.20207596, 0.495590359) | |
1845 | o49.Rotation = Vector3.new(179.490005, -0.680000007, -179.979996) | |
1846 | o49.CanCollide = false | |
1847 | o49.Locked = true | |
1848 | o49.FormFactor = Enum.FormFactor.Symmetric | |
1849 | o49.Size = Vector3.new(0.420000017, 1.52999997, 0.0900000334) | |
1850 | o49.CFrame = CFrame.new(1.78257418, 3.20207596, 0.495590359, -0.999929786, 0.000323240965, -0.0118513182, 0.000428004656, 0.99996078, -0.00883754995, 0.0118479962, -0.00884199981, -0.999890745) | |
1851 | o49.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1852 | o49.Position = Vector3.new(1.78257418, 3.20207596, 0.495590359) | |
1853 | o49.Orientation = Vector3.new(0.50999999, -179.320007, 0.0199999996) | |
1854 | o49.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1855 | o50.Name = "Joint" | |
1856 | o50.Parent = o49 | |
1857 | o50.C0 = CFrame.new(0.276331306, -0.234792948, 0.511339784, -0.999999702, 0.000855566177, -5.251728e-06, 0.000855520484, 0.999843419, -0.0176736191, -9.87201929e-06, -0.0176736191, -0.999843836) | |
1858 | o50.Part0 = o49 | |
1859 | o50.Part1 = o20 | |
1860 | o51.Name = "part" | |
1861 | o51.Parent = o1 | |
1862 | o51.Material = Enum.Material.SmoothPlastic | |
1863 | o51.BrickColor = BrickColor.new("Really black") | |
1864 | o51.Position = Vector3.new(1.77766001, 1.98861575, 0.513848126) | |
1865 | o51.Rotation = Vector3.new(-179.979996, 89.3199997, 0) | |
1866 | o51.CanCollide = false | |
1867 | o51.Locked = true | |
1868 | o51.FormFactor = Enum.FormFactor.Symmetric | |
1869 | o51.Size = Vector3.new(0.0500000007, 0.949999988, 0.430000037) | |
1870 | o51.CFrame = CFrame.new(1.77766001, 1.98861575, 0.513848126, 0.0118700052, 4.53292159e-09, 0.999929488, -0.000348999165, -0.99999994, 4.13778162e-06, 0.999929428, -0.000349026173, -0.0118700033) | |
1871 | o51.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1872 | o51.Position = Vector3.new(1.77766001, 1.98861575, 0.513848126) | |
1873 | o51.Orientation = Vector3.new(0, 90.6800003, -179.979996) | |
1874 | o51.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1875 | o52.Parent = o51 | |
1876 | o52.MeshType = Enum.MeshType.Wedge | |
1877 | o53.Name = "Joint" | |
1878 | o53.Parent = o51 | |
1879 | o53.C0 = CFrame.new(-0.527789056, -0.974092722, -0.271287918, 2.41706148e-05, 0.00848776475, 0.999963939, -0.00042344039, -0.999963939, 0.00848777313, 0.999999881, -0.000423635094, -2.05747783e-05) | |
1880 | o53.Part0 = o51 | |
1881 | o53.Part1 = o20 | |
1882 | o54.Name = "part" | |
1883 | o54.Parent = o1 | |
1884 | o54.Material = Enum.Material.SmoothPlastic | |
1885 | o54.BrickColor = BrickColor.new("Really black") | |
1886 | o54.Position = Vector3.new(1.69790125, 2.1442709, 0.514756262) | |
1887 | o54.Rotation = Vector3.new(-87.4400024, -74.9800034, -87.3700027) | |
1888 | o54.CanCollide = false | |
1889 | o54.Locked = true | |
1890 | o54.FormFactor = Enum.FormFactor.Symmetric | |
1891 | o54.Size = Vector3.new(0.0500000007, 0.519999981, 0.430000037) | |
1892 | o54.CFrame = CFrame.new(1.69790125, 2.1442709, 0.514756262, 0.0118700052, 0.258803964, -0.965856969, -0.000348999165, 0.965925872, 0.258818179, 0.999929428, -0.00273508951, 0.0115558673) | |
1893 | o54.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1894 | o54.Position = Vector3.new(1.69790125, 2.1442709, 0.514756262) | |
1895 | o54.Orientation = Vector3.new(-15, -89.3099976, -0.0199999996) | |
1896 | o54.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1897 | o55.Parent = o54 | |
1898 | o55.MeshType = Enum.MeshType.Wedge | |
1899 | o56.Name = "Joint" | |
1900 | o56.Parent = o54 | |
1901 | o56.C0 = CFrame.new(-0.527696073, 0.740978241, 0.396828115, 2.41706148e-05, 0.00848776475, 0.999963939, 0.25923121, 0.965780377, -0.00820387714, -0.965815365, 0.25922209, -0.00217695255) | |
1902 | o56.Part0 = o54 | |
1903 | o56.Part1 = o20 | |
1904 | o57.Name = "part" | |
1905 | o57.Parent = o1 | |
1906 | o57.Material = Enum.Material.Neon | |
1907 | o57.BrickColor = BrickColor.new("Bright orange") | |
1908 | o57.Position = Vector3.new(1.50013006, 2.94702506, 0.480624318) | |
1909 | o57.Rotation = Vector3.new(179.490005, -0.680000007, -179.979996) | |
1910 | o57.CanCollide = false | |
1911 | o57.Locked = true | |
1912 | o57.FormFactor = Enum.FormFactor.Symmetric | |
1913 | o57.Size = Vector3.new(0.790000021, 2.03999996, 0.0900000334) | |
1914 | o57.CFrame = CFrame.new(1.50013006, 2.94702506, 0.480624318, -0.999929786, 0.000323240965, -0.0118513182, 0.000428004656, 0.99996078, -0.00883754995, 0.0118479962, -0.00884199981, -0.999890745) | |
1915 | o57.Color = Color3.new(1, 0, 0) | |
1916 | o57.Position = Vector3.new(1.50013006, 2.94702506, 0.480624318) | |
1917 | o57.Orientation = Vector3.new(0.50999999, -179.320007, 0.0199999996) | |
1918 | o57.Color = Color3.new(1, 0, 0) | |
1919 | o58.Name = "Joint" | |
1920 | o58.Parent = o57 | |
1921 | o58.C0 = CFrame.new(-0.00580644608, 0.0202069283, 0.490774006, -0.999999702, 0.000855566177, -5.251728e-06, 0.000855520484, 0.999843419, -0.0176736191, -9.87201929e-06, -0.0176736191, -0.999843836) | |
1922 | o58.Part0 = o57 | |
1923 | o58.Part1 = o20 | |
1924 | o59.Name = "part" | |
1925 | o59.Parent = o1 | |
1926 | o59.Material = Enum.Material.SmoothPlastic | |
1927 | o59.BrickColor = BrickColor.new("Really black") | |
1928 | o59.Position = Vector3.new(1.30438602, 2.15190077, 0.514609277) | |
1929 | o59.Rotation = Vector3.new(-87.4300003, 74.9800034, 87.3199997) | |
1930 | o59.CanCollide = false | |
1931 | o59.Locked = true | |
1932 | o59.FormFactor = Enum.FormFactor.Symmetric | |
1933 | o59.Size = Vector3.new(0.0500000007, 0.519999981, 0.430000037) | |
1934 | o59.CFrame = CFrame.new(1.30438602, 2.15190077, 0.514609277, 0.0121339997, -0.258795023, 0.965856075, -0.000337000936, 0.965926051, 0.25881803, -0.999926329, -0.0034659924, 0.0116333365) | |
1935 | o59.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1936 | o59.Position = Vector3.new(1.30438602, 2.15190077, 0.514609277) | |
1937 | o59.Orientation = Vector3.new(-15, 89.3099976, -0.0199999996) | |
1938 | o59.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1939 | o60.Parent = o59 | |
1940 | o60.MeshType = Enum.MeshType.Wedge | |
1941 | o61.Name = "Joint" | |
1942 | o61.Parent = o59 | |
1943 | o61.C0 = CFrame.new(0.527015865, 0.734519839, 0.392848969, 0.0239778198, -0.00918145943, -0.999670327, -0.258322775, 0.965941191, -0.0150677348, 0.965761125, 0.258598924, 0.0207893848) | |
1944 | o61.Part0 = o59 | |
1945 | o61.Part1 = o20 | |
1946 | o62.Name = "part" | |
1947 | o62.Parent = o1 | |
1948 | o62.Material = Enum.Material.SmoothPlastic | |
1949 | o62.BrickColor = BrickColor.new("Really black") | |
1950 | o62.Position = Vector3.new(1.21292591, 1.98861599, 0.520551324) | |
1951 | o62.Rotation = Vector3.new(179.979996, -89.3199997, 0) | |
1952 | o62.CanCollide = false | |
1953 | o62.Locked = true | |
1954 | o62.FormFactor = Enum.FormFactor.Symmetric | |
1955 | o62.Size = Vector3.new(0.0500000007, 0.949999988, 0.430000037) | |
1956 | o62.CFrame = CFrame.new(1.21292591, 1.98861599, 0.520551324, 0.011865994, 4.53292159e-09, -0.999929607, -0.000349001028, -0.99999994, -4.13636735e-06, -0.999929547, 0.000349023379, -0.011865994) | |
1957 | o62.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1958 | o62.Position = Vector3.new(1.21292591, 1.98861599, 0.520551324) | |
1959 | o62.Orientation = Vector3.new(0, -90.6800003, -179.979996) | |
1960 | o62.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1961 | o63.Parent = o62 | |
1962 | o63.MeshType = Enum.MeshType.Wedge | |
1963 | o64.Name = "Joint" | |
1964 | o64.Parent = o62 | |
1965 | o64.C0 = CFrame.new(0.533925354, -0.97446084, -0.280884624, 0.0237098634, -0.00919340085, -0.999676585, -0.000431709253, -0.99995774, 0.00918574631, -0.999718845, 0.000213781706, -0.0237128306) | |
1966 | o64.Part0 = o62 | |
1967 | o64.Part1 = o20 | |
1968 | o65.Name = "part" | |
1969 | o65.Parent = o1 | |
1970 | o65.Material = Enum.Material.Neon | |
1971 | o65.BrickColor = BrickColor.new("Bright orange") | |
1972 | o65.Position = Vector3.new(1.98767567, 2.98702312, 0.00151200127) | |
1973 | o65.Rotation = Vector3.new(36.7099991, -89.1500015, 36.7299995) | |
1974 | o65.CanCollide = false | |
1975 | o65.Locked = true | |
1976 | o65.FormFactor = Enum.FormFactor.Symmetric | |
1977 | o65.Size = Vector3.new(0.790000021, 1.96000004, 0.0900000334) | |
1978 | o65.CFrame = CFrame.new(1.98767567, 2.98702312, 0.00151200127, 0.0118479971, -0.00884200633, -0.999890625, 0.000427999534, 0.999960899, -0.00883754436, 0.999929786, -0.000323246233, 0.0118513163) | |
1979 | o65.Color = Color3.new(1, 0, 0) | |
1980 | o65.Position = Vector3.new(1.98767567, 2.98702312, 0.00151200127) | |
1981 | o65.Orientation = Vector3.new(0.50999999, -89.3199997, 0.0199999996) | |
1982 | o65.Color = Color3.new(1, 0, 0) | |
1983 | o66.Name = "Joint" | |
1984 | o66.Parent = o65 | |
1985 | o66.C0 = CFrame.new(-0.0176414885, -0.0198159218, 0.487568855, 2.49221921e-06, 0.00926474296, 0.999957144, -0.00840999372, 0.999921739, -0.00926439464, -0.999964595, -0.00840960443, 8.04085284e-05) | |
1986 | o66.Part0 = o65 | |
1987 | o66.Part1 = o20 | |
1988 | o67.Name = "part" | |
1989 | o67.Parent = o1 | |
1990 | o67.Material = Enum.Material.SmoothPlastic | |
1991 | o67.BrickColor = BrickColor.new("Really black") | |
1992 | o67.Position = Vector3.new(2.01194096, 2.95732999, 0.291371047) | |
1993 | o67.Rotation = Vector3.new(36.7099991, -89.1500015, 36.7299995) | |
1994 | o67.CanCollide = false | |
1995 | o67.Locked = true | |
1996 | o67.FormFactor = Enum.FormFactor.Symmetric | |
1997 | o67.Size = Vector3.new(0.420000017, 2.01999998, 0.0900000334) | |
1998 | o67.CFrame = CFrame.new(2.01194096, 2.95732999, 0.291371047, 0.0118479971, -0.00884200633, -0.999890625, 0.000427999534, 0.999960899, -0.00883754436, 0.999929786, -0.000323246233, 0.0118513163) | |
1999 | o67.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
2000 | o67.Position = Vector3.new(2.01194096, 2.95732999, 0.291371047) | |
2001 | o67.Orientation = Vector3.new(0.50999999, -89.3199997, 0.0199999996) | |
2002 | o67.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
2003 | o68.Name = "Joint" | |
2004 | o68.Parent = o67 | |
2005 | o68.C0 = CFrame.new(-0.307754934, 0.010184288, 0.50813365, 2.49221921e-06, 0.00926474296, 0.999957144, -0.00840999372, 0.999921739, -0.00926439464, -0.999964595, -0.00840960443, 8.04085284e-05) | |
2006 | o68.Part0 = o67 | |
2007 | o68.Part1 = o20 | |
2008 | o69.Name = "part" | |
2009 | o69.Parent = o1 | |
2010 | o69.Material = Enum.Material.SmoothPlastic | |
2011 | o69.BrickColor = BrickColor.new("Really black") | |
2012 | o69.Position = Vector3.new(2.00516462, 2.95708489, -0.280838072) | |
2013 | o69.Rotation = Vector3.new(36.7099991, -89.1500015, 36.7299995) | |
2014 | o69.CanCollide = false | |
2015 | o69.Locked = true | |
2016 | o69.FormFactor = Enum.FormFactor.Symmetric | |
2017 | o69.Size = Vector3.new(0.420000017, 2.01999998, 0.0900000334) | |
2018 | o69.CFrame = CFrame.new(2.00516462, 2.95708489, -0.280838072, 0.0118479971, -0.00884200633, -0.999890625, 0.000427999534, 0.999960899, -0.00883754436, 0.999929786, -0.000323246233, 0.0118513163) | |
2019 | o69.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
2020 | o69.Position = Vector3.new(2.00516462, 2.95708489, -0.280838072) | |
2021 | o69.Orientation = Vector3.new(0.50999999, -89.3199997, 0.0199999996) | |
2022 | o69.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
2023 | o70.Name = "Joint" | |
2024 | o70.Parent = o69 | |
2025 | o70.C0 = CFrame.new(0.2644943, 0.0101845264, 0.508137465, 2.49221921e-06, 0.00926474296, 0.999957144, -0.00840999372, 0.999921739, -0.00926439464, -0.999964595, -0.00840960443, 8.04085284e-05) | |
2026 | o70.Part0 = o69 | |
2027 | o70.Part1 = o20 | |
2028 | mas.Parent = workspace | |
2029 | mas:MakeJoints() | |
2030 | local mas1 = mas:GetChildren() | |
2031 | for i=1,#mas1 do | |
2032 | mas1[i].Parent = workspace | |
2033 | ypcall(function() mas1[i]:MakeJoints() end) | |
2034 | end | |
2035 | mas:Destroy() | |
2036 | for i=1,#cors do | |
2037 | coroutine.resume(cors[i]) | |
2038 | end | |
2039 | ||
2040 | wait() | |
2041 | ||
2042 | Workspace["Model"].Parent = game.Players.LocalPlayer.Character | |
2043 | ||
2044 | wz = Instance.new("Weld", game.Players.LocalPlayer.Character["Right Arm"]) | |
2045 | wz.Part0 = game.Players.LocalPlayer.Character["Right Arm"] | |
2046 | wz.Part1 = o20 | |
2047 | wz.C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0) | |
2048 | ||
2049 | for i,v in pairs(game.Players.LocalPlayer.Character.Model:GetChildren()) do | |
2050 | v.Anchored = false | |
2051 | v.CanCollide = false | |
2052 | end | |
2053 | ||
2054 | -------------------------- | |
2055 | ||
2056 | --theme song | |
2057 | ||
2058 | Effects = {} --sound effects, for advanced players. | |
2059 | local Player = game.Players.localPlayer | |
2060 | local Character = Player.Character | |
2061 | local Humanoid = Character.Humanoid | |
2062 | z = Instance.new("Sound", Character) | |
2063 | z.SoundId = "rbxassetid://842619644"-- | |
2064 | z.Looped = true --False for a one-time song. | |
2065 | z.Pitch = 1 | |
2066 | z.Volume = 1.3 | |
2067 | wait(.1) | |
2068 | z:Play() | |
2069 | ------------------------i made my own song, question mark? on void sb offered me the two eyes, i did some optimization to the script over all. | |
2070 | -----USEFUL VARIABLES | |
2071 | local p = game.Players.LocalPlayer | |
2072 | local mouse = p:GetMouse() | |
2073 | local char = p.Character | |
2074 | ||
2075 | local Head = char.Head | |
2076 | ||
2077 | local junk = Instance.new("Model") | |
2078 | junk.Parent = char | |
2079 | junk.Name = "junk" | |
2080 | ||
2081 | local function weldBetween(a, b) | |
2082 | local weld = Instance.new("Weld", a) | |
2083 | weld.Part0 = a | |
2084 | weld.Part1 = b | |
2085 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
2086 | return weld | |
2087 | end | |
2088 | ||
2089 | Head.face.Texture ="rbxasset://textures/face.png" | |
2090 | ||
2091 | local eye1 = Instance.new("Part",junk) | |
2092 | eye1.Position=Head.Position | |
2093 | eye1.Transparency = 0 | |
2094 | eye1.Size=Vector3.new(0.13,0.32,0.38) | |
2095 | eye1.BrickColor=BrickColor.new("Really black") | |
2096 | eye1.Material="Neon" | |
2097 | ||
2098 | local eye1m=Instance.new("SpecialMesh",eye1) | |
2099 | eye1m.MeshType="Sphere" | |
2100 | eye1m.Offset=Vector3.new(0.23,0.21,-0.45) | |
2101 | ||
2102 | ||
2103 | ||
2104 | local eye2 = Instance.new("Part",junk) | |
2105 | eye2.Position=Head.Position | |
2106 | eye2.Transparency = 0 | |
2107 | eye2.Size=eye1.Size | |
2108 | eye2.BrickColor=BrickColor.new("Really black") | |
2109 | eye2.Material= "Neon" | |
2110 | local eye2m=Instance.new("SpecialMesh",eye2) | |
2111 | eye2m.MeshType="Sphere" | |
2112 | eye2m.Offset=Vector3.new(-0.23,0.21,-0.45) | |
2113 | local eyething2=weldBetween(Head,eye2) | |
2114 | local eyething1=weldBetween(Head,eye1) | |
2115 | local plr = game.Players.LocalPlayer.Character.Humanoid | |
2116 | ----------------------------EYES UP THERE IMMORTALITY DOWN HERE | |
2117 | plr.MaxHealth = math.huge | |
2118 | wait(1) | |
2119 | plr.Health = math.huge | |
2120 | --,ebolacancer666 | |
2121 | ||
2122 | wait(math.randomseed(tick())) | |
2123 | local plr=game.Players.LocalPlayer;ch=plr.Character; | |
2124 | local tor=ch.Torso;local head=ch.Head;local ra=ch['Right Arm'];local la=ch['Left Arm'];local rl=ch['Right Leg'];local ll=ch['Left Leg']; | |
2125 | local rj=ch.HumanoidRootPart.RootJoint;local neck=tor.Neck; | |
2126 | local rm=Instance.new("Weld",tor);rm.C1=CFrame.new(0,0.5,0);rm.C0=CFrame.new(1.5,0.5,0);rm.Part0=tor;rm.Part1=ra; | |
2127 | local lm=Instance.new("Weld",tor);lm.C1=CFrame.new(0,0.5,0);lm.C0=CFrame.new(-1.5,0.5,0);lm.Part0=tor;lm.Part1=la; | |
2128 | local rlm=Instance.new("Weld",tor);rlm.C1=CFrame.new(0,1,0);rlm.C0=CFrame.new(0.5,-1,0);rlm.Part0=tor;rlm.Part1=rl; | |
2129 | local llm=Instance.new("Weld",tor);llm.C1=CFrame.new(0,1,0);llm.C0=CFrame.new(-0.5,-1,0);llm.Part0=tor;llm.Part1=ll; | |
2130 | local hum=ch.Humanoid | |
2131 | for i,v in pairs(head:GetChildren()) do if v.ClassName=="Sound" then v:Destroy() end end | |
2132 | rj.C0=CFrame.new() | |
2133 | rj.C1=CFrame.new() | |
2134 | tor['Right Shoulder']:Destroy();tor['Left Shoulder']:Destroy();tor['Right Hip']:Destroy();tor['Left Hip']:Destroy(); | |
2135 | neck.C0=CFrame.new(0,1,0);neck.C1=CFrame.new(0,-0.5,0); | |
2136 | rmC0=rm.C0;rmC1=rm.C1;lmC0=lm.C0;lmC1=lm.C1;nC0=neck.C0;nC1=neck.C1;rjC0=rj.C0;rjC1=rj.C1;rlmC0=rlm.C0;rlmC1=rlm.C1;llmC0=llm.C0;llmC1=llm.C1; | |
2137 | local defWS=25 | |
2138 | local defJP=120 | |
2139 | hum.WalkSpeed=defWS | |
2140 | hum.JumpPower=defJP | |
2141 | ch:WaitForChild("Animate"):Destroy() | |
2142 | hum:WaitForChild("Animator"):Destroy() | |
2143 | local mouse=plr:GetMouse();local cam=workspace.CurrentCamera; | |
2144 | ||
2145 | for i,v in pairs(ch:GetChildren()) do | |
2146 | if v:IsA("Part") then | |
2147 | v.CanCollide=false | |
2148 | end | |
2149 | end | |
2150 | ||
2151 | function findHumanoid(character) | |
2152 | for i,v in pairs(character:GetChildren()) do | |
2153 | if v.ClassName=="Humanoid" then | |
2154 | return v | |
2155 | end | |
2156 | end | |
2157 | end | |
2158 | ||
2159 | function isHumanoid(character) | |
2160 | for i,v in pairs(character:GetChildren()) do | |
2161 | if v.ClassName=="Humanoid" then | |
2162 | return true | |
2163 | end | |
2164 | end | |
2165 | end | |
2166 | ||
2167 | local bodyColor=BrickColor.new("Really black") | |
2168 | ||
2169 | local bc=ch:WaitForChild("Body Colors") | |
2170 | bc.HeadColor=bodyColor;bc.LeftArmColor=bodyColor;bc.LeftLegColor=bodyColor;bc.RightArmColor=bodyColor;bc.RightLegColor=bodyColor;bc.TorsoColor=bodyColor; | |
2171 | head:WaitForChild("face"):Destroy() | |
2172 | ||
2173 | for i,v in pairs(head:GetChildren()) do if v.ClassName=="Sound" then v:Destroy() end end | |
2174 | ||
2175 | function swait(num) | |
2176 | if num==0 or num==nil then | |
2177 | game:service'RunService'.RenderStepped:wait() | |
2178 | else | |
2179 | for i=0,num do | |
2180 | game:service'RunService'.RenderStepped:wait() | |
2181 | end | |
2182 | end | |
2183 | end | |
2184 | ||
2185 | function doBrick(parent,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts) | |
2186 | local p=Instance.new('Part',parent);p.BrickColor=colour;p.Material=material;p.Transparency=transparency;p.Anchored=a;p.CanCollide=cc;p.FormFactor="Custom";p.Size=size;p.BackSurface=bs;p.BottomSurface=bts;p.FrontSurface=fs;p.LeftSurface=ls;p.RightSurface=rs;p.TopSurface=ts;p.Position=pos;p.CFrame=p.CFrame*cf; | |
2187 | return p | |
2188 | end | |
2189 | ||
2190 | function doMesh(parent,meshType,meshId,scale) | |
2191 | local m=Instance.new('SpecialMesh',parent);m.MeshType=meshType;m.MeshId=meshId;m.Scale=scale | |
2192 | return m | |
2193 | end | |
2194 | ||
2195 | local hm=Instance.new("Model",ch);hm.Name="HelmetModel" | |
2196 | ||
2197 | local hat=doBrick(hm,Vector3.new(0,0,0),head.CFrame*CFrame.new(0,0.1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10) | |
2198 | local hoodMesh=doMesh(hat,"FileMesh","http://www.roblox.com/asset/?id=6552202",Vector3.new(3,3,3)) | |
2199 | ||
2200 | local grabPart=Instance.new("Part",ch);grabPart.Anchored=false;grabPart.CanCollide=false;grabPart.Size=Vector3.new(1,1,1);grabPart.Transparency=1;grabPart.Name="GrabPart"; | |
2201 | --local gpw=Instance.new("Weld",ch);gpw.Part0=grabPart;gpw.Part1=ra;gpw.C1=CFrame.new(0,-1.25,0.6) | |
2202 | ||
2203 | local mainGui=nil | |
2204 | ||
2205 | function displayGrabOptions() | |
2206 | local mainGui=Instance.new("ScreenGui",plr.PlayerGui) | |
2207 | mainGui.Name="OptionsGui" | |
2208 | local grabOption1=Instance.new("TextLabel",mainGui) | |
2209 | grabOption1.BackgroundTransparency=0.25 | |
2210 | grabOption1.BackgroundColor3=Color3.new(0,0,0) | |
2211 | grabOption1.BorderSizePixel=0 | |
2212 | grabOption1.Size=UDim2.new(0,125,0,40) | |
2213 | grabOption1.Position=UDim2.new(0,-125+1,0.5,40) | |
2214 | grabOption1.Text="F - Release" | |
2215 | grabOption1.Font=Enum.Font.SourceSansLight | |
2216 | grabOption1.FontSize=Enum.FontSize.Size24 | |
2217 | grabOption1.TextColor3=Color3.new(255,0,0) | |
2218 | grabOption1.TextStrokeTransparency=0 | |
2219 | ||
2220 | grabOption1:TweenPosition(UDim2.new(0,0,0.5,40),"Out","Bounce",0.5,false,nil) | |
2221 | ||
2222 | local grabOption2=Instance.new("TextLabel",mainGui) | |
2223 | grabOption2.BackgroundTransparency=0.25 | |
2224 | grabOption2.BackgroundColor3=Color3.new(0,0,0) | |
2225 | grabOption2.BorderSizePixel=0 | |
2226 | grabOption2.Size=UDim2.new(0,125,0,40) | |
2227 | grabOption2.Position=UDim2.new(0,-125+1,0.5,(40*2)+1) | |
2228 | grabOption2.Text="E - Soul Punch" | |
2229 | grabOption2.Font=Enum.Font.SourceSansLight | |
2230 | grabOption2.FontSize=Enum.FontSize.Size24 | |
2231 | grabOption2.TextColor3=Color3.new(255,0,0) | |
2232 | grabOption2.TextStrokeTransparency=0 | |
2233 | ||
2234 | grabOption2:TweenPosition(UDim2.new(0,0,0.5,(40*2)+1),"Out","Bounce",0.6,false,nil) | |
2235 | ||
2236 | local grabOption3=Instance.new("TextLabel",mainGui) | |
2237 | grabOption3.BackgroundTransparency=0.25 | |
2238 | grabOption3.BackgroundColor3=Color3.new(0,0,0) | |
2239 | grabOption3.BorderSizePixel=0 | |
2240 | grabOption3.Size=UDim2.new(0,125,0,40) | |
2241 | grabOption3.Position=UDim2.new(0,-125+1,0.5,(40*3)+2) | |
2242 | grabOption3.Text="R - Soul Tear" | |
2243 | grabOption3.Font=Enum.Font.SourceSansLight | |
2244 | grabOption3.FontSize=Enum.FontSize.Size24 | |
2245 | grabOption3.TextColor3=Color3.new(255,0,0) | |
2246 | grabOption3.TextStrokeTransparency=0 | |
2247 | ||
2248 | grabOption3:TweenPosition(UDim2.new(0,0,0.5,(40*3)+2),"Out","Bounce",0.7,false,nil) | |
2249 | end | |
2250 | ||
2251 | function hideGrabOptions() | |
2252 | if plr.PlayerGui:findFirstChild("OptionsGui",true)~=nil then | |
2253 | plr.PlayerGui.OptionsGui:Destroy() | |
2254 | end | |
2255 | end | |
2256 | ||
2257 | for i,v in pairs(hm:GetChildren()) do | |
2258 | if v:IsA("BasePart") then | |
2259 | local w=Instance.new("Weld",hm) | |
2260 | w.Part0=head | |
2261 | w.Part1=v | |
2262 | w.C0=head.CFrame:inverse() | |
2263 | w.C1=v.CFrame:inverse() | |
2264 | v.Anchored=false | |
2265 | end | |
2266 | end | |
2267 | ||
2268 | function poseJointC0(joint,JB,cf,speed) | |
2269 | joint.C0=joint.C0:lerp(JB*cf,speed) | |
2270 | end | |
2271 | function poseJointC1(joint,JB,cf,speed) | |
2272 | joint.C1=joint.C1:lerp(JB*cf,speed) | |
2273 | end | |
2274 | ||
2275 | local RLattacking=false | |
2276 | local grabbing=false | |
2277 | local grabbingMode=false | |
2278 | local grabbedCharacter=nil | |
2279 | local grabWeld=nil | |
2280 | ||
2281 | local dmgDebounce=false | |
2282 | ||
2283 | local speed=1 | |
2284 | ||
2285 | --[[temp | |
2286 | ||
2287 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed) | |
2288 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed) | |
2289 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed) | |
2290 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed) | |
2291 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(13),math.rad(0),math.rad(0)),i*speed) | |
2292 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed) | |
2293 | ||
2294 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed) | |
2295 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2296 | poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed) | |
2297 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed) | |
2298 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2299 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
2300 | ||
2301 | swait() | |
2302 | ]] | |
2303 | ||
2304 | function sound(id,vol,pitch,parent) | |
2305 | local s=Instance.new("Sound",parent) | |
2306 | s.SoundId="http://www.roblox.com/asset/?id="..id.."" | |
2307 | s.Volume=vol | |
2308 | s.Pitch=pitch | |
2309 | game.Debris:AddItem(s,10) | |
2310 | s:play() | |
2311 | return s | |
2312 | end | |
2313 | ||
2314 | local EP=Instance.new("Model",ch);EP.Name="ExtraParts"; | |
2315 | ||
2316 | local souls=0 | |
2317 | local soulPower=0 | |
2318 | ||
2319 | local soulGui=Instance.new("BillboardGui",head) | |
2320 | soulGui.Adornee=nil | |
2321 | soulGui.AlwaysOnTop=true | |
2322 | soulGui.Size=UDim2.new(10,0,10,0) | |
2323 | soulGui.ExtentsOffset=Vector3.new(0,1.5,0) | |
2324 | local soulimg=Instance.new("ImageLabel",soulGui) | |
2325 | soulimg.BackgroundTransparency=1 | |
2326 | soulimg.Position=UDim2.new(0.1,0,0,0) | |
2327 | soulimg.Size=UDim2.new(0.8,0,0.8,0) | |
2328 | local soulText=Instance.new("TextLabel",soulimg) | |
2329 | soulText.BackgroundTransparency=1 | |
2330 | soulText.Position=UDim2.new(0,0,0.5,0) | |
2331 | soulText.Size=UDim2.new(1,0,0.1,0) | |
2332 | soulText.Font="Antique" | |
2333 | soulText.FontSize="Size24" | |
2334 | soulText.Text="+0%" | |
2335 | soulText.TextTransparency = 1 | |
2336 | soulText.TextColor3=Color3.new(200,0,0) | |
2337 | soulText.TextScaled=true | |
2338 | soulText.TextStrokeColor3=Color3.new(0,0,0) | |
2339 | soulText.TextStrokeTransparency=1 | |
2340 | soulText.TextWrapped=true | |
2341 | ||
2342 | ||
2343 | function magicBrick(pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts,meshType,meshId,scale,scaleAdd,loop,loopTransparency,repeatloop,repeatLoopWait,loopCFrame) | |
2344 | local cw1=coroutine.wrap(function() | |
2345 | for i=1,repeatloop do | |
2346 | local x=doBrick(EP,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts) | |
2347 | local z=doMesh(x,meshType,meshId,scale) | |
2348 | ||
2349 | local cw2=coroutine.wrap(function() | |
2350 | for i=1,loop do | |
2351 | if loopTransparency then | |
2352 | x.Transparency=i/loop | |
2353 | z.Scale=z.Scale+scaleAdd | |
2354 | x.CFrame=x.CFrame*loopCFrame | |
2355 | wait() | |
2356 | else | |
2357 | z.Scale=z.Scale+scaleAdd | |
2358 | x.CFrame=x.CFrame*loopCFrame | |
2359 | end | |
2360 | end | |
2361 | x:Destroy() | |
2362 | end) | |
2363 | cw2() | |
2364 | swait(repeatLoopWait) | |
2365 | end | |
2366 | end) | |
2367 | cw1() | |
2368 | end | |
2369 | ||
2370 | local currentAnim="" | |
2371 | local speed=0 | |
2372 | local doingMove=false | |
2373 | local attacking=false | |
2374 | ||
2375 | function anim(x) | |
2376 | if not doingMove then | |
2377 | if x=="jump" then | |
2378 | if currentAnim==x then return end | |
2379 | currentAnim=x | |
2380 | speed=0.45 | |
2381 | print(x) | |
2382 | for i=0,0.8,0.1*speed do | |
2383 | if currentAnim~=x then break end | |
2384 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(-13),math.rad(0),math.rad(0)),i*speed) | |
2385 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-13),math.rad(0),math.rad(0)),i*speed) | |
2386 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed) | |
2387 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed) | |
2388 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(8),math.rad(0),math.rad(0)),i*speed) | |
2389 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed) | |
2390 | ||
2391 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed) | |
2392 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2393 | poseJointC1(rlm,rlmC1,CFrame.new(0.05,-0.35,0.35),i*speed) | |
2394 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed) | |
2395 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2396 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
2397 | swait() | |
2398 | end | |
2399 | currentAnim=nil | |
2400 | end | |
2401 | if x=="descend" then | |
2402 | if currentAnim==x then return end | |
2403 | currentAnim=x | |
2404 | speed=0.45 | |
2405 | print(x) | |
2406 | for i=0,0.67,0.1*speed do | |
2407 | if currentAnim~=x then break end | |
2408 | if grabbingMode then | |
2409 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(110),math.rad(0),math.rad(87)),i*speed) | |
2410 | end | |
2411 | if not grabbingMode then | |
2412 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(-13),math.rad(0),math.rad(0)),i*speed) | |
2413 | end | |
2414 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-13),math.rad(0),math.rad(0)),i*speed) | |
2415 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed) | |
2416 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed) | |
2417 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(-24),math.rad(0),math.rad(0)),i*speed) | |
2418 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(24),math.rad(0),math.rad(0)),i*speed) | |
2419 | ||
2420 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed) | |
2421 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2422 | poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed) | |
2423 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed) | |
2424 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2425 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
2426 | swait() | |
2427 | end | |
2428 | currentAnim=nil | |
2429 | end | |
2430 | if x=="walk" then | |
2431 | if currentAnim==x then return end | |
2432 | currentAnim=x | |
2433 | speed=0.35 | |
2434 | print(x) | |
2435 | while true do | |
2436 | if currentAnim~=x then break end | |
2437 | for i=0,0.8,0.1*speed do | |
2438 | if currentAnim~=x then break end | |
2439 | if grabbingMode then | |
2440 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(135),math.rad(0),math.rad(25)),i*speed) | |
2441 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-25),math.rad(0),math.rad(-5)),i*speed) | |
2442 | end | |
2443 | if not grabbingMode then | |
2444 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(110),math.rad(0),math.rad(-25)),i*speed) | |
2445 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(99),math.rad(0),math.rad(25)),i*speed) | |
2446 | end | |
2447 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),i*speed) | |
2448 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(55),math.rad(0),math.rad(0)),i*speed) | |
2449 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(5),math.rad(12),math.rad(0)),i*speed) | |
2450 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-14),math.rad(-12),math.rad(-10)),i*speed) | |
2451 | ||
2452 | if grabbingMode then | |
2453 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed) | |
2454 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2455 | end | |
2456 | if not grabbingMode then | |
2457 | poseJointC1(rm,rmC1,CFrame.new(0,0.45,0),i*speed) | |
2458 | poseJointC1(lm,lmC1,CFrame.new(0,0.45,0),i*speed) | |
2459 | end | |
2460 | poseJointC1(rlm,rlmC1,CFrame.new(0.05,0,0),i*speed) | |
2461 | poseJointC1(llm,llmC1,CFrame.new(-0.05,0,0),i*speed) | |
2462 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2463 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
2464 | swait() | |
2465 | end | |
2466 | for i=0,0.34,0.1*speed do | |
2467 | if currentAnim~=x then break end | |
2468 | if grabbingMode then | |
2469 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(135),math.rad(0),math.rad(25)),i*speed) | |
2470 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-25),math.rad(0),math.rad(-5)),i*speed) | |
2471 | end | |
2472 | if not grabbingMode then | |
2473 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(110),math.rad(0),math.rad(-25)),i*speed) | |
2474 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(99),math.rad(0),math.rad(25)),i*speed) | |
2475 | end | |
2476 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-25),math.rad(0),math.rad(0)),i*speed) | |
2477 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)),i*speed) | |
2478 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),i*speed) | |
2479 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),i*speed) | |
2480 | ||
2481 | if grabbingMode then | |
2482 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed) | |
2483 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2484 | end | |
2485 | if not grabbingMode then | |
2486 | poseJointC1(rm,rmC1,CFrame.new(0,0.45,0),i*speed) | |
2487 | poseJointC1(lm,lmC1,CFrame.new(0,0.45,0),i*speed) | |
2488 | end | |
2489 | poseJointC1(rlm,rlmC1,CFrame.new(0.05,-0.75,0.7),i*speed) | |
2490 | poseJointC1(llm,llmC1,CFrame.new(-0.05,0,0),i*speed) | |
2491 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2492 | poseJointC1(rj,rjC1,CFrame.new(0,0.3,0),i*speed) | |
2493 | swait() | |
2494 | end | |
2495 | for i=0,0.8,0.1*speed do | |
2496 | if currentAnim~=x then break end | |
2497 | if grabbingMode then | |
2498 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(135),math.rad(0),math.rad(25)),i*speed) | |
2499 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-25),math.rad(0),math.rad(-5)),i*speed) | |
2500 | end | |
2501 | if not grabbingMode then | |
2502 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(110),math.rad(0),math.rad(-25)),i*speed) | |
2503 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(99),math.rad(0),math.rad(25)),i*speed) | |
2504 | end | |
2505 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(55),math.rad(0),math.rad(0)),i*speed) | |
2506 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),i*speed) | |
2507 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(5),math.rad(-12),math.rad(0)),i*speed) | |
2508 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-14),math.rad(12),math.rad(10)),i*speed) | |
2509 | ||
2510 | if grabbingMode then | |
2511 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed) | |
2512 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2513 | end | |
2514 | if not grabbingMode then | |
2515 | poseJointC1(rm,rmC1,CFrame.new(0,0.45,0),i*speed) | |
2516 | poseJointC1(lm,lmC1,CFrame.new(0,0.45,0),i*speed) | |
2517 | end | |
2518 | poseJointC1(rlm,rlmC1,CFrame.new(0.05,0,0),i*speed) | |
2519 | poseJointC1(llm,llmC1,CFrame.new(-0.05,0,0),i*speed) | |
2520 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2521 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
2522 | swait() | |
2523 | end | |
2524 | for i=0,0.34,0.1*speed do | |
2525 | if currentAnim~=x then break end | |
2526 | if grabbingMode then | |
2527 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(135),math.rad(0),math.rad(25)),i*speed) | |
2528 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-25),math.rad(0),math.rad(-5)),i*speed) | |
2529 | end | |
2530 | if not grabbingMode then | |
2531 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(110),math.rad(0),math.rad(-25)),i*speed) | |
2532 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(99),math.rad(0),math.rad(25)),i*speed) | |
2533 | end | |
2534 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)),i*speed) | |
2535 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-25),math.rad(0),math.rad(0)),i*speed) | |
2536 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),i*speed) | |
2537 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-14),math.rad(0),math.rad(0)),i*speed) | |
2538 | ||
2539 | if grabbingMode then | |
2540 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed) | |
2541 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2542 | end | |
2543 | if not grabbingMode then | |
2544 | poseJointC1(rm,rmC1,CFrame.new(0,0.45,0),i*speed) | |
2545 | poseJointC1(lm,lmC1,CFrame.new(0,0.45,0),i*speed) | |
2546 | end | |
2547 | poseJointC1(rlm,rlmC1,CFrame.new(0.05,0,0),i*speed) | |
2548 | poseJointC1(llm,llmC1,CFrame.new(-0.05,-0.75,0.7),i*speed) | |
2549 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2550 | poseJointC1(rj,rjC1,CFrame.new(0,0.3,0),i*speed) | |
2551 | swait() | |
2552 | end | |
2553 | end | |
2554 | end | |
2555 | if x=="idle" then | |
2556 | if currentAnim==x then return end | |
2557 | currentAnim=x | |
2558 | speed=0.24 | |
2559 | print(x) | |
2560 | for i=0,0.45,0.1*speed do | |
2561 | if currentAnim~=x then break end | |
2562 | if grabbingMode then | |
2563 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(145),math.rad(0),math.rad(45)),speed) | |
2564 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(12),math.rad(0),math.rad(-12)),speed) | |
2565 | end | |
2566 | if not grabbingMode then | |
2567 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(100),math.rad(0),math.rad(45)),speed) | |
2568 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(99),math.rad(0),math.rad(45)),speed) | |
2569 | end | |
2570 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(12),math.rad(0),math.rad(12)),speed) | |
2571 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-23),math.rad(0),math.rad(-6)),speed) | |
2572 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(-4),math.rad(-45),math.rad(0)),speed) | |
2573 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-12),math.rad(45),math.rad(0)),speed) | |
2574 | ||
2575 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),speed) | |
2576 | if grabbingMode then | |
2577 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),speed) | |
2578 | end | |
2579 | if not grabbingMode then | |
2580 | poseJointC1(lm,lmC1,CFrame.new(0,0.75,0),speed) | |
2581 | end | |
2582 | poseJointC1(rlm,rlmC1,CFrame.new(0.05,-0.45,0.45),speed) | |
2583 | poseJointC1(llm,llmC1,CFrame.new(-0.05,-0.45,0.35),speed) | |
2584 | poseJointC1(neck,nC1,CFrame.new(0,0,0),speed) | |
2585 | poseJointC1(rj,rjC1,CFrame.new(0,0.45,0),speed) | |
2586 | swait() | |
2587 | end | |
2588 | while true do | |
2589 | if currentAnim~=x then break end | |
2590 | for i=0,0.75,0.1*speed do | |
2591 | if currentAnim~=x then break end | |
2592 | if grabbingMode then | |
2593 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(145),math.rad(0),math.rad(45)),i*speed) | |
2594 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(12),math.rad(0),math.rad(-12)),i*speed) | |
2595 | end | |
2596 | if not grabbingMode then | |
2597 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(112),math.rad(0),math.rad(45)),i*speed) | |
2598 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(110),math.rad(0),math.rad(45)),i*speed) | |
2599 | end | |
2600 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(12),math.rad(0),math.rad(12)),i*speed) | |
2601 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-24),math.rad(0),math.rad(-6)),i*speed) | |
2602 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(-4),math.rad(-45),math.rad(0)),i*speed) | |
2603 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-12),math.rad(45),math.rad(0)),i*speed) | |
2604 | ||
2605 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed) | |
2606 | if grabbingMode then | |
2607 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2608 | end | |
2609 | if not grabbingMode then | |
2610 | poseJointC1(lm,lmC1,CFrame.new(0,0.75,0),i*speed) | |
2611 | end | |
2612 | poseJointC1(rlm,rlmC1,CFrame.new(0.05,-0.45,0.45),i*speed) | |
2613 | poseJointC1(llm,llmC1,CFrame.new(-0.05,-0.55,0.35),i*speed) | |
2614 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2615 | poseJointC1(rj,rjC1,CFrame.new(0,0.55,0),i*speed) | |
2616 | swait() | |
2617 | end | |
2618 | for i=0,0.75,0.1*speed do | |
2619 | if currentAnim~=x then break end | |
2620 | if grabbingMode then | |
2621 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(145),math.rad(0),math.rad(45)),i*speed) | |
2622 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(12),math.rad(0),math.rad(-12)),i*speed) | |
2623 | end | |
2624 | if not grabbingMode then | |
2625 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(100),math.rad(0),math.rad(45)),i*speed) | |
2626 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(99),math.rad(0),math.rad(45)),i*speed) | |
2627 | end | |
2628 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(12),math.rad(0),math.rad(12)),i*speed) | |
2629 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-23),math.rad(0),math.rad(-6)),i*speed) | |
2630 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(-4),math.rad(-45),math.rad(0)),i*speed) | |
2631 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-12),math.rad(45),math.rad(0)),i*speed) | |
2632 | ||
2633 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed) | |
2634 | if grabbingMode then | |
2635 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2636 | end | |
2637 | if not grabbingMode then | |
2638 | poseJointC1(lm,lmC1,CFrame.new(0,0.75,0),i*speed) | |
2639 | end | |
2640 | poseJointC1(rlm,rlmC1,CFrame.new(0.05,-0.45,0.45),i*speed) | |
2641 | poseJointC1(llm,llmC1,CFrame.new(-0.05,-0.45,0.35),i*speed) | |
2642 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2643 | poseJointC1(rj,rjC1,CFrame.new(0,0.45,0),i*speed) | |
2644 | swait() | |
2645 | end | |
2646 | end | |
2647 | end | |
2648 | end | |
2649 | if doingMove then | |
2650 | if x=="spar1" then | |
2651 | if currentAnim==x then return end | |
2652 | currentAnim=x | |
2653 | speed=0.75 | |
2654 | print(x) | |
2655 | for i=0,0.5,0.1*speed do | |
2656 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(75),math.rad(0),math.rad(-45)),i*speed) | |
2657 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(90),math.rad(0),math.rad(-45)),i*speed) | |
2658 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(45)),i*speed) | |
2659 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-12)),i*speed) | |
2660 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),i*speed) | |
2661 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(90),math.rad(12)),i*speed) | |
2662 | ||
2663 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed) | |
2664 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2665 | poseJointC1(rlm,rlmC1,CFrame.new(0,-0.2,0),i*speed) | |
2666 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed) | |
2667 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2668 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
2669 | swait() | |
2670 | end | |
2671 | attacking=true | |
2672 | RLattacking=true | |
2673 | sound(233856146,1,1,rl) | |
2674 | for i=0,1,0.1*speed do | |
2675 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(80),math.rad(0),math.rad(-45)),i*speed) | |
2676 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(90),math.rad(0),math.rad(-45)),i*speed) | |
2677 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(106.5)),i*speed) | |
2678 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-45)),i*speed) | |
2679 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),i*speed) | |
2680 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(90),math.rad(45)),i*speed) | |
2681 | ||
2682 | poseJointC1(rm,rmC1,CFrame.new(0,0.5,0),i*speed) | |
2683 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2684 | poseJointC1(rlm,rlmC1,CFrame.new(0,0.2,0),i*speed) | |
2685 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed) | |
2686 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2687 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
2688 | swait() | |
2689 | end | |
2690 | attacking=false | |
2691 | RLattacking=false | |
2692 | currentAnim=nil | |
2693 | end | |
2694 | if x=="spar2" then | |
2695 | if currentAnim==x then return end | |
2696 | currentAnim=x | |
2697 | speed=0.75 | |
2698 | print(x) | |
2699 | for i=0,0.5,0.1*speed do | |
2700 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(45),math.rad(0),math.rad(-45)),i*speed) | |
2701 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(45),math.rad(0),math.rad(45)),i*speed) | |
2702 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(45)),i*speed) | |
2703 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),i*speed) | |
2704 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),i*speed) | |
2705 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(5),math.rad(-25),math.rad(0)),i*speed) | |
2706 | ||
2707 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed) | |
2708 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2709 | poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed) | |
2710 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed) | |
2711 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2712 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
2713 | swait() | |
2714 | end | |
2715 | attacking=true | |
2716 | RLattacking=true | |
2717 | sound(233856146,1,0.85,rl) | |
2718 | for i=0,1,0.1*speed do | |
2719 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(45)),i*speed) | |
2720 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(-45)),i*speed) | |
2721 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(110),math.rad(0),math.rad(0)),i*speed) | |
2722 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),i*speed) | |
2723 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(-23),math.rad(0),math.rad(0)),i*speed) | |
2724 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(23),math.rad(0),math.rad(0)),i*speed) | |
2725 | ||
2726 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed) | |
2727 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2728 | poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed) | |
2729 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed) | |
2730 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2731 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
2732 | swait() | |
2733 | end | |
2734 | attacking=false | |
2735 | RLattacking=false | |
2736 | currentAnim=nil | |
2737 | end | |
2738 | if x=="grab" then | |
2739 | if currentAnim==x then return end | |
2740 | currentAnim=x | |
2741 | speed=0.75 | |
2742 | print(x) | |
2743 | for i=0,0.5,0.1*speed do | |
2744 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(45),math.rad(0),math.rad(5)),i*speed) | |
2745 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed) | |
2746 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed) | |
2747 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed) | |
2748 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),i*speed) | |
2749 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),i*speed) | |
2750 | ||
2751 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed) | |
2752 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2753 | poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed) | |
2754 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed) | |
2755 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2756 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
2757 | swait() | |
2758 | end | |
2759 | attacking=true | |
2760 | grabbing=true | |
2761 | sound(233856146,1,0.95,rl) | |
2762 | for i=0,1,0.1*speed do | |
2763 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(125),math.rad(0),math.rad(-25)),i*speed) | |
2764 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-15)),i*speed) | |
2765 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed) | |
2766 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed) | |
2767 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(13),math.rad(-35),math.rad(0)),i*speed) | |
2768 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),i*speed) | |
2769 | ||
2770 | poseJointC1(rm,rmC1,CFrame.new(0,1,0),i*speed) | |
2771 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2772 | poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed) | |
2773 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed) | |
2774 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2775 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
2776 | swait() | |
2777 | end | |
2778 | attacking=false | |
2779 | grabbing=false | |
2780 | currentAnim=nil | |
2781 | end | |
2782 | if x=="release" then | |
2783 | if currentAnim==x then return end | |
2784 | currentAnim=x | |
2785 | speed=0.75 | |
2786 | print(x) | |
2787 | for i=0,0.5,0.1*speed do | |
2788 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(45),math.rad(0),math.rad(5)),i*speed) | |
2789 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed) | |
2790 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed) | |
2791 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed) | |
2792 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),i*speed) | |
2793 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),i*speed) | |
2794 | ||
2795 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed) | |
2796 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2797 | poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed) | |
2798 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed) | |
2799 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2800 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
2801 | swait() | |
2802 | end | |
2803 | sound(233856146,1,0.95,rl) | |
2804 | if grabWeld~=nil then | |
2805 | grabWeld:Destroy() | |
2806 | end | |
2807 | local bv=Instance.new("BodyVelocity",grabbedCharacter:WaitForChild("Torso")) | |
2808 | bv.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
2809 | bv.velocity=head.CFrame.lookVector*50+Vector3.new(0,15,0) | |
2810 | game.Debris:AddItem(bv,0.05) | |
2811 | grabbedCharacter.Humanoid.WalkSpeed=16 | |
2812 | grabbedCharacter.Humanoid.JumpPower=50 | |
2813 | for i=0,1,0.1*speed do | |
2814 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(125),math.rad(0),math.rad(-25)),i*speed) | |
2815 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-15)),i*speed) | |
2816 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed) | |
2817 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed) | |
2818 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(13),math.rad(-35),math.rad(0)),i*speed) | |
2819 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),i*speed) | |
2820 | ||
2821 | poseJointC1(rm,rmC1,CFrame.new(0,1,0),i*speed) | |
2822 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2823 | poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed) | |
2824 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed) | |
2825 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2826 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
2827 | swait() | |
2828 | end | |
2829 | currentAnim=nil | |
2830 | grabbedCharacter=nil | |
2831 | end | |
2832 | if x=="grabPose" then | |
2833 | if currentAnim==x then return end | |
2834 | currentAnim=x | |
2835 | speed=0.75 | |
2836 | print(x) | |
2837 | for i=0,1,0.1*speed do | |
2838 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(125),math.rad(0),math.rad(-25)),i*speed) | |
2839 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-15)),i*speed) | |
2840 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed) | |
2841 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed) | |
2842 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(13),math.rad(-35),math.rad(0)),i*speed) | |
2843 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),i*speed) | |
2844 | ||
2845 | poseJointC1(rm,rmC1,CFrame.new(0,1,0),i*speed) | |
2846 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2847 | poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed) | |
2848 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed) | |
2849 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2850 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
2851 | swait() | |
2852 | end | |
2853 | end | |
2854 | if x=="airAttack" then | |
2855 | if currentAnim==x then return end | |
2856 | currentAnim=x | |
2857 | speed=0.75 | |
2858 | print(x) | |
2859 | for i=0,0.5,0.1*speed do | |
2860 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(45),math.rad(0),math.rad(5)),i*speed) | |
2861 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed) | |
2862 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed) | |
2863 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed) | |
2864 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),i*speed) | |
2865 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),i*speed) | |
2866 | ||
2867 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed) | |
2868 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2869 | poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed) | |
2870 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed) | |
2871 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2872 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
2873 | swait() | |
2874 | end | |
2875 | sound(233856146,1,0.95,rl) | |
2876 | if grabWeld~=nil then | |
2877 | grabWeld:Destroy() | |
2878 | end | |
2879 | local bv=Instance.new("BodyVelocity",grabbedCharacter:WaitForChild("Torso")) | |
2880 | bv.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
2881 | bv.velocity=head.CFrame.lookVector*15+Vector3.new(0,30,0) | |
2882 | game.Debris:AddItem(bv,0.05) | |
2883 | local bf=Instance.new("BodyForce",grabbedCharacter:WaitForChild("Torso")) | |
2884 | bf.force=Vector3.new(0,750,0)*grabbedCharacter:WaitForChild("Torso"):GetMass() | |
2885 | game.Debris:AddItem(bf,2.5) | |
2886 | grabbedCharacter.Humanoid.WalkSpeed=16 | |
2887 | grabbedCharacter.Humanoid.JumpPower=50 | |
2888 | for i=0,1,0.1*speed do | |
2889 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(150),math.rad(0),math.rad(-25)),i*speed) | |
2890 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-15)),i*speed) | |
2891 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed) | |
2892 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed) | |
2893 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(17.5),math.rad(-35),math.rad(0)),i*speed) | |
2894 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),i*speed) | |
2895 | ||
2896 | poseJointC1(rm,rmC1,CFrame.new(0,1,0),i*speed) | |
2897 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2898 | poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed) | |
2899 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed) | |
2900 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2901 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
2902 | swait() | |
2903 | end | |
2904 | speed=0.2 | |
2905 | hum.WalkSpeed=0 | |
2906 | hum.JumpPower=0 | |
2907 | ||
2908 | magicBrick(Vector3.new(0,0,0),tor.CFrame*CFrame.new(0,0,0),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=6552202",Vector3.new(1,1,1),Vector3.new(10,10,10),5,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0)) | |
2909 | coroutine.resume(coroutine.create(function() | |
2910 | for i=1,100 do | |
2911 | magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random())) | |
2912 | magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Really red"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random())) | |
2913 | swait(.1) | |
2914 | end | |
2915 | end)) | |
2916 | for i,v in pairs(grabbedCharacter:GetChildren()) do | |
2917 | if v:IsA("Part") then | |
2918 | v.CanCollide=false | |
2919 | end | |
2920 | if v.ClassName=="Hat" then | |
2921 | for i,v in pairs(v:GetChildren()) do | |
2922 | if v:IsA("BasePart") then | |
2923 | v.CanCollide=false | |
2924 | end | |
2925 | end | |
2926 | end | |
2927 | end | |
2928 | sound(215395388,1,0.87,head) | |
2929 | for i=0,1.25,0.1*speed do | |
2930 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(90),math.rad(0),math.rad(12)),i*speed) | |
2931 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(90),math.rad(0),math.rad(-12)),i*speed) | |
2932 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),i*speed) | |
2933 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-23.5),math.rad(0),math.rad(0)),i*speed) | |
2934 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)),i*speed) | |
2935 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(-85),math.rad(0)),i*speed) | |
2936 | ||
2937 | poseJointC1(rm,rmC1,CFrame.new(0,-0.65,0),i*speed) | |
2938 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
2939 | poseJointC1(rlm,rlmC1,CFrame.new(0,-0.45,0.3),i*speed) | |
2940 | poseJointC1(llm,llmC1,CFrame.new(0,-0.45,0.3),i*speed) | |
2941 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
2942 | poseJointC1(rj,rjC1,CFrame.new(0,0.45,0),i*speed) | |
2943 | swait() | |
2944 | end | |
2945 | local bv=Instance.new("BodyVelocity",tor) | |
2946 | bv.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
2947 | bv.velocity=head.CFrame.lookVector*55+Vector3.new(0,60,0) | |
2948 | game.Debris:AddItem(bv,0.1) | |
2949 | for i=0,0.25,0.1*speed do | |
2950 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(110),math.rad(0),math.rad(24)),speed) | |
2951 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(-24)),speed) | |
2952 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),speed) | |
2953 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-23.5),math.rad(0),math.rad(0)),speed) | |
2954 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(-12),math.rad(75),math.rad(0)),speed) | |
2955 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-75),math.rad(-75),math.rad(0)),speed) | |
2956 | ||
2957 | poseJointC1(rm,rmC1,CFrame.new(0,-0.45,0),speed) | |
2958 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),speed) | |
2959 | poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),speed) | |
2960 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),speed) | |
2961 | poseJointC1(neck,nC1,CFrame.new(0,0,0),speed) | |
2962 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),speed) | |
2963 | swait() | |
2964 | end | |
2965 | local didHit=false | |
2966 | coroutine.resume(coroutine.create(function() | |
2967 | if (grabbedCharacter:WaitForChild("Torso").Position-tor.Position).magnitude<=10 then | |
2968 | if not dmgDebounce then | |
2969 | dmgDebounce=true | |
2970 | sound(227194094,1,0.8,ra) | |
2971 | sound(215395468,2.5,0.9,head) | |
2972 | coroutine.resume(coroutine.create(function() | |
2973 | for i=1,3 do | |
2974 | magicBrick(Vector3.new(0,0,0),head.CFrame*CFrame.Angles(math.rad(24),0,0)*CFrame.new(0,0,-8+i*2),Vector3.new(1,1,1),BrickColor.new("Really red"),"SmoothPlastic",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(3,3,3),Vector3.new(2+i,2+i,0.5),6,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0)) | |
2975 | end | |
2976 | end)) | |
2977 | sound(206082327,2.5,1,grabbedCharacter:WaitForChild("Torso")) | |
2978 | grabbedCharacter.Head:Remove() | |
2979 | for i,v in pairs(grabbedCharacter:GetChildren()) do | |
2980 | if v:IsA'Part' then | |
2981 | v.BrickColor = BrickColor.Black() | |
2982 | end | |
2983 | end | |
2984 | Instance.new("Fire", grabbedCharacter.Torso) | |
2985 | grabbedCharacter.Torso.Fire.Color = Color3.fromRGB(255,0,0) | |
2986 | grabbedCharacter.Torso.Fire.Size = 8 | |
2987 | grabbedCharacter.Humanoid.PlatformStand=false | |
2988 | local bv=Instance.new("BodyVelocity",grabbedCharacter:WaitForChild("Torso")) | |
2989 | bv.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
2990 | bv.velocity=head.CFrame.lookVector*100+Vector3.new(0,0,0) | |
2991 | souls=souls+5 | |
2992 | game.Debris:AddItem(bv,0.05) | |
2993 | didHit=true | |
2994 | wait(0.5) | |
2995 | dmgDebounce=false | |
2996 | end | |
2997 | end | |
2998 | end)) | |
2999 | for i=0,0.25,0.1*speed do | |
3000 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(120),math.rad(0),math.rad(-24)),speed) | |
3001 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(-24)),speed) | |
3002 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),speed) | |
3003 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-23.5),math.rad(0),math.rad(0)),speed) | |
3004 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),speed) | |
3005 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-35),math.rad(45),math.rad(0)),speed) | |
3006 | ||
3007 | poseJointC1(rm,rmC1,CFrame.new(0,0.35,0),speed) | |
3008 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),speed) | |
3009 | poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),speed) | |
3010 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),speed) | |
3011 | poseJointC1(neck,nC1,CFrame.new(0,0,0),speed) | |
3012 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),speed) | |
3013 | swait() | |
3014 | end | |
3015 | currentAnim=nil | |
3016 | grabbedCharacter=nil | |
3017 | end | |
3018 | if x=="soultear" then | |
3019 | if currentAnim==x then return end | |
3020 | currentAnim=x | |
3021 | speed=0.75 | |
3022 | print(x) | |
3023 | for i=0,0.5,0.1*speed do | |
3024 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(45),math.rad(0),math.rad(5)),i*speed) | |
3025 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed) | |
3026 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed) | |
3027 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed) | |
3028 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),i*speed) | |
3029 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),i*speed) | |
3030 | ||
3031 | poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed) | |
3032 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed) | |
3033 | poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed) | |
3034 | poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed) | |
3035 | poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed) | |
3036 | poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed) | |
3037 | swait() | |
3038 | end | |
3039 | sound(233856146,1,0.95,rl) | |
3040 | if grabWeld~=nil then | |
3041 | grabWeld:Destroy() | |
3042 | end | |
3043 | local bp=Instance.new("BodyPosition",grabbedCharacter:WaitForChild("Torso")) | |
3044 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
3045 | bp.Position=tor.CFrame*CFrame.new(0,0,-3).p | |
3046 | game.Debris:AddItem(bp,0.5) | |
3047 | grabbedCharacter.Humanoid.WalkSpeed=16 | |
3048 | grabbedCharacter.Humanoid.JumpPower=50 | |
3049 | speed=0.2 | |
3050 | magicBrick(Vector3.new(0,0,0),tor.CFrame*CFrame.new(0,0,0),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=6552202",Vector3.new(1,1,1),Vector3.new(10,10,10),5,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0)) | |
3051 | coroutine.resume(coroutine.create(function() | |
3052 | for i=1,100 do | |
3053 | magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random())) | |
3054 | magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Really red"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random())) | |
3055 | swait(.1) | |
3056 | end | |
3057 | end)) | |
3058 | sound(215395388,1,0.8,head) | |
3059 | for i=0,1.25,0.1*speed do | |
3060 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(90),math.rad(0),math.rad(12)),speed) | |
3061 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(90),math.rad(0),math.rad(-12)),speed) | |
3062 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),speed) | |
3063 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-23.5),math.rad(0),math.rad(0)),speed) | |
3064 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)),speed) | |
3065 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(-85),math.rad(0)),speed) | |
3066 | ||
3067 | poseJointC1(rm,rmC1,CFrame.new(0,-0.65,0),speed) | |
3068 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),speed) | |
3069 | poseJointC1(rlm,rlmC1,CFrame.new(0,-0.45,0.3),speed) | |
3070 | poseJointC1(llm,llmC1,CFrame.new(0,-0.45,0.3),speed) | |
3071 | poseJointC1(neck,nC1,CFrame.new(0,0,0),speed) | |
3072 | poseJointC1(rj,rjC1,CFrame.new(0,0.45,0),speed) | |
3073 | swait() | |
3074 | end | |
3075 | speed=0.25 | |
3076 | local didHit=false | |
3077 | coroutine.resume(coroutine.create(function() | |
3078 | if (grabbedCharacter:WaitForChild("Torso").Position-tor.Position).magnitude<=7.5 then | |
3079 | if not dmgDebounce then | |
3080 | dmgDebounce=true | |
3081 | sound(179515225,1,0.65,ra) | |
3082 | sound(610359515,1,0.85,ra) | |
3083 | grabbedCharacter.Head:Remove() | |
3084 | ||
3085 | ||
3086 | for i,v in pairs(grabbedCharacter:GetChildren()) do | |
3087 | if v:IsA'Part' then | |
3088 | v.BrickColor = BrickColor.Black() | |
3089 | end | |
3090 | end | |
3091 | Instance.new("Fire", grabbedCharacter.Torso) | |
3092 | grabbedCharacter.Torso.Fire.Color = Color3.fromRGB(255,0,0) | |
3093 | grabbedCharacter.Torso.Fire.Size = 8 | |
3094 | coroutine.resume(coroutine.create(function() | |
3095 | wait(0.085) | |
3096 | magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0),Vector3.new(1,1,1),BrickColor.new("Really black"),"SmoothPlastic",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(.5,.5,.5),Vector3.new(5,5,0.01),16,true,1,0,CFrame.Angles(0,0,0)) | |
3097 | for i=1,8 do | |
3098 | magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random())) | |
3099 | magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Really red"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random())) | |
3100 | magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0.5,-2,0)*CFrame.Angles(math.rad(90),0,0),Vector3.new(1,1,1),BrickColor.new("Really red"),"Neon",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=10681506",Vector3.new(10,10,10),Vector3.new(0.3,0.3,-0.3),30,true,1,0,CFrame.new(0,0,-i/12)*CFrame.Angles(0,0,0)) | |
3101 | magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0.5,-2,0)*CFrame.Angles(math.rad(90),0,0),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=10681506",Vector3.new(5+i/2,5+i/2,5+i/2),Vector3.new(-0.3,2+i/2,-0.3),5,true,1,0,CFrame.new(math.random(-0.5,0.5),math.random(-0.5,0.5),math.random(-0.5,0.5))*CFrame.Angles(0,0,0)) | |
3102 | magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,2,0)*CFrame.new(math.random(1,15),math.random(1,2),math.random(1,15))*CFrame.new(-15/2,-2/2,-15/2),Vector3.new(1,1,1),BrickColor.new("Really red"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),30,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random())) | |
3103 | wait(.025) | |
3104 | end | |
3105 | end)) | |
3106 | local bv=Instance.new("BodyVelocity",grabbedCharacter:WaitForChild("Torso")) | |
3107 | bv.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
3108 | bv.velocity=head.CFrame.lookVector*25+Vector3.new(0,70,0) | |
3109 | game.Debris:AddItem(bv,0.1) | |
3110 | souls=souls+3 | |
3111 | if grabbedCharacter~=nil then | |
3112 | coroutine.resume(coroutine.create(function() | |
3113 | for i=1,100 do | |
3114 | if grabbedCharacter==nil then break end | |
3115 | magicBrick(Vector3.new(0,0,0),grabbedCharacter:WaitForChild("Torso").CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(2,2,2),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random())) | |
3116 | magicBrick(Vector3.new(0,0,0),grabbedCharacter:WaitForChild("Torso").CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Really red"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(2,2,2),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random())) | |
3117 | swait(.1) | |
3118 | end | |
3119 | end)) | |
3120 | end | |
3121 | didHit=true | |
3122 | wait(0.5) | |
3123 | dmgDebounce=false | |
3124 | end | |
3125 | end | |
3126 | end)) | |
3127 | for i=0,0.9,0.1*speed do | |
3128 | poseJointC0(rm,rmC0,CFrame.Angles(math.rad(145),math.rad(0),math.rad(12)),speed) | |
3129 | poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-35),math.rad(0),math.rad(-12)),speed) | |
3130 | poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(5)),speed) | |
3131 | poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-23.5),math.rad(0),math.rad(-5)),speed) | |
3132 | poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(-85),math.rad(0)),speed) | |
3133 | poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)),speed) | |
3134 | ||
3135 | poseJointC1(rm,rmC1,CFrame.new(0,0.4,0),speed) | |
3136 | poseJointC1(lm,lmC1,CFrame.new(0,0,0),speed) | |
3137 | poseJointC1(rlm,rlmC1,CFrame.new(0,-0.45,0.3),speed) | |
3138 | poseJointC1(llm,llmC1,CFrame.new(0,-0.45,0.3),speed) | |
3139 | poseJointC1(neck,nC1,CFrame.new(0,0,0),speed) | |
3140 | poseJointC1(rj,rjC1,CFrame.new(0,0.45,0),speed) | |
3141 | swait() | |
3142 | end | |
3143 | currentAnim=nil | |
3144 | grabbedCharacter=nil | |
3145 | end | |
3146 | end | |
3147 | end | |
3148 | ||
3149 | function spar1() | |
3150 | if not doingMove then | |
3151 | doingMove=true | |
3152 | anim("spar1") | |
3153 | doingMove=false | |
3154 | end | |
3155 | end | |
3156 | ||
3157 | function spar2() | |
3158 | if not doingMove then | |
3159 | doingMove=true | |
3160 | anim("spar2") | |
3161 | doingMove=false | |
3162 | end | |
3163 | end | |
3164 | ||
3165 | function grab() | |
3166 | if not doingMove then | |
3167 | doingMove=true | |
3168 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed=0 | |
3169 | anim("grab") | |
3170 | doingMove=false | |
3171 | end | |
3172 | end | |
3173 | ||
3174 | function release() | |
3175 | if not doingMove then | |
3176 | doingMove=true | |
3177 | anim("release") | |
3178 | doingMove=false | |
3179 | end | |
3180 | end | |
3181 | ||
3182 | function airAttack() | |
3183 | if not doingMove then | |
3184 | doingMove=true | |
3185 | anim("airAttack") | |
3186 | doingMove=false | |
3187 | end | |
3188 | end | |
3189 | ||
3190 | function soulTear() | |
3191 | if not doingMove then | |
3192 | doingMove=true | |
3193 | anim("soultear") | |
3194 | doingMove=false | |
3195 | end | |
3196 | end | |
3197 | ||
3198 | local currentSparAttack=1 | |
3199 | ||
3200 | ||
3201 | mouse.Button1Down:connect(function() | |
3202 | if grabbingMode then return end | |
3203 | if currentSparAttack==1 then | |
3204 | currentSparAttack=2 | |
3205 | spar1() | |
3206 | elseif currentSparAttack==2 then | |
3207 | currentSparAttack=1 | |
3208 | spar2() | |
3209 | end | |
3210 | end) | |
3211 | ||
3212 | mouse.KeyDown:connect(function(k) | |
3213 | if k=="f" then | |
3214 | if not grabbingMode then | |
3215 | grab() | |
3216 | elseif grabbingMode then | |
3217 | grabbingMode=false | |
3218 | release() | |
3219 | hideGrabOptions() | |
3220 | end | |
3221 | end | |
3222 | if k=="e" then | |
3223 | if grabbingMode then | |
3224 | grabbingMode=false | |
3225 | airAttack() | |
3226 | hideGrabOptions() | |
3227 | end | |
3228 | end | |
3229 | if k=="r" then | |
3230 | if grabbingMode then | |
3231 | grabbingMode=false | |
3232 | soulTear() | |
3233 | hideGrabOptions() | |
3234 | end | |
3235 | end | |
3236 | end) | |
3237 | ||
3238 | game:GetService("RunService").RenderStepped:connect(function() | |
3239 | if grabbingMode then | |
3240 | hum.WalkSpeed=defWS/1.1 | |
3241 | hum.JumpPower=0 | |
3242 | end | |
3243 | if not grabbingMode then | |
3244 | hum.WalkSpeed=defWS | |
3245 | hum.JumpPower=defJP | |
3246 | end | |
3247 | if attacking then | |
3248 | if RLattacking then | |
3249 | for i,v in pairs(workspace:GetChildren()) do | |
3250 | if isHumanoid(v) and v~=ch then | |
3251 | local vTorso=v:WaitForChild("Torso"); | |
3252 | if (vTorso.Position-rl.Position).magnitude<=2.5 then | |
3253 | if not dmgDebounce then | |
3254 | dmgDebounce=true | |
3255 | sound(694048922,5,1,vTorso) | |
3256 | findHumanoid(v).Parent.Head:Remove() | |
3257 | ||
3258 | Instance.new("Fire", findHumanoid(v).Parent.Torso) | |
3259 | findHumanoid(v).Parent.Torso.Fire.Color = Color3.fromRGB(255,0,0) | |
3260 | findHumanoid(v).Parent.Torso.Fire.Size = 8 | |
3261 | ||
3262 | for i,v in pairs(findHumanoid(v).Parent:GetChildren()) do | |
3263 | if v:IsA'Part' then | |
3264 | v.BrickColor = BrickColor.Black() | |
3265 | end | |
3266 | end | |
3267 | print(7.5+(7.5*soulPower/100)) | |
3268 | local bv=Instance.new("BodyVelocity",v:WaitForChild("Torso")) | |
3269 | bv.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
3270 | bv.velocity=head.CFrame.lookVector*25+Vector3.new(0,10,0) | |
3271 | game.Debris:AddItem(bv,0.05) | |
3272 | wait(0.5) | |
3273 | dmgDebounce=false | |
3274 | end | |
3275 | end | |
3276 | end | |
3277 | end | |
3278 | end | |
3279 | if grabbing then | |
3280 | for i,v in pairs(workspace:GetChildren()) do | |
3281 | if isHumanoid(v) and v~=ch then | |
3282 | if v:findFirstChild("Torso")==nil then return end | |
3283 | if (v.Torso.Position-ra.Position).magnitude<=5 then | |
3284 | if not dmgDebounce then | |
3285 | dmgDebounce=true | |
3286 | sound(200632821,5,1,v.Torso) | |
3287 | findHumanoid(v):TakeDamage(1) | |
3288 | print(findHumanoid(v).Parent.Name) | |
3289 | grabbingMode=true | |
3290 | grabbedCharacter=v.Torso.Parent | |
3291 | findHumanoid(grabbedCharacter).PlatformStand=false | |
3292 | findHumanoid(grabbedCharacter).WalkSpeed=0 | |
3293 | findHumanoid(grabbedCharacter).JumpPower=0 | |
3294 | for i,v in pairs(grabbedCharacter:GetChildren()) do | |
3295 | if v:IsA("Part") then | |
3296 | v.CanCollide=false | |
3297 | end | |
3298 | if v.ClassName=="Hat" then | |
3299 | for i,v in pairs(v:GetChildren()) do | |
3300 | if v:IsA("BasePart") then | |
3301 | v.CanCollide=false | |
3302 | end | |
3303 | end | |
3304 | end | |
3305 | end | |
3306 | grabWeld=Instance.new("Weld",grabPart) | |
3307 | grabWeld.Part0=v.Torso | |
3308 | grabWeld.Part1=grabPart | |
3309 | grabWeld.C0=CFrame.Angles(math.rad(-90),0,0) | |
3310 | ||
3311 | displayGrabOptions() | |
3312 | ||
3313 | wait(0.5) | |
3314 | dmgDebounce=false | |
3315 | end | |
3316 | end | |
3317 | end | |
3318 | end | |
3319 | end | |
3320 | end | |
3321 | if hum.Jump and not grabbingMode then | |
3322 | anim("jump") | |
3323 | swait(1/4) | |
3324 | hum.Jump=false | |
3325 | end | |
3326 | if Vector3.new(0,tor.Velocity.y,0).magnitude>=10 and currentAnim~="jump" and currentAnim~="land" and hum:GetState()==Enum.HumanoidStateType.Freefall and not hum.Jump then | |
3327 | anim("descend") | |
3328 | end | |
3329 | if Vector3.new(tor.Velocity.x,0,tor.Velocity.z).magnitude<5 and currentAnim~="land" and currentAnim~="jump" and currentAnim~="descend" and hum:GetState()~=Enum.HumanoidStateType.Jumping and hum:GetState()~=Enum.HumanoidStateType.Freefall then | |
3330 | anim("idle") | |
3331 | elseif Vector3.new(tor.Velocity.x,0,tor.Velocity.z).magnitude>=5 and currentAnim~="land" and currentAnim~="jump" and currentAnim~="descend" and hum:GetState()~=Enum.HumanoidStateType.Jumping and hum:GetState()~=Enum.HumanoidStateType.Freefall then | |
3332 | anim("walk") | |
3333 | end | |
3334 | if grabbingMode then | |
3335 | grabbedCharacter.Humanoid.PlatformStand=false | |
3336 | anim("grabPose") | |
3337 | end | |
3338 | if souls<=0 then souls=0 end | |
3339 | souls=souls-1/1000 | |
3340 | grabPart.CFrame=ra:GetRenderCFrame()*CFrame.new(0,-1.25,-0.6)*CFrame.Angles(math.rad(-90),0,0) | |
3341 | soulPower=souls*5 | |
3342 | soulText.Text="+"..math.floor(soulPower).."%" | |
3343 | if soulText.Text=="+-1%" then soulText.Text="+0%" end | |
3344 | end) | |
3345 | end)) |