SHOW:
|
|
- or go back to the newest paste.
1 | wait(1/60) | |
2 | -- [[[ | |
3 | --000000[[====================================================================================\\ | |
4 | --000000[[ DEIVIS97 EDIT Modes stuff by tcgc121212 | |
5 | --000000[[====================================================================================// | |
6 | -- [[[ | |
7 | ||
8 | ||
9 | --// Initializing \\-- | |
10 | local S = setmetatable({},{__index = function(s,i) return game:service(i) end}) | |
11 | local Plrs = S.Players | |
12 | local Plr = Plrs.LocalPlayer | |
13 | local Char = Plr.Character | |
14 | local Hum = Char:FindFirstChildOfClass'Humanoid' | |
15 | local RArm = Char["Right Arm"] | |
16 | local LArm = Char["Left Arm"] | |
17 | local RLeg = Char["Right Leg"] | |
18 | local LLeg = Char["Left Leg"] | |
19 | local Root = Char:FindFirstChild'HumanoidRootPart' | |
20 | local RootPart = Char["HumanoidRootPart"] | |
21 | local Rooted = false | |
22 | local Torso = Char.Torso | |
23 | local Head = Char.Head | |
24 | local NeutralAnims = true | |
25 | local Attack = false | |
26 | local BloodPuddles = {} | |
27 | local Effects = {} | |
28 | local Debounces = {Debounces={}} | |
29 | local Mouse = Plr:GetMouse() | |
30 | local Hit = {} | |
31 | local Sine = 0 | |
32 | local Idle = 0 | |
33 | local Change = 1 | |
34 | local FLArm,FRArm,FRArmW,FLArmW | |
35 | local Stunned = {} | |
36 | local VoidSB = (game.PlaceId == 843468296) -- You can change the 843468296 to 0 if you dont care about potential lag on Void SB | |
37 | --// Debounce System \\-- | |
38 | ||
39 | ||
40 | function Debounces:New(name,cooldown) | |
41 | local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0} | |
42 | setmetatable(aaaaa,{__index = Debounces}) | |
43 | Debounces.Debounces[name] = aaaaa | |
44 | return aaaaa | |
45 | end | |
46 | ||
47 | function Debounces:Use(overrideUsable) | |
48 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
49 | if(self.Usable or overrideUsable)then | |
50 | self.Usable = false | |
51 | self.CoolingDown = true | |
52 | local LastUse = time() | |
53 | self.LastUse = LastUse | |
54 | delay(self.Cooldown or 2,function() | |
55 | if(self.LastUse == LastUse)then | |
56 | self.CoolingDown = false | |
57 | self.Usable = true | |
58 | end | |
59 | end) | |
60 | end | |
61 | end | |
62 | ||
63 | function Debounces:Get(name) | |
64 | assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name))) | |
65 | for i,v in next, Debounces.Debounces do | |
66 | if(i == name)then | |
67 | return v; | |
68 | end | |
69 | end | |
70 | end | |
71 | ||
72 | function Debounces:GetProgressPercentage() | |
73 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
74 | if(self.CoolingDown and not self.Usable)then | |
75 | return math.max( | |
76 | math.floor( | |
77 | ( | |
78 | (time()-self.LastUse)/self.Cooldown or 2 | |
79 | )*100 | |
80 | ) | |
81 | ) | |
82 | else | |
83 | return 100 | |
84 | end | |
85 | end | |
86 | ||
87 | --// Shortcut Variables \\-- | |
88 | local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ} | |
89 | local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV} | |
90 | local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis} | |
91 | 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} | |
92 | local R3 = {N=Region3.new} | |
93 | local De = S.Debris | |
94 | local WS = workspace | |
95 | local Lght = S.Lighting | |
96 | local RepS = S.ReplicatedStorage | |
97 | local IN = Instance.new | |
98 | ||
99 | --// Extended ROBLOX tables \\-- | |
100 | 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}) | |
101 | --// Customization \\-- | |
102 | game:GetService("RunService"):BindToRenderStep("ew", 0, function() | |
103 | if Humanoid.Health > 0.1 and Humanoid.Health < 1.0E298 then | |
104 | Humanoid.MaxHealth = 1.0E298 | |
105 | Humanoid.Health = 1.0E298 | |
106 | end | |
107 | end) | |
108 | local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this | |
109 | local Remove_Hats = true | |
110 | local Remove_Clothing = false | |
111 | local PlayerSize = 1 | |
112 | local DamageColor = BrickColor.new'Pink' | |
113 | local MusicID = 1445753925 | |
114 | local MusicPitch = 1 | |
115 | local BloodID = "rbxassetid://51657249" | |
116 | local BloodColor = BrickColor.new'Really black' | |
117 | local BloodMaterial = Enum.Material.Neon | |
118 | local Orin = "http://www.roblox.com/asset/?id=492754352" | |
119 | Head.face.Texture = Orin | |
120 | function weld(a, b, acf) | |
121 | local w = Instance.new("Weld", a) | |
122 | w.Part0 = a | |
123 | w.Part1 = b | |
124 | w.C0 = acf | |
125 | end | |
126 | local righteyebrickcolor = "Lime green" | |
127 | local reye = Instance.new("Part", Char) | |
128 | reye.CanCollide = false | |
129 | reye.BrickColor = BrickColor.new(righteyebrickcolor) | |
130 | reye.Material = "Neon" | |
131 | reye.Size = Vector3.new(.25,.35,.15) | |
132 | weld(reye, Char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0)) | |
133 | m1 = Instance.new("SpecialMesh", reye) | |
134 | m1.MeshType = "Sphere" | |
135 | m1.Scale = Vector3.new(0.9,0.9,0.9) | |
136 | reye.Locked = true | |
137 | reye.Name = "re" | |
138 | ||
139 | local leye = Instance.new("Part", Char) | |
140 | leye.CanCollide = false | |
141 | leye.BrickColor = BrickColor.new(righteyebrickcolor) | |
142 | leye.Material = "Neon" | |
143 | leye.Size = Vector3.new(.25,.35,.15) | |
144 | weld(leye, Char.Head, CFrame.new(-0.15,-0.2,0.55), CFrame.new(1,0,0)) | |
145 | local m = Instance.new("SpecialMesh", leye) | |
146 | m.MeshType = "Sphere" | |
147 | m.Scale = Vector3.new(0.9,0.9,0.9) | |
148 | leye.Locked = true | |
149 | leye.Name = "le" | |
150 | local Aura = Instance.new('ParticleEmitter') | |
151 | Aura.Name = "Aura" | |
152 | Aura.Texture = "rbxassetid://141116476" | |
153 | Aura.Parent = reye | |
154 | Aura.LightEmission = 1 | |
155 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
156 | Aura.Color = ColorSequence.new(Color3.new(0/255, 255/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
157 | Aura.Size = NumberSequence.new(0.5,0.4,0.2) | |
158 | Aura.LockedToPart = false | |
159 | Aura.Lifetime = NumberRange.new(2) | |
160 | Aura.Rate = 99 | |
161 | Aura.Speed = NumberRange.new(1) | |
162 | Aura.EmissionDirection = "Top" | |
163 | for i,v in pairs(Char:GetChildren()) do | |
164 | if v.ClassName == "Accessory" or v.ClassName == "Hat" then | |
165 | v:destroy() | |
166 | end | |
167 | end | |
168 | local Hair = Instance.new("Part") | |
169 | Hair.Parent = Char | |
170 | Hair.Name = "Hair" | |
171 | Hair.Size = Vector3.new(0.1, 0.1, 0.1) | |
172 | Hair.CFrame = Char.Head.CFrame | |
173 | Hair:BreakJoints() | |
174 | Hair.CanCollide = false | |
175 | Hair.BrickColor = BrickColor.new("New Yeller") | |
176 | Hair.TopSurface = "Smooth" | |
177 | Hair.BottomSurface = "Smooth" | |
178 | Weld = Instance.new("Weld") | |
179 | Weld.Name = "Weld" | |
180 | Weld.Part0 = Char.Head | |
181 | Weld.Part1 = Hair | |
182 | Weld.Parent = Char.Head | |
183 | Weld.C0 = CFrame.new(-0.1, -0.71, 0.8)*CFrame.fromEulerAnglesXYZ(0, 3, 0) | |
184 | Mesh = Instance.new("SpecialMesh") | |
185 | Mesh.Parent = Hair | |
186 | Mesh.MeshId = "rbxassetid://731142602" | |
187 | Mesh.TextureId = "http://www.roblox.com/asset/?id=1332227116" | |
188 | Mesh.Scale = Vector3.new(0.25, 0.21, 0.2) | |
189 | ||
190 | - | shirt = Instance.new("Shirt", Char) |
190 | + | |
191 | - | shirt.Name = "Shirt" |
191 | + | |
192 | - | pants = Instance.new("Pants", Char) |
192 | + | |
193 | - | pants.Name = "Pants" |
193 | + | |
194 | - | Char.Shirt.ShirtTemplate = "rbxassetid://1298116952" |
194 | + | |
195 | - | Char.Pants.PantsTemplate = "rbxassetid://1340645290" |
195 | + | |
196 | --naeeym2.PlayerToHideFrom = Player | |
197 | naeeym2.MaxDistance = 200 | |
198 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
199 | tecks2.BackgroundTransparency = 1 | |
200 | tecks2.TextScaled = true | |
201 | tecks2.BorderSizePixel = 0 | |
202 | tecks2.Text = "C̸o̶r̵r̵u̷p̶t̶e̸d̸ ̵M̸o̸n̶-i̸k̷a̴" | |
203 | tecks2.Font = "Garamond" | |
204 | tecks2.TextSize = 30 | |
205 | tecks2.TextStrokeTransparency = 0 | |
206 | tecks2.TextColor3 = Color3.new(0,0,0) | |
207 | tecks2.TextStrokeColor3 = Color3.new(10,0,10) | |
208 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
209 | tecks2.Parent = naeeym2 | |
210 | ||
211 | ||
212 | local Moosic = Instance.new("Sound",Char) | |
213 | Moosic.Volume = 5999 | |
214 | Moosic.SoundId = "rbxassetid://1251489217" | |
215 | Moosic.Looped = true | |
216 | Moosic.Pitch = 1 --Pitcher | |
217 | ||
218 | local Music1 = Instance.new("Sound",Char) | |
219 | Music1.Volume = 5999 | |
220 | Music1.SoundId = "rbxassetid://1202052536" | |
221 | Music1.Looped = true | |
222 | Music1.Pitch = 1 --Pitcher | |
223 | Music1.TimePosition = 100 | |
224 | ||
225 | local Music2 = Instance.new("Sound",Char) | |
226 | Music2.Volume = 5999 | |
227 | Music2.SoundId = "rbxassetid://1374158689" | |
228 | Music2.Looped = true | |
229 | Music2.Pitch = 1 --Pitcher | |
230 | ||
231 | local Music3 = Instance.new("Sound",Char) | |
232 | Music3.Volume = 5999 | |
233 | Music3.SoundId = "rbxassetid://1325283155" | |
234 | Music3.Looped = true | |
235 | Music3.Pitch = 1 --Pitcher | |
236 | ||
237 | local Music4 = Instance.new("Sound",Char) | |
238 | Music4.Volume = 5999 | |
239 | Music4.SoundId = "rbxassetid://1581873125" | |
240 | Music4.Looped = true | |
241 | Music4.Pitch = 1 --Pitcher | |
242 | ||
243 | local Music5 = Instance.new("Sound",Char) | |
244 | Music5.Volume = 5999 | |
245 | Music5.SoundId = "rbxassetid://346746675" | |
246 | Music5.Looped = true | |
247 | Music5.Pitch = 1 --Pitcher | |
248 | ||
249 | local Music6 = Instance.new("Sound",Char) | |
250 | Music6.Volume = 5999 | |
251 | Music6.SoundId = "rbxassetid://1180904313" | |
252 | Music6.Looped = true | |
253 | Music6.Pitch = 1 --Pitcher | |
254 | ||
255 | local Creep = Instance.new("Sound",Char) | |
256 | Creep.Volume = 5999 | |
257 | Creep.SoundId = "rbxassetid://1383651657" | |
258 | Creep.Looped = true | |
259 | Creep.Pitch = 1 --Pitcher | |
260 | ||
261 | function chatfunc(text) | |
262 | local chat = coroutine.wrap(function() | |
263 | if Char:FindFirstChild("TalkingBillBoard")~= nil then | |
264 | Char:FindFirstChild("TalkingBillBoard"):destroy() | |
265 | end | |
266 | local Bill = Instance.new("BillboardGui",Char) | |
267 | Bill.Size = UDim2.new(0,100,0,40) | |
268 | Bill.StudsOffset = Vector3.new(0,3,0) | |
269 | Bill.Adornee = Char.Head | |
270 | Bill.Name = "TalkingBillBoard" | |
271 | local Hehe = Instance.new("TextLabel",Bill) | |
272 | Hehe.BackgroundTransparency = 1 | |
273 | Hehe.BorderSizePixel = 0 | |
274 | Hehe.Text = "" | |
275 | Hehe.Font = "Antique" | |
276 | Hehe.TextSize = 40 | |
277 | Hehe.TextStrokeTransparency = 0 | |
278 | Hehe.Size = UDim2.new(1,0,0.5,0) | |
279 | coroutine.resume(coroutine.create(function() | |
280 | while Hehe ~= nil do | |
281 | swait() | |
282 | Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
283 | Hehe.Rotation = math.random(-5,5) | |
284 | Hehe.TextColor3 = Color3.new(255,0,250) | |
285 | Hehe.TextStrokeColor3 = Color3.new(255,255,255) | |
286 | end | |
287 | end)) | |
288 | for i = 1,string.len(text),1 do | |
289 | swait() | |
290 | Hehe.Text = string.sub(text,1,i) | |
291 | end | |
292 | swait(90)--Re[math.random(1, 93)] | |
293 | for i = 0, 1, .025 do | |
294 | swait() | |
295 | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) | |
296 | Hehe.TextStrokeTransparency = i | |
297 | Hehe.TextTransparency = i | |
298 | end | |
299 | Bill:Destroy() | |
300 | end) | |
301 | chat() | |
302 | end | |
303 | --// Weapon and GUI creation, and Character Customization \\-- | |
304 | ||
305 | if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end | |
306 | if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end | |
307 | local Effects = IN("Folder",Char) | |
308 | Effects.Name = "Effects" | |
309 | ||
310 | New = function(Object, Parent, Name, Data) | |
311 | local Object = Instance.new(Object) | |
312 | for Index, Value in pairs(Data or {}) do | |
313 | Object[Index] = Value | |
314 | end | |
315 | Object.Parent = Parent | |
316 | Object.Name = Name | |
317 | return Object | |
318 | end | |
319 | ||
320 | Circle = nil | |
321 | CircleParts = {} | |
322 | Equipped = false | |
323 | ||
324 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
325 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) | |
326 | end | |
327 | Humanoid = Char:FindFirstChildOfClass("Humanoid") | |
328 | Torso = Char:FindFirstChild("Torso") | |
329 | if not Plr or not Humanoid or Humanoid.Health == 0 or not Torso then | |
330 | return | |
331 | end | |
332 | Equipped = true | |
333 | Circle = Instance.new("Model") | |
334 | Circle.Name = "Circle" | |
335 | Angle = 0 | |
336 | for i = 1, 1 do | |
337 | local CirclePart = Instance.new("Part") | |
338 | CirclePart.Name = "CirclePart" | |
339 | CirclePart.Transparency = 1 | |
340 | CirclePart.BrickColor = BrickColor.new("Really black") | |
341 | CirclePart.Material = Enum.Material.Plastic | |
342 | CirclePart.Shape = Enum.PartType.Block | |
343 | CirclePart.FormFactor = Enum.FormFactor.Custom | |
344 | CirclePart.TopSurface = Enum.SurfaceType.Smooth | |
345 | CirclePart.BottomSurface = Enum.SurfaceType.Smooth | |
346 | CirclePart.Anchored = true | |
347 | CirclePart.CanCollide = false | |
348 | CirclePart.Locked = true | |
349 | CirclePart.Size = Vector3.new(10, 0.2, 10) | |
350 | local Aura = Instance.new('ParticleEmitter') | |
351 | Aura.Name = "Aura" | |
352 | Aura.Texture = "rbxassetid://51657249" | |
353 | Aura.Parent = CirclePart | |
354 | Aura.LightEmission = 0 | |
355 | Aura.Transparency = NumberSequence.new(0.2,0.4,1) | |
356 | Aura.Color = ColorSequence.new(Color3.new(0/255, 255/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
357 | Aura.Size = NumberSequence.new(1.2,0.9,0.8) | |
358 | Aura.LockedToPart = false | |
359 | Aura.Lifetime = NumberRange.new(2) | |
360 | Aura.Rate = 60 | |
361 | Aura.Speed = NumberRange.new(2.5) | |
362 | Aura.SpreadAngle = Vector2.new(360,360) | |
363 | local BlockMesh = Instance.new("BlockMesh") | |
364 | BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1) | |
365 | BlockMesh.Parent = CirclePart | |
366 | CirclePart.Parent = Circle | |
367 | local Star = Instance.new("Decal", CirclePart) | |
368 | Star.Texture = "http://www.roblox.com/asset/?id=1346256339" | |
369 | Star.Face = "Top" | |
370 | local Light = Instance.new("PointLight", CirclePart) | |
371 | Light.Color = Color3.new(0,.20,0) | |
372 | Light.Brightness = 100 | |
373 | Light.Range = 15 | |
374 | table.insert(CircleParts, CirclePart) | |
375 | end | |
376 | Spawn(function() | |
377 | while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do | |
378 | if Angle == 360 then | |
379 | Angle = 0 | |
380 | end | |
381 | Angle = Angle + 0.05 | |
382 | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Char}) | |
383 | if Hit then | |
384 | if not Circle.Parent then | |
385 | Circle.Parent = Char | |
386 | end | |
387 | for i, v in pairs(CircleParts) do | |
388 | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) | |
389 | end | |
390 | else | |
391 | Circle.Parent = nil | |
392 | end | |
393 | wait() | |
394 | end | |
395 | end) | |
396 | ||
397 | ||
398 | CyborgArm = New("Model",Char,"CyborgArm",{}) | |
399 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Size = Vector3.new(0.429999948, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.369171, 2.89115906, 41.8271637, 0.505694926, -0.862284958, 0.0271573812, 0.862490892, 0.506027818, 0.0067293453, -0.019545, 0.0200200025, 0.999608755),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
400 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.505694926, 0.862490892, -0.0195449982, -0.862284899, 0.506027818, 0.0200199969, 0.0271573793, 0.00672934437, 0.999608576),C1 = CFrame.new(0.0136108398, -0.108844995, -0.0342674255, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
401 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.268127, 3.26462603, 41.8218994, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
402 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(-0.0874328613, 0.264621973, -0.028968811, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
403 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Size = Vector3.new(0.3000018, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.217133, 3.61339307, 41.8189926, 0.778245091, -0.627379835, 0.0270029604, 0.627452075, 0.778625846, 0.00676273741, -0.0252680089, 0.0116800005, 0.999612689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
404 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.778245091, 0.627452075, -0.0252680033, -0.627379835, 0.778625846, 0.0116799958, 0.0270029567, 0.00676273648, 0.99961251),C1 = CFrame.new(-0.138427734, 0.613389015, -0.0260467529, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
405 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 1),CFrame = CFrame.new(-138.395523, 2.38962889, 41.7660217, -0.00574199716, -0.999983609, 1.77533366e-09, 0.999983549, -0.00574199716, 9.3131769e-10, 9.41781764e-10, 1.77533366e-09, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
406 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, -0.00574199716, 0.999983549, 0, -0.999983549, -0.00574199716, 0, 0, 0, 1),C1 = CFrame.new(0.0399932861, -0.610375166, 0.0268669128, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
407 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 0.2900002),CFrame = CFrame.new(-138.540939, 3.80931711, 41.9832687, 2.29982252e-05, -0.999983609, -0.00574393803, -0.00452899979, -0.00574398367, 0.999973238, -0.999989927, 3.01669934e-06, -0.00452905567),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth}) | |
408 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 2.29999951e-05, -0.00452899886, -0.999989748, -0.999983549, -0.00574398367, 3.01490991e-06, -0.00574393803, 0.999973238, -0.00452905614),C1 = CFrame.new(0.185333252, 0.809313059, -0.190429688, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
409 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C1 = CFrame.new(0.207519531, 0.740064859, -0.0209579468, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
410 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.799999833),CFrame = CFrame.new(-138.557587, 3.57138705, 41.9535294, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
411 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.20199585, 0.571382999, -0.160697937, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
412 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.0899999291),CFrame = CFrame.new(-138.548004, 3.20288205, 42.3108978, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
413 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.19229126, 0.202877998, -0.518062592, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
414 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Size = Vector3.new(0.390001893, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.031433, 3.68374205, 41.8135147, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
415 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(-0.324111938, 0.683737993, -0.0205078125, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
416 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Size = Vector3.new(0.2800017, 0.100000001, 0.690000117),CFrame = CFrame.new(-138.393951, 2.11307812, 42.0131454, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
417 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(0.0383300781, -0.886925936, -0.220256805, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
418 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.452835, 2.48128104, 41.8321991, -0.223359078, -0.974358141, 0.027149044, 0.974736214, -0.223258108, 0.00673288852, -0.000498998852, 0.0279670097, 0.999608934),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
419 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, -0.223359063, 0.974736214, -0.000499000133, -0.974358141, -0.223258108, 0.0279670041, 0.0271490421, 0.00673288759, 0.999608755),C1 = CFrame.new(0.0972747803, -0.518723011, -0.0393295288, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
420 | ||
421 | for _,v in next, CyborgArm:children() do | |
422 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
423 | end | |
424 | Arm = New("Model",Char,"Arm",{}) | |
425 | Handle = New("Part",Arm,"Arm",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Glass,Size = Vector3.new(1.0500015, 2.02999949, 1.07999992),CFrame = CFrame.new(-138.347275, 2.99473095, 41.7816849, 0.999635339, 8.27677286e-06, 0.0270056836, -0.000191000072, 0.999977112, 0.00676353322, -0.0270050094, -0.00676622428, 0.999612451),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
426 | Handle = New("Part",Arm,"Arm",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Glass,Size = Vector3.new(1.0500015, 2.02999949, 1.07999992),CFrame = CFrame.new(-138.347275, 2.99473095, 41.7816849, 0.999635339, 8.27677286e-06, 0.0270056836, -0.000191000072, 0.999977112, 0.00676353322, -0.0270050094, -0.00676622428, 0.999612451),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
427 | local Aura = Instance.new('ParticleEmitter') | |
428 | Aura.Name = "Aura" | |
429 | Aura.Texture = "rbxassetid://29553714" | |
430 | Aura.Parent = Handle | |
431 | Aura.LightEmission = 0 | |
432 | Aura.Transparency = NumberSequence.new(0.2,0.4,1) | |
433 | Aura.Color = ColorSequence.new(Color3.new(0/255, 255/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
434 | Aura.Size = NumberSequence.new(0.5,0.4,0.2) | |
435 | Aura.LockedToPart = true | |
436 | Aura.Lifetime = NumberRange.new(2) | |
437 | Aura.Rate = 1000 | |
438 | Aura.Speed = NumberRange.new(0.3) | |
439 | Aura.SpreadAngle = Vector2.new(360,360) | |
440 | local Aura2 = Instance.new('ParticleEmitter') | |
441 | Aura2.Name = "Aura2" | |
442 | Aura2.Texture = "rbxassetid://73050819" | |
443 | Aura2.Parent = Handle | |
444 | Aura2.LightEmission = 0 | |
445 | Aura2.Transparency = NumberSequence.new(0.2,0.,1) | |
446 | Aura2.Color = ColorSequence.new(Color3.new(0/255, 255/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
447 | Aura2.Size = NumberSequence.new(0.3,0.2,0.1) | |
448 | Aura2.LockedToPart = true | |
449 | Aura2.Lifetime = NumberRange.new(2) | |
450 | Aura2.Rate = 1000 | |
451 | Aura2.Speed = NumberRange.new(0.2) | |
452 | Aura2.SpreadAngle = Vector2.new(360,360) | |
453 | Part = New("Part",Arm,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Glass,Shape = Enum.PartType.Ball,Size = Vector3.new(1.16000044, 1.16000044, 1.16000044),CFrame = CFrame.new(-138.563065, 3.74006891, 41.8137894, 1, -1.23944917e-22, 1.77533366e-09, -1.48608469e-11, 1, 9.3131769e-10, -1.80443749e-09, 9.31322575e-10, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
454 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C1 = CFrame.new(0.207519531, 0.740064859, -0.0209579468, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
455 | for _,v in next, Arm:children() do | |
456 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
457 | end | |
458 | ||
459 | pcall(function() Char.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Carnation pink' Char.ReaperShadowHead.Eye1.Material = 'Glass' end) | |
460 | pcall(function() Char.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Carnation pink' Char.ReaperShadowHead.Eye2.Material = 'Glass' end) | |
461 | pcall(function() Char.LeftWing.BrickColor = BrickColor.new'Carnation pink' Char.LeftWing.Transparency = 0.5 end) | |
462 | ||
463 | ||
464 | if(PlayerSize ~= 1)then | |
465 | for _,v in next, Char:GetDescendats() do | |
466 | if(v:IsA'BasePart')then | |
467 | v.Size = v.Size * PlayerSize | |
468 | end | |
469 | end | |
470 | end | |
471 | ||
472 | --// Instance Creation Functions \\-- | |
473 | ||
474 | function Sound(parent,id,pitch,volume,looped,effect,autoPlay) | |
475 | local Sound = IN("Sound") | |
476 | Sound.SoundId = "rbxassetid://".. tostring(id or 0) | |
477 | Sound.Pitch = pitch or 1 | |
478 | Sound.Volume = volume or 1 | |
479 | Sound.Looped = looped or false | |
480 | if(autoPlay)then | |
481 | coroutine.wrap(function() | |
482 | repeat wait() until Sound.IsLoaded | |
483 | Sound.Playing = autoPlay or false | |
484 | end)() | |
485 | end | |
486 | if(not looped and effect)then | |
487 | Sound.Ended:connect(function() | |
488 | Sound.Volume = 0 | |
489 | Sound:destroy() | |
490 | end) | |
491 | elseif(effect)then | |
492 | warn("Sound can't be looped and a sound effect!") | |
493 | end | |
494 | Sound.Parent =parent or Char | |
495 | return Sound | |
496 | end | |
497 | warn("Edit by deivis97") | |
498 | function Part(parent,color,material,size,cframe,anchored,cancollide) | |
499 | local part = IN("Part") | |
500 | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0) | |
501 | part.Material = material or Enum.Material.SmoothPlastic | |
502 | part.TopSurface,part.BottomSurface=10,10 | |
503 | part.Size = size or V3.N(1,1,1) | |
504 | part.CFrame = cframe or CF.N(0,0,0) | |
505 | part.CanCollide = cancollide or false | |
506 | part.Anchored = anchored or false | |
507 | part.Parent = parent or Char | |
508 | return part | |
509 | end | |
510 | ||
511 | function Mesh(parent,meshtype,meshid,textid,scale,offset) | |
512 | local part = IN("SpecialMesh") | |
513 | part.MeshId = meshid or "" | |
514 | part.TextureId = textid or "" | |
515 | part.Scale = scale or V3.N(1,1,1) | |
516 | part.Offset = offset or V3.N(0,0,0) | |
517 | part.MeshType = meshtype or Enum.MeshType.Sphere | |
518 | part.Parent = parent | |
519 | return part | |
520 | end | |
521 | ||
522 | NewInstance = function(instance,parent,properties) | |
523 | local inst = Instance.new(instance,parent) | |
524 | if(properties)then | |
525 | for i,v in next, properties do | |
526 | pcall(function() inst[i] = v end) | |
527 | end | |
528 | end | |
529 | return inst; | |
530 | end | |
531 | ||
532 | --// Music Creation \\-- | |
533 | local Music = Sound(Char,MusicID,MusicPitch,9,true,false,true) | |
534 | Music.Name = 'Music' | |
535 | ||
536 | --// Stop animations \\-- | |
537 | for _,v in next, Hum:GetPlayingAnimationTracks() do | |
538 | v:Stop(); | |
539 | end | |
540 | ||
541 | pcall(game.Destroy,Char:FindFirstChild'Animate') | |
542 | pcall(game.Destroy,Hum:FindFirstChild'Animator') | |
543 | ||
544 | --// Joints \\-- | |
545 | ||
546 | local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)}) | |
547 | local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)}) | |
548 | local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)}) | |
549 | local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) | |
550 | local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) | |
551 | local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso}) | |
552 | local HW = NewInstance('Motor',Char,{Part0=Handle,Part1=RArm}) | |
553 | ||
554 | local LSC0 = LS.C0 | |
555 | local RSC0 = RS.C0 | |
556 | local NKC0 = NK.C0 | |
557 | local LHC0 = LH.C0 | |
558 | local RHC0 = RH.C0 | |
559 | local RJC0 = RJ.C0 | |
560 | ||
561 | --// Artificial HB \\-- | |
562 | ||
563 | local ArtificialHB = IN("BindableEvent", script) | |
564 | ArtificialHB.Name = "Heartbeat" | |
565 | ||
566 | script:WaitForChild("Heartbeat") | |
567 | ||
568 | local tf = 0 | |
569 | local allowframeloss = false | |
570 | local tossremainder = false | |
571 | local lastframe = tick() | |
572 | local frame = 1/Frame_Speed | |
573 | ArtificialHB:Fire() | |
574 | ||
575 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
576 | tf = tf + s | |
577 | if tf >= frame then | |
578 | if allowframeloss then | |
579 | script.Heartbeat:Fire() | |
580 | lastframe = tick() | |
581 | else | |
582 | for i = 1, math.floor(tf / frame) do | |
583 | ArtificialHB:Fire() | |
584 | end | |
585 | lastframe = tick() | |
586 | end | |
587 | if tossremainder then | |
588 | tf = 0 | |
589 | else | |
590 | tf = tf - frame * math.floor(tf / frame) | |
591 | end | |
592 | end | |
593 | end) | |
594 | ||
595 | function swait(num) | |
596 | if num == 0 or num == nil then | |
597 | ArtificialHB.Event:wait() | |
598 | else | |
599 | for i = 0, num do | |
600 | ArtificialHB.Event:wait() | |
601 | end | |
602 | end | |
603 | end | |
604 | ||
605 | ||
606 | --// Effect Function(s) \\-- | |
607 | ||
608 | function FakeWeld(p0,p1) | |
609 | local attachment0 = Instance.new('Attachment',p0) | |
610 | local attachment1 = Instance.new('Attachment',p1) | |
611 | return NewInstance("HingeConstraint",p0,{Attachment0=attachment0,Attachment1=attachment1,LimitsEnabled=true,UpperAngle=0,LowerAngle=0}) | |
612 | end | |
613 | ||
614 | function Fragment(v) | |
615 | v:ClearAllChildren() | |
616 | local Fragments = NewInstance("Folder",v.Parent,{Name='Fragmentation'}) | |
617 | v.Archivable = true | |
618 | -- X | |
619 | v.Size = Vector3.new(v.Size.x/2,v.Size.y,v.Size.z) | |
620 | v.Name = v.Name.."Fragment" | |
621 | ||
622 | local a = v:Clone() | |
623 | a.Parent = Fragments | |
624 | a.CFrame = CF.N(-.5,1,1) * a.CFrame | |
625 | v.CFrame = CF.N(.5,1,1) * v.CFrame | |
626 | -- Y | |
627 | v.Size = Vector3.new(v.Size.x,v.Size.y/2,v.Size.z) | |
628 | ||
629 | local a = v:Clone() | |
630 | a.Parent = Fragments | |
631 | a.CFrame = CF.N(1,-.5,1) * a.CFrame | |
632 | v.CFrame = CF.N(1,.5,1) * v.CFrame | |
633 | -- Z | |
634 | v.Size = Vector3.new(v.Size.x,v.Size.y,v.Size.z/2) | |
635 | ||
636 | local a = v:Clone() | |
637 | a.Parent = Fragments | |
638 | a.CFrame = CF.N(1,1,-.5) * a.CFrame | |
639 | v.CFrame = CF.N(1,1,.5) * v.CFrame | |
640 | ||
641 | v.Parent = Fragments | |
642 | return Fragments | |
643 | end | |
644 | ||
645 | local blood = NewInstance("ParticleEmitter",nil,{ | |
646 | Color = ColorSequence.new(Color3.new(0/255, 255/255, 0/255),Color3.new(0/255, 50/255, 0/255)), | |
647 | LightEmission=.1, | |
648 | LightInfluence=1, | |
649 | ZOffset=.9, | |
650 | Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)}, | |
651 | Texture="rbxassetid://51657249", | |
652 | Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}, | |
653 | Acceleration = V3.N(0,-15,0), | |
654 | Lifetime = NumberRange.new(1,2), | |
655 | Rate=50, | |
656 | Speed = NumberRange.new(5,15), | |
657 | SpreadAngle = Vector2.new(15,15), | |
658 | Enabled = false, | |
659 | EmissionDirection = 'Back', | |
660 | }) | |
661 | ||
662 | local blood2 = NewInstance("ParticleEmitter",nil,{ | |
663 | Color = ColorSequence.new(Color3.new(0/255, 255/255, 0/255),Color3.new(0/255, 50/255, 0/255)), | |
664 | LightEmission=.1, | |
665 | LightInfluence=1, | |
666 | ZOffset=.9, | |
667 | Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)}, | |
668 | Texture=BloodID, | |
669 | Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}, | |
670 | Acceleration = V3.N(0,-125,0), | |
671 | Lifetime = NumberRange.new(1,2), | |
672 | Rate=50, | |
673 | Speed = NumberRange.new(5,15), | |
674 | SpreadAngle = Vector2.new(15,15), | |
675 | Enabled = false, | |
676 | EmissionDirection = 'Back', | |
677 | }) | |
678 | ||
679 | local blood3 = NewInstance("ParticleEmitter",nil,{ | |
680 | Color = ColorSequence.new(Color3.new(0/255, 255/255, 0/255),Color3.new(0/255, 50/255, 0/255)), | |
681 | Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)}, | |
682 | Texture=BloodID, | |
683 | Lifetime = NumberRange.new(.4), | |
684 | Rate=50, | |
685 | LockedToPart=true, | |
686 | Speed = NumberRange.new(0,2), | |
687 | Enabled = false, | |
688 | }) | |
689 | ||
690 | function Blood(size,cframe,amount) | |
691 | local part = Instance.new("Part",Effects) | |
692 | part.Transparency = 1 | |
693 | part.Size = size | |
694 | part.Anchored = true | |
695 | part.CanCollide = false | |
696 | part.CFrame = cframe | |
697 | S.Debris:AddItem(part,6) | |
698 | local prtcl = blood:Clone() | |
699 | prtcl.Parent = part | |
700 | prtcl:Emit(amount) | |
701 | return part, prtcl | |
702 | end | |
703 | ||
704 | function Blood2(size,cframe) | |
705 | local part = Instance.new("Part",Effects) | |
706 | part.Transparency = 1 | |
707 | part.Size = size | |
708 | part.Anchored = false | |
709 | part.CanCollide = false | |
710 | part.CFrame = cframe | |
711 | local prtcl = blood:Clone() | |
712 | prtcl.Enabled = true | |
713 | prtcl.Parent = part | |
714 | return part, prtcl | |
715 | end | |
716 | ||
717 | function Blood3(size,cframe,amount) | |
718 | local part = Instance.new("Part",Effects) | |
719 | part.Transparency = 1 | |
720 | part.Size = size | |
721 | part.Anchored = true | |
722 | part.CanCollide = false | |
723 | part.CFrame = cframe | |
724 | S.Debris:AddItem(part,6) | |
725 | local prtcl = blood2:Clone() | |
726 | prtcl.Parent = part | |
727 | prtcl:Emit(amount) | |
728 | return part, prtcl | |
729 | end | |
730 | ||
731 | function Blood4(size,cframe) | |
732 | local part = Instance.new("Part",Effects) | |
733 | part.Transparency = 1 | |
734 | part.Size = size | |
735 | part.Anchored = false | |
736 | part.CanCollide = false | |
737 | part.CFrame = cframe | |
738 | local prtcl = blood2:Clone() | |
739 | prtcl.Enabled = true | |
740 | prtcl.Parent = part | |
741 | return part, prtcl | |
742 | end | |
743 | ||
744 | ||
745 | function BloodDrop(pos,dir,maxsize) | |
746 | if(game.PlaceId ~= 843468296)then | |
747 | local owo = NewInstance("Part",Effects,{Transparency=0,Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.2,.2,.2), CanCollide = false}) | |
748 | owo.CFrame=CF.N(pos,dir) | |
749 | local bv = Instance.new("BodyVelocity",owo) | |
750 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
751 | 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 | |
752 | bv.Name = "MOVE" | |
753 | local prt = blood3:Clone() | |
754 | prt.Parent = owo | |
755 | prt.Enabled = true | |
756 | delay(.01, function() bv:destroy() end) | |
757 | local touch; | |
758 | touch = owo.Touched:connect(function(hit) | |
759 | if(hit.Anchored==true and hit.CanCollide and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then | |
760 | touch:disconnect() | |
761 | BloodPuddle(owo.Position+V3.N(0,1,0),100,maxsize,owo) | |
762 | owo:destroy() | |
763 | end | |
764 | end) | |
765 | end | |
766 | end | |
767 | ||
768 | function BloodPuddle(position,range,maxSize,where) | |
769 | local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new( | |
770 | position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range | |
771 | ),{where,Char},false,true) | |
772 | if(hit and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then | |
773 | if(hit.Name == 'BloodPuddle')then | |
774 | local dist = (position - hit.Position).magnitude | |
775 | 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 | |
776 | --hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1) | |
777 | hit.Size = hit.Size + V3.N(.1,0,.1) | |
778 | end | |
779 | if(hit.Size.Z < 2)then | |
780 | pcall(function() hit.Sound:Play() end) | |
781 | end | |
782 | else | |
783 | 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'}) | |
784 | local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'}) | |
785 | Sound(Puddle,685857471,1,2,false,false,true) | |
786 | coroutine.wrap(function() | |
787 | swait(75) | |
788 | repeat | |
789 | swait() | |
790 | Puddle.Size = Puddle.Size - V3.N(.02,0,.02) | |
791 | until Puddle.Size.Z < 0.51 | |
792 | Puddle:destroy() | |
793 | end)() | |
794 | end | |
795 | end | |
796 | end | |
797 | ||
798 | function recurse(root,callback,i) | |
799 | i= i or 0 | |
800 | for _,v in pairs(root:GetChildren()) do | |
801 | i = i + 1 | |
802 | callback(i,v) | |
803 | ||
804 | if #v:GetChildren() > 0 then | |
805 | i = recurse(v,callback,i) | |
806 | end | |
807 | end | |
808 | ||
809 | return i | |
810 | end | |
811 | ||
812 | function ragdollJoint(Character, part0, part1, attachmentName, className, properties) -- thanks mustardfat im too lazy | |
813 | if Character:FindFirstChild("RagdollConstraint"..part1.Name) == nil then | |
814 | for i,v in pairs(Character:GetChildren()) do | |
815 | 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 | |
816 | v.Size = Vector3.new(1,1,1) | |
817 | end | |
818 | end | |
819 | if part1:FindFirstChildOfClass('Motor6D') then | |
820 | part1:FindFirstChildOfClass('Motor6D'):Remove() | |
821 | end | |
822 | if attachmentName ~= "NeckAttachment" then | |
823 | attachmentName = attachmentName.."RigAttachment" | |
824 | end | |
825 | local constraint = Instance.new(className.."Constraint") | |
826 | constraint.Attachment0 = part0:FindFirstChild(attachmentName) | |
827 | constraint.Attachment1 = part1:FindFirstChild(attachmentName) | |
828 | constraint.Name = "RagdollConstraint"..part1.Name | |
829 | if Character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
830 | local collidepart = Instance.new('Part',part1) | |
831 | collidepart.Size = part1.Size/2 | |
832 | if string.find(string.lower(part1.Name),"upper") then | |
833 | if string.find(string.lower(part1.Name),"leg") then | |
834 | collidepart.Size = part1.Size/3 | |
835 | else | |
836 | collidepart.Size = part1.Size/2.5 | |
837 | end | |
838 | end | |
839 | collidepart.CanCollide = true | |
840 | collidepart.Name = "RagdollJoint" | |
841 | collidepart.Anchored = false | |
842 | collidepart.Transparency = 1 | |
843 | collidepart.CFrame = part1.CFrame | |
844 | collidepart:BreakJoints() | |
845 | local attachment0 = Instance.new('Attachment',part1) | |
846 | local attachment1 = Instance.new('Attachment',collidepart) | |
847 | if attachment0 and attachment1 then | |
848 | local constraint = Instance.new("HingeConstraint") | |
849 | constraint.Attachment0 = attachment0 | |
850 | constraint.Attachment1 = attachment1 | |
851 | constraint.LimitsEnabled = true | |
852 | constraint.UpperAngle = 0 | |
853 | constraint.LowerAngle = 0 | |
854 | constraint.Parent = Character | |
855 | end | |
856 | if string.find(string.lower(part1.Name),"upper") then | |
857 | if string.find(string.lower(part1.Name),"leg") then | |
858 | attachment0.Position = Vector3.new(0,0.01,0) | |
859 | else | |
860 | attachment0.Position = Vector3.new(0,0.25,0) | |
861 | end | |
862 | else | |
863 | attachment0.Position = Vector3.new(0,-0.1,0) | |
864 | end | |
865 | end | |
866 | for _,propertyData in next,properties or {} do | |
867 | constraint[propertyData[1]] = propertyData[2] | |
868 | end | |
869 | constraint.Parent = Character | |
870 | return constraint | |
871 | end | |
872 | end | |
873 | ||
874 | ||
875 | function getAttachment0(Character,attachmentName) | |
876 | for _,child in next,Character:children() do | |
877 | local attachment = child:FindFirstChild(attachmentName) | |
878 | if attachment then | |
879 | return attachment | |
880 | end | |
881 | end | |
882 | end | |
883 | ||
884 | ||
885 | function Ragdoll(who,half,snapped) | |
886 | pcall(function() | |
887 | who:breakJoints() | |
888 | local who = who | |
889 | local hhh = who:FindFirstChildOfClass'Humanoid' | |
890 | local t = GetTorso(who) | |
891 | pcall(function() | |
892 | who.HumanoidRootPart:destroy() | |
893 | end) | |
894 | hhh.Health = 0 | |
895 | Stunned[who] = true | |
896 | if(hhh.RigType == Enum.HumanoidRigType.R6)then | |
897 | 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' | |
898 | pcall(function() | |
899 | if(hhh.Health > 0)then local CollideRA = NewInstance('Part',who,{Size=RA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'}) | |
900 | FakeWeld(RA,CollideRA) end | |
901 | local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()}) | |
902 | local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()}) | |
903 | local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2}) | |
904 | end) | |
905 | pcall(function() | |
906 | local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()}) | |
907 | local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()}) | |
908 | ||
909 | local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2}) | |
910 | ||
911 | if(hhh.Health > 0)then local CollideLA = NewInstance('Part',who,{Size=LA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'}) | |
912 | FakeWeld(LA,CollideLA) end | |
913 | end) | |
914 | pcall(function() | |
915 | if(HD)then | |
916 | local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()}) | |
917 | local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()}) | |
918 | local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()}) | |
919 | local HC = NewInstance('HingeConstraint',t,{LimitsEnabled=true,UpperAngle=50,LowerAngle=-50,Attachment0=NJ,Attachment1=NJ2}) | |
920 | ||
921 | if(snapped)then | |
922 | NJ.Orientation = V3.N(0,90,0) | |
923 | end | |
924 | if(hhh.Health > 0)then | |
925 | local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'}) | |
926 | FakeWeld(HD,CollideHD) | |
927 | end | |
928 | end | |
929 | end) | |
930 | if(not half)then | |
931 | local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()}) | |
932 | local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()}) | |
933 | local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()}) | |
934 | local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()}) | |
935 | local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2}) | |
936 | local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2}) | |
937 | if(hhh.Health > 0)then local CollideRL = NewInstance('Part',who,{Size=RL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'}) | |
938 | local CollideLL = NewInstance('Part',who,{Size=LL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'}) | |
939 | ||
940 | FakeWeld(RL,CollideRL) | |
941 | FakeWeld(LL,CollideLL) end | |
942 | end | |
943 | for _,v in next, who:children() do | |
944 | if(v:IsA'BasePart')then | |
945 | v.CanCollide = true | |
946 | end | |
947 | end | |
948 | else | |
949 | local Character = who | |
950 | ||
951 | if(half)then | |
952 | pcall(function() | |
953 | Character.UpperTorso.WaistRigAttachment:Destroy() | |
954 | end) | |
955 | end | |
956 | ||
957 | local handProperties = { | |
958 | {"LimitsEnabled", true}; | |
959 | {"UpperAngle",0}; | |
960 | {"LowerAngle",0}; | |
961 | } | |
962 | local footProperties = { | |
963 | {"LimitsEnabled", true}; | |
964 | {"UpperAngle", 15}; | |
965 | {"LowerAngle", -45}; | |
966 | } | |
967 | local shinProperties = { | |
968 | {"LimitsEnabled", true}; | |
969 | {"UpperAngle", 0}; | |
970 | {"LowerAngle", -75}; | |
971 | } | |
972 | if Character:FindFirstChild('RightLowerArm') and Character:FindFirstChild('RightHand') then | |
973 | ragdollJoint(Character,Character.RightLowerArm, Character.RightHand, "RightWrist", "Hinge", handProperties) | |
974 | end | |
975 | if Character:FindFirstChild('UpperTorso') and Character:FindFirstChild('RightUpperArm') then | |
976 | ragdollJoint(Character, Character.UpperTorso, Character["RightUpperArm"], "RightShoulder", "BallSocket") | |
977 | end | |
978 | if Character:FindFirstChild('RightUpperArm') and Character:FindFirstChild('RightLowerArm') then | |
979 | ragdollJoint(Character, Character.RightUpperArm, Character.RightLowerArm, "RightElbow", "BallSocket") | |
980 | end | |
981 | if Character:FindFirstChild('LeftLowerArm') and Character:FindFirstChild('LeftHand') then | |
982 | ragdollJoint(Character,Character.LeftLowerArm, Character.LeftHand, "LeftWrist", "Hinge", handProperties) | |
983 | end | |
984 | if Character:FindFirstChild('UpperTorso') and Character:FindFirstChild('LeftUpperArm') then | |
985 | ragdollJoint(Character, Character.UpperTorso, Character["LeftUpperArm"], "LeftShoulder", "BallSocket") | |
986 | end | |
987 | if Character:FindFirstChild('LeftUpperArm') and Character:FindFirstChild('LeftLowerArm') then | |
988 | ragdollJoint(Character, Character.LeftUpperArm, Character.LeftLowerArm, "LeftElbow", "BallSocket") | |
989 | end | |
990 | if Character:FindFirstChild('RightUpperLeg') and Character:FindFirstChild('RightLowerLeg') then | |
991 | ragdollJoint(Character,Character.RightUpperLeg, Character.RightLowerLeg, "RightKnee", "Hinge", shinProperties) | |
992 | end | |
993 | if Character:FindFirstChild('RightLowerLeg') and Character:FindFirstChild('RightFoot') then | |
994 | ragdollJoint(Character,Character.RightLowerLeg, Character.RightFoot, "RightAnkle", "Hinge", footProperties) | |
995 | end | |
996 | if Character:FindFirstChild('LowerTorso') and Character:FindFirstChild('RightUpperLeg') then | |
997 | ragdollJoint(Character,Character.LowerTorso, Character.RightUpperLeg, "RightHip", "BallSocket") | |
998 | end | |
999 | if Character:FindFirstChild('LeftUpperLeg') and Character:FindFirstChild('LeftLowerLeg') then | |
1000 | ragdollJoint(Character,Character.LeftUpperLeg, Character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties) | |
1001 | end | |
1002 | if Character:FindFirstChild('LeftLowerLeg') and Character:FindFirstChild('LeftFoot') then | |
1003 | ragdollJoint(Character,Character.LeftLowerLeg, Character.LeftFoot, "LeftAnkle", "Hinge", footProperties) | |
1004 | end | |
1005 | if Character:FindFirstChild('LowerTorso') and Character:FindFirstChild('LeftUpperLeg') then | |
1006 | ragdollJoint(Character,Character.LowerTorso, Character.LeftUpperLeg, "LeftHip", "BallSocket") | |
1007 | end | |
1008 | if Character:FindFirstChild('UpperTorso') and Character:FindFirstChild('LowerTorso') then | |
1009 | ragdollJoint(Character,Character.LowerTorso, Character.UpperTorso, "Waist", "BallSocket", { | |
1010 | {"LimitsEnabled",true}; | |
1011 | {"UpperAngle",5}; | |
1012 | {"Radius",5}; | |
1013 | }) | |
1014 | end | |
1015 | if Character:FindFirstChild('UpperTorso') and Character:FindFirstChild('Head') then | |
1016 | ragdollJoint(Character,Character.UpperTorso, Character.Head, "Neck", "Hinge", { | |
1017 | {"LimitsEnabled",true}; | |
1018 | {"UpperAngle",50}; | |
1019 | {"LowerAngle",-50}; | |
1020 | }) | |
1021 | end | |
1022 | local NeckA = ragdollJoint(Character,Character.UpperTorso, Character.Head, "Neck", "Hinge", { | |
1023 | {"LimitsEnabled",true}; | |
1024 | {"UpperAngle",50}; | |
1025 | {"LowerAngle",-50}; | |
1026 | }) | |
1027 | ||
1028 | recurse(Character, function(_,v) | |
1029 | if v:IsA("Attachment") then | |
1030 | v.Axis = Vector3.new(0, 1, 0) | |
1031 | v.SecondaryAxis = Vector3.new(0, 0, 1) | |
1032 | v.Rotation = Vector3.new(0, 0, 0) | |
1033 | if(v.Parent == Character.Head and snapped)then | |
1034 | v.Orientation = V3.N(0,-90,0) | |
1035 | end | |
1036 | end | |
1037 | end) | |
1038 | end | |
1039 | end) | |
1040 | end | |
1041 | ||
1042 | ||
1043 | function Bezier(startpos, pos2, pos3, endpos, t) | |
1044 | local A = startpos:lerp(pos2, t) | |
1045 | local B = pos2:lerp(pos3, t) | |
1046 | local C = pos3:lerp(endpos, t) | |
1047 | local lerp1 = A:lerp(B, t) | |
1048 | local lerp2 = B:lerp(C, t) | |
1049 | local cubic = lerp1:lerp(lerp2, t) | |
1050 | return cubic | |
1051 | end | |
1052 | ||
1053 | function Effect(data) | |
1054 | local FX = data.Effect or 'Resize-AndFade' | |
1055 | local Parent = data.Parent or Effects | |
1056 | local Color = data.Color or C3.N(0,0,0) | |
1057 | local Size = data.Size or V3.N(1,1,1) | |
1058 | local MoveDir = data.MoveDirection or nil | |
1059 | local MeshData = data.Mesh or nil | |
1060 | local SndData = data.Sound or nil | |
1061 | local Frames = data.Frames or 45 | |
1062 | local Manual = data.Manual or nil | |
1063 | local Material = data.Material or nil | |
1064 | local CFra = data.CFrame or Torso.CFrame | |
1065 | local Settings = data.FXSettings or {} | |
1066 | local Snd,Prt,Msh; | |
1067 | if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then | |
1068 | Prt = Manual | |
1069 | else | |
1070 | Prt = Part(Parent,Color,Material,Size,CFra,true,false) | |
1071 | end | |
1072 | if(typeof(MeshData) == 'table')then | |
1073 | Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset) | |
1074 | elseif(typeof(MeshData) == 'Instance')then | |
1075 | Msh = MeshData:Clone() | |
1076 | Msh.Parent = Prt | |
1077 | end | |
1078 | if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then | |
1079 | Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true) | |
1080 | end | |
1081 | if(Snd)then | |
1082 | repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0 | |
1083 | Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch | |
1084 | end | |
1085 | local MoveSpeed = nil; | |
1086 | if(MoveDir)then | |
1087 | MoveSpeed = (CFra.p - MoveDir).magnitude/Frames | |
1088 | end | |
1089 | local Inc = M.RNG()-M.RNG() | |
1090 | local Thingie = 0 | |
1091 | local Thingie2 = M.RNG(50,100)/100 | |
1092 | ||
1093 | coroutine.wrap(function() | |
1094 | if(FX ~= 'Arc')then | |
1095 | for i = 1, Frames do | |
1096 | if(FX == 'Resize-AndFade')then | |
1097 | if(not Settings.EndSize)then | |
1098 | Settings.EndSize = V3.N(0,0,0) | |
1099 | end | |
1100 | local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize)) | |
1101 | if(Settings.EndIsIncrement)then | |
1102 | Prt.Size = Prt.Size - Settings.EndSize | |
1103 | else | |
1104 | Prt.Size = Prt.Size - grow/Frames | |
1105 | end | |
1106 | Prt.Transparency = (i/Frames) | |
1107 | elseif(FX == 'Resize+AndFade')then | |
1108 | if(not Settings.EndSize)then | |
1109 | Settings.EndSize = Size*2 | |
1110 | end | |
1111 | local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize)) | |
1112 | if(Settings.EndIsIncrement)then | |
1113 | Prt.Size = Prt.Size + Settings.EndSize | |
1114 | else | |
1115 | Prt.Size = Prt.Size + grow/Frames | |
1116 | end | |
1117 | Prt.Transparency = (i/Frames) | |
1118 | elseif(FX == 'Fade')then | |
1119 | Prt.Transparency = (i/Frames) | |
1120 | end | |
1121 | if(Settings.RandomizeCFrame)then | |
1122 | Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)) | |
1123 | end | |
1124 | if(MoveDir and MoveSpeed)then | |
1125 | local Orientation = Prt.Orientation | |
1126 | Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed) | |
1127 | Prt.Orientation = Orientation | |
1128 | end | |
1129 | if(swait and typeof(swait) == 'function')then | |
1130 | swait() | |
1131 | else | |
1132 | wait() | |
1133 | end | |
1134 | end | |
1135 | Prt:destroy() | |
1136 | else | |
1137 | local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End | |
1138 | if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end | |
1139 | local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
1140 | local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
1141 | assert(start ~= nil,"You need to specify a start point!") | |
1142 | assert(endP ~= nil,"You need to specify an end point!") | |
1143 | for i = 0, 1, Settings.Speed or 0.01 do | |
1144 | if(Settings.Home)then | |
1145 | endP = Settings.Home.CFrame | |
1146 | end | |
1147 | Prt.CFrame = Bezier(start, quarter, threequarter, endP, i) | |
1148 | if(swait and typeof(swait) == 'function')then | |
1149 | swait() | |
1150 | else | |
1151 | wait() | |
1152 | end | |
1153 | end | |
1154 | if(Settings.RemoveOnGoal)then | |
1155 | Prt:destroy() | |
1156 | end | |
1157 | end | |
1158 | end)() | |
1159 | return Prt,Msh,Snd | |
1160 | end | |
1161 | ||
1162 | ||
1163 | function SoulSteal(Character) | |
1164 | local torso = (Character:FindFirstChild'Head' or Character:FindFirstChild'Torso' or Character:FindFirstChild'UpperTorso' or Character:FindFirstChild'LowerTorso' or Character:FindFirstChild'HumanoidRootPart') | |
1165 | print(torso) | |
1166 | if(torso and torso:IsA'BasePart')then | |
1167 | local Model = Instance.new("Model",Effects) | |
1168 | Model.Name = Character.Name.."'s Soul" | |
1169 | Character:BreakJoints() | |
1170 | local Soul = Part(Model,BrickColor.new'Carnation pink','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false) | |
1171 | Soul.Name = 'Head' | |
1172 | NewInstance("Humanoid",Model,{Health=0,MaxHealth=0}) | |
1173 | Effect{ | |
1174 | Effect="Arc", | |
1175 | Manual = Soul, | |
1176 | FXSettings={ | |
1177 | Start=torso.CFrame, | |
1178 | Home = Torso, | |
1179 | RemoveOnGoal = true, | |
1180 | } | |
1181 | } | |
1182 | local lastPoint = Soul.CFrame.p | |
1183 | ||
1184 | for i = 0, 1, 0.01 do | |
1185 | local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0) | |
1186 | local mag = (lastPoint - Soul.Position).magnitude | |
1187 | Effect{ | |
1188 | Effect = "Fade", | |
1189 | CFrame = point * CF.N(0, mag/2, 0), | |
1190 | Size = V3.N(.5,mag+.5,.5), | |
1191 | Color = Soul.BrickColor | |
1192 | } | |
1193 | lastPoint = Soul.CFrame.p | |
1194 | swait() | |
1195 | end | |
1196 | for i = 1, 5 do | |
1197 | Effect{ | |
1198 | Effect="Fade", | |
1199 | Color = BrickColor.new'Carnation pink', | |
1200 | MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p | |
1201 | } | |
1202 | end | |
1203 | end | |
1204 | end | |
1205 | ||
1206 | --// Other Functions \\ -- | |
1207 | ||
1208 | function getRegion(point,range,ignore) | |
1209 | return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100) | |
1210 | end | |
1211 | ||
1212 | function clerp(startCF,endCF,alpha) | |
1213 | return startCF:lerp(endCF, alpha) | |
1214 | end | |
1215 | ||
1216 | function GetTorso(Char) | |
1217 | return Char:FindFirstChild'Torso' or Char:FindFirstChild'UpperTorso' | |
1218 | end | |
1219 | ||
1220 | ||
1221 | ||
1222 | function ShowDamage(Pos, Text, Time, Color) | |
1223 | coroutine.wrap(function() | |
1224 | local Rate = (1 / 30) | |
1225 | local Pos = Head | |
1226 | local Text = (Text or ".Char Deleted") | |
1227 | local Time = (Time or 2) | |
1228 | local Color = (Color or Color3.new(1, 0, 1)) | |
1229 | local EffectPart = NewInstance("Part",Effects,{ | |
1230 | Material=Enum.Material.SmoothPlastic, | |
1231 | RArmlectance = 0, | |
1232 | Transparency = 0, | |
1233 | BrickColor = BrickColor.new(Color), | |
1234 | Name = "Effect", | |
1235 | Size = Vector3.new(1,1,1), | |
1236 | Anchored = true | |
1237 | }) | |
1238 | local BillboardGui = NewInstance("BillboardGui",EffectPart,{ | |
1239 | Size = UDim2.new(1.25, 0, 1.25, 0), | |
1240 | Adornee = EffectPart, | |
1241 | }) | |
1242 | local TextLabel = NewInstance("TextLabel",BillboardGui,{ | |
1243 | BackgroundTransparency = 1, | |
1244 | Size = UDim2.new(1, 0, 1, 0), | |
1245 | Text = Text, | |
1246 | Font = "Arial", | |
1247 | TextColor3 = Color3.new(255,102,200), | |
1248 | TextStrokeColor3 = Color3.new(200,200,200), | |
1249 | TextStrokeTransparency=0, | |
1250 | TextScaled = true, | |
1251 | }) | |
1252 | game.Debris:AddItem(EffectPart, (Time)) | |
1253 | EffectPart.Parent = game:GetService("Workspace") | |
1254 | delay(0, function() | |
1255 | local Frames = (Time / Rate) | |
1256 | for Frame = 1, Frames do | |
1257 | wait(Rate) | |
1258 | local Percent = (Frame / Frames) | |
1259 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1260 | TextLabel.TextTransparency = Percent | |
1261 | TextLabel.TextStrokeTransparency = Percent | |
1262 | end | |
1263 | if EffectPart and EffectPart.Parent then | |
1264 | EffectPart:Destroy() | |
1265 | end | |
1266 | end) end)() | |
1267 | end | |
1268 | ||
1269 | ||
1270 | function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult) | |
1271 | if(who)then | |
1272 | local hum = who:FindFirstChildOfClass'Humanoid' | |
1273 | local Damage = M.RNG(minDam,maxDam) | |
1274 | local canHit = true | |
1275 | if(hum)then | |
1276 | for _, p in pairs(Hit) do | |
1277 | if p[1] == hum then | |
1278 | if(time() - p[2] < 0.1) then | |
1279 | canHit = false | |
1280 | else | |
1281 | Hit[_] = nil | |
1282 | end | |
1283 | end | |
1284 | end | |
1285 | if(canHit)then | |
1286 | if(hum.Health >= math.huge)then | |
1287 | who:BreakJoints() | |
1288 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
1289 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0)) | |
1290 | end | |
1291 | else | |
1292 | local player = S.Players:GetPlayerFromCharacter(who) | |
1293 | if(Type == "Fire")then | |
1294 | --idk.. | |
1295 | else | |
1296 | local c = Instance.new("ObjectValue",hum) | |
1297 | c.Name = "creator" | |
1298 | c.Value = Plr | |
1299 | game:service'Debris':AddItem(c,0.35) | |
1300 | if(M.RNG(1,100) <= (critChance or 0))then | |
1301 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
1302 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color) | |
1303 | end | |
1304 | hum.Health = hum.Health - Damage*(critMult or 2) | |
1305 | else | |
1306 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
1307 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), Damage, 1.5, DamageColor.Color) | |
1308 | end | |
1309 | hum.Health = hum.Health - Damage | |
1310 | end | |
1311 | if(Type == 'Knockback' and GetTorso(who))then | |
1312 | local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit | |
1313 | local body = NewInstance('BodyVelocity',GetTorso(who),{ | |
1314 | P = 500, | |
1315 | maxForce = V3.N(math.huge,0,math.huge), | |
1316 | velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05 | |
1317 | }) | |
1318 | game:service'Debris':AddItem(body,.5) | |
1319 | elseif(Type == 'Knockdown' and GetTorso(who))then | |
1320 | local rek = GetTorso(who) | |
1321 | print(rek) | |
1322 | hum.PlatformStand = true | |
1323 | delay(1,function() | |
1324 | hum.PlatformStand = false | |
1325 | end) | |
1326 | local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit | |
1327 | local bodvol = NewInstance("BodyVelocity",rek,{ | |
1328 | velocity = angle * Knock, | |
1329 | P = 5000, | |
1330 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1331 | }) | |
1332 | local rl = NewInstance("BodyAngularVelocity",rek,{ | |
1333 | P = 3000, | |
1334 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1335 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1336 | }) | |
1337 | game:GetService("Debris"):AddItem(bodvol, .5) | |
1338 | game:GetService("Debris"):AddItem(rl, .5) | |
1339 | end | |
1340 | end | |
1341 | end | |
1342 | end | |
1343 | table.insert(Hit,{hum,time()}) | |
1344 | end | |
1345 | end | |
1346 | end | |
1347 | ||
1348 | function AOEDamage(where,range,minDam,maxDam,Knock,Type) | |
1349 | for _,v in next, getRegion(where,range,{Char}) do | |
1350 | if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then | |
1351 | DealDamage(v.Parent,minDam,maxDam,Knock,Type) | |
1352 | end | |
1353 | end | |
1354 | end | |
1355 | ||
1356 | function AOEFunction(where,range,callback) | |
1357 | for _,v in next, getRegion(where,range,{Char}) do | |
1358 | if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then | |
1359 | callback(v.Parent) | |
1360 | end | |
1361 | end | |
1362 | end | |
1363 | ||
1364 | function ClosestHumanoid(pos,range) | |
1365 | local mag,closest = math.huge; | |
1366 | for _,v in next, getRegion(pos,range or 10,{Char}) do | |
1367 | local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid') | |
1368 | if((v.CFrame.p-pos).magnitude < mag and hum and closest ~= hum and hum.Health > 0)then | |
1369 | mag = (v.CFrame.p-pos).magnitude | |
1370 | closest = hum | |
1371 | end | |
1372 | end | |
1373 | return closest,(closest and GetTorso(closest.Parent) or nil) | |
1374 | end | |
1375 | ||
1376 | function AOEHeal(where,range,amount) | |
1377 | local healed = {} | |
1378 | for _,v in next, getRegion(where,range,{Char}) do | |
1379 | local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil) | |
1380 | if(hum and not healed[hum])then | |
1381 | hum.Health = hum.Health + amount | |
1382 | if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then | |
1383 | ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Carnation pink'.Color) | |
1384 | end | |
1385 | end | |
1386 | end | |
1387 | end | |
1388 | local BODY = {} | |
1389 | for _, c in pairs(Char:GetDescendants()) do | |
1390 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
1391 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RArm and c ~= LArm and c ~= RLeg and c ~= LLeg then | |
1392 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1393 | end | |
1394 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name}) | |
1395 | elseif c:IsA("JointInstance") then | |
1396 | table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil}) | |
1397 | end | |
1398 | end | |
1399 | function refit() | |
1400 | Char.Parent = workspace | |
1401 | for e = 1, #BODY do | |
1402 | if BODY[e] ~= nil then | |
1403 | local STUFF = BODY[e] | |
1404 | local PART = STUFF[1] | |
1405 | local PARENT = STUFF[2] | |
1406 | local MATERIAL = STUFF[3] | |
1407 | local COLOR = STUFF[4] | |
1408 | local TRANSPARENCY = STUFF[5] | |
1409 | --local SIZE = STUFF[6] | |
1410 | local NAME = STUFF[7] | |
1411 | if PART.ClassName == "Part" and PART ~= RootPart then | |
1412 | PART.Material = MATERIAL | |
1413 | PART.Transparency = TRANSPARENCY | |
1414 | PART.Name = NAME | |
1415 | end | |
1416 | if PART.Parent ~= PARENT then | |
1417 | Humanoid:remove() | |
1418 | PART.Parent = PARENT | |
1419 | Humanoid = Instance.new("Humanoid",Char) | |
1420 | end | |
1421 | end | |
1422 | end | |
1423 | end | |
1424 | ||
1425 | Humanoid.Died:connect(function() | |
1426 | refit() | |
1427 | end) | |
1428 | --// Attack Function \\-- | |
1429 | function Color1() | |
1430 | chaosmode = false | |
1431 | local Glitch = false | |
1432 | Music.Playing = false | |
1433 | Moosic.Playing = false | |
1434 | Music1.Playing = false | |
1435 | Music2.Playing = true | |
1436 | Music3.Playing = false | |
1437 | Music4.Playing = false | |
1438 | Music5.Playing = false | |
1439 | Music6.Playing = false | |
1440 | Creep.Playing = false | |
1441 | tecks2.Text = "G̶a̶n̵g̵ ̸Mo̶/n̸i̸k̵a̸" | |
1442 | tecks2.TextStrokeColor3 = Color3.new(0,0,1) | |
1443 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1444 | if v:IsA("Part") then | |
1445 | v.BrickColor = BrickColor.new("Really blue") | |
1446 | v.Material = "Neon" | |
1447 | end | |
1448 | end | |
1449 | end | |
1450 | function smile() | |
1451 | chaosmode = false | |
1452 | local Glitch = false | |
1453 | Music.Playing = false | |
1454 | Moosic.Playing = false | |
1455 | Music1.Playing = true | |
1456 | Music2.Playing = false | |
1457 | Music3.Playing = false | |
1458 | Music4.Playing = false | |
1459 | Music5.Playing = false | |
1460 | Music6.Playing = false | |
1461 | Creep.Playing = false | |
1462 | tecks2.Text = ":)" | |
1463 | tecks2.TextStrokeColor3 = Color3.new(.1,.1,.1) | |
1464 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1465 | if v:IsA("Part") then | |
1466 | v.BrickColor = BrickColor.new("Really black") | |
1467 | v.Material = "Neon" | |
1468 | game.Lighting.OutdoorAmbient = Color3.new(.5,0,0) | |
1469 | game.Lighting.TimeOfDay = "05:00:00" | |
1470 | game.Lighting.FogColor = Color3.new(0,0,0) | |
1471 | game.Lighting.FogEnd = 1200 | |
1472 | end | |
1473 | end | |
1474 | end | |
1475 | function Normal() | |
1476 | chaosmode = false | |
1477 | local Glitch = false | |
1478 | Music.Playing = true | |
1479 | Moosic.Playing = false | |
1480 | Music1.Playing = false | |
1481 | Music2.Playing = false | |
1482 | Music3.Playing = false | |
1483 | Music4.Playing = false | |
1484 | Music5.Playing = false | |
1485 | Music6.Playing = false | |
1486 | Creep.Playing = false | |
1487 | tecks2.Text = "C̸o̶r̵r̵u̷p̶t̶e̸d̸ ̵M̸o̸n̶/i̸k̷a̴" | |
1488 | tecks2.TextStrokeColor3 = Color3.new(1,0,1) | |
1489 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1490 | if v:IsA("Part") then | |
1491 | v.BrickColor = BrickColor.new("Hot pink") | |
1492 | v.Material = "Neon" | |
1493 | end | |
1494 | end | |
1495 | end | |
1496 | ||
1497 | function BenCreep() | |
1498 | chaosmode = false | |
1499 | local Glitch = false | |
1500 | Music.Playing = false | |
1501 | Moosic.Playing = false | |
1502 | Music1.Playing = false | |
1503 | Music2.Playing = false | |
1504 | Music3.Playing = false | |
1505 | Music4.Playing = false | |
1506 | Music5.Playing = false | |
1507 | Music6.Playing = false | |
1508 | Creep.Playing = true | |
1509 | tecks2.Text = "B̴r̵o̴k̴e̷n̴ ̶H̵e̸a̵r̵t̵h̷" | |
1510 | tecks2.TextStrokeColor3 = Color3.new(0.9,0,0) | |
1511 | local sky = Instance.new('Sky', game:GetService'Lighting') | |
1512 | sky.SkyboxBk = "rbxassetid://159454299" | |
1513 | sky.SkyboxDn = "rbxassetid://159454296" | |
1514 | sky.SkyboxFt = "rbxassetid://159454293" | |
1515 | sky.SkyboxLf = "rbxassetid://159454286" | |
1516 | sky.SkyboxRt = "rbxassetid://159454300" | |
1517 | sky.SkyboxUp = "rbxassetid://166574066" | |
1518 | game.Lighting.OutdoorAmbient = Color3.new(0,0,0) | |
1519 | game.Lighting.TimeOfDay = "05:00:00" | |
1520 | game.Lighting.FogColor = Color3.new(0,0,0) | |
1521 | game.Lighting.FogEnd = 800 | |
1522 | ||
1523 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1524 | if v:IsA("Part") then | |
1525 | v.BrickColor = BrickColor.new("Dark stone grey") | |
1526 | v.Material = "Neon" | |
1527 | end | |
1528 | end | |
1529 | end | |
1530 | function TimeTrials() | |
1531 | local Glitch = false | |
1532 | Music.Playing = false | |
1533 | Moosic.Playing = false | |
1534 | Music1.Playing = false | |
1535 | Music2.Playing = false | |
1536 | Music3.Playing = false | |
1537 | Music4.Playing = true | |
1538 | Music5.Playing = false | |
1539 | Music6.Playing = false | |
1540 | Creep.Playing = false | |
1541 | chaosmode = true | |
1542 | tecks2.Text = "J̶u̸s̸t̵ ̵M̸o̵-n̸i̵k̵a̶" | |
1543 | tecks2.TextStrokeColor3 = Color3.new(1,0,0) | |
1544 | ||
1545 | coroutine.resume(coroutine.create(function() | |
1546 | while true do | |
1547 | swait(2) | |
1548 | if chaosmode == true then | |
1549 | tecks2.TextStrokeColor3 = BrickColor.random().Color | |
1550 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1551 | if v:IsA("Part") then | |
1552 | v.BrickColor = BrickColor.random() | |
1553 | end | |
1554 | end | |
1555 | end | |
1556 | end | |
1557 | end)) | |
1558 | end | |
1559 | function Color4() | |
1560 | chaosmode = false | |
1561 | local Glitch = false | |
1562 | Music.Playing = false | |
1563 | Moosic.Playing = false | |
1564 | Music1.Playing = false | |
1565 | Music2.Playing = false | |
1566 | Music3.Playing = false | |
1567 | Music4.Playing = false | |
1568 | Music5.Playing = true | |
1569 | Music6.Playing = false | |
1570 | Creep.Playing = false | |
1571 | tecks2.Text = "Good Night" | |
1572 | tecks2.TextStrokeColor3 = Color3.new(0,1,1) | |
1573 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1574 | if v:IsA("Part") then | |
1575 | v.BrickColor = BrickColor.new("Toothpaste") | |
1576 | v.Material = "Neon" | |
1577 | end | |
1578 | end | |
1579 | end | |
1580 | function Glitch() | |
1581 | chaosmode = false | |
1582 | local Glitch = false | |
1583 | Music.Playing = false | |
1584 | Creep.Playing = false | |
1585 | tecks2.Text = "W̶a̵n̵n̶a̷ ̶p̸l̶a̵y̷?̸" | |
1586 | tecks2.TextStrokeColor3 = Color3.new(1,1,0) | |
1587 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1588 | if v:IsA("Part") then | |
1589 | v.BrickColor = BrickColor.new("Cool yellow") | |
1590 | v.Material = "Neon" | |
1591 | Music.Playing = false | |
1592 | Moosic.Playing = false | |
1593 | Music1.Playing = false | |
1594 | Music2.Playing = false | |
1595 | Music3.Playing = false | |
1596 | Music4.Playing = false | |
1597 | Music5.Playing = false | |
1598 | Music6.Playing = true | |
1599 | end | |
1600 | end | |
1601 | end | |
1602 | function Mistake() | |
1603 | chaosmode = false | |
1604 | local Glitch = false | |
1605 | Music.Playing = false | |
1606 | Moosic.Playing = true | |
1607 | Music1.Playing = false | |
1608 | Music2.Playing = false | |
1609 | Music3.Playing = false | |
1610 | Music4.Playing = false | |
1611 | Music5.Playing = false | |
1612 | Music6.Playing = false | |
1613 | Creep.Playing = false | |
1614 | Music1:Stop() | |
1615 | tecks2.Text = "Y̴o̴u̶r̷ ̸r̵e̸a̶l̷i̸t̷y̸" | |
1616 | tecks2.TextStrokeColor3 = Color3.new(170, 0, 170) | |
1617 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1618 | if v:IsA("Part") then | |
1619 | v.BrickColor = BrickColor.new("Royal purple") | |
1620 | v.Material = "Neon" | |
1621 | end | |
1622 | end | |
1623 | end | |
1624 | function Happy() | |
1625 | chaosmode = false | |
1626 | local Glitch = false | |
1627 | Music.Playing = false | |
1628 | Moosic.Playing = false | |
1629 | Music1.Playing = false | |
1630 | Music2.Playing = false | |
1631 | Music3.Playing = true | |
1632 | Music4.Playing = false | |
1633 | Music5.Playing = false | |
1634 | Music6.Playing = false | |
1635 | Creep.Playing = false | |
1636 | Music1:Stop() | |
1637 | tecks2.Text = "Happy" | |
1638 | tecks2.TextStrokeColor3 = Color3.new(1, 1, 0) | |
1639 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1640 | if v:IsA("Part") then | |
1641 | v.BrickColor = BrickColor.new("Cool Yellow") | |
1642 | v.Material = "Neon" | |
1643 | end | |
1644 | end | |
1645 | end | |
1646 | ||
1647 | function Equip_Sawblade() | |
1648 | for i = 1, 5 do | |
1649 | Effect{ | |
1650 | Effect='Resize+AndFade', | |
1651 | Color = BrickColor.new'Carnation pink', | |
1652 | Material = Enum.Material.Neon, | |
1653 | Size=V3.N(3.5,3.5,3.5), | |
1654 | CFrame=RArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)), | |
1655 | FXSettings={ | |
1656 | EndSize=V3.N(.05,.05,.05), | |
1657 | EndIsIncrement=true, | |
1658 | ||
1659 | } | |
1660 | } | |
1661 | end | |
1662 | local prt = Part(Char,BrickColor.new'Institutional white',Enum.Material.SmoothPlastic,V3.N(3.42, 3.42, 0.05),CF.N(9,0,0),false,false) | |
1663 | prt.Transparency = .0 | |
1664 | local mesh = Mesh(prt,Enum.MeshType.FileMesh,"rbxassetid://174322089","",V3.N(3,3,3),V3.N(0,0,0),CF.N(0,0,9)) | |
1665 | local weld = NewInstance("Weld",Char,{Part0=RArm,Part1=prt,C0=CF.N(0,-1.25,0)}) | |
1666 | return prt,weld | |
1667 | end | |
1668 | ||
1669 | function The_Necc() | |
1670 | local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5) | |
1671 | if(torso)then | |
1672 | local who = torso.Parent | |
1673 | Attack = true | |
1674 | NeutralAnims = false | |
1675 | who.Parent = Char | |
1676 | chatfunc("you look tired sleep a little") | |
1677 | local oRoot | |
1678 | pcall(function() oRoot = who.HumanoidRootPart; oRoot.Parent = nil end) | |
1679 | local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.25)}) | |
1680 | for i = 0, 4, 0.1 do | |
1681 | swait() | |
1682 | humanoid.PlatformStand = true | |
1683 | local Alpha = .15 | |
1684 | RJ.C0 = clerp(RJ.C0,CFrame.new(7.78455425e-13, 0.00629367586, -2.39849396e-06, 0.99999243, 1.23691279e-10, 0, 1.90985006e-11, 0.99998045, -0.00628617778, 9.31322575e-10, 0.00628614007, 0.999973059),Alpha) | |
1685 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496486545, -0.990821958, 0.021611277, 0.999870956, 1.90985006e-11, 0.0156118907, -9.81391422e-05, 0.99998045, 0.00628537685, -0.0156115862, -0.00628617778, 0.999851584),Alpha) | |
1686 | RH.C0 = clerp(RH.C0,CFrame.new(0.498530418, -0.990985394, 0.0154574998, 0.999870956, 1.90985006e-11, 0.0156118907, -9.81391422e-05, 0.99998045, 0.00628537685, -0.0156115862, -0.00628617778, 0.999851584),Alpha) | |
1687 | LS.C0 = clerp(LS.C0,CFrame.new(-1.0486517, 0.929213107, -0.824554026, 0.712753832, -0.694763601, -0.0963225588, 0.0692147464, 0.206324935, -0.976032555, 0.697985768, 0.689004064, 0.195146814),Alpha) | |
1688 | RS.C0 = clerp(RS.C0,CFrame.new(0.386394978, 1.64370263, -1.084023, -0.617445648, -0.751786709, -0.231452331, -0.0510570146, 0.331923157, -0.941923738, 0.784950197, -0.569769561, -0.243328467),Alpha) | |
1689 | NK.C0 = clerp(NK.C0,CFrame.new(8.16636839e-06, 1.49895489, -0.0144007429, 0.99999243, 3.67523171e-07, -1.61118805e-07, -3.56405508e-07, 0.997965038, 0.0637686625, 1.8440187e-07, -0.0637682825, 0.997957468),Alpha) | |
1690 | end | |
1691 | gWeld:destroy() | |
1692 | if(who:FindFirstChild'Head')then | |
1693 | local s = Sound(who:FindFirstChild'Head',1093102664,1,2,false,false,false) | |
1694 | s:Play() | |
1695 | s.Ended:connect(function() s:Destroy() end) | |
1696 | end | |
1697 | who.Parent = workspace | |
1698 | humanoid.Health = 0 | |
1699 | Ragdoll(who,false,true) | |
1700 | for i = 0, 1.5, 0.1 do | |
1701 | swait() | |
1702 | humanoid.PlatformStand = true | |
1703 | local Alpha = .3 | |
1704 | RJ.C0 = clerp(RJ.C0,CFrame.new(7.78455425e-13, 0.00629367586, -2.39849396e-06, 0.99999243, 1.23691279e-10, 0, 1.90985006e-11, 0.99998045, -0.00628617778, 9.31322575e-10, 0.00628614007, 0.999973059),Alpha) | |
1705 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496486545, -0.990821958, 0.021611277, 0.999870956, 1.90985006e-11, 0.0156118907, -9.81391422e-05, 0.99998045, 0.00628537685, -0.0156115862, -0.00628617778, 0.999851584),Alpha) | |
1706 | RH.C0 = clerp(RH.C0,CFrame.new(0.498530418, -0.990985394, 0.0154574998, 0.999870956, 1.90985006e-11, 0.0156118907, -9.81391422e-05, 0.99998045, 0.00628537685, -0.0156115862, -0.00628617778, 0.999851584),Alpha) | |
1707 | LS.C0 = clerp(LS.C0,CFrame.new(-1.47842193, 0.485131323, -0.0262347199, 0.0664671659, 0.993123412, -0.0963359103, -0.201927185, -0.0811635256, -0.976031899, -0.977139056, 0.0843269154, 0.195143938),Alpha) | |
1708 | RS.C0 = clerp(RS.C0,CFrame.new(2.33067179, 0.249403879, 0.270489573, 0.171869993, 0.978404701, -0.114792682, 0.105083257, -0.134070903, -0.985384524, -0.979495406, 0.157295257, -0.125856698),Alpha) | |
1709 | NK.C0 = clerp(NK.C0,CFrame.new(8.16636839e-06, 1.49895489, -0.0144007429, 0.99999243, 3.67523171e-07, -1.61118805e-07, -3.56405508e-07, 0.997965038, 0.0637686625, 1.8440187e-07, -0.0637682825, 0.997957468),Alpha) | |
1710 | end | |
1711 | Attack = false | |
1712 | NeutralAnims = true | |
1713 | end | |
1714 | end | |
1715 | ||
1716 | function Hands_Off() | |
1717 | local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5) | |
1718 | ||
1719 | if(torso)then | |
1720 | local who = torso.Parent | |
1721 | local doAttack = false | |
1722 | Instance.AllChildren(who,function(v) | |
1723 | if(v.Name:lower():find"arm")then | |
1724 | doAttack = true | |
1725 | end | |
1726 | end, true) | |
1727 | if(not doAttack)then return end | |
1728 | Hum.WalkSpeed = 0 | |
1729 | Hum.JumpPower = 0 | |
1730 | Attack = true | |
1731 | NeutralAnims = false | |
1732 | who.Parent = Char | |
1733 | local oRoot | |
1734 | pcall(function() oRoot = who.HumanoidRootPart; oRoot.Parent = nil end) | |
1735 | local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.25)}) | |
1736 | for i = 0, 4, 0.1 do | |
1737 | swait() | |
1738 | humanoid.PlatformStand = true | |
1739 | local Alpha = .15 | |
1740 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20564755e-13, 0.00629412755, 1.41908095e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha) | |
1741 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819633, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
1742 | RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990984261, 0.0154613676, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
1743 | LS.C0 = clerp(LS.C0,CFrame.new(-1.42285931, 0.338565946, -0.110074639, 0.983876407, 0.1786367, 0.00868223887, -0.0932332501, 0.553717494, -0.827468753, -0.152623802, 0.813317537, 0.561444461),Alpha) | |
1744 | RS.C0 = clerp(RS.C0,CFrame.new(1.374735, 0.282860518, -0.133752465, 0.973415911, -0.228878334, 0.00868532527, 0.135509402, 0.544919252, -0.827466309, 0.184656292, 0.806645751, 0.561448157),Alpha) | |
1745 | NK.C0 = clerp(NK.C0,CFrame.new(8.16625652e-06, 1.49895275, -0.014400661, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha) | |
1746 | end | |
1747 | local RABC = (who:FindFirstChild'Right Arm' or who:FindFirstChild'RightUpperArm' or who:FindFirstChild'RightLowerArm' or who:FindFirstChild'RightHand' or IN("Part")).BrickColor | |
1748 | local LABC = (who:FindFirstChild'Left Arm' or who:FindFirstChild'LeftUpperArm' or who:FindFirstChild'LeftLowerArm' or who:FindFirstChild'LeftHand' or IN("Part")).BrickColor | |
1749 | Sound(torso,1093102664,.85,5,false,true,true) | |
1750 | Sound(torso,429400881,1,1,false,true,true) | |
1751 | chatfunc("You dont need that!") | |
1752 | FRArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),BrickColor=RABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true}) | |
1753 | Mesh(FRArm,Enum.MeshType.FileMesh,"rbxasset://fonts/rightarm.mesh","",V3.N(1,1,1),V3.N()) | |
1754 | FLArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),BrickColor=LABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true}) | |
1755 | Mesh(FLArm,Enum.MeshType.FileMesh,"rbxasset://fonts/leftarm.mesh","",V3.N(1,1,1),V3.N()) | |
1756 | FRArmW = NewInstance('Weld',FRArm,{Part0=RArm,Part1=FRArm,C0=CF.N(0,-1,0)*CF.A(M.R(90),0,0)}) | |
1757 | FLArmW = NewInstance('Weld',FLArm,{Part0=LArm,Part1=FLArm,C0=CF.N(0,-1,0)*CF.A(M.R(90),0,0)}) | |
1758 | Instance.AllChildren(who,function(v) | |
1759 | if(v.Name:lower():find"arm" or v.Name:lower():find"hand")then | |
1760 | v:destroy() | |
1761 | end | |
1762 | end, true) | |
1763 | if(not VoidSB)then | |
1764 | coroutine.wrap(function() | |
1765 | repeat swait() | |
1766 | humanoid.Health = humanoid.Health - 0.5 until not who or not who.Parent or not humanoid.Parent | |
1767 | humanoid.Health = 0 | |
1768 | end)() | |
1769 | else | |
1770 | coroutine.wrap(function() | |
1771 | repeat swait() humanoid.Health = humanoid.Health - 0.5 until not who or not who.Parent or not humanoid.Parent | |
1772 | humanoid.Health = 0 | |
1773 | end)() | |
1774 | ||
1775 | local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame) | |
1776 | local prt2,prtcl2 = Blood4(V3.N(.5,.5,.5),torso.CFrame) | |
1777 | prt1.Parent = torso; | |
1778 | prt2.Parent = torso; | |
1779 | local prt1W = NewInstance('Weld',torso,{Part0=prt1,Part1=torso,C0=CF.N(0,-.5,-1.25)*CF.A(0,M.R(90),0)}) | |
1780 | local prt2W = NewInstance('Weld',torso,{Part0=prt2,Part1=torso,C0=CF.N(0,-.5,-1.25)*CF.A(0,M.R(-90),0)}) | |
1781 | end | |
1782 | ||
1783 | humanoid.Died:connect(function() | |
1784 | Ragdoll(who) | |
1785 | end) | |
1786 | who.Parent = workspace | |
1787 | ||
1788 | local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame) | |
1789 | local prt2,prtcl2 = Blood4(V3.N(.5,.5,.5),torso.CFrame) | |
1790 | prt1.Parent = FRArm; | |
1791 | prt2.Parent = FLArm; | |
1792 | local prt1W = NewInstance('Weld',FRArm,{Part0=prt1,Part1=FRArm,C0=CF.N(0,0,0)*CF.A(0,M.R(90),0)}) | |
1793 | local prt2W = NewInstance('Weld',FLArm,{Part0=prt2,Part1=FLArm,C0=CF.N(0,0,0)*CF.A(0,M.R(-90),0)}) | |
1794 | gWeld:destroy() | |
1795 | humanoid.PlatformStand = false | |
1796 | if(oRoot)then | |
1797 | oRoot.Parent = who | |
1798 | if(who:FindFirstChild('RootJoint',true))then | |
1799 | oRoot.RootJoint.Part0 = oRoot | |
1800 | oRoot.RootJoint.Part1 = torso | |
1801 | else | |
1802 | humanoid:BuildRigFromAttachments() | |
1803 | end | |
1804 | end | |
1805 | ||
1806 | ||
1807 | for i = 0, 3, 0.1 do | |
1808 | swait() | |
1809 | local Alpha = .15 | |
1810 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20564755e-13, 0.00629412755, 1.41908095e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha) | |
1811 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819633, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
1812 | RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990984261, 0.0154613676, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
1813 | LS.C0 = clerp(LS.C0,CFrame.new(-1.25778806, 0.320386261, -0.139421374, 0.690939784, 0.722859621, 0.00868486147, -0.400907725, 0.393146276, -0.827471495, -0.601560116, 0.568251252, 0.561440408),Alpha) | |
1814 | RS.C0 = clerp(RS.C0,CFrame.new(1.39739037, 0.354236364, -0.0289047062, 0.709462166, -0.704689503, 0.00868486147, 0.400770277, 0.393286407, -0.827471495, 0.579694867, 0.59054029, 0.561440408),Alpha) | |
1815 | NK.C0 = clerp(NK.C0,CFrame.new(8.16625652e-06, 1.49895275, -0.014400661, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha) | |
1816 | end | |
1817 | Hum.WalkSpeed = 16 | |
1818 | Hum.JumpPower = 50 | |
1819 | Attack = false | |
1820 | NeutralAnims = true | |
1821 | end | |
1822 | end | |
1823 | function ScrewMe() | |
1824 | Attack = true | |
1825 | NeutralAnims = false | |
1826 | for i = 0, 2, 0.1 do | |
1827 | swait() | |
1828 | local Alpha = .15 | |
1829 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.000601041073, 0.0062919003, -0.000300966523, 0.994017541, 0.000686608837, 0.109214716, 0, 0.99998033, -0.00628665462, -0.109216876, 0.00624904549, 0.993997931),Alpha) | |
1830 | LH.C0 = clerp(LH.C0,CFrame.new(-0.502559602, -0.990627766, 0.0518152229, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha) | |
1831 | RH.C0 = clerp(RH.C0,CFrame.new(0.501642942, -0.991074204, 0.000842738897, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha) | |
1832 | LS.C0 = clerp(LS.C0,CFrame.new(-1.12979531, 0.241689205, 0.149894863, 0.813591897, -0.571708977, 0.105910838, 0.505802035, 0.785755217, 0.356024235, -0.286762208, -0.236088455, 0.928455591),Alpha) | |
1833 | RS.C0 = clerp(RS.C0,CFrame.new(1.41494429, 0.493437499, 0.00856034085, 0.986078084, -0.165549055, 0.0156079903, 0.165468931, 0.986195028, 0.00630042888, -0.0164355561, -0.0036300756, 0.99985832),Alpha) | |
1834 | NK.C0 = clerp(NK.C0,CFrame.new(-0.272200465, 1.60343766, -0.0909831151, -0.271778286, -0.29597038, 0.915717363, -0.178016067, 0.950573504, 0.254402429, -0.945752025, -0.0938713551, -0.311032623),Alpha) | |
1835 | end | |
1836 | local screwdriver = Part(Char,BrickColor.new'Really black',Enum.Material.SmoothPlastic,V3.N(2.158,0.29,0.312),RArm.CFrame,false,false) | |
1837 | local driverMesh = Mesh(screwdriver,Enum.MeshType.FileMesh,"rbxassetid://70265804","rbxassetid://70265794",V3.N(1,.5,.5),V3.N()) | |
1838 | local driverWeld = NewInstance("Weld",Char,{Part0=LArm,Part1=screwdriver,C0=CF.N(0,-1.15,0)}) | |
1839 | for i = 1, 3 do | |
1840 | for i = 0, 2, 0.1 do | |
1841 | swait() | |
1842 | local Alpha = .15 | |
1843 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.000597249367, 0.00629166188, -0.000301384629, 0.994017541, 0.000686608837, 0.109214716, 0, 0.99998033, -0.00628665462, -0.109216876, 0.00624904549, 0.993997931),Alpha) | |
1844 | LH.C0 = clerp(LH.C0,CFrame.new(-0.502559602, -0.990627766, 0.0518152229, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha) | |
1845 | RH.C0 = clerp(RH.C0,CFrame.new(0.501639128, -0.991074204, 0.000842381269, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha) | |
1846 | LS.C0 = clerp(LS.C0,CFrame.new(-0.971063137, 0.544531465, -0.856619298, 0.824469268, -0.565411985, 0.0236563906, 0.239681676, 0.311018854, -0.919684827, 0.512643158, 0.763921857, 0.391944379),Alpha) | |
1847 | RS.C0 = clerp(RS.C0,CFrame.new(1.36865759, 0.434063494, -0.243990004, 0.943695724, 0.286517411, 0.165366411, 0.0948955566, 0.244413704, -0.965016603, -0.316911817, 0.926374555, 0.203462943),Alpha) | |
1848 | NK.C0 = clerp(NK.C0,CFrame.new(0.309692234, 1.56599295, -0.184076563, 0.752268493, 0.275064707, -0.598691583, 0.0132474303, 0.902184188, 0.431147963, 0.658723474, -0.332270145, 0.675040722),Alpha) | |
1849 | driverWeld.C0 = clerp(driverWeld.C0,CFrame.new(0.754458785, -0.945940197, 0.0140114268, -0.867547691, -0.497354031, 8.15391541e-05, -7.91847706e-05, 0.00030207634, 1, -0.49735406, 0.867547691, -0.000301415101),Alpha) | |
1850 | end | |
1851 | for i = 0, 2, 0.1 do | |
1852 | swait() | |
1853 | local Alpha = .15 | |
1854 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.000597249367, 0.00629166188, -0.000301384629, 0.994017541, 0.000686608837, 0.109214716, 0, 0.99998033, -0.00628665462, -0.109216876, 0.00624904549, 0.993997931),Alpha) | |
1855 | LH.C0 = clerp(LH.C0,CFrame.new(-0.502559602, -0.990627766, 0.0518152229, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha) | |
1856 | RH.C0 = clerp(RH.C0,CFrame.new(0.501639128, -0.991074204, 0.000842381269, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha) | |
1857 | LS.C0 = clerp(LS.C0,CFrame.new(-0.952282608, 0.388567954, -0.813911676, 0.824469686, -0.527844906, 0.204033226, 0.23967658, -0.000909555703, -0.970852435, 0.512645066, 0.849340379, 0.12576215),Alpha) | |
1858 | RS.C0 = clerp(RS.C0,CFrame.new(1.36865759, 0.434063494, -0.243990004, 0.943695724, 0.286517411, 0.165366411, 0.0948955566, 0.244413704, -0.965016603, -0.316911817, 0.926374555, 0.203462943),Alpha) | |
1859 | NK.C0 = clerp(NK.C0,CFrame.new(0.309692234, 1.56599295, -0.184076563, 0.752268493, 0.275064707, -0.598691583, 0.0132474303, 0.902184188, 0.431147963, 0.658723474, -0.332270145, 0.675040722),Alpha) | |
1860 | driverWeld.C0 = clerp(driverWeld.C0,CFrame.new(0.75445646, -0.891306043, 0.317142308, -0.867489815, -0.183382571, -0.462420344, -0.159916192, -0.777427077, 0.608304381, -0.471050501, 0.601646185, 0.645084083),Alpha) | |
1861 | end | |
1862 | end | |
1863 | for i = 0, 2, 0.1 do | |
1864 | swait() | |
1865 | local Alpha = .15 | |
1866 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.000601041073, 0.0062919003, -0.000300966523, 0.994017541, 0.000686608837, 0.109214716, 0, 0.99998033, -0.00628665462, -0.109216876, 0.00624904549, 0.993997931),Alpha) | |
1867 | LH.C0 = clerp(LH.C0,CFrame.new(-0.502559602, -0.990627766, 0.0518152229, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha) | |
1868 | RH.C0 = clerp(RH.C0,CFrame.new(0.501642942, -0.991074204, 0.000842738897, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha) | |
1869 | LS.C0 = clerp(LS.C0,CFrame.new(-1.12979531, 0.241689205, 0.149894863, 0.813591897, -0.571708977, 0.105910838, 0.505802035, 0.785755217, 0.356024235, -0.286762208, -0.236088455, 0.928455591),Alpha) | |
1870 | RS.C0 = clerp(RS.C0,CFrame.new(1.41494429, 0.493437499, 0.00856034085, 0.986078084, -0.165549055, 0.0156079903, 0.165468931, 0.986195028, 0.00630042888, -0.0164355561, -0.0036300756, 0.99985832),Alpha) | |
1871 | NK.C0 = clerp(NK.C0,CFrame.new(-0.272200465, 1.60343766, -0.0909831151, -0.271778286, -0.29597038, 0.915717363, -0.178016067, 0.950573504, 0.254402429, -0.945752025, -0.0938713551, -0.311032623),Alpha) | |
1872 | end | |
1873 | screwdriver:destroy() | |
1874 | Attack = false | |
1875 | NeutralAnims = true | |
1876 | end | |
1877 | function SliceYou() | |
1878 | Attack = true | |
1879 | NeutralAnims = false | |
1880 | local saw,weld = Equip_Sawblade() | |
1881 | for i = 0, 2, 0.1 do | |
1882 | swait() | |
1883 | local Alpha = .15 | |
1884 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.0029785831, 0.00629174896, 0.00529580005, 0.517270923, -0.00537902303, -0.855804324, 0, 0.99998033, -0.00628521619, 0.855821192, 0.00325116003, 0.517260671),Alpha) | |
1885 | LH.C0 = clerp(LH.C0,CFrame.new(-0.524694026, -0.992068648, -0.177415758, 0.503846943, 0, 0.863792896, -0.00542912632, 0.99998033, 0.00316678779, -0.863775849, -0.00628521619, 0.503836989),Alpha) | |
1886 | RH.C0 = clerp(RH.C0,CFrame.new(0.863649905, -0.990154982, 0.147100359, 0.503846943, 0, 0.863792896, -0.00542912632, 0.99998033, 0.00316678779, -0.863775849, -0.00628521619, 0.503836989),Alpha) | |
1887 | LS.C0 = clerp(LS.C0,CFrame.new(-1.15776694, 0.555799365, -0.115642846, -0.0494773015, 0.838752568, -0.54226011, -0.986161113, -0.127040714, -0.106522933, -0.15823549, 0.529485285, 0.833430767),Alpha) | |
1888 | RS.C0 = clerp(RS.C0,CFrame.new(1.41811252, 0.715449214, 0.00713690743, 0.924166977, -0.38166979, 0.0156050026, 0.381617904, 0.924298882, 0.00629791059, -0.0168274939, 0.00013487041, 0.999858379),Alpha) | |
1889 | NK.C0 = clerp(NK.C0,CFrame.new(-0.0103359073, 1.49896884, -0.0121970959, 0.517271042, -0.0492044352, 0.854405463, -0.00537938019, 0.998139322, 0.0607386976, -0.855804205, -0.0360145383, 0.516043782),Alpha) | |
1890 | end | |
1891 | for i = 0, 3, 0.1 do | |
1892 | swait() | |
1893 | local Alpha = .3 | |
1894 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.0750166476, 0.00629172707, 0.115993313, -0.407934308, 0.00573777966, 0.912992895, 0, 0.99998033, -0.00628445856, -0.913010895, -0.00256364676, -0.407926261),Alpha) | |
1895 | LH.C0 = clerp(LH.C0,CFrame.new(-0.702545583, -0.991440296, -0.0774632096, -0.393630832, 0, -0.919268608, 0.00577710615, 0.99998033, -0.00247375714, 0.919250488, -0.00628445856, -0.393623054),Alpha) | |
1896 | RH.C0 = clerp(RH.C0,CFrame.new(0.572302818, -0.991491556, -0.0655612499, -0.393630832, 0, -0.919268608, 0.00577710615, 0.99998033, -0.00247375714, 0.919250488, -0.00628445856, -0.393623054),Alpha) | |
1897 | LS.C0 = clerp(LS.C0,CFrame.new(-1.42436278, 0.674626052, -0.273927838, 0.816972971, 0.196224883, -0.54226476, -0.298526257, 0.948434591, -0.106555678, 0.493393689, 0.248933315, 0.833423615),Alpha) | |
1898 | RS.C0 = clerp(RS.C0,CFrame.new(1.39865923, 0.565930247, 0.00839936361, -0.125458091, -0.991975904, 0.0156244934, 0.992089748, -0.125373363, 0.00629395852, -0.00428455323, 0.0162905455, 0.99985826),Alpha) | |
1899 | NK.C0 = clerp(NK.C0,CFrame.new(0.141048998, 1.4988662, -0.0285577606, -0.407934487, 0.0524925366, -0.911500514, 0.0057374211, 0.998473644, 0.054933507, 0.912992835, 0.0171796028, -0.40761295),Alpha) | |
1900 | end | |
1901 | local sound = Sound(Torso,367720620,false,false,false) | |
1902 | sound:Play() | |
1903 | for i = 0, 6, .1 do | |
1904 | weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(25)),.3) | |
1905 | swait() | |
1906 | end | |
1907 | for i = 0, 2, .1 do | |
1908 | weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(5)),.3) | |
1909 | swait() | |
1910 | end | |
1911 | sound:Play() | |
1912 | for i = 0, 1, .1 do | |
1913 | weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(25)),.3) | |
1914 | swait() | |
1915 | end | |
1916 | sound:Play() | |
1917 | for i = 0, 5, .1 do | |
1918 | weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(55)),.3) | |
1919 | swait() | |
1920 | end | |
1921 | for i = 1, 5 do | |
1922 | Effect{ | |
1923 | Effect='Resize+AndFade', | |
1924 | Color = BrickColor.new'Carnation pink', | |
1925 | Material = Enum.Material.Neon, | |
1926 | Size=V3.N(3.5,3.5,3.5), | |
1927 | CFrame=saw.CFrame*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)), | |
1928 | FXSettings={ | |
1929 | EndSize=V3.N(.05,.05,.05), | |
1930 | EndIsIncrement=true, | |
1931 | ||
1932 | } | |
1933 | } | |
1934 | end | |
1935 | saw:destroy() | |
1936 | Attack = false | |
1937 | NeutralAnims = true | |
1938 | end | |
1939 | function Taunt() | |
1940 | local tauntFuncs = {SliceYou,ScrewMe} | |
1941 | local taunt = tauntFuncs[M.RNG(1,#tauntFuncs)] | |
1942 | taunt() | |
1943 | end | |
1944 | function Aids() | |
1945 | Music.Playing = false | |
1946 | local DabSounds = {420701444,420701460,420701487} | |
1947 | local DabSnd = Sound(Torso,DabSounds[M.RNG(1,#DabSounds)],1,5,false,false,false) | |
1948 | repeat swait() until DabSnd.IsLoaded | |
1949 | DabSnd:Play() | |
1950 | chatfunc("deivis97: Sorry about that") | |
1951 | DabSnd.Ended:connect(function()DabSnd:destroy()end) | |
1952 | Attack = true | |
1953 | NeutralAnims = false | |
1954 | local a = 0 | |
1955 | for i = 0, DabSnd.TimeLength * Frame_Speed/DabSnd.Pitch do | |
1956 | a = a + 1 | |
1957 | swait() | |
1958 | local Alpha = .3 | |
1959 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.0561925545, 0.006292901+.2*M.C(a/16), -0.00967639871, 0.961586297, 0.00172359415, 0.274496257, 0, 0.99998033, -0.00627899449, -0.274501652, 0.00603779452, 0.961567342),Alpha) | |
1960 | LH.C0 = clerp(LH.C0,CFrame.new(-0.593769729, -0.99042201-.2*M.C(a/16), 0.0849506408, 0.965754986, 0, -0.259456009, 0.00162912265, 0.99998033, 0.00606396981, 0.259450912, -0.00627899449, 0.965735972),Alpha) | |
1961 | RH.C0 = clerp(RH.C0,CFrame.new(0.468464553, -0.991293669-.2*M.C(a/16), -0.0339690484, 0.965754986, 0, -0.259456009, 0.00162912265, 0.99998033, 0.00606396981, 0.259450912, -0.00627899449, 0.965735972),Alpha) | |
1962 | LS.C0 = clerp(LS.C0,CFrame.new(-1.15301001, 0.367895871, -0.145940349+.2*M.C(a/16), 0.375669211, 0.913452208, -0.156454355, -0.926753879, 0.37026915, -0.0634673014, -4.41223383e-05, 0.168837398, 0.985643983),Alpha) | |
1963 | RS.C0 = clerp(RS.C0,CFrame.new(0.998128295, 0.633566499, -0.753388047+.2*M.C(a/16), 0.594308019, 0.804203451, 0.00742085278, -0.383671522, 0.29161948, -0.876215935, -0.706819832, 0.517895043, 0.481861711),Alpha) | |
1964 | NK.C0 = clerp(NK.C0,CFrame.new(0.207638323, 1.47957158, -0.302699238, 0.745848298, 0.476892024, -0.465063959, 0.0606503561, 0.646653771, 0.760368645, 0.663349032, -0.595326006, 0.453382045),Alpha) | |
1965 | end | |
1966 | Music.Playing = true | |
1967 | Attack = false | |
1968 | NeutralAnims = true | |
1969 | end | |
1970 | ||
1971 | function OnceWas(who) | |
1972 | for _,v in next, who:children() do | |
1973 | if(v:IsA'BasePart')then | |
1974 | Effect{ | |
1975 | Parent=Effects, | |
1976 | Effect='Fade', | |
1977 | Color = BrickColor.new'Carnation pink', | |
1978 | Material = Enum.Material.Glass, | |
1979 | Size = v.Size, | |
1980 | CFrame=v.CFrame, | |
1981 | Frames = 90, | |
1982 | } | |
1983 | end | |
1984 | end | |
1985 | end | |
1986 | ||
1987 | function Teleport(where) | |
1988 | OnceWas(Char) | |
1989 | Sound(Root,235097614,3,1,false,true,true) | |
1990 | Sound(Root,75356820,2,1,false,true,true) | |
1991 | Root.CFrame = CF.N(where.p) | |
1992 | OnceWas(Char) | |
1993 | end | |
1994 | ||
1995 | function Dash() | |
1996 | Attack = true | |
1997 | Sound(Root,235097614,3,1,false,true,true) | |
1998 | Sound(Root,75356820,2,1,false,true,true) | |
1999 | for i = 1, 5 do | |
2000 | OnceWas(Char) | |
2001 | Root.CFrame = Root.CFrame*CF.N(0,0,-5) | |
2002 | swait() | |
2003 | end | |
2004 | Attack = false | |
2005 | end | |
2006 | ||
2007 | function Shriek() | |
2008 | Attack = true | |
2009 | NeutralAnims = true | |
2010 | local scream = Sound(Char,660244878,1,10,false,false,false) | |
2011 | local i = 0 | |
2012 | scream:Play() | |
2013 | while scream.Playing do | |
2014 | i = i + 1 | |
2015 | swait() | |
2016 | coroutine.wrap(function() | |
2017 | AOEFunction(Head.Position,30,function(who) | |
2018 | local h,hd = who:FindFirstChildOfClass'Humanoid',who:FindFirstChild'Head' | |
2019 | if(h and hd and h.Health > 0)then | |
2020 | h.Health = 0 | |
2021 | Sound(hd,429400881,1,1,false,true,true) | |
2022 | Ragdoll(who) | |
2023 | swait() | |
2024 | local frags = Fragment(hd) | |
2025 | for _,v in next, frags:children() do | |
2026 | v.BrickColor = BloodColor | |
2027 | v.Material = BloodMaterial | |
2028 | v.CanCollide = true | |
2029 | v.Anchored = false | |
2030 | end | |
2031 | chatfunc("HAHAHAHAHAHAHA!") | |
2032 | hd:destroy() | |
2033 | end | |
2034 | end) | |
2035 | end)() | |
2036 | local Alpha = .15 | |
2037 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.00956845004, -0.141102523, 0.612865508, 0.999947488, 0.00962571148, -0.00340035092, -0.00964800082, 0.782201111, -0.622951329, -0.00333659165, 0.622951448, 0.782252967),Alpha) | |
2038 | LH.C0 = clerp(LH.C0,CFrame.new(-0.495904773, -1.0368886, 0.0598222613, 0.999878109, -0.00964800082, 0.012275002, -0.000100981888, 0.782201111, 0.623026073, -0.0156124765, -0.622951329, 0.78210485),Alpha) | |
2039 | RH.C0 = clerp(RH.C0,CFrame.new(0.499093086, -1.03124118, 0.0517056584, 0.999878109, -0.00964800082, 0.012275002, -0.000100981888, 0.782201111, 0.623026073, -0.0156124765, -0.622951329, 0.78210485),Alpha) | |
2040 | LS.C0 = clerp(LS.C0,CFrame.new(-1.23829794, 0.600065649, 0.16030249, -0.8319574, 0.546545088, -0.0955789387, 0.0976095572, -0.0254041255, -0.994900525, -0.54618609, -0.837044299, -0.0322128981),Alpha) | |
2041 | RS.C0 = clerp(RS.C0,CFrame.new(1.40538526, 0.413302839, 0.119919479, 0.97065413, -0.226111293, -0.0818808898, 0.0516543165, -0.13650623, 0.989291787, -0.23486729, -0.96448946, -0.120820649),Alpha) | |
2042 | NK.C0 = clerp(NK.C0,CFrame.new(3.62367791e-06, 1.56057274, 0.233575165, 1, 3.8058497e-06, -3.58493999e-05, -1.91188519e-05, 0.899042785, -0.437860936, 3.05641443e-05, 0.437861085, 0.899042606),Alpha) | |
2043 | end | |
2044 | Attack = false | |
2045 | NeutralAnims = true | |
2046 | end | |
2047 | chatfunc("..deivis97 edit :3....") | |
2048 | function SawMeDaddy() | |
2049 | local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5) | |
2050 | if(torso)then | |
2051 | Attack = true | |
2052 | NeutralAnims = false | |
2053 | local who = torso.Parent | |
2054 | who.Parent = Char | |
2055 | Hum.WalkSpeed = 0 | |
2056 | Hum.JumpPower = 0 | |
2057 | humanoid.WalkSpeed = 0 | |
2058 | humanoid.JumpPower = 0 | |
2059 | local saw,weld = Equip_Sawblade() | |
2060 | pcall(function() who.HumanoidRootPart:destroy() end) | |
2061 | local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-3)*CF.A(0,M.R(180),0)}) | |
2062 | for i = 0, 6, 0.1 do | |
2063 | swait() | |
2064 | weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(5)),.3) | |
2065 | local Alpha = .15 | |
2066 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00836368278, 0.00629167072, 0.00190571044, 0.0349976346, 0.00628316449, 0.99936235, 0, 0.99998033, -0.00628704997, -0.999382019, 0.000220031856, 0.0349969491),Alpha) | |
2067 | LH.C0 = clerp(LH.C0,CFrame.new(-0.503456116, -0.990501761, 0.0718512386, 0.0505957417, 0, -0.998714209, 0.00627896562, 0.99998033, 0.00031809794, 0.998694539, -0.00628704997, 0.0505947471),Alpha) | |
2068 | RH.C0 = clerp(RH.C0,CFrame.new(0.539414704, -0.991044283, 0.00562152406, 0.0505957417, 0, -0.998714209, 0.00627896562, 0.99998033, 0.00031809794, 0.998694539, -0.00628704997, 0.0505947471),Alpha) | |
2069 | LS.C0 = clerp(LS.C0,CFrame.new(-1.40707266, 0.497466505, -0.00446076319, 0.980866492, 0.19405432, 0.0156163573, -0.19417055, 0.980947733, 0.00629086327, -0.0140980631, -0.00920273364, 0.999858439),Alpha) | |
2070 | RS.C0 = clerp(RS.C0,CFrame.new(1.31421685, 0.81056267, 0.00814598706, -0.489612877, -0.871799946, 0.0156333037, 0.871937394, -0.489577413, 0.00628277427, 0.00217639096, 0.0167073887, 0.999858201),Alpha) | |
2071 | NK.C0 = clerp(NK.C0,CFrame.new(0.00717293471, 1.49903798, -0.00130830682, 0.0349974521, 0.0574585311, -0.997728944, 0.00628280686, 0.998313606, 0.057712581, 0.99936235, -0.00828839932, 0.0345774256),Alpha) | |
2072 | end | |
2073 | chatfunc("No escape") | |
2074 | Sound(Torso,367720620,1,1,false,true,true) | |
2075 | coroutine.wrap(function() | |
2076 | repeat swait() | |
2077 | weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(45)),.3) | |
2078 | until not saw.Parent | |
2079 | end)() | |
2080 | swait(60) | |
2081 | local slicing = Sound(saw,1013673726,1,1,true,false,true) | |
2082 | Sound(torso,429400881,1,1,false,true,true) | |
2083 | local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame) | |
2084 | prt1.Parent = torso; | |
2085 | local prt1W = NewInstance('Weld',torso,{Part0=prt1,Part1=torso,C0=CF.A(0,M.R(180),0)}) | |
2086 | for i = 0, .3, 0.001 do | |
2087 | swait() | |
2088 | ||
2089 | humanoid.Health = humanoid.Health - .5 | |
2090 | if(humanoid.Health <= 0)then | |
2091 | gWeld:destroy() | |
2092 | Sound(torso,429400881,1,1,false,true,true) | |
2093 | break | |
2094 | end | |
2095 | local Alpha = i | |
2096 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00836368278, 0.00629167072, 0.00190571044, 0.0349976346, 0.00628316449, 0.99936235, 0, 0.99998033, -0.00628704997, -0.999382019, 0.000220031856, 0.0349969491),Alpha) | |
2097 | LH.C0 = clerp(LH.C0,CFrame.new(-0.503456116, -0.990501761, 0.0718512386, 0.0505957417, 0, -0.998714209, 0.00627896562, 0.99998033, 0.00031809794, 0.998694539, -0.00628704997, 0.0505947471),Alpha) | |
2098 | RH.C0 = clerp(RH.C0,CFrame.new(0.539414704, -0.991044283, 0.00562152406, 0.0505957417, 0, -0.998714209, 0.00627896562, 0.99998033, 0.00031809794, 0.998694539, -0.00628704997, 0.0505947471),Alpha) | |
2099 | LS.C0 = clerp(LS.C0,CFrame.new(-1.40707266, 0.497466505, -0.00446076319, 0.980866492, 0.19405432, 0.0156163573, -0.19417055, 0.980947733, 0.00629086327, -0.0140980631, -0.00920273364, 0.999858439),Alpha) | |
2100 | RS.C0 = clerp(RS.C0,CFrame.new(1.18219912, 0.268655062, 0.0136158429, 0.6882689, -0.725287437, 0.0156234093, 0.725293934, 0.688410699, 0.00629597344, -0.0153217092, 0.00699824095, 0.99985826),Alpha) | |
2101 | NK.C0 = clerp(NK.C0,CFrame.new(0.00717293471, 1.49903798, -0.00130830682, 0.0349974521, 0.0574585311, -0.997728944, 0.00628280686, 0.998313606, 0.057712581, 0.99936235, -0.00828839932, 0.0345774256),Alpha) | |
2102 | end | |
2103 | humanoid.Health = 0 | |
2104 | who.Parent = workspace | |
2105 | Ragdoll(who) | |
2106 | slicing:destroy() | |
2107 | for i = 1, 5 do | |
2108 | Effect{ | |
2109 | Effect='Resize+AndFade', | |
2110 | Color = BrickColor.new'Carnation pink', | |
2111 | Material = Enum.Material.Neon, | |
2112 | Size=V3.N(3.5,3.5,3.5), | |
2113 | CFrame=saw.CFrame*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)), | |
2114 | FXSettings={ | |
2115 | EndSize=V3.N(.05,.05,.05), | |
2116 | EndIsIncrement=true, | |
2117 | ||
2118 | } | |
2119 | } | |
2120 | end | |
2121 | Hum.WalkSpeed = 16 | |
2122 | Hum.JumpPower = 50 | |
2123 | saw:destroy() | |
2124 | Attack = false | |
2125 | NeutralAnims = true | |
2126 | end | |
2127 | end | |
2128 | function The_End() | |
2129 | local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5) | |
2130 | ||
2131 | if(torso)then | |
2132 | Attack = true | |
2133 | NeutralAnims = false | |
2134 | local who = torso.Parent | |
2135 | Hum.WalkSpeed = 0 | |
2136 | Hum.JumpPower = 0 | |
2137 | humanoid.WalkSpeed = 0 | |
2138 | humanoid.JumpPower = 0 | |
2139 | who.Parent = Char | |
2140 | pcall(function() who.HumanoidRootPart:destroy() end) | |
2141 | local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.35)}) | |
2142 | for i = 0, 2, 0.1 do | |
2143 | swait() | |
2144 | local Alpha = .3 | |
2145 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.00184797007, 0.00629393011, 0.00175395911, 0.916352093, -0.00251661055, -0.400364727, 0, 0.99998033, -0.00628567068, 0.400372595, 0.0057598874, 0.916333973),Alpha) | |
2146 | LH.C0 = clerp(LH.C0,CFrame.new(-0.565588713, -0.991164684, -0.032800708, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha) | |
2147 | RH.C0 = clerp(RH.C0,CFrame.new(0.562351584, -0.990811467, 0.0429569148, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha) | |
2148 | LS.C0 = clerp(LS.C0,CFrame.new(-1.479936, 0.442725629, -0.241928637, 0.997844577, 0.0469278991, -0.0458690971, -0.0638397709, 0.532425106, -0.844066501, -0.015188396, 0.845175505, 0.534273386),Alpha) | |
2149 | RS.C0 = clerp(RS.C0,CFrame.new(1.32794857, 0.365926802, 0.17400004, 0.584510565, -0.811339498, 0.00870320201, 0.447906405, 0.331590444, 0.830317855, -0.676555634, -0.481431335, 0.557222128),Alpha) | |
2150 | NK.C0 = clerp(NK.C0,CFrame.new(-0.00438193232, 1.49895084, -0.014841184, 0.916352212, -0.0230187047, 0.399710178, -0.00251696701, 0.997995079, 0.0632432774, -0.400364548, -0.0589591675, 0.914456904),Alpha) | |
2151 | end | |
2152 | Sound(Torso,200065377,1.3,4,false,true,true) | |
2153 | for i = 0, 1, 0.1 do | |
2154 | swait() | |
2155 | local Alpha = .2 | |
2156 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.0928741172, 0.00629402744, 0.0566893518, 0.948310614, 0.00199300773, 0.317336231, 0, 0.99998033, -0.00628030393, -0.31734252, 0.00595567934, 0.948291838),Alpha) | |
2157 | LH.C0 = clerp(LH.C0,CFrame.new(-0.645890057, -0.990359426, 0.0953748077, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha) | |
2158 | RH.C0 = clerp(RH.C0,CFrame.new(0.44459179, -0.991404057, -0.0513649136, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha) | |
2159 | LS.C0 = clerp(LS.C0,CFrame.new(-1.47928679, 0.367728233, 0.116084039, 0.997845054, 0.0248440802, 0.0607300103, -0.0638346076, 0.581721425, 0.810879469, -0.0151824057, -0.813008547, 0.582053781),Alpha) | |
2160 | RS.C0 = clerp(RS.C0,CFrame.new(1.48636484, 0.465858519, -0.373306572, -0.95769608, 0.284951091, -0.0402629375, -0.130770594, -0.306276649, 0.942917705, 0.256353855, 0.908293724, 0.330583185),Alpha) | |
2161 | NK.C0 = clerp(NK.C0,CFrame.new(-0.068510659, 1.4984324, -0.0973624364, 0.948310554, 0.0182456542, -0.316817731, 0.00199265103, 0.997983873, 0.0634387434, 0.31733641, -0.0607909337, 0.946362138),Alpha) | |
2162 | end | |
2163 | gWeld:destroy() | |
2164 | local gWeld = NewInstance("Weld",Char,{Part0=RArm,Part1=torso,C0=CF.N(0,-1.15,0)*CF.A(M.R(90),0,M.R(180))}) | |
2165 | for i = 0, 1, 0.1 do | |
2166 | swait() | |
2167 | local Alpha = .3 | |
2168 | humanoid.PlatformStand = true | |
2169 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha) | |
2170 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
2171 | RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
2172 | LS.C0 = clerp(LS.C0,CFrame.new(-1.29056597, 0.680865526, -0.0074476786, -0.953151584, -0.302089065, 0.0156119959, 0.302213609, -0.953219652, 0.0062854127, 0.0129829049, 0.0107091125, 0.999858022),Alpha) | |
2173 | RS.C0 = clerp(RS.C0,CFrame.new(1.26373434, 0.722399652, 0.00951428805, -0.951173186, 0.308261454, 0.0156119959, -0.308199704, -0.951300979, 0.0062854127, 0.0167892575, 0.0011669076, 0.999858022),Alpha) | |
2174 | NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha) | |
2175 | end | |
2176 | gWeld:destroy() | |
2177 | local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,2.35,0)*CF.A(M.R(90),0,M.R(90))}) | |
2178 | for i = 0, 6, 0.1 do | |
2179 | swait() | |
2180 | local Alpha = .3 | |
2181 | humanoid.PlatformStand = true | |
2182 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha) | |
2183 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
2184 | RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
2185 | LS.C0 = clerp(LS.C0,CFrame.new(-1.29056597, 0.680865526, -0.0074476786, -0.953151584, -0.302089065, 0.0156119959, 0.302213609, -0.953219652, 0.0062854127, 0.0129829049, 0.0107091125, 0.999858022),Alpha) | |
2186 | RS.C0 = clerp(RS.C0,CFrame.new(1.26373434, 0.722399652, 0.00951428805, -0.951173186, 0.308261454, 0.0156119959, -0.308199704, -0.951300979, 0.0062854127, 0.0167892575, 0.0011669076, 0.999858022),Alpha) | |
2187 | NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha) | |
2188 | end | |
2189 | Sound(torso,1093102664,.85,5,false,true,true) | |
2190 | Sound(torso,429400881,1,1,false,true,true) | |
2191 | chatfunc("Last words??") | |
2192 | gWeld:destroy() | |
2193 | Blood(torso.Size,torso.CFrame*CF.A(0,M.R(180),0),250) | |
2194 | humanoid.Health = 0 | |
2195 | for _,v in next, who:children() do | |
2196 | if(v:IsA'LocalScript' or v:IsA'Script')then | |
2197 | v.Disabled = true | |
2198 | v:destroy() | |
2199 | end | |
2200 | end | |
2201 | Ragdoll(who,true) | |
2202 | ||
2203 | ||
2204 | if(not VoidSB)then | |
2205 | coroutine.wrap(function() | |
2206 | repeat swait() | |
2207 | BloodDrop(torso.CFrame * CF.N(0,-torso.Size.Y/2,0).p,(torso.CFrame * CF.N(0,-torso.Size.Y,0)).p,15) | |
2208 | until not who or not who.Parent | |
2209 | end)() | |
2210 | coroutine.wrap(function() | |
2211 | local LT = who:FindFirstChild'LowerTorso' | |
2212 | if(LT)then | |
2213 | repeat swait() | |
2214 | BloodDrop(LT.CFrame * CF.N(0,LT.Size.Y/2,0).p,(LT.CFrame * CF.N(0,LT.Size.Y,0)).p,15) | |
2215 | until not who or not who.Parent | |
2216 | end | |
2217 | end)() | |
2218 | end | |
2219 | ||
2220 | for i = 0, 1, 0.1 do | |
2221 | swait() | |
2222 | local Alpha = .3 | |
2223 | humanoid.PlatformStand = true | |
2224 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha) | |
2225 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
2226 | RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
2227 | LS.C0 = clerp(LS.C0,CFrame.new(-1.19203663, 0.569933176, 0.0160028264, -0.81626749, 0.577462554, 0.0156119959, -0.577441692, -0.816407859, 0.0062854127, 0.016375348, -0.0038844361, 0.999858022),Alpha) | |
2228 | RS.C0 = clerp(RS.C0,CFrame.new(1.22609437, 0.679628015, 0.010370885, -0.77247268, -0.634855568, 0.0156119959, 0.634996474, -0.772489607, 0.0062854127, 0.00806977227, 0.0147688743, 0.999858022),Alpha) | |
2229 | NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha) | |
2230 | end | |
2231 | for i = 0, 4, 0.1 do | |
2232 | swait() | |
2233 | local Alpha = .3 | |
2234 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
2235 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
2236 | RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
2237 | LS.C0 = clerp(LS.C0,CFrame.new(-1.19203663, 0.569933176, 0.0160028264, -0.81626749, 0.577462554, 0.0156119959, -0.577441692, -0.816407859, 0.0062854127, 0.016375348, -0.0038844361, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
2238 | RS.C0 = clerp(RS.C0,CFrame.new(1.22609437, 0.679628015, 0.010370885, -0.77247268, -0.634855568, 0.0156119959, 0.634996474, -0.772489607, 0.0062854127, 0.00806977227, 0.0147688743, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
2239 | NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
2240 | end | |
2241 | who.Parent = workspace | |
2242 | Attack = false | |
2243 | NeutralAnims = true | |
2244 | Hum.WalkSpeed = 16 | |
2245 | Hum.JumpPower = 50 | |
2246 | end | |
2247 | end | |
2248 | ||
2249 | function ThrowArms() | |
2250 | Attack = true | |
2251 | NeutralAnims = false | |
2252 | for i = 0, 3, 0.1 do | |
2253 | swait() | |
2254 | local Alpha = .15 | |
2255 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20552612e-13, 0.00629388914, 1.4175821e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha) | |
2256 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
2257 | RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990984261, 0.0154613676, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
2258 | LS.C0 = clerp(LS.C0,CFrame.new(-1.49870801, 0.639989734, 0.342571348, 0.999877751, -0.0114739574, -0.0105869146, -9.81397825e-05, -0.682732999, 0.730668128, -0.0156116877, -0.730577767, -0.682650685),Alpha) | |
2259 | RS.C0 = clerp(RS.C0,CFrame.new(1.50170219, 0.685996532, 0.261634499, 0.999877751, -0.0114739574, -0.0105869146, -9.81397825e-05, -0.682732999, 0.730668128, -0.0156116877, -0.730577767, -0.682650685),Alpha) | |
2260 | NK.C0 = clerp(NK.C0,CFrame.new(8.16625652e-06, 1.4989531, -0.0144006833, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha) | |
2261 | end | |
2262 | Sound() | |
2263 | FLArmW:destroy() | |
2264 | FRArmW:destroy() | |
2265 | local BV1 = NewInstance("BodyVelocity", FRArm, { | |
2266 | velocity = Vector3.new(0, 10, 0) + Mouse.Hit.lookVector * 50, | |
2267 | P = 5000, | |
2268 | maxForce = Vector3.new(8000, 8000, 8000), | |
2269 | }) | |
2270 | local BV2 = NewInstance("BodyVelocity", FLArm, { | |
2271 | velocity = Vector3.new(0, 10, 0) + Mouse.Hit.lookVector * 50, | |
2272 | P = 5000, | |
2273 | maxForce = Vector3.new(8000, 8000, 8000), | |
2274 | }) | |
2275 | Sound(Torso,541909763,.8,5,false,true,true) | |
2276 | S.Debris:AddItem(BV1, 0.05) | |
2277 | S.Debris:AddItem(BV2, 0.05) | |
2278 | FRArm.CanCollide = true | |
2279 | FLArm.CanCollide = true | |
2280 | S.Debris:AddItem(FRArm, 5) | |
2281 | S.Debris:AddItem(FLArm, 5) | |
2282 | FRArm = nil | |
2283 | FLArm = nil | |
2284 | for i = 0, 1, 0.1 do | |
2285 | swait() | |
2286 | local Alpha = .3 | |
2287 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20552612e-13, 0.00629388914, 1.4175821e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha) | |
2288 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
2289 | RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990984261, 0.0154613676, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
2290 | LS.C0 = clerp(LS.C0,CFrame.new(-1.50884342, 0.499208659, -0.305685878, 0.999877751, 0.0152528696, -0.00332931988, -9.81397825e-05, -0.20710893, -0.978317916, -0.0156116877, 0.978198647, -0.207082108),Alpha) | |
2291 | RS.C0 = clerp(RS.C0,CFrame.new(1.4918015, 0.444425255, -0.370944679, 0.999877751, 0.0152528696, -0.00332931988, -9.81397825e-05, -0.20710893, -0.978317916, -0.0156116877, 0.978198647, -0.207082108),Alpha) | |
2292 | NK.C0 = clerp(NK.C0,CFrame.new(8.16625652e-06, 1.4989531, -0.0144006833, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha) | |
2293 | end | |
2294 | Attack = false | |
2295 | NeutralAnims = true | |
2296 | end | |
2297 | Mouse.KeyDown:connect(function(k) | |
2298 | if(Attack)then return end | |
2299 | if(k == 'q')then Teleport(Mouse.Hit*CF.N(0,3.25,0)) end | |
2300 | if(k == 'e')then Dash() end | |
2301 | if(not FLArm and not FRArm)then | |
2302 | if(k == 'r')then Hum.WalkSpeed = (Hum.WalkSpeed == 16 and 32 or 16) end | |
2303 | if(k == 'z')then The_Necc() end | |
2304 | if(k == 'x')then The_End() end | |
2305 | if(k == 'c')then Hands_Off() end | |
2306 | if(k == 'v')then SawMeDaddy() end | |
2307 | if(k == 'b')then Shriek() end | |
2308 | if(k == 't')then Aids() end | |
2309 | if(k == 'f')then Color1() end | |
2310 | if(k == 'g')then Color4() end | |
2311 | if(k == 'h')then Mistake() end | |
2312 | if(k == 'j')then Normal() end | |
2313 | if(k == 'k')then Glitch() end | |
2314 | if(k == 'p')then TimeTrials() end | |
2315 | if(k == 'y')then BenCreep() end | |
2316 | if(k == 'l')then Happy() end | |
2317 | if(k == 'u')then smile() end | |
2318 | end | |
2319 | end) | |
2320 | ||
2321 | Mouse.Button1Down:connect(function() | |
2322 | if(Attack)then return end | |
2323 | if(FLArm and FRArm)then | |
2324 | ThrowArms() | |
2325 | end | |
2326 | end) | |
2327 | ||
2328 | --// Wrap it all up \\-- | |
2329 | ||
2330 | while true do | |
2331 | swait() | |
2332 | if(not Music or not Music.Parent)then | |
2333 | local a = Music.TimePosition | |
2334 | Music = Sound(Char,MusicID,MusicPitch,2,true,false,true) | |
2335 | Music.Name = 'Music' | |
2336 | Music.TimePosition = a | |
2337 | end | |
2338 | if(Music.Volume ~= 2)then Music.Volume = 2 end | |
2339 | RArm.Transparency = 1 | |
2340 | Sine = Sine + Change | |
2341 | local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 4), Char) | |
2342 | local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1) | |
2343 | local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle") | |
2344 | if(State == 'Walk')then | |
2345 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
2346 | local Alpha = math.min(.2*(Hum.WalkSpeed/16),1) | |
2347 | --RH.C1 = RH.C1:lerp(CF.N(0,.925+.5*M.C(Sine/wsVal)/2,0+.5*M.C(Sine/wsVal)/2)*CF.A(-M.R(-15-35*M.C(Sine/wsVal) + -M.S(Sine/wsVal)/2.5),0,0),Alpha) | |
2348 | --RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * M.C(Sine / 7) / 2, 0.5 * M.C(Sine / 7) / 2) * CF.A(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)-- | |
2349 | RH.C1 = RH.C1:lerp(CF.N(0,.95+.5*M.C(Sine/wsVal)/2,.5*M.C(Sine/wsVal)/2) * CF.A(M.R(15-45*M.C(Sine/wsVal)) + M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0+.1*M.C(Sine/wsVal)),0,0),Alpha) | |
2350 | LH.C1 = LH.C1:lerp(CF.N(0,.95-.5*M.C(Sine/wsVal)/2,-.5*M.C(Sine/wsVal)/2) * CF.A(M.R(15+45*M.C(Sine/wsVal)) + -M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0+.1*M.C(Sine/wsVal)),0,0),Alpha) | |
2351 | else | |
2352 | RH.C1 = RH.C1:lerp(CF.N(0,1,0),.3) | |
2353 | LH.C1 = LH.C1:lerp(CF.N(0,1,0),.3) | |
2354 | end | |
2355 | if(Idle > Frame_Speed*10)then | |
2356 | --idk i'll do something | |
2357 | end | |
2358 | if(NeutralAnims and not Attack and State == 'Idle')then | |
2359 | Idle = Idle + 1 | |
2360 | else | |
2361 | Idle = 0 | |
2362 | end | |
2363 | for v,_ in next, Stunned do | |
2364 | if(v.Parent)then | |
2365 | local h = v:FindFirstChildOfClass'Humanoid' | |
2366 | for _,c in next, v:children() do | |
2367 | if(c:IsA'Script' or c:IsA'LocalScript')then | |
2368 | c.Disabled = false | |
2369 | end | |
2370 | end | |
2371 | if(h)then | |
2372 | h.Name = 'End of line' | |
2373 | h.PlatformStand = true | |
2374 | else | |
2375 | Stunned[v] = nil | |
2376 | end | |
2377 | else | |
2378 | Stunned[v] = nil | |
2379 | end | |
2380 | end | |
2381 | if(NeutralAnims)then | |
2382 | if(State == 'Idle')then | |
2383 | Change = 1 | |
2384 | local Alpha = .3 | |
2385 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.00232864846, 0.00629545515+.2*M.C(Sine/16), 0.00257661846, 0.838281333, -0.00342716719, -0.545226395, 0, 0.99998033, -0.00628564507, 0.545237184, 0.00526913954, 0.838264763),Alpha) | |
2386 | LH.C0 = clerp(LH.C0,CFrame.new(-0.725328565, -0.990803361-.2*M.C(Sine/16), 0.0247094855, 0.82966727, 0, 0.558258176, -0.00350901252, 0.99998033, 0.00521499431, -0.558247149, -0.00628564507, 0.829650879),Alpha) | |
2387 | RH.C0 = clerp(RH.C0,CFrame.new(0.576427579, -0.99124372-.2*M.C(Sine/16), -0.02560886, 0.82966727, 0, 0.558258176, -0.00350901252, 0.99998033, 0.00521499431, -0.558247149, -0.00628564507, 0.829650879),Alpha) | |
2388 | LS.C0 = clerp(LS.C0,CFrame.new(-1.46491873, 0.505438805+.2*M.C(Sine/16), -0.00360340625, 0.996807694, 0.0782995075, 0.0156106055, -0.0784052685, 0.996901929, 0.00628136564, -0.0150704384, -0.0074852705, 0.999858379)*CF.A(-M.R(0+5*M.S(Sine/16)),0,M.R(0+5*M.C(Sine/16))),Alpha) | |
2389 | RS.C0 = clerp(RS.C0,CFrame.new(1.44824493, 0.497874349+.2*M.C(Sine/16), 0.00803661905, 0.994963646, -0.0990139842, 0.0156099498, 0.0989264548, 0.995075107, 0.00628477754, -0.0161553323, -0.00470888987, 0.999858439)*CF.A(-M.R(0+5*M.S(Sine/16)),0,-M.R(0+5*M.C(Sine/16))),Alpha) | |
2390 | NK.C0 = clerp(NK.C0,CFrame.new(-0.00607250631, 1.49895012, -0.0144915879, 0.838281453, -0.0313475803, 0.544335127, -0.00342752389, 0.998023272, 0.0627533421, -0.545226216, -0.0544706844, 0.836516857)*CF.A(M.R(0+5*M.C(Sine/16)),0,0),Alpha) | |
2391 | elseif(State == 'Walk')then | |
2392 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
2393 | local Alpha = math.min(.2*(Hum.WalkSpeed/16),1) | |
2394 | RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-0.175 + 0.025 * M.C(Sine/(wsVal/2)) + -M.S(Sine/(wsVal/2)) / 7,0)*CF.A(0,M.R(0+8*M.C(Sine/wsVal)),M.R(0+2*M.C(Sine/wsVal))),Alpha) | |
2395 | RH.C0 = RH.C0:lerp(RHC0,Alpha) | |
2396 | LH.C0 = LH.C0:lerp(LHC0,Alpha) | |
2397 | RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(0-45*M.C(Sine/wsVal)),0,M.R(5+10*M.C(Sine/wsVal))),Alpha) | |
2398 | LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(0+45*M.C(Sine/wsVal)),0,M.R(-5+10*M.C(Sine/wsVal))),Alpha) | |
2399 | NK.C0 = NK.C0:lerp(NKC0,Alpha) | |
2400 | elseif(State == 'Jump' or State == 'Fall')then | |
2401 | if(Walking)then | |
2402 | local Alpha = .2 | |
2403 | RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha) | |
2404 | LH.C0 = clerp(LH.C0,CFrame.new(-0.497912645, -1.0987643, -0.0683324337, 0.999878228, 0.00860835519, 0.0130246133, -0.00010142161, 0.837816596, -0.545952022, -0.015611981, 0.545884132, 0.837715328),Alpha) | |
2405 | RH.C0 = clerp(RH.C0,CFrame.new(0.499978393, -1.16382337, 0.109293163, 0.999878228, -0.0120433727, 0.00993486121, -0.00010142161, 0.631323814, 0.775519371, -0.015611981, -0.775425911, 0.631245613),Alpha) | |
2406 | LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha) | |
2407 | RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha) | |
2408 | NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha) | |
2409 | else | |
2410 | local Alpha = .2 | |
2411 | RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha) | |
2412 | LH.C0 = clerp(LH.C0,CFrame.new(-0.504374504, -0.291219354, -0.487436086, 0.999878228, -0.00438931212, 0.0149825988, -0.00010142161, 0.957819223, 0.287371844, -0.015611981, -0.287338346, 0.957701981),Alpha) | |
2413 | RH.C0 = clerp(RH.C0,CFrame.new(0.453094482, -0.871358454, 0.0898642987, 0.985589385, -0.168456957, 0.0153662469, 0.162863791, 0.969548643, 0.182895929, -0.0457084104, -0.177757636, 0.983012319),Alpha) | |
2414 | LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha) | |
2415 | RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha) | |
2416 | NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha) | |
2417 | end | |
2418 | elseif(State == 'Paralyzed')then | |
2419 | local Alpha = .3 | |
2420 | RJ.C0 = RJ.C0:lerp(RJC0,Alpha) | |
2421 | RH.C0 = RH.C0:lerp(RHC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-10,10)),Alpha) | |
2422 | LH.C0 = LH.C0:lerp(LHC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-10,10)),Alpha) | |
2423 | RS.C0 = RS.C0:lerp(RSC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-5,15)),Alpha) | |
2424 | LS.C0 = LS.C0:lerp(LSC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-15,5)),Alpha) | |
2425 | NK.C0 = NK.C0:lerp(NKC0,Alpha) | |
2426 | elseif(State == 'Sit')then | |
2427 | local Alpha = .3 | |
2428 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.2050404e-13, 0.00629293546, 1.41158671e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha) | |
2429 | LH.C0 = clerp(LH.C0,CFrame.new(-0.686911047, -1.01880026, -0.25455457, 0.980693579, 0.195502773, 0.00425194856, -0.0504306704, 0.273862094, -0.960446, -0.188934311, 0.941688716, 0.278434128),Alpha) | |
2430 | RH.C0 = clerp(RH.C0,CFrame.new(0.557953715, -1.03419244, -0.293038249, 0.986133933, -0.165894628, 0.00425344985, 0.0502241589, 0.273924351, -0.960439026, 0.158166528, 0.947335124, 0.278457999),Alpha) | |
2431 | LS.C0 = clerp(LS.C0,CFrame.new(-1.50518143, 0.551521897, -0.0714710951, 0.999877751, 0.0137732355, 0.00735067623, -9.81397825e-05, 0.47637102, -0.879244447, -0.0156116877, 0.879136324, 0.476314098),Alpha) | |
2432 | RS.C0 = clerp(RS.C0,CFrame.new(1.4960835, 0.497820318, -0.0970379114, 0.999877751, 0.0137732355, 0.00735067623, -9.81397825e-05, 0.47637102, -0.879244447, -0.0156116877, 0.879136324, 0.476314098),Alpha) | |
2433 | NK.C0 = clerp(NK.C0,CFrame.new(4.35156289e-06, 1.49895275, -0.0144044831, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha) | |
2434 | refit() | |
2435 | end | |
2436 | end | |
2437 | end |