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 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
11 | local Player,game,owner = owner,game | |
12 | local RealPlayer = Player | |
13 | do | |
14 | print("FE Compatibility code by Mokiros") | |
15 | local rp = RealPlayer | |
16 | script.Parent = rp.Character | |
17 | ||
18 | --RemoteEvent for communicating | |
19 | local Event = Instance.new("RemoteEvent") | |
20 | Event.Name = "UserInput_Event" | |
21 | ||
22 | --Fake event to make stuff like Mouse.KeyDown work | |
23 | local function fakeEvent() | |
24 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
25 | t.connect = t.Connect | |
26 | return t | |
27 | end | |
28 | ||
29 | --Creating fake input objects with fake variables | |
30 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
31 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
32 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
33 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
34 | end} | |
35 | --Merged 2 functions into one by checking amount of arguments | |
36 | CAS.UnbindAction = CAS.BindAction | |
37 | ||
38 | --This function will trigger the events that have been :Connect()'ed | |
39 | local function te(self,ev,...) | |
40 | local t = m[ev] | |
41 | if t and t._fakeEvent then | |
42 | for _,f in pairs(t.Functions) do | |
43 | f(...) | |
44 | end | |
45 | end | |
46 | end | |
47 | m.TrigEvent = te | |
48 | UIS.TrigEvent = te | |
49 | ||
50 | Event.OnServerEvent:Connect(function(plr,io) | |
51 | if plr~=rp then return end | |
52 | m.Target = io.Target | |
53 | m.Hit = io.Hit | |
54 | if not io.isMouse then | |
55 | local b = io.UserInputState == Enum.UserInputState.Begin | |
56 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
57 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
58 | end | |
59 | for _,t in pairs(CAS.Actions) do | |
60 | for _,k in pairs(t.Keys) do | |
61 | if k==io.KeyCode then | |
62 | t.Function(t.Name,io.UserInputState,io) | |
63 | end | |
64 | end | |
65 | end | |
66 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
67 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
68 | end | |
69 | end) | |
70 | Event.Parent = NLS([==[ | |
71 | local Player = game:GetService("Players").LocalPlayer | |
72 | local Event = script:WaitForChild("UserInput_Event") | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local UIS = game:GetService("UserInputService") | |
76 | local input = function(io,a) | |
77 | if a then return end | |
78 | --Since InputObject is a client-side instance, we create and pass table instead | |
79 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
80 | end | |
81 | UIS.InputBegan:Connect(input) | |
82 | UIS.InputEnded:Connect(input) | |
83 | ||
84 | local h,t | |
85 | --Give the server mouse data 30 times every second, but only if the values changed | |
86 | --If player is not moving their mouse, client won't fire events | |
87 | while wait(1/30) do | |
88 | if h~=Mouse.Hit or t~=Mouse.Target then | |
89 | h,t=Mouse.Hit,Mouse.Target | |
90 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
91 | end | |
92 | end]==],Player.Character) | |
93 | ||
94 | ----Sandboxed game object that allows the usage of client-side methods and services | |
95 | --Real game object | |
96 | local _rg = game | |
97 | ||
98 | --Metatable for fake service | |
99 | local fsmt = { | |
100 | __index = function(self,k) | |
101 | local s = rawget(self,"_RealService") | |
102 | if s then return s[k] end | |
103 | end, | |
104 | __newindex = function(self,k,v) | |
105 | local s = rawget(self,"_RealService") | |
106 | if s then s[k]=v end | |
107 | end, | |
108 | __call = function(self,...) | |
109 | local s = rawget(self,"_RealService") | |
110 | if s then return s(...) end | |
111 | end | |
112 | } | |
113 | local function FakeService(t,RealService) | |
114 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
115 | return setmetatable(t,fsmt) | |
116 | end | |
117 | ||
118 | --Fake game object | |
119 | local g = { | |
120 | GetService = function(self,s) | |
121 | return self[s] | |
122 | end, | |
123 | Players = FakeService({ | |
124 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
125 | },"Players"), | |
126 | UserInputService = FakeService(UIS,"UserInputService"), | |
127 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
128 | } | |
129 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
130 | g.service = g.GetService | |
131 | ||
132 | g.RunService = FakeService({ | |
133 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
134 | BindToRenderStep = function(self,name,_,fun) | |
135 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
136 | end, | |
137 | UnbindFromRenderStep = function(self,name) | |
138 | self._btrs[name]:Disconnect() | |
139 | end, | |
140 | },"RunService") | |
141 | ||
142 | setmetatable(g,{ | |
143 | __index=function(self,s) | |
144 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
145 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
146 | end, | |
147 | __newindex = fsmt.__newindex, | |
148 | __call = fsmt.__call | |
149 | }) | |
150 | --Changing owner to fake player object to support owner:GetMouse() | |
151 | game,owner = g,g.Players.LocalPlayer | |
152 | end | |
153 | local S = setmetatable({},{__index = function(s,i) return game:service(i) end}) | |
154 | local Plrs = S.Players | |
155 | local Plr = Plrs.LocalPlayer | |
156 | local Char = Plr.Character | |
157 | local Hum = Char:FindFirstChildOfClass'Humanoid' | |
158 | local RArm = Char["Right Arm"] | |
159 | local LArm = Char["Left Arm"] | |
160 | local RLeg = Char["Right Leg"] | |
161 | local LLeg = Char["Left Leg"] | |
162 | local Root = Char:FindFirstChild'HumanoidRootPart' | |
163 | local RootPart = Char["HumanoidRootPart"] | |
164 | local Rooted = false | |
165 | local Torso = Char.Torso | |
166 | local Head = Char.Head | |
167 | local NeutralAnims = true | |
168 | local Attack = false | |
169 | local BloodPuddles = {} | |
170 | local Effects = {} | |
171 | local Debounces = {Debounces={}} | |
172 | local Mouse = Plr:GetMouse() | |
173 | local Hit = {} | |
174 | local Sine = 0 | |
175 | local Idle = 0 | |
176 | local Change = 1 | |
177 | local FLArm,FRArm,FRArmW,FLArmW | |
178 | local Stunned = {} | |
179 | local VoidSB = (game.PlaceId == 843468296) -- You can change the 843468296 to 0 if you dont care about potential lag on Void SB | |
180 | --// Debounce System \\-- | |
181 | ||
182 | ||
183 | function Debounces:New(name,cooldown) | |
184 | local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0} | |
185 | setmetatable(aaaaa,{__index = Debounces}) | |
186 | Debounces.Debounces[name] = aaaaa | |
187 | return aaaaa | |
188 | end | |
189 | ||
190 | function Debounces:Use(overrideUsable) | |
191 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
192 | if(self.Usable or overrideUsable)then | |
193 | self.Usable = false | |
194 | self.CoolingDown = true | |
195 | local LastUse = time() | |
196 | self.LastUse = LastUse | |
197 | delay(self.Cooldown or 2,function() | |
198 | if(self.LastUse == LastUse)then | |
199 | self.CoolingDown = false | |
200 | self.Usable = true | |
201 | end | |
202 | end) | |
203 | end | |
204 | end | |
205 | ||
206 | function Debounces:Get(name) | |
207 | assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name))) | |
208 | for i,v in next, Debounces.Debounces do | |
209 | - | tecks2.Text = "C̸o̶r̵r̵u̷p̶t̶e̸d̸ ̵M̸o̸n̶-i̸k̷a̴" |
209 | + | |
210 | return v; | |
211 | end | |
212 | end | |
213 | end | |
214 | ||
215 | function Debounces:GetProgressPercentage() | |
216 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
217 | if(self.CoolingDown and not self.Usable)then | |
218 | return math.max( | |
219 | math.floor( | |
220 | ( | |
221 | (time()-self.LastUse)/self.Cooldown or 2 | |
222 | )*100 | |
223 | ) | |
224 | ) | |
225 | else | |
226 | return 100 | |
227 | end | |
228 | end | |
229 | ||
230 | --// Shortcut Variables \\-- | |
231 | local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ} | |
232 | local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV} | |
233 | local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis} | |
234 | 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} | |
235 | local R3 = {N=Region3.new} | |
236 | local De = S.Debris | |
237 | local WS = workspace | |
238 | local Lght = S.Lighting | |
239 | local RepS = S.ReplicatedStorage | |
240 | local IN = Instance.new | |
241 | ||
242 | --// Extended ROBLOX tables \\-- | |
243 | 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}) | |
244 | --// Customization \\-- | |
245 | game:GetService("RunService"):BindToRenderStep("ew", 0, function() | |
246 | if Humanoid.Health > 0.1 and Humanoid.Health < 1.0E298 then | |
247 | Humanoid.MaxHealth = 1.0E298 | |
248 | Humanoid.Health = 1.0E298 | |
249 | end | |
250 | end) | |
251 | local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this | |
252 | local Remove_Hats = true | |
253 | local Remove_Clothing = false | |
254 | local PlayerSize = 1 | |
255 | local DamageColor = BrickColor.new'Pink' | |
256 | local MusicID = 1445753925 | |
257 | local MusicPitch = 1 | |
258 | local BloodID = "rbxassetid://51657249" | |
259 | local BloodColor = BrickColor.new'Really black' | |
260 | local BloodMaterial = Enum.Material.Neon | |
261 | local Orin = "http://www.roblox.com/asset/?id=492754352" | |
262 | Head.face.Texture = Orin | |
263 | function weld(a, b, acf) | |
264 | local w = Instance.new("Weld", a) | |
265 | w.Part0 = a | |
266 | w.Part1 = b | |
267 | w.C0 = acf | |
268 | end | |
269 | local righteyebrickcolor = "Lime green" | |
270 | local reye = Instance.new("Part", Char) | |
271 | reye.CanCollide = false | |
272 | reye.BrickColor = BrickColor.new(righteyebrickcolor) | |
273 | reye.Material = "Neon" | |
274 | reye.Size = Vector3.new(.25,.35,.15) | |
275 | weld(reye, Char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0)) | |
276 | m1 = Instance.new("SpecialMesh", reye) | |
277 | m1.MeshType = "Sphere" | |
278 | m1.Scale = Vector3.new(0.9,0.9,0.9) | |
279 | reye.Locked = true | |
280 | reye.Name = "re" | |
281 | ||
282 | local leye = Instance.new("Part", Char) | |
283 | leye.CanCollide = false | |
284 | leye.BrickColor = BrickColor.new(righteyebrickcolor) | |
285 | leye.Material = "Neon" | |
286 | leye.Size = Vector3.new(.25,.35,.15) | |
287 | weld(leye, Char.Head, CFrame.new(-0.15,-0.2,0.55), CFrame.new(1,0,0)) | |
288 | local m = Instance.new("SpecialMesh", leye) | |
289 | m.MeshType = "Sphere" | |
290 | m.Scale = Vector3.new(0.9,0.9,0.9) | |
291 | leye.Locked = true | |
292 | leye.Name = "le" | |
293 | local Aura = Instance.new('ParticleEmitter') | |
294 | Aura.Name = "Aura" | |
295 | Aura.Texture = "rbxassetid://141116476" | |
296 | Aura.Parent = reye | |
297 | Aura.LightEmission = 1 | |
298 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
299 | Aura.Color = ColorSequence.new(Color3.new(0/255, 255/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
300 | Aura.Size = NumberSequence.new(0.5,0.4,0.2) | |
301 | Aura.LockedToPart = false | |
302 | Aura.Lifetime = NumberRange.new(2) | |
303 | Aura.Rate = 99 | |
304 | Aura.Speed = NumberRange.new(1) | |
305 | Aura.EmissionDirection = "Top" | |
306 | for i,v in pairs(Char:GetChildren()) do | |
307 | if v.ClassName == "Accessory" or v.ClassName == "Hat" then | |
308 | v:destroy() | |
309 | end | |
310 | end | |
311 | local Hair = Instance.new("Part") | |
312 | Hair.Parent = Char | |
313 | Hair.Name = "Hair" | |
314 | Hair.Size = Vector3.new(0.1, 0.1, 0.1) | |
315 | Hair.CFrame = Char.Head.CFrame | |
316 | Hair:BreakJoints() | |
317 | Hair.CanCollide = false | |
318 | Hair.BrickColor = BrickColor.new("New Yeller") | |
319 | Hair.TopSurface = "Smooth" | |
320 | Hair.BottomSurface = "Smooth" | |
321 | Weld = Instance.new("Weld") | |
322 | Weld.Name = "Weld" | |
323 | Weld.Part0 = Char.Head | |
324 | Weld.Part1 = Hair | |
325 | Weld.Parent = Char.Head | |
326 | Weld.C0 = CFrame.new(-0.1, -0.71, 0.8)*CFrame.fromEulerAnglesXYZ(0, 3, 0) | |
327 | Mesh = Instance.new("SpecialMesh") | |
328 | Mesh.Parent = Hair | |
329 | Mesh.MeshId = "rbxassetid://731142602" | |
330 | Mesh.TextureId = "http://www.roblox.com/asset/?id=1332227116" | |
331 | Mesh.Scale = Vector3.new(0.25, 0.21, 0.2) | |
332 | ||
333 | shirt = Instance.new("Shirt", Char) | |
334 | shirt.Name = "Shirt" | |
335 | pants = Instance.new("Pants", Char) | |
336 | pants.Name = "Pants" | |
337 | Char.Shirt.ShirtTemplate = "rbxassetid://1298116952" | |
338 | Char.Pants.PantsTemplate = "rbxassetid://1340645290" | |
339 | ||
340 | local naeeym2 = Instance.new("BillboardGui",Char) | |
341 | naeeym2.AlwaysOnTop = true | |
342 | naeeym2.Size = UDim2.new(5,35,2,35) | |
343 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
344 | naeeym2.Adornee = Char.Head | |
345 | naeeym2.Name = "Name" | |
346 | --naeeym2.PlayerToHideFrom = Player | |
347 | naeeym2.MaxDistance = 200 | |
348 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
349 | tecks2.BackgroundTransparency = 1 | |
350 | tecks2.TextScaled = true | |
351 | tecks2.BorderSizePixel = 0 | |
352 | tecks2.Text = "Corrupted–Monika" | |
353 | tecks2.Font = "Garamond" | |
354 | tecks2.TextSize = 30 | |
355 | tecks2.TextStrokeTransparency = 0 | |
356 | tecks2.TextColor3 = Color3.new(0,0,0) | |
357 | tecks2.TextStrokeColor3 = Color3.new(10,0,10) | |
358 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
359 | tecks2.Parent = naeeym2 | |
360 | ||
361 | ||
362 | local Moosic = Instance.new("Sound",Char) | |
363 | Moosic.Volume = 5999 | |
364 | Moosic.SoundId = "rbxassetid://1251489217" | |
365 | Moosic.Looped = true | |
366 | Moosic.Pitch = 1 --Pitcher | |
367 | ||
368 | local Music1 = Instance.new("Sound",Char) | |
369 | Music1.Volume = 5999 | |
370 | Music1.SoundId = "rbxassetid://1202052536" | |
371 | Music1.Looped = true | |
372 | Music1.Pitch = 1 --Pitcher | |
373 | Music1.TimePosition = 100 | |
374 | ||
375 | local Music2 = Instance.new("Sound",Char) | |
376 | Music2.Volume = 5999 | |
377 | Music2.SoundId = "rbxassetid://1374158689" | |
378 | Music2.Looped = true | |
379 | Music2.Pitch = 1 --Pitcher | |
380 | ||
381 | local Music3 = Instance.new("Sound",Char) | |
382 | Music3.Volume = 5999 | |
383 | Music3.SoundId = "rbxassetid://1325283155" | |
384 | Music3.Looped = true | |
385 | Music3.Pitch = 1 --Pitcher | |
386 | ||
387 | local Music4 = Instance.new("Sound",Char) | |
388 | Music4.Volume = 5999 | |
389 | Music4.SoundId = "rbxassetid://1581873125" | |
390 | Music4.Looped = true | |
391 | Music4.Pitch = 1 --Pitcher | |
392 | ||
393 | local Music5 = Instance.new("Sound",Char) | |
394 | Music5.Volume = 5999 | |
395 | Music5.SoundId = "rbxassetid://346746675" | |
396 | Music5.Looped = true | |
397 | Music5.Pitch = 1 --Pitcher | |
398 | ||
399 | local Music6 = Instance.new("Sound",Char) | |
400 | Music6.Volume = 5999 | |
401 | Music6.SoundId = "rbxassetid://1180904313" | |
402 | Music6.Looped = true | |
403 | Music6.Pitch = 1 --Pitcher | |
404 | ||
405 | local Creep = Instance.new("Sound",Char) | |
406 | Creep.Volume = 5999 | |
407 | Creep.SoundId = "rbxassetid://1383651657" | |
408 | Creep.Looped = true | |
409 | Creep.Pitch = 1 --Pitcher | |
410 | ||
411 | function chatfunc(text) | |
412 | local chat = coroutine.wrap(function() | |
413 | if Char:FindFirstChild("TalkingBillBoard")~= nil then | |
414 | Char:FindFirstChild("TalkingBillBoard"):destroy() | |
415 | end | |
416 | local Bill = Instance.new("BillboardGui",Char) | |
417 | Bill.Size = UDim2.new(0,100,0,40) | |
418 | Bill.StudsOffset = Vector3.new(0,3,0) | |
419 | Bill.Adornee = Char.Head | |
420 | Bill.Name = "TalkingBillBoard" | |
421 | local Hehe = Instance.new("TextLabel",Bill) | |
422 | Hehe.BackgroundTransparency = 1 | |
423 | Hehe.BorderSizePixel = 0 | |
424 | Hehe.Text = "" | |
425 | Hehe.Font = "Antique" | |
426 | Hehe.TextSize = 40 | |
427 | Hehe.TextStrokeTransparency = 0 | |
428 | Hehe.Size = UDim2.new(1,0,0.5,0) | |
429 | coroutine.resume(coroutine.create(function() | |
430 | while Hehe ~= nil do | |
431 | swait() | |
432 | Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
433 | Hehe.Rotation = math.random(-5,5) | |
434 | Hehe.TextColor3 = Color3.new(255,0,250) | |
435 | Hehe.TextStrokeColor3 = Color3.new(255,255,255) | |
436 | end | |
437 | end)) | |
438 | for i = 1,string.len(text),1 do | |
439 | swait() | |
440 | Hehe.Text = string.sub(text,1,i) | |
441 | end | |
442 | swait(90)--Re[math.random(1, 93)] | |
443 | for i = 0, 1, .025 do | |
444 | swait() | |
445 | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) | |
446 | Hehe.TextStrokeTransparency = i | |
447 | Hehe.TextTransparency = i | |
448 | end | |
449 | Bill:Destroy() | |
450 | end) | |
451 | chat() | |
452 | end | |
453 | --// Weapon and GUI creation, and Character Customization \\-- | |
454 | ||
455 | if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end | |
456 | if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end | |
457 | local Effects = IN("Folder",Char) | |
458 | Effects.Name = "Effects" | |
459 | ||
460 | New = function(Object, Parent, Name, Data) | |
461 | local Object = Instance.new(Object) | |
462 | for Index, Value in pairs(Data or {}) do | |
463 | Object[Index] = Value | |
464 | end | |
465 | Object.Parent = Parent | |
466 | Object.Name = Name | |
467 | return Object | |
468 | end | |
469 | ||
470 | Circle = nil | |
471 | CircleParts = {} | |
472 | Equipped = false | |
473 | ||
474 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
475 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) | |
476 | end | |
477 | Humanoid = Char:FindFirstChildOfClass("Humanoid") | |
478 | Torso = Char:FindFirstChild("Torso") | |
479 | if not Plr or not Humanoid or Humanoid.Health == 0 or not Torso then | |
480 | return | |
481 | end | |
482 | Equipped = true | |
483 | Circle = Instance.new("Model") | |
484 | Circle.Name = "Circle" | |
485 | Angle = 0 | |
486 | for i = 1, 1 do | |
487 | local CirclePart = Instance.new("Part") | |
488 | CirclePart.Name = "CirclePart" | |
489 | CirclePart.Transparency = 1 | |
490 | CirclePart.BrickColor = BrickColor.new("Really black") | |
491 | CirclePart.Material = Enum.Material.Plastic | |
492 | CirclePart.Shape = Enum.PartType.Block | |
493 | CirclePart.FormFactor = Enum.FormFactor.Custom | |
494 | CirclePart.TopSurface = Enum.SurfaceType.Smooth | |
495 | CirclePart.BottomSurface = Enum.SurfaceType.Smooth | |
496 | CirclePart.Anchored = true | |
497 | CirclePart.CanCollide = false | |
498 | CirclePart.Locked = true | |
499 | CirclePart.Size = Vector3.new(10, 0.2, 10) | |
500 | local Aura = Instance.new('ParticleEmitter') | |
501 | Aura.Name = "Aura" | |
502 | Aura.Texture = "rbxassetid://51657249" | |
503 | Aura.Parent = CirclePart | |
504 | Aura.LightEmission = 0 | |
505 | Aura.Transparency = NumberSequence.new(0.2,0.4,1) | |
506 | Aura.Color = ColorSequence.new(Color3.new(0/255, 255/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
507 | Aura.Size = NumberSequence.new(1.2,0.9,0.8) | |
508 | Aura.LockedToPart = false | |
509 | Aura.Lifetime = NumberRange.new(2) | |
510 | Aura.Rate = 60 | |
511 | Aura.Speed = NumberRange.new(2.5) | |
512 | Aura.SpreadAngle = Vector2.new(360,360) | |
513 | local BlockMesh = Instance.new("BlockMesh") | |
514 | BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1) | |
515 | BlockMesh.Parent = CirclePart | |
516 | CirclePart.Parent = Circle | |
517 | local Star = Instance.new("Decal", CirclePart) | |
518 | Star.Texture = "http://www.roblox.com/asset/?id=1346256339" | |
519 | Star.Face = "Top" | |
520 | local Light = Instance.new("PointLight", CirclePart) | |
521 | Light.Color = Color3.new(0,.20,0) | |
522 | Light.Brightness = 100 | |
523 | Light.Range = 15 | |
524 | table.insert(CircleParts, CirclePart) | |
525 | end | |
526 | Spawn(function() | |
527 | while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do | |
528 | if Angle == 360 then | |
529 | Angle = 0 | |
530 | end | |
531 | Angle = Angle + 0.05 | |
532 | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Char}) | |
533 | if Hit then | |
534 | if not Circle.Parent then | |
535 | Circle.Parent = Char | |
536 | end | |
537 | for i, v in pairs(CircleParts) do | |
538 | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) | |
539 | end | |
540 | else | |
541 | Circle.Parent = nil | |
542 | end | |
543 | wait() | |
544 | end | |
545 | end) | |
546 | ||
547 | ||
548 | CyborgArm = New("Model",Char,"CyborgArm",{}) | |
549 | 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,}) | |
550 | 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),}) | |
551 | 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,}) | |
552 | 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),}) | |
553 | 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,}) | |
554 | 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),}) | |
555 | 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,}) | |
556 | 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),}) | |
557 | 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}) | |
558 | 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),}) | |
559 | 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),}) | |
560 | 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,}) | |
561 | 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),}) | |
562 | 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,}) | |
563 | 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),}) | |
564 | 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,}) | |
565 | 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),}) | |
566 | 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,}) | |
567 | 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),}) | |
568 | 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,}) | |
569 | 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),}) | |
570 | ||
571 | for _,v in next, CyborgArm:children() do | |
572 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
573 | end | |
574 | Arm = New("Model",Char,"Arm",{}) | |
575 | 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,}) | |
576 | 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,}) | |
577 | local Aura = Instance.new('ParticleEmitter') | |
578 | Aura.Name = "Aura" | |
579 | Aura.Texture = "rbxassetid://29553714" | |
580 | Aura.Parent = Handle | |
581 | Aura.LightEmission = 0 | |
582 | Aura.Transparency = NumberSequence.new(0.2,0.4,1) | |
583 | Aura.Color = ColorSequence.new(Color3.new(0/255, 255/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
584 | Aura.Size = NumberSequence.new(0.5,0.4,0.2) | |
585 | Aura.LockedToPart = true | |
586 | Aura.Lifetime = NumberRange.new(2) | |
587 | Aura.Rate = 1000 | |
588 | Aura.Speed = NumberRange.new(0.3) | |
589 | Aura.SpreadAngle = Vector2.new(360,360) | |
590 | local Aura2 = Instance.new('ParticleEmitter') | |
591 | Aura2.Name = "Aura2" | |
592 | Aura2.Texture = "rbxassetid://73050819" | |
593 | Aura2.Parent = Handle | |
594 | Aura2.LightEmission = 0 | |
595 | Aura2.Transparency = NumberSequence.new(0.2,0.,1) | |
596 | Aura2.Color = ColorSequence.new(Color3.new(0/255, 255/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
597 | Aura2.Size = NumberSequence.new(0.3,0.2,0.1) | |
598 | Aura2.LockedToPart = true | |
599 | Aura2.Lifetime = NumberRange.new(2) | |
600 | Aura2.Rate = 1000 | |
601 | Aura2.Speed = NumberRange.new(0.2) | |
602 | Aura2.SpreadAngle = Vector2.new(360,360) | |
603 | 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,}) | |
604 | 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),}) | |
605 | for _,v in next, Arm:children() do | |
606 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
607 | end | |
608 | ||
609 | pcall(function() Char.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Carnation pink' Char.ReaperShadowHead.Eye1.Material = 'Glass' end) | |
610 | pcall(function() Char.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Carnation pink' Char.ReaperShadowHead.Eye2.Material = 'Glass' end) | |
611 | pcall(function() Char.LeftWing.BrickColor = BrickColor.new'Carnation pink' Char.LeftWing.Transparency = 0.5 end) | |
612 | ||
613 | ||
614 | if(PlayerSize ~= 1)then | |
615 | for _,v in next, Char:GetDescendats() do | |
616 | if(v:IsA'BasePart')then | |
617 | v.Size = v.Size * PlayerSize | |
618 | end | |
619 | end | |
620 | end | |
621 | ||
622 | --// Instance Creation Functions \\-- | |
623 | ||
624 | function Sound(parent,id,pitch,volume,looped,effect,autoPlay) | |
625 | local Sound = IN("Sound") | |
626 | Sound.SoundId = "rbxassetid://".. tostring(id or 0) | |
627 | Sound.Pitch = pitch or 1 | |
628 | Sound.Volume = volume or 1 | |
629 | Sound.Looped = looped or false | |
630 | if(autoPlay)then | |
631 | coroutine.wrap(function() | |
632 | repeat wait() until Sound.IsLoaded | |
633 | Sound.Playing = autoPlay or false | |
634 | end)() | |
635 | end | |
636 | if(not looped and effect)then | |
637 | Sound.Ended:connect(function() | |
638 | Sound.Volume = 0 | |
639 | Sound:destroy() | |
640 | end) | |
641 | elseif(effect)then | |
642 | warn("Sound can't be looped and a sound effect!") | |
643 | end | |
644 | Sound.Parent =parent or Char | |
645 | return Sound | |
646 | end | |
647 | warn("Edit by deivis97") | |
648 | function Part(parent,color,material,size,cframe,anchored,cancollide) | |
649 | local part = IN("Part") | |
650 | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0) | |
651 | part.Material = material or Enum.Material.SmoothPlastic | |
652 | part.TopSurface,part.BottomSurface=10,10 | |
653 | part.Size = size or V3.N(1,1,1) | |
654 | part.CFrame = cframe or CF.N(0,0,0) | |
655 | part.CanCollide = cancollide or false | |
656 | part.Anchored = anchored or false | |
657 | part.Parent = parent or Char | |
658 | return part | |
659 | end | |
660 | ||
661 | function Mesh(parent,meshtype,meshid,textid,scale,offset) | |
662 | local part = IN("SpecialMesh") | |
663 | part.MeshId = meshid or "" | |
664 | part.TextureId = textid or "" | |
665 | part.Scale = scale or V3.N(1,1,1) | |
666 | part.Offset = offset or V3.N(0,0,0) | |
667 | part.MeshType = meshtype or Enum.MeshType.Sphere | |
668 | part.Parent = parent | |
669 | return part | |
670 | end | |
671 | ||
672 | NewInstance = function(instance,parent,properties) | |
673 | local inst = Instance.new(instance,parent) | |
674 | if(properties)then | |
675 | for i,v in next, properties do | |
676 | pcall(function() inst[i] = v end) | |
677 | end | |
678 | end | |
679 | return inst; | |
680 | end | |
681 | ||
682 | --// Music Creation \\-- | |
683 | local Music = Sound(Char,MusicID,MusicPitch,9,true,false,true) | |
684 | Music.Name = 'Music' | |
685 | ||
686 | --// Stop animations \\-- | |
687 | for _,v in next, Hum:GetPlayingAnimationTracks() do | |
688 | v:Stop(); | |
689 | end | |
690 | ||
691 | pcall(game.Destroy,Char:FindFirstChild'Animate') | |
692 | pcall(game.Destroy,Hum:FindFirstChild'Animator') | |
693 | ||
694 | --// Joints \\-- | |
695 | ||
696 | 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)}) | |
697 | 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)}) | |
698 | local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)}) | |
699 | local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) | |
700 | local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) | |
701 | local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso}) | |
702 | local HW = NewInstance('Motor',Char,{Part0=Handle,Part1=RArm}) | |
703 | ||
704 | local LSC0 = LS.C0 | |
705 | local RSC0 = RS.C0 | |
706 | local NKC0 = NK.C0 | |
707 | local LHC0 = LH.C0 | |
708 | local RHC0 = RH.C0 | |
709 | local RJC0 = RJ.C0 | |
710 | ||
711 | --// Artificial HB \\-- | |
712 | ||
713 | local ArtificialHB = IN("BindableEvent", script) | |
714 | ArtificialHB.Name = "Heartbeat" | |
715 | ||
716 | script:WaitForChild("Heartbeat") | |
717 | ||
718 | local tf = 0 | |
719 | local allowframeloss = false | |
720 | local tossremainder = false | |
721 | local lastframe = tick() | |
722 | local frame = 1/Frame_Speed | |
723 | ArtificialHB:Fire() | |
724 | ||
725 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
726 | tf = tf + s | |
727 | if tf >= frame then | |
728 | if allowframeloss then | |
729 | script.Heartbeat:Fire() | |
730 | lastframe = tick() | |
731 | else | |
732 | for i = 1, math.floor(tf / frame) do | |
733 | ArtificialHB:Fire() | |
734 | end | |
735 | lastframe = tick() | |
736 | end | |
737 | if tossremainder then | |
738 | tf = 0 | |
739 | else | |
740 | tf = tf - frame * math.floor(tf / frame) | |
741 | end | |
742 | end | |
743 | end) | |
744 | ||
745 | function swait(num) | |
746 | if num == 0 or num == nil then | |
747 | ArtificialHB.Event:wait() | |
748 | else | |
749 | for i = 0, num do | |
750 | ArtificialHB.Event:wait() | |
751 | end | |
752 | end | |
753 | end | |
754 | ||
755 | ||
756 | --// Effect Function(s) \\-- | |
757 | ||
758 | function FakeWeld(p0,p1) | |
759 | local attachment0 = Instance.new('Attachment',p0) | |
760 | local attachment1 = Instance.new('Attachment',p1) | |
761 | return NewInstance("HingeConstraint",p0,{Attachment0=attachment0,Attachment1=attachment1,LimitsEnabled=true,UpperAngle=0,LowerAngle=0}) | |
762 | end | |
763 | ||
764 | function Fragment(v) | |
765 | v:ClearAllChildren() | |
766 | local Fragments = NewInstance("Folder",v.Parent,{Name='Fragmentation'}) | |
767 | v.Archivable = true | |
768 | -- X | |
769 | v.Size = Vector3.new(v.Size.x/2,v.Size.y,v.Size.z) | |
770 | v.Name = v.Name.."Fragment" | |
771 | ||
772 | local a = v:Clone() | |
773 | a.Parent = Fragments | |
774 | a.CFrame = CF.N(-.5,1,1) * a.CFrame | |
775 | v.CFrame = CF.N(.5,1,1) * v.CFrame | |
776 | -- Y | |
777 | v.Size = Vector3.new(v.Size.x,v.Size.y/2,v.Size.z) | |
778 | ||
779 | local a = v:Clone() | |
780 | a.Parent = Fragments | |
781 | a.CFrame = CF.N(1,-.5,1) * a.CFrame | |
782 | v.CFrame = CF.N(1,.5,1) * v.CFrame | |
783 | -- Z | |
784 | v.Size = Vector3.new(v.Size.x,v.Size.y,v.Size.z/2) | |
785 | ||
786 | local a = v:Clone() | |
787 | a.Parent = Fragments | |
788 | a.CFrame = CF.N(1,1,-.5) * a.CFrame | |
789 | v.CFrame = CF.N(1,1,.5) * v.CFrame | |
790 | ||
791 | v.Parent = Fragments | |
792 | return Fragments | |
793 | end | |
794 | ||
795 | local blood = NewInstance("ParticleEmitter",nil,{ | |
796 | Color = ColorSequence.new(Color3.new(0/255, 255/255, 0/255),Color3.new(0/255, 50/255, 0/255)), | |
797 | LightEmission=.1, | |
798 | LightInfluence=1, | |
799 | ZOffset=.9, | |
800 | Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)}, | |
801 | Texture="rbxassetid://51657249", | |
802 | Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}, | |
803 | Acceleration = V3.N(0,-15,0), | |
804 | Lifetime = NumberRange.new(1,2), | |
805 | Rate=50, | |
806 | Speed = NumberRange.new(5,15), | |
807 | SpreadAngle = Vector2.new(15,15), | |
808 | Enabled = false, | |
809 | EmissionDirection = 'Back', | |
810 | }) | |
811 | ||
812 | local blood2 = NewInstance("ParticleEmitter",nil,{ | |
813 | Color = ColorSequence.new(Color3.new(0/255, 255/255, 0/255),Color3.new(0/255, 50/255, 0/255)), | |
814 | LightEmission=.1, | |
815 | LightInfluence=1, | |
816 | ZOffset=.9, | |
817 | Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)}, | |
818 | Texture=BloodID, | |
819 | Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}, | |
820 | Acceleration = V3.N(0,-125,0), | |
821 | Lifetime = NumberRange.new(1,2), | |
822 | Rate=50, | |
823 | Speed = NumberRange.new(5,15), | |
824 | SpreadAngle = Vector2.new(15,15), | |
825 | Enabled = false, | |
826 | EmissionDirection = 'Back', | |
827 | }) | |
828 | ||
829 | local blood3 = NewInstance("ParticleEmitter",nil,{ | |
830 | Color = ColorSequence.new(Color3.new(0/255, 255/255, 0/255),Color3.new(0/255, 50/255, 0/255)), | |
831 | Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)}, | |
832 | Texture=BloodID, | |
833 | Lifetime = NumberRange.new(.4), | |
834 | Rate=50, | |
835 | LockedToPart=true, | |
836 | Speed = NumberRange.new(0,2), | |
837 | Enabled = false, | |
838 | }) | |
839 | ||
840 | function Blood(size,cframe,amount) | |
841 | local part = Instance.new("Part",Effects) | |
842 | part.Transparency = 1 | |
843 | part.Size = size | |
844 | part.Anchored = true | |
845 | part.CanCollide = false | |
846 | part.CFrame = cframe | |
847 | S.Debris:AddItem(part,6) | |
848 | local prtcl = blood:Clone() | |
849 | prtcl.Parent = part | |
850 | prtcl:Emit(amount) | |
851 | return part, prtcl | |
852 | end | |
853 | ||
854 | function Blood2(size,cframe) | |
855 | local part = Instance.new("Part",Effects) | |
856 | part.Transparency = 1 | |
857 | part.Size = size | |
858 | part.Anchored = false | |
859 | part.CanCollide = false | |
860 | part.CFrame = cframe | |
861 | local prtcl = blood:Clone() | |
862 | prtcl.Enabled = true | |
863 | prtcl.Parent = part | |
864 | return part, prtcl | |
865 | end | |
866 | ||
867 | function Blood3(size,cframe,amount) | |
868 | local part = Instance.new("Part",Effects) | |
869 | part.Transparency = 1 | |
870 | part.Size = size | |
871 | part.Anchored = true | |
872 | part.CanCollide = false | |
873 | part.CFrame = cframe | |
874 | S.Debris:AddItem(part,6) | |
875 | local prtcl = blood2:Clone() | |
876 | prtcl.Parent = part | |
877 | prtcl:Emit(amount) | |
878 | return part, prtcl | |
879 | end | |
880 | ||
881 | function Blood4(size,cframe) | |
882 | local part = Instance.new("Part",Effects) | |
883 | part.Transparency = 1 | |
884 | part.Size = size | |
885 | part.Anchored = false | |
886 | part.CanCollide = false | |
887 | part.CFrame = cframe | |
888 | local prtcl = blood2:Clone() | |
889 | prtcl.Enabled = true | |
890 | prtcl.Parent = part | |
891 | return part, prtcl | |
892 | end | |
893 | ||
894 | ||
895 | function BloodDrop(pos,dir,maxsize) | |
896 | if(game.PlaceId ~= 843468296)then | |
897 | local owo = NewInstance("Part",Effects,{Transparency=0,Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.2,.2,.2), CanCollide = false}) | |
898 | owo.CFrame=CF.N(pos,dir) | |
899 | local bv = Instance.new("BodyVelocity",owo) | |
900 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
901 | 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 | |
902 | bv.Name = "MOVE" | |
903 | local prt = blood3:Clone() | |
904 | prt.Parent = owo | |
905 | prt.Enabled = true | |
906 | delay(.01, function() bv:destroy() end) | |
907 | local touch; | |
908 | touch = owo.Touched:connect(function(hit) | |
909 | if(hit.Anchored==true and hit.CanCollide and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then | |
910 | touch:disconnect() | |
911 | BloodPuddle(owo.Position+V3.N(0,1,0),100,maxsize,owo) | |
912 | owo:destroy() | |
913 | end | |
914 | end) | |
915 | end | |
916 | end | |
917 | ||
918 | function BloodPuddle(position,range,maxSize,where) | |
919 | local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new( | |
920 | position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range | |
921 | ),{where,Char},false,true) | |
922 | if(hit and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then | |
923 | if(hit.Name == 'BloodPuddle')then | |
924 | local dist = (position - hit.Position).magnitude | |
925 | 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 | |
926 | --hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1) | |
927 | hit.Size = hit.Size + V3.N(.1,0,.1) | |
928 | end | |
929 | if(hit.Size.Z < 2)then | |
930 | pcall(function() hit.Sound:Play() end) | |
931 | end | |
932 | else | |
933 | 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'}) | |
934 | local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'}) | |
935 | Sound(Puddle,685857471,1,2,false,false,true) | |
936 | coroutine.wrap(function() | |
937 | swait(75) | |
938 | repeat | |
939 | swait() | |
940 | Puddle.Size = Puddle.Size - V3.N(.02,0,.02) | |
941 | until Puddle.Size.Z < 0.51 | |
942 | Puddle:destroy() | |
943 | end)() | |
944 | end | |
945 | end | |
946 | end | |
947 | ||
948 | function recurse(root,callback,i) | |
949 | i= i or 0 | |
950 | for _,v in pairs(root:GetChildren()) do | |
951 | i = i + 1 | |
952 | callback(i,v) | |
953 | ||
954 | if #v:GetChildren() > 0 then | |
955 | i = recurse(v,callback,i) | |
956 | end | |
957 | end | |
958 | ||
959 | return i | |
960 | end | |
961 | ||
962 | function ragdollJoint(Character, part0, part1, attachmentName, className, properties) -- thanks mustardfat im too lazy | |
963 | if Character:FindFirstChild("RagdollConstraint"..part1.Name) == nil then | |
964 | for i,v in pairs(Character:GetChildren()) do | |
965 | 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 | |
966 | v.Size = Vector3.new(1,1,1) | |
967 | end | |
968 | end | |
969 | if part1:FindFirstChildOfClass('Motor6D') then | |
970 | part1:FindFirstChildOfClass('Motor6D'):Remove() | |
971 | end | |
972 | if attachmentName ~= "NeckAttachment" then | |
973 | attachmentName = attachmentName.."RigAttachment" | |
974 | end | |
975 | local constraint = Instance.new(className.."Constraint") | |
976 | constraint.Attachment0 = part0:FindFirstChild(attachmentName) | |
977 | constraint.Attachment1 = part1:FindFirstChild(attachmentName) | |
978 | constraint.Name = "RagdollConstraint"..part1.Name | |
979 | if Character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
980 | local collidepart = Instance.new('Part',part1) | |
981 | collidepart.Size = part1.Size/2 | |
982 | if string.find(string.lower(part1.Name),"upper") then | |
983 | if string.find(string.lower(part1.Name),"leg") then | |
984 | collidepart.Size = part1.Size/3 | |
985 | else | |
986 | collidepart.Size = part1.Size/2.5 | |
987 | end | |
988 | end | |
989 | collidepart.CanCollide = true | |
990 | collidepart.Name = "RagdollJoint" | |
991 | collidepart.Anchored = false | |
992 | collidepart.Transparency = 1 | |
993 | collidepart.CFrame = part1.CFrame | |
994 | collidepart:BreakJoints() | |
995 | local attachment0 = Instance.new('Attachment',part1) | |
996 | local attachment1 = Instance.new('Attachment',collidepart) | |
997 | if attachment0 and attachment1 then | |
998 | local constraint = Instance.new("HingeConstraint") | |
999 | constraint.Attachment0 = attachment0 | |
1000 | constraint.Attachment1 = attachment1 | |
1001 | constraint.LimitsEnabled = true | |
1002 | constraint.UpperAngle = 0 | |
1003 | constraint.LowerAngle = 0 | |
1004 | constraint.Parent = Character | |
1005 | end | |
1006 | if string.find(string.lower(part1.Name),"upper") then | |
1007 | if string.find(string.lower(part1.Name),"leg") then | |
1008 | attachment0.Position = Vector3.new(0,0.01,0) | |
1009 | else | |
1010 | attachment0.Position = Vector3.new(0,0.25,0) | |
1011 | end | |
1012 | else | |
1013 | attachment0.Position = Vector3.new(0,-0.1,0) | |
1014 | end | |
1015 | end | |
1016 | for _,propertyData in next,properties or {} do | |
1017 | constraint[propertyData[1]] = propertyData[2] | |
1018 | end | |
1019 | constraint.Parent = Character | |
1020 | return constraint | |
1021 | end | |
1022 | end | |
1023 | ||
1024 | ||
1025 | function getAttachment0(Character,attachmentName) | |
1026 | for _,child in next,Character:children() do | |
1027 | local attachment = child:FindFirstChild(attachmentName) | |
1028 | if attachment then | |
1029 | return attachment | |
1030 | end | |
1031 | end | |
1032 | end | |
1033 | ||
1034 | ||
1035 | function Ragdoll(who,half,snapped) | |
1036 | pcall(function() | |
1037 | who:breakJoints() | |
1038 | local who = who | |
1039 | local hhh = who:FindFirstChildOfClass'Humanoid' | |
1040 | local t = GetTorso(who) | |
1041 | pcall(function() | |
1042 | who.HumanoidRootPart:destroy() | |
1043 | end) | |
1044 | hhh.Health = 0 | |
1045 | Stunned[who] = true | |
1046 | if(hhh.RigType == Enum.HumanoidRigType.R6)then | |
1047 | 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' | |
1048 | pcall(function() | |
1049 | if(hhh.Health > 0)then local CollideRA = NewInstance('Part',who,{Size=RA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'}) | |
1050 | FakeWeld(RA,CollideRA) end | |
1051 | local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()}) | |
1052 | local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()}) | |
1053 | local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2}) | |
1054 | end) | |
1055 | pcall(function() | |
1056 | local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()}) | |
1057 | local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()}) | |
1058 | ||
1059 | local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2}) | |
1060 | ||
1061 | if(hhh.Health > 0)then local CollideLA = NewInstance('Part',who,{Size=LA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'}) | |
1062 | FakeWeld(LA,CollideLA) end | |
1063 | end) | |
1064 | pcall(function() | |
1065 | if(HD)then | |
1066 | local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()}) | |
1067 | local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()}) | |
1068 | local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()}) | |
1069 | local HC = NewInstance('HingeConstraint',t,{LimitsEnabled=true,UpperAngle=50,LowerAngle=-50,Attachment0=NJ,Attachment1=NJ2}) | |
1070 | ||
1071 | if(snapped)then | |
1072 | NJ.Orientation = V3.N(0,90,0) | |
1073 | end | |
1074 | if(hhh.Health > 0)then | |
1075 | local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'}) | |
1076 | FakeWeld(HD,CollideHD) | |
1077 | end | |
1078 | end | |
1079 | end) | |
1080 | if(not half)then | |
1081 | local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()}) | |
1082 | local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()}) | |
1083 | local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()}) | |
1084 | local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()}) | |
1085 | local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2}) | |
1086 | local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2}) | |
1087 | if(hhh.Health > 0)then local CollideRL = NewInstance('Part',who,{Size=RL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'}) | |
1088 | local CollideLL = NewInstance('Part',who,{Size=LL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'}) | |
1089 | ||
1090 | FakeWeld(RL,CollideRL) | |
1091 | FakeWeld(LL,CollideLL) end | |
1092 | end | |
1093 | for _,v in next, who:children() do | |
1094 | if(v:IsA'BasePart')then | |
1095 | v.CanCollide = true | |
1096 | end | |
1097 | end | |
1098 | else | |
1099 | local Character = who | |
1100 | ||
1101 | if(half)then | |
1102 | pcall(function() | |
1103 | Character.UpperTorso.WaistRigAttachment:Destroy() | |
1104 | end) | |
1105 | end | |
1106 | ||
1107 | local handProperties = { | |
1108 | {"LimitsEnabled", true}; | |
1109 | {"UpperAngle",0}; | |
1110 | {"LowerAngle",0}; | |
1111 | } | |
1112 | local footProperties = { | |
1113 | {"LimitsEnabled", true}; | |
1114 | {"UpperAngle", 15}; | |
1115 | {"LowerAngle", -45}; | |
1116 | } | |
1117 | local shinProperties = { | |
1118 | {"LimitsEnabled", true}; | |
1119 | {"UpperAngle", 0}; | |
1120 | {"LowerAngle", -75}; | |
1121 | } | |
1122 | if Character:FindFirstChild('RightLowerArm') and Character:FindFirstChild('RightHand') then | |
1123 | ragdollJoint(Character,Character.RightLowerArm, Character.RightHand, "RightWrist", "Hinge", handProperties) | |
1124 | end | |
1125 | if Character:FindFirstChild('UpperTorso') and Character:FindFirstChild('RightUpperArm') then | |
1126 | ragdollJoint(Character, Character.UpperTorso, Character["RightUpperArm"], "RightShoulder", "BallSocket") | |
1127 | end | |
1128 | if Character:FindFirstChild('RightUpperArm') and Character:FindFirstChild('RightLowerArm') then | |
1129 | ragdollJoint(Character, Character.RightUpperArm, Character.RightLowerArm, "RightElbow", "BallSocket") | |
1130 | end | |
1131 | if Character:FindFirstChild('LeftLowerArm') and Character:FindFirstChild('LeftHand') then | |
1132 | ragdollJoint(Character,Character.LeftLowerArm, Character.LeftHand, "LeftWrist", "Hinge", handProperties) | |
1133 | end | |
1134 | if Character:FindFirstChild('UpperTorso') and Character:FindFirstChild('LeftUpperArm') then | |
1135 | ragdollJoint(Character, Character.UpperTorso, Character["LeftUpperArm"], "LeftShoulder", "BallSocket") | |
1136 | end | |
1137 | if Character:FindFirstChild('LeftUpperArm') and Character:FindFirstChild('LeftLowerArm') then | |
1138 | ragdollJoint(Character, Character.LeftUpperArm, Character.LeftLowerArm, "LeftElbow", "BallSocket") | |
1139 | end | |
1140 | if Character:FindFirstChild('RightUpperLeg') and Character:FindFirstChild('RightLowerLeg') then | |
1141 | ragdollJoint(Character,Character.RightUpperLeg, Character.RightLowerLeg, "RightKnee", "Hinge", shinProperties) | |
1142 | end | |
1143 | if Character:FindFirstChild('RightLowerLeg') and Character:FindFirstChild('RightFoot') then | |
1144 | ragdollJoint(Character,Character.RightLowerLeg, Character.RightFoot, "RightAnkle", "Hinge", footProperties) | |
1145 | end | |
1146 | if Character:FindFirstChild('LowerTorso') and Character:FindFirstChild('RightUpperLeg') then | |
1147 | ragdollJoint(Character,Character.LowerTorso, Character.RightUpperLeg, "RightHip", "BallSocket") | |
1148 | end | |
1149 | if Character:FindFirstChild('LeftUpperLeg') and Character:FindFirstChild('LeftLowerLeg') then | |
1150 | ragdollJoint(Character,Character.LeftUpperLeg, Character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties) | |
1151 | end | |
1152 | if Character:FindFirstChild('LeftLowerLeg') and Character:FindFirstChild('LeftFoot') then | |
1153 | ragdollJoint(Character,Character.LeftLowerLeg, Character.LeftFoot, "LeftAnkle", "Hinge", footProperties) | |
1154 | end | |
1155 | if Character:FindFirstChild('LowerTorso') and Character:FindFirstChild('LeftUpperLeg') then | |
1156 | ragdollJoint(Character,Character.LowerTorso, Character.LeftUpperLeg, "LeftHip", "BallSocket") | |
1157 | end | |
1158 | if Character:FindFirstChild('UpperTorso') and Character:FindFirstChild('LowerTorso') then | |
1159 | ragdollJoint(Character,Character.LowerTorso, Character.UpperTorso, "Waist", "BallSocket", { | |
1160 | {"LimitsEnabled",true}; | |
1161 | {"UpperAngle",5}; | |
1162 | {"Radius",5}; | |
1163 | }) | |
1164 | end | |
1165 | if Character:FindFirstChild('UpperTorso') and Character:FindFirstChild('Head') then | |
1166 | ragdollJoint(Character,Character.UpperTorso, Character.Head, "Neck", "Hinge", { | |
1167 | {"LimitsEnabled",true}; | |
1168 | {"UpperAngle",50}; | |
1169 | {"LowerAngle",-50}; | |
1170 | }) | |
1171 | end | |
1172 | local NeckA = ragdollJoint(Character,Character.UpperTorso, Character.Head, "Neck", "Hinge", { | |
1173 | {"LimitsEnabled",true}; | |
1174 | {"UpperAngle",50}; | |
1175 | {"LowerAngle",-50}; | |
1176 | }) | |
1177 | ||
1178 | recurse(Character, function(_,v) | |
1179 | if v:IsA("Attachment") then | |
1180 | v.Axis = Vector3.new(0, 1, 0) | |
1181 | v.SecondaryAxis = Vector3.new(0, 0, 1) | |
1182 | v.Rotation = Vector3.new(0, 0, 0) | |
1183 | if(v.Parent == Character.Head and snapped)then | |
1184 | v.Orientation = V3.N(0,-90,0) | |
1185 | end | |
1186 | end | |
1187 | end) | |
1188 | end | |
1189 | end) | |
1190 | end | |
1191 | ||
1192 | ||
1193 | function Bezier(startpos, pos2, pos3, endpos, t) | |
1194 | local A = startpos:lerp(pos2, t) | |
1195 | local B = pos2:lerp(pos3, t) | |
1196 | local C = pos3:lerp(endpos, t) | |
1197 | local lerp1 = A:lerp(B, t) | |
1198 | local lerp2 = B:lerp(C, t) | |
1199 | local cubic = lerp1:lerp(lerp2, t) | |
1200 | return cubic | |
1201 | end | |
1202 | ||
1203 | function Effect(data) | |
1204 | local FX = data.Effect or 'Resize-AndFade' | |
1205 | local Parent = data.Parent or Effects | |
1206 | local Color = data.Color or C3.N(0,0,0) | |
1207 | local Size = data.Size or V3.N(1,1,1) | |
1208 | local MoveDir = data.MoveDirection or nil | |
1209 | local MeshData = data.Mesh or nil | |
1210 | local SndData = data.Sound or nil | |
1211 | local Frames = data.Frames or 45 | |
1212 | local Manual = data.Manual or nil | |
1213 | local Material = data.Material or nil | |
1214 | local CFra = data.CFrame or Torso.CFrame | |
1215 | local Settings = data.FXSettings or {} | |
1216 | local Snd,Prt,Msh; | |
1217 | if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then | |
1218 | Prt = Manual | |
1219 | else | |
1220 | Prt = Part(Parent,Color,Material,Size,CFra,true,false) | |
1221 | end | |
1222 | if(typeof(MeshData) == 'table')then | |
1223 | Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset) | |
1224 | elseif(typeof(MeshData) == 'Instance')then | |
1225 | Msh = MeshData:Clone() | |
1226 | Msh.Parent = Prt | |
1227 | end | |
1228 | if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then | |
1229 | Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true) | |
1230 | end | |
1231 | if(Snd)then | |
1232 | repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0 | |
1233 | Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch | |
1234 | end | |
1235 | local MoveSpeed = nil; | |
1236 | if(MoveDir)then | |
1237 | MoveSpeed = (CFra.p - MoveDir).magnitude/Frames | |
1238 | end | |
1239 | local Inc = M.RNG()-M.RNG() | |
1240 | local Thingie = 0 | |
1241 | local Thingie2 = M.RNG(50,100)/100 | |
1242 | ||
1243 | coroutine.wrap(function() | |
1244 | if(FX ~= 'Arc')then | |
1245 | for i = 1, Frames do | |
1246 | if(FX == 'Resize-AndFade')then | |
1247 | if(not Settings.EndSize)then | |
1248 | Settings.EndSize = V3.N(0,0,0) | |
1249 | end | |
1250 | local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize)) | |
1251 | if(Settings.EndIsIncrement)then | |
1252 | Prt.Size = Prt.Size - Settings.EndSize | |
1253 | else | |
1254 | Prt.Size = Prt.Size - grow/Frames | |
1255 | end | |
1256 | Prt.Transparency = (i/Frames) | |
1257 | elseif(FX == 'Resize+AndFade')then | |
1258 | if(not Settings.EndSize)then | |
1259 | Settings.EndSize = Size*2 | |
1260 | end | |
1261 | local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize)) | |
1262 | if(Settings.EndIsIncrement)then | |
1263 | Prt.Size = Prt.Size + Settings.EndSize | |
1264 | else | |
1265 | Prt.Size = Prt.Size + grow/Frames | |
1266 | end | |
1267 | Prt.Transparency = (i/Frames) | |
1268 | elseif(FX == 'Fade')then | |
1269 | Prt.Transparency = (i/Frames) | |
1270 | end | |
1271 | if(Settings.RandomizeCFrame)then | |
1272 | Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)) | |
1273 | end | |
1274 | if(MoveDir and MoveSpeed)then | |
1275 | local Orientation = Prt.Orientation | |
1276 | Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed) | |
1277 | Prt.Orientation = Orientation | |
1278 | end | |
1279 | if(swait and typeof(swait) == 'function')then | |
1280 | swait() | |
1281 | else | |
1282 | wait() | |
1283 | end | |
1284 | end | |
1285 | Prt:destroy() | |
1286 | else | |
1287 | local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End | |
1288 | if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end | |
1289 | local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
1290 | local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
1291 | assert(start ~= nil,"You need to specify a start point!") | |
1292 | assert(endP ~= nil,"You need to specify an end point!") | |
1293 | for i = 0, 1, Settings.Speed or 0.01 do | |
1294 | if(Settings.Home)then | |
1295 | endP = Settings.Home.CFrame | |
1296 | end | |
1297 | Prt.CFrame = Bezier(start, quarter, threequarter, endP, i) | |
1298 | if(swait and typeof(swait) == 'function')then | |
1299 | swait() | |
1300 | else | |
1301 | wait() | |
1302 | end | |
1303 | end | |
1304 | if(Settings.RemoveOnGoal)then | |
1305 | Prt:destroy() | |
1306 | end | |
1307 | end | |
1308 | end)() | |
1309 | return Prt,Msh,Snd | |
1310 | end | |
1311 | ||
1312 | ||
1313 | function SoulSteal(Character) | |
1314 | local torso = (Character:FindFirstChild'Head' or Character:FindFirstChild'Torso' or Character:FindFirstChild'UpperTorso' or Character:FindFirstChild'LowerTorso' or Character:FindFirstChild'HumanoidRootPart') | |
1315 | print(torso) | |
1316 | if(torso and torso:IsA'BasePart')then | |
1317 | local Model = Instance.new("Model",Effects) | |
1318 | Model.Name = Character.Name.."'s Soul" | |
1319 | Character:BreakJoints() | |
1320 | local Soul = Part(Model,BrickColor.new'Carnation pink','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false) | |
1321 | Soul.Name = 'Head' | |
1322 | NewInstance("Humanoid",Model,{Health=0,MaxHealth=0}) | |
1323 | Effect{ | |
1324 | Effect="Arc", | |
1325 | Manual = Soul, | |
1326 | FXSettings={ | |
1327 | Start=torso.CFrame, | |
1328 | Home = Torso, | |
1329 | RemoveOnGoal = true, | |
1330 | } | |
1331 | } | |
1332 | local lastPoint = Soul.CFrame.p | |
1333 | ||
1334 | for i = 0, 1, 0.01 do | |
1335 | local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0) | |
1336 | local mag = (lastPoint - Soul.Position).magnitude | |
1337 | Effect{ | |
1338 | Effect = "Fade", | |
1339 | CFrame = point * CF.N(0, mag/2, 0), | |
1340 | Size = V3.N(.5,mag+.5,.5), | |
1341 | Color = Soul.BrickColor | |
1342 | } | |
1343 | lastPoint = Soul.CFrame.p | |
1344 | swait() | |
1345 | end | |
1346 | for i = 1, 5 do | |
1347 | Effect{ | |
1348 | Effect="Fade", | |
1349 | Color = BrickColor.new'Carnation pink', | |
1350 | MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p | |
1351 | } | |
1352 | end | |
1353 | end | |
1354 | end | |
1355 | ||
1356 | --// Other Functions \\ -- | |
1357 | ||
1358 | function getRegion(point,range,ignore) | |
1359 | return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100) | |
1360 | end | |
1361 | ||
1362 | function clerp(startCF,endCF,alpha) | |
1363 | return startCF:lerp(endCF, alpha) | |
1364 | end | |
1365 | ||
1366 | function GetTorso(Char) | |
1367 | return Char:FindFirstChild'Torso' or Char:FindFirstChild'UpperTorso' | |
1368 | end | |
1369 | ||
1370 | ||
1371 | ||
1372 | function ShowDamage(Pos, Text, Time, Color) | |
1373 | coroutine.wrap(function() | |
1374 | local Rate = (1 / 30) | |
1375 | local Pos = Head | |
1376 | local Text = (Text or ".Char Deleted") | |
1377 | local Time = (Time or 2) | |
1378 | local Color = (Color or Color3.new(1, 0, 1)) | |
1379 | local EffectPart = NewInstance("Part",Effects,{ | |
1380 | Material=Enum.Material.SmoothPlastic, | |
1381 | RArmlectance = 0, | |
1382 | Transparency = 0, | |
1383 | BrickColor = BrickColor.new(Color), | |
1384 | Name = "Effect", | |
1385 | Size = Vector3.new(1,1,1), | |
1386 | Anchored = true | |
1387 | }) | |
1388 | local BillboardGui = NewInstance("BillboardGui",EffectPart,{ | |
1389 | Size = UDim2.new(1.25, 0, 1.25, 0), | |
1390 | Adornee = EffectPart, | |
1391 | }) | |
1392 | local TextLabel = NewInstance("TextLabel",BillboardGui,{ | |
1393 | BackgroundTransparency = 1, | |
1394 | Size = UDim2.new(1, 0, 1, 0), | |
1395 | Text = Text, | |
1396 | Font = "Arial", | |
1397 | TextColor3 = Color3.new(255,102,200), | |
1398 | TextStrokeColor3 = Color3.new(200,200,200), | |
1399 | TextStrokeTransparency=0, | |
1400 | TextScaled = true, | |
1401 | }) | |
1402 | game.Debris:AddItem(EffectPart, (Time)) | |
1403 | EffectPart.Parent = game:GetService("Workspace") | |
1404 | delay(0, function() | |
1405 | local Frames = (Time / Rate) | |
1406 | for Frame = 1, Frames do | |
1407 | wait(Rate) | |
1408 | local Percent = (Frame / Frames) | |
1409 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1410 | TextLabel.TextTransparency = Percent | |
1411 | TextLabel.TextStrokeTransparency = Percent | |
1412 | end | |
1413 | if EffectPart and EffectPart.Parent then | |
1414 | EffectPart:Destroy() | |
1415 | end | |
1416 | end) end)() | |
1417 | end | |
1418 | ||
1419 | ||
1420 | function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult) | |
1421 | if(who)then | |
1422 | local hum = who:FindFirstChildOfClass'Humanoid' | |
1423 | local Damage = M.RNG(minDam,maxDam) | |
1424 | local canHit = true | |
1425 | if(hum)then | |
1426 | for _, p in pairs(Hit) do | |
1427 | if p[1] == hum then | |
1428 | if(time() - p[2] < 0.1) then | |
1429 | canHit = false | |
1430 | else | |
1431 | Hit[_] = nil | |
1432 | end | |
1433 | end | |
1434 | end | |
1435 | if(canHit)then | |
1436 | if(hum.Health >= math.huge)then | |
1437 | who:BreakJoints() | |
1438 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
1439 | 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)) | |
1440 | end | |
1441 | else | |
1442 | local player = S.Players:GetPlayerFromCharacter(who) | |
1443 | if(Type == "Fire")then | |
1444 | --idk.. | |
1445 | else | |
1446 | local c = Instance.new("ObjectValue",hum) | |
1447 | c.Name = "creator" | |
1448 | - | tecks2.Text = "G̶a̶n̵g̵ ̸Mo̶/n̸i̸k̵a̸" |
1448 | + | |
1449 | game:service'Debris':AddItem(c,0.35) | |
1450 | if(M.RNG(1,100) <= (critChance or 0))then | |
1451 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
1452 | 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) | |
1453 | end | |
1454 | hum.Health = hum.Health - Damage*(critMult or 2) | |
1455 | else | |
1456 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
1457 | 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) | |
1458 | end | |
1459 | hum.Health = hum.Health - Damage | |
1460 | end | |
1461 | if(Type == 'Knockback' and GetTorso(who))then | |
1462 | local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit | |
1463 | local body = NewInstance('BodyVelocity',GetTorso(who),{ | |
1464 | P = 500, | |
1465 | maxForce = V3.N(math.huge,0,math.huge), | |
1466 | velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05 | |
1467 | }) | |
1468 | game:service'Debris':AddItem(body,.5) | |
1469 | elseif(Type == 'Knockdown' and GetTorso(who))then | |
1470 | local rek = GetTorso(who) | |
1471 | print(rek) | |
1472 | hum.PlatformStand = true | |
1473 | delay(1,function() | |
1474 | hum.PlatformStand = false | |
1475 | end) | |
1476 | local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit | |
1477 | local bodvol = NewInstance("BodyVelocity",rek,{ | |
1478 | velocity = angle * Knock, | |
1479 | P = 5000, | |
1480 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1481 | }) | |
1482 | local rl = NewInstance("BodyAngularVelocity",rek,{ | |
1483 | P = 3000, | |
1484 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1485 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1486 | }) | |
1487 | game:GetService("Debris"):AddItem(bodvol, .5) | |
1488 | game:GetService("Debris"):AddItem(rl, .5) | |
1489 | end | |
1490 | end | |
1491 | end | |
1492 | end | |
1493 | table.insert(Hit,{hum,time()}) | |
1494 | - | tecks2.Text = "C̸o̶r̵r̵u̷p̶t̶e̸d̸ ̵M̸o̸n̶/i̸k̷a̴" |
1494 | + | |
1495 | end | |
1496 | end | |
1497 | ||
1498 | function AOEDamage(where,range,minDam,maxDam,Knock,Type) | |
1499 | for _,v in next, getRegion(where,range,{Char}) do | |
1500 | if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then | |
1501 | DealDamage(v.Parent,minDam,maxDam,Knock,Type) | |
1502 | end | |
1503 | end | |
1504 | end | |
1505 | ||
1506 | function AOEFunction(where,range,callback) | |
1507 | for _,v in next, getRegion(where,range,{Char}) do | |
1508 | if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then | |
1509 | callback(v.Parent) | |
1510 | end | |
1511 | end | |
1512 | end | |
1513 | ||
1514 | function ClosestHumanoid(pos,range) | |
1515 | local mag,closest = math.huge; | |
1516 | - | tecks2.Text = "B̴r̵o̴k̴e̷n̴ ̶H̵e̸a̵r̵t̵h̷" |
1516 | + | |
1517 | local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid') | |
1518 | if((v.CFrame.p-pos).magnitude < mag and hum and closest ~= hum and hum.Health > 0)then | |
1519 | mag = (v.CFrame.p-pos).magnitude | |
1520 | closest = hum | |
1521 | end | |
1522 | end | |
1523 | return closest,(closest and GetTorso(closest.Parent) or nil) | |
1524 | end | |
1525 | ||
1526 | function AOEHeal(where,range,amount) | |
1527 | local healed = {} | |
1528 | for _,v in next, getRegion(where,range,{Char}) do | |
1529 | local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil) | |
1530 | if(hum and not healed[hum])then | |
1531 | hum.Health = hum.Health + amount | |
1532 | if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then | |
1533 | 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) | |
1534 | end | |
1535 | end | |
1536 | end | |
1537 | end | |
1538 | local BODY = {} | |
1539 | for _, c in pairs(Char:GetDescendants()) do | |
1540 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
1541 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RArm and c ~= LArm and c ~= RLeg and c ~= LLeg then | |
1542 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1543 | end | |
1544 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name}) | |
1545 | elseif c:IsA("JointInstance") then | |
1546 | table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil}) | |
1547 | end | |
1548 | end | |
1549 | - | tecks2.Text = "J̶u̸s̸t̵ ̵M̸o̵-n̸i̵k̵a̶" |
1549 | + | |
1550 | Char.Parent = workspace | |
1551 | for e = 1, #BODY do | |
1552 | if BODY[e] ~= nil then | |
1553 | local STUFF = BODY[e] | |
1554 | local PART = STUFF[1] | |
1555 | local PARENT = STUFF[2] | |
1556 | local MATERIAL = STUFF[3] | |
1557 | local COLOR = STUFF[4] | |
1558 | local TRANSPARENCY = STUFF[5] | |
1559 | --local SIZE = STUFF[6] | |
1560 | local NAME = STUFF[7] | |
1561 | if PART.ClassName == "Part" and PART ~= RootPart then | |
1562 | PART.Material = MATERIAL | |
1563 | PART.Transparency = TRANSPARENCY | |
1564 | PART.Name = NAME | |
1565 | end | |
1566 | if PART.Parent ~= PARENT then | |
1567 | Humanoid:remove() | |
1568 | PART.Parent = PARENT | |
1569 | Humanoid = Instance.new("Humanoid",Char) | |
1570 | end | |
1571 | end | |
1572 | end | |
1573 | end | |
1574 | ||
1575 | Humanoid.Died:connect(function() | |
1576 | refit() | |
1577 | end) | |
1578 | --// Attack Function \\-- | |
1579 | function Color1() | |
1580 | chaosmode = false | |
1581 | local Glitch = false | |
1582 | Music.Playing = false | |
1583 | Moosic.Playing = false | |
1584 | Music1.Playing = false | |
1585 | Music2.Playing = true | |
1586 | Music3.Playing = false | |
1587 | Music4.Playing = false | |
1588 | Music5.Playing = false | |
1589 | Music6.Playing = false | |
1590 | Creep.Playing = false | |
1591 | tecks2.Text = "Gucci–Monika" | |
1592 | - | tecks2.Text = "W̶a̵n̵n̶a̷ ̶p̸l̶a̵y̷?̸" |
1592 | + | |
1593 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1594 | if v:IsA("Part") then | |
1595 | v.BrickColor = BrickColor.new("Really blue") | |
1596 | v.Material = "Neon" | |
1597 | end | |
1598 | end | |
1599 | end | |
1600 | function smile() | |
1601 | chaosmode = false | |
1602 | local Glitch = false | |
1603 | Music.Playing = false | |
1604 | Moosic.Playing = false | |
1605 | Music1.Playing = true | |
1606 | Music2.Playing = false | |
1607 | Music3.Playing = false | |
1608 | Music4.Playing = false | |
1609 | Music5.Playing = false | |
1610 | Music6.Playing = false | |
1611 | Creep.Playing = false | |
1612 | tecks2.Text = ":)" | |
1613 | tecks2.TextStrokeColor3 = Color3.new(.1,.1,.1) | |
1614 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1615 | if v:IsA("Part") then | |
1616 | v.BrickColor = BrickColor.new("Really black") | |
1617 | v.Material = "Neon" | |
1618 | game.Lighting.OutdoorAmbient = Color3.new(.5,0,0) | |
1619 | game.Lighting.TimeOfDay = "05:00:00" | |
1620 | game.Lighting.FogColor = Color3.new(0,0,0) | |
1621 | game.Lighting.FogEnd = 1200 | |
1622 | - | tecks2.Text = "Y̴o̴u̶r̷ ̸r̵e̸a̶l̷i̸t̷y̸" |
1622 | + | |
1623 | end | |
1624 | end | |
1625 | function Normal() | |
1626 | chaosmode = false | |
1627 | local Glitch = false | |
1628 | Music.Playing = true | |
1629 | Moosic.Playing = false | |
1630 | Music1.Playing = false | |
1631 | Music2.Playing = false | |
1632 | Music3.Playing = false | |
1633 | Music4.Playing = false | |
1634 | Music5.Playing = false | |
1635 | Music6.Playing = false | |
1636 | Creep.Playing = false | |
1637 | tecks2.Text = "corrupted–Monika" | |
1638 | tecks2.TextStrokeColor3 = Color3.new(1,0,1) | |
1639 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1640 | if v:IsA("Part") then | |
1641 | v.BrickColor = BrickColor.new("Hot pink") | |
1642 | v.Material = "Neon" | |
1643 | end | |
1644 | end | |
1645 | end | |
1646 | ||
1647 | function BenCreep() | |
1648 | chaosmode = false | |
1649 | local Glitch = false | |
1650 | Music.Playing = false | |
1651 | Moosic.Playing = false | |
1652 | Music1.Playing = false | |
1653 | Music2.Playing = false | |
1654 | Music3.Playing = false | |
1655 | Music4.Playing = false | |
1656 | Music5.Playing = false | |
1657 | Music6.Playing = false | |
1658 | Creep.Playing = true | |
1659 | tecks2.Text = "Broken–Heart" | |
1660 | tecks2.TextStrokeColor3 = Color3.new(0.9,0,0) | |
1661 | local sky = Instance.new('Sky', game:GetService'Lighting') | |
1662 | sky.SkyboxBk = "rbxassetid://159454299" | |
1663 | sky.SkyboxDn = "rbxassetid://159454296" | |
1664 | sky.SkyboxFt = "rbxassetid://159454293" | |
1665 | sky.SkyboxLf = "rbxassetid://159454286" | |
1666 | sky.SkyboxRt = "rbxassetid://159454300" | |
1667 | sky.SkyboxUp = "rbxassetid://166574066" | |
1668 | game.Lighting.OutdoorAmbient = Color3.new(0,0,0) | |
1669 | game.Lighting.TimeOfDay = "05:00:00" | |
1670 | game.Lighting.FogColor = Color3.new(0,0,0) | |
1671 | game.Lighting.FogEnd = 800 | |
1672 | ||
1673 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1674 | if v:IsA("Part") then | |
1675 | v.BrickColor = BrickColor.new("Dark stone grey") | |
1676 | v.Material = "Neon" | |
1677 | end | |
1678 | end | |
1679 | end | |
1680 | function TimeTrials() | |
1681 | local Glitch = false | |
1682 | Music.Playing = false | |
1683 | Moosic.Playing = false | |
1684 | Music1.Playing = false | |
1685 | Music2.Playing = false | |
1686 | Music3.Playing = false | |
1687 | Music4.Playing = true | |
1688 | Music5.Playing = false | |
1689 | Music6.Playing = false | |
1690 | Creep.Playing = false | |
1691 | chaosmode = true | |
1692 | tecks2.Text = "Just–Monika" | |
1693 | tecks2.TextStrokeColor3 = Color3.new(1,0,0) | |
1694 | ||
1695 | coroutine.resume(coroutine.create(function() | |
1696 | while true do | |
1697 | swait(2) | |
1698 | if chaosmode == true then | |
1699 | tecks2.TextStrokeColor3 = BrickColor.random().Color | |
1700 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1701 | if v:IsA("Part") then | |
1702 | v.BrickColor = BrickColor.random() | |
1703 | end | |
1704 | end | |
1705 | end | |
1706 | end | |
1707 | end)) | |
1708 | end | |
1709 | function Color4() | |
1710 | chaosmode = false | |
1711 | local Glitch = false | |
1712 | Music.Playing = false | |
1713 | Moosic.Playing = false | |
1714 | Music1.Playing = false | |
1715 | Music2.Playing = false | |
1716 | Music3.Playing = false | |
1717 | Music4.Playing = false | |
1718 | Music5.Playing = true | |
1719 | Music6.Playing = false | |
1720 | Creep.Playing = false | |
1721 | tecks2.Text = "Good Night" | |
1722 | tecks2.TextStrokeColor3 = Color3.new(0,1,1) | |
1723 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1724 | if v:IsA("Part") then | |
1725 | v.BrickColor = BrickColor.new("Toothpaste") | |
1726 | v.Material = "Neon" | |
1727 | end | |
1728 | end | |
1729 | end | |
1730 | function Glitch() | |
1731 | chaosmode = false | |
1732 | local Glitch = false | |
1733 | Music.Playing = false | |
1734 | Creep.Playing = false | |
1735 | tecks2.Text = "Wanna–play?" | |
1736 | tecks2.TextStrokeColor3 = Color3.new(1,1,0) | |
1737 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1738 | if v:IsA("Part") then | |
1739 | v.BrickColor = BrickColor.new("Cool yellow") | |
1740 | v.Material = "Neon" | |
1741 | Music.Playing = false | |
1742 | Moosic.Playing = false | |
1743 | Music1.Playing = false | |
1744 | Music2.Playing = false | |
1745 | Music3.Playing = false | |
1746 | Music4.Playing = false | |
1747 | Music5.Playing = false | |
1748 | Music6.Playing = true | |
1749 | end | |
1750 | end | |
1751 | end | |
1752 | function Mistake() | |
1753 | chaosmode = false | |
1754 | local Glitch = false | |
1755 | Music.Playing = false | |
1756 | Moosic.Playing = true | |
1757 | Music1.Playing = false | |
1758 | Music2.Playing = false | |
1759 | Music3.Playing = false | |
1760 | Music4.Playing = false | |
1761 | Music5.Playing = false | |
1762 | Music6.Playing = false | |
1763 | Creep.Playing = false | |
1764 | Music1:Stop() | |
1765 | tecks2.Text = "Your–reality" | |
1766 | tecks2.TextStrokeColor3 = Color3.new(170, 0, 170) | |
1767 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1768 | if v:IsA("Part") then | |
1769 | v.BrickColor = BrickColor.new("Royal purple") | |
1770 | v.Material = "Neon" | |
1771 | end | |
1772 | end | |
1773 | end | |
1774 | function Happy() | |
1775 | chaosmode = false | |
1776 | local Glitch = false | |
1777 | Music.Playing = false | |
1778 | Moosic.Playing = false | |
1779 | Music1.Playing = false | |
1780 | Music2.Playing = false | |
1781 | Music3.Playing = true | |
1782 | Music4.Playing = false | |
1783 | Music5.Playing = false | |
1784 | Music6.Playing = false | |
1785 | Creep.Playing = false | |
1786 | Music1:Stop() | |
1787 | tecks2.Text = "Happy" | |
1788 | tecks2.TextStrokeColor3 = Color3.new(1, 1, 0) | |
1789 | for i, v in pairs(Char.CyborgArm:GetChildren()) do | |
1790 | if v:IsA("Part") then | |
1791 | v.BrickColor = BrickColor.new("Cool Yellow") | |
1792 | v.Material = "Neon" | |
1793 | end | |
1794 | end | |
1795 | end | |
1796 | ||
1797 | function Equip_Sawblade() | |
1798 | for i = 1, 5 do | |
1799 | Effect{ | |
1800 | Effect='Resize+AndFade', | |
1801 | Color = BrickColor.new'Carnation pink', | |
1802 | Material = Enum.Material.Neon, | |
1803 | Size=V3.N(3.5,3.5,3.5), | |
1804 | CFrame=RArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)), | |
1805 | FXSettings={ | |
1806 | EndSize=V3.N(.05,.05,.05), | |
1807 | EndIsIncrement=true, | |
1808 | ||
1809 | } | |
1810 | } | |
1811 | end | |
1812 | 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) | |
1813 | prt.Transparency = .0 | |
1814 | local mesh = Mesh(prt,Enum.MeshType.FileMesh,"rbxassetid://174322089","",V3.N(3,3,3),V3.N(0,0,0),CF.N(0,0,9)) | |
1815 | local weld = NewInstance("Weld",Char,{Part0=RArm,Part1=prt,C0=CF.N(0,-1.25,0)}) | |
1816 | return prt,weld | |
1817 | end | |
1818 | ||
1819 | function The_Necc() | |
1820 | local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5) | |
1821 | if(torso)then | |
1822 | local who = torso.Parent | |
1823 | Attack = true | |
1824 | NeutralAnims = false | |
1825 | who.Parent = Char | |
1826 | chatfunc("you look tired sleep a little") | |
1827 | local oRoot | |
1828 | pcall(function() oRoot = who.HumanoidRootPart; oRoot.Parent = nil end) | |
1829 | local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.25)}) | |
1830 | for i = 0, 4, 0.1 do | |
1831 | swait() | |
1832 | humanoid.PlatformStand = true | |
1833 | local Alpha = .15 | |
1834 | 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) | |
1835 | 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) | |
1836 | 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) | |
1837 | 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) | |
1838 | 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) | |
1839 | 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) | |
1840 | end | |
1841 | gWeld:destroy() | |
1842 | if(who:FindFirstChild'Head')then | |
1843 | local s = Sound(who:FindFirstChild'Head',1093102664,1,2,false,false,false) | |
1844 | s:Play() | |
1845 | s.Ended:connect(function() s:Destroy() end) | |
1846 | end | |
1847 | who.Parent = workspace | |
1848 | humanoid.Health = 0 | |
1849 | Ragdoll(who,false,true) | |
1850 | for i = 0, 1.5, 0.1 do | |
1851 | swait() | |
1852 | humanoid.PlatformStand = true | |
1853 | local Alpha = .3 | |
1854 | 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) | |
1855 | 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) | |
1856 | 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) | |
1857 | 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) | |
1858 | 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) | |
1859 | 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) | |
1860 | end | |
1861 | Attack = false | |
1862 | NeutralAnims = true | |
1863 | end | |
1864 | end | |
1865 | ||
1866 | function Hands_Off() | |
1867 | local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5) | |
1868 | ||
1869 | if(torso)then | |
1870 | local who = torso.Parent | |
1871 | local doAttack = false | |
1872 | Instance.AllChildren(who,function(v) | |
1873 | if(v.Name:lower():find"arm")then | |
1874 | doAttack = true | |
1875 | end | |
1876 | end, true) | |
1877 | if(not doAttack)then return end | |
1878 | Hum.WalkSpeed = 0 | |
1879 | Hum.JumpPower = 0 | |
1880 | Attack = true | |
1881 | NeutralAnims = false | |
1882 | who.Parent = Char | |
1883 | local oRoot | |
1884 | pcall(function() oRoot = who.HumanoidRootPart; oRoot.Parent = nil end) | |
1885 | local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.25)}) | |
1886 | for i = 0, 4, 0.1 do | |
1887 | swait() | |
1888 | humanoid.PlatformStand = true | |
1889 | local Alpha = .15 | |
1890 | 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) | |
1891 | 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) | |
1892 | 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) | |
1893 | 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) | |
1894 | 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) | |
1895 | 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) | |
1896 | end | |
1897 | local RABC = (who:FindFirstChild'Right Arm' or who:FindFirstChild'RightUpperArm' or who:FindFirstChild'RightLowerArm' or who:FindFirstChild'RightHand' or IN("Part")).BrickColor | |
1898 | local LABC = (who:FindFirstChild'Left Arm' or who:FindFirstChild'LeftUpperArm' or who:FindFirstChild'LeftLowerArm' or who:FindFirstChild'LeftHand' or IN("Part")).BrickColor | |
1899 | Sound(torso,1093102664,.85,5,false,true,true) | |
1900 | Sound(torso,429400881,1,1,false,true,true) | |
1901 | chatfunc("You dont need that!") | |
1902 | FRArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),BrickColor=RABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true}) | |
1903 | Mesh(FRArm,Enum.MeshType.FileMesh,"rbxasset://fonts/rightarm.mesh","",V3.N(1,1,1),V3.N()) | |
1904 | FLArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),BrickColor=LABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true}) | |
1905 | Mesh(FLArm,Enum.MeshType.FileMesh,"rbxasset://fonts/leftarm.mesh","",V3.N(1,1,1),V3.N()) | |
1906 | FRArmW = NewInstance('Weld',FRArm,{Part0=RArm,Part1=FRArm,C0=CF.N(0,-1,0)*CF.A(M.R(90),0,0)}) | |
1907 | FLArmW = NewInstance('Weld',FLArm,{Part0=LArm,Part1=FLArm,C0=CF.N(0,-1,0)*CF.A(M.R(90),0,0)}) | |
1908 | Instance.AllChildren(who,function(v) | |
1909 | if(v.Name:lower():find"arm" or v.Name:lower():find"hand")then | |
1910 | v:destroy() | |
1911 | end | |
1912 | end, true) | |
1913 | if(not VoidSB)then | |
1914 | coroutine.wrap(function() | |
1915 | repeat swait() | |
1916 | humanoid.Health = humanoid.Health - 0.5 until not who or not who.Parent or not humanoid.Parent | |
1917 | humanoid.Health = 0 | |
1918 | end)() | |
1919 | else | |
1920 | coroutine.wrap(function() | |
1921 | repeat swait() humanoid.Health = humanoid.Health - 0.5 until not who or not who.Parent or not humanoid.Parent | |
1922 | humanoid.Health = 0 | |
1923 | end)() | |
1924 | ||
1925 | local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame) | |
1926 | local prt2,prtcl2 = Blood4(V3.N(.5,.5,.5),torso.CFrame) | |
1927 | prt1.Parent = torso; | |
1928 | prt2.Parent = torso; | |
1929 | local prt1W = NewInstance('Weld',torso,{Part0=prt1,Part1=torso,C0=CF.N(0,-.5,-1.25)*CF.A(0,M.R(90),0)}) | |
1930 | local prt2W = NewInstance('Weld',torso,{Part0=prt2,Part1=torso,C0=CF.N(0,-.5,-1.25)*CF.A(0,M.R(-90),0)}) | |
1931 | end | |
1932 | ||
1933 | humanoid.Died:connect(function() | |
1934 | Ragdoll(who) | |
1935 | end) | |
1936 | who.Parent = workspace | |
1937 | ||
1938 | local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame) | |
1939 | local prt2,prtcl2 = Blood4(V3.N(.5,.5,.5),torso.CFrame) | |
1940 | prt1.Parent = FRArm; | |
1941 | prt2.Parent = FLArm; | |
1942 | local prt1W = NewInstance('Weld',FRArm,{Part0=prt1,Part1=FRArm,C0=CF.N(0,0,0)*CF.A(0,M.R(90),0)}) | |
1943 | local prt2W = NewInstance('Weld',FLArm,{Part0=prt2,Part1=FLArm,C0=CF.N(0,0,0)*CF.A(0,M.R(-90),0)}) | |
1944 | gWeld:destroy() | |
1945 | humanoid.PlatformStand = false | |
1946 | if(oRoot)then | |
1947 | oRoot.Parent = who | |
1948 | if(who:FindFirstChild('RootJoint',true))then | |
1949 | oRoot.RootJoint.Part0 = oRoot | |
1950 | oRoot.RootJoint.Part1 = torso | |
1951 | else | |
1952 | humanoid:BuildRigFromAttachments() | |
1953 | end | |
1954 | end | |
1955 | ||
1956 | ||
1957 | - | chatfunc("deivis97: Sorry about that") |
1957 | + | |
1958 | swait() | |
1959 | local Alpha = .15 | |
1960 | 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) | |
1961 | 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) | |
1962 | 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) | |
1963 | 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) | |
1964 | 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) | |
1965 | 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) | |
1966 | end | |
1967 | Hum.WalkSpeed = 16 | |
1968 | Hum.JumpPower = 50 | |
1969 | Attack = false | |
1970 | NeutralAnims = true | |
1971 | end | |
1972 | end | |
1973 | function ScrewMe() | |
1974 | Attack = true | |
1975 | NeutralAnims = false | |
1976 | for i = 0, 2, 0.1 do | |
1977 | swait() | |
1978 | local Alpha = .15 | |
1979 | 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) | |
1980 | 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) | |
1981 | 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) | |
1982 | 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) | |
1983 | 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) | |
1984 | 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) | |
1985 | end | |
1986 | local screwdriver = Part(Char,BrickColor.new'Really black',Enum.Material.SmoothPlastic,V3.N(2.158,0.29,0.312),RArm.CFrame,false,false) | |
1987 | local driverMesh = Mesh(screwdriver,Enum.MeshType.FileMesh,"rbxassetid://70265804","rbxassetid://70265794",V3.N(1,.5,.5),V3.N()) | |
1988 | local driverWeld = NewInstance("Weld",Char,{Part0=LArm,Part1=screwdriver,C0=CF.N(0,-1.15,0)}) | |
1989 | for i = 1, 3 do | |
1990 | for i = 0, 2, 0.1 do | |
1991 | swait() | |
1992 | local Alpha = .15 | |
1993 | 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) | |
1994 | 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) | |
1995 | 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) | |
1996 | 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) | |
1997 | 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) | |
1998 | 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) | |
1999 | 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) | |
2000 | end | |
2001 | for i = 0, 2, 0.1 do | |
2002 | swait() | |
2003 | local Alpha = .15 | |
2004 | 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) | |
2005 | 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) | |
2006 | 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) | |
2007 | 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) | |
2008 | 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) | |
2009 | 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) | |
2010 | 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) | |
2011 | end | |
2012 | end | |
2013 | for i = 0, 2, 0.1 do | |
2014 | swait() | |
2015 | local Alpha = .15 | |
2016 | 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) | |
2017 | 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) | |
2018 | 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) | |
2019 | 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) | |
2020 | 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) | |
2021 | 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) | |
2022 | end | |
2023 | screwdriver:destroy() | |
2024 | Attack = false | |
2025 | NeutralAnims = true | |
2026 | end | |
2027 | function SliceYou() | |
2028 | Attack = true | |
2029 | NeutralAnims = false | |
2030 | local saw,weld = Equip_Sawblade() | |
2031 | for i = 0, 2, 0.1 do | |
2032 | swait() | |
2033 | local Alpha = .15 | |
2034 | 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) | |
2035 | 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) | |
2036 | 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) | |
2037 | 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) | |
2038 | 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) | |
2039 | 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) | |
2040 | end | |
2041 | for i = 0, 3, 0.1 do | |
2042 | swait() | |
2043 | local Alpha = .3 | |
2044 | 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) | |
2045 | 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) | |
2046 | 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) | |
2047 | 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) | |
2048 | 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) | |
2049 | 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) | |
2050 | end | |
2051 | local sound = Sound(Torso,367720620,false,false,false) | |
2052 | sound:Play() | |
2053 | for i = 0, 6, .1 do | |
2054 | weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(25)),.3) | |
2055 | swait() | |
2056 | end | |
2057 | for i = 0, 2, .1 do | |
2058 | weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(5)),.3) | |
2059 | swait() | |
2060 | end | |
2061 | sound:Play() | |
2062 | for i = 0, 1, .1 do | |
2063 | weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(25)),.3) | |
2064 | swait() | |
2065 | end | |
2066 | sound:Play() | |
2067 | for i = 0, 5, .1 do | |
2068 | weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(55)),.3) | |
2069 | swait() | |
2070 | end | |
2071 | for i = 1, 5 do | |
2072 | Effect{ | |
2073 | Effect='Resize+AndFade', | |
2074 | Color = BrickColor.new'Carnation pink', | |
2075 | Material = Enum.Material.Neon, | |
2076 | Size=V3.N(3.5,3.5,3.5), | |
2077 | CFrame=saw.CFrame*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)), | |
2078 | FXSettings={ | |
2079 | EndSize=V3.N(.05,.05,.05), | |
2080 | EndIsIncrement=true, | |
2081 | ||
2082 | } | |
2083 | } | |
2084 | end | |
2085 | saw:destroy() | |
2086 | Attack = false | |
2087 | NeutralAnims = true | |
2088 | end | |
2089 | function Taunt() | |
2090 | local tauntFuncs = {SliceYou,ScrewMe} | |
2091 | local taunt = tauntFuncs[M.RNG(1,#tauntFuncs)] | |
2092 | taunt() | |
2093 | end | |
2094 | function Aids() | |
2095 | Music.Playing = false | |
2096 | local DabSounds = {420701444,420701460,420701487} | |
2097 | local DabSnd = Sound(Torso,DabSounds[M.RNG(1,#DabSounds)],1,5,false,false,false) | |
2098 | repeat swait() until DabSnd.IsLoaded | |
2099 | DabSnd:Play() | |
2100 | chatfunc("Animetaional_Clone:Sorry about that") | |
2101 | DabSnd.Ended:connect(function()DabSnd:destroy()end) | |
2102 | Attack = true | |
2103 | NeutralAnims = false | |
2104 | local a = 0 | |
2105 | for i = 0, DabSnd.TimeLength * Frame_Speed/DabSnd.Pitch do | |
2106 | a = a + 1 | |
2107 | swait() | |
2108 | local Alpha = .3 | |
2109 | 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) | |
2110 | 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) | |
2111 | 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) | |
2112 | 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) | |
2113 | 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) | |
2114 | 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) | |
2115 | end | |
2116 | Music.Playing = true | |
2117 | Attack = false | |
2118 | NeutralAnims = true | |
2119 | end | |
2120 | ||
2121 | function OnceWas(who) | |
2122 | for _,v in next, who:children() do | |
2123 | if(v:IsA'BasePart')then | |
2124 | Effect{ | |
2125 | Parent=Effects, | |
2126 | Effect='Fade', | |
2127 | Color = BrickColor.new'Carnation pink', | |
2128 | Material = Enum.Material.Glass, | |
2129 | Size = v.Size, | |
2130 | CFrame=v.CFrame, | |
2131 | Frames = 90, | |
2132 | } | |
2133 | end | |
2134 | end | |
2135 | end | |
2136 | ||
2137 | function Teleport(where) | |
2138 | OnceWas(Char) | |
2139 | Sound(Root,235097614,3,1,false,true,true) | |
2140 | Sound(Root,75356820,2,1,false,true,true) | |
2141 | Root.CFrame = CF.N(where.p) | |
2142 | OnceWas(Char) | |
2143 | end | |
2144 | ||
2145 | function Dash() | |
2146 | Attack = true | |
2147 | Sound(Root,235097614,3,1,false,true,true) | |
2148 | Sound(Root,75356820,2,1,false,true,true) | |
2149 | for i = 1, 5 do | |
2150 | OnceWas(Char) | |
2151 | Root.CFrame = Root.CFrame*CF.N(0,0,-5) | |
2152 | swait() | |
2153 | end | |
2154 | Attack = false | |
2155 | end | |
2156 | ||
2157 | function Shriek() | |
2158 | Attack = true | |
2159 | NeutralAnims = true | |
2160 | local scream = Sound(Char,660244878,1,10,false,false,false) | |
2161 | local i = 0 | |
2162 | scream:Play() | |
2163 | while scream.Playing do | |
2164 | i = i + 1 | |
2165 | swait() | |
2166 | coroutine.wrap(function() | |
2167 | AOEFunction(Head.Position,30,function(who) | |
2168 | local h,hd = who:FindFirstChildOfClass'Humanoid',who:FindFirstChild'Head' | |
2169 | if(h and hd and h.Health > 0)then | |
2170 | h.Health = 0 | |
2171 | Sound(hd,429400881,1,1,false,true,true) | |
2172 | Ragdoll(who) | |
2173 | swait() | |
2174 | local frags = Fragment(hd) | |
2175 | for _,v in next, frags:children() do | |
2176 | v.BrickColor = BloodColor | |
2177 | v.Material = BloodMaterial | |
2178 | v.CanCollide = true | |
2179 | v.Anchored = false | |
2180 | end | |
2181 | chatfunc("HAHAHAHAHAHAHA!") | |
2182 | hd:destroy() | |
2183 | end | |
2184 | end) | |
2185 | end)() | |
2186 | local Alpha = .15 | |
2187 | 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) | |
2188 | 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) | |
2189 | 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) | |
2190 | 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) | |
2191 | 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) | |
2192 | 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) | |
2193 | end | |
2194 | Attack = false | |
2195 | NeutralAnims = true | |
2196 | end | |
2197 | chatfunc("..deivis97 edit :3....") | |
2198 | function SawMeDaddy() | |
2199 | local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5) | |
2200 | if(torso)then | |
2201 | Attack = true | |
2202 | NeutralAnims = false | |
2203 | local who = torso.Parent | |
2204 | who.Parent = Char | |
2205 | Hum.WalkSpeed = 0 | |
2206 | Hum.JumpPower = 0 | |
2207 | humanoid.WalkSpeed = 0 | |
2208 | humanoid.JumpPower = 0 | |
2209 | local saw,weld = Equip_Sawblade() | |
2210 | pcall(function() who.HumanoidRootPart:destroy() end) | |
2211 | local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-3)*CF.A(0,M.R(180),0)}) | |
2212 | for i = 0, 6, 0.1 do | |
2213 | swait() | |
2214 | weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(5)),.3) | |
2215 | local Alpha = .15 | |
2216 | 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) | |
2217 | 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) | |
2218 | 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) | |
2219 | 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) | |
2220 | 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) | |
2221 | 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) | |
2222 | end | |
2223 | chatfunc("No escape") | |
2224 | Sound(Torso,367720620,1,1,false,true,true) | |
2225 | coroutine.wrap(function() | |
2226 | repeat swait() | |
2227 | weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(45)),.3) | |
2228 | until not saw.Parent | |
2229 | end)() | |
2230 | swait(60) | |
2231 | local slicing = Sound(saw,1013673726,1,1,true,false,true) | |
2232 | Sound(torso,429400881,1,1,false,true,true) | |
2233 | local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame) | |
2234 | prt1.Parent = torso; | |
2235 | local prt1W = NewInstance('Weld',torso,{Part0=prt1,Part1=torso,C0=CF.A(0,M.R(180),0)}) | |
2236 | for i = 0, .3, 0.001 do | |
2237 | swait() | |
2238 | ||
2239 | humanoid.Health = humanoid.Health - .5 | |
2240 | if(humanoid.Health <= 0)then | |
2241 | gWeld:destroy() | |
2242 | Sound(torso,429400881,1,1,false,true,true) | |
2243 | break | |
2244 | end | |
2245 | local Alpha = i | |
2246 | 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) | |
2247 | 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) | |
2248 | 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) | |
2249 | 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) | |
2250 | 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) | |
2251 | 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) | |
2252 | end | |
2253 | humanoid.Health = 0 | |
2254 | who.Parent = workspace | |
2255 | Ragdoll(who) | |
2256 | slicing:destroy() | |
2257 | for i = 1, 5 do | |
2258 | Effect{ | |
2259 | Effect='Resize+AndFade', | |
2260 | Color = BrickColor.new'Carnation pink', | |
2261 | Material = Enum.Material.Neon, | |
2262 | Size=V3.N(3.5,3.5,3.5), | |
2263 | CFrame=saw.CFrame*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)), | |
2264 | FXSettings={ | |
2265 | EndSize=V3.N(.05,.05,.05), | |
2266 | EndIsIncrement=true, | |
2267 | ||
2268 | } | |
2269 | } | |
2270 | end | |
2271 | Hum.WalkSpeed = 16 | |
2272 | Hum.JumpPower = 50 | |
2273 | saw:destroy() | |
2274 | Attack = false | |
2275 | NeutralAnims = true | |
2276 | end | |
2277 | end | |
2278 | function The_End() | |
2279 | local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5) | |
2280 | ||
2281 | if(torso)then | |
2282 | Attack = true | |
2283 | NeutralAnims = false | |
2284 | local who = torso.Parent | |
2285 | Hum.WalkSpeed = 0 | |
2286 | Hum.JumpPower = 0 | |
2287 | humanoid.WalkSpeed = 0 | |
2288 | humanoid.JumpPower = 0 | |
2289 | who.Parent = Char | |
2290 | pcall(function() who.HumanoidRootPart:destroy() end) | |
2291 | local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.35)}) | |
2292 | for i = 0, 2, 0.1 do | |
2293 | swait() | |
2294 | local Alpha = .3 | |
2295 | 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) | |
2296 | 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) | |
2297 | 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) | |
2298 | 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) | |
2299 | 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) | |
2300 | 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) | |
2301 | end | |
2302 | Sound(Torso,200065377,1.3,4,false,true,true) | |
2303 | for i = 0, 1, 0.1 do | |
2304 | swait() | |
2305 | local Alpha = .2 | |
2306 | 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) | |
2307 | 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) | |
2308 | 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) | |
2309 | 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) | |
2310 | 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) | |
2311 | 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) | |
2312 | end | |
2313 | gWeld:destroy() | |
2314 | 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))}) | |
2315 | for i = 0, 1, 0.1 do | |
2316 | swait() | |
2317 | local Alpha = .3 | |
2318 | humanoid.PlatformStand = true | |
2319 | 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) | |
2320 | 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) | |
2321 | 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) | |
2322 | 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) | |
2323 | 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) | |
2324 | 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) | |
2325 | end | |
2326 | gWeld:destroy() | |
2327 | 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))}) | |
2328 | for i = 0, 6, 0.1 do | |
2329 | swait() | |
2330 | local Alpha = .3 | |
2331 | humanoid.PlatformStand = true | |
2332 | 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) | |
2333 | 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) | |
2334 | 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) | |
2335 | 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) | |
2336 | 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) | |
2337 | 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) | |
2338 | end | |
2339 | Sound(torso,1093102664,.85,5,false,true,true) | |
2340 | Sound(torso,429400881,1,1,false,true,true) | |
2341 | chatfunc("Last words??") | |
2342 | gWeld:destroy() | |
2343 | Blood(torso.Size,torso.CFrame*CF.A(0,M.R(180),0),250) | |
2344 | humanoid.Health = 0 | |
2345 | for _,v in next, who:children() do | |
2346 | if(v:IsA'LocalScript' or v:IsA'Script')then | |
2347 | v.Disabled = true | |
2348 | v:destroy() | |
2349 | end | |
2350 | end | |
2351 | Ragdoll(who,true) | |
2352 | ||
2353 | ||
2354 | if(not VoidSB)then | |
2355 | coroutine.wrap(function() | |
2356 | repeat swait() | |
2357 | BloodDrop(torso.CFrame * CF.N(0,-torso.Size.Y/2,0).p,(torso.CFrame * CF.N(0,-torso.Size.Y,0)).p,15) | |
2358 | until not who or not who.Parent | |
2359 | end)() | |
2360 | coroutine.wrap(function() | |
2361 | local LT = who:FindFirstChild'LowerTorso' | |
2362 | if(LT)then | |
2363 | repeat swait() | |
2364 | BloodDrop(LT.CFrame * CF.N(0,LT.Size.Y/2,0).p,(LT.CFrame * CF.N(0,LT.Size.Y,0)).p,15) | |
2365 | until not who or not who.Parent | |
2366 | end | |
2367 | end)() | |
2368 | end | |
2369 | ||
2370 | for i = 0, 1, 0.1 do | |
2371 | swait() | |
2372 | local Alpha = .3 | |
2373 | humanoid.PlatformStand = true | |
2374 | 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) | |
2375 | 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) | |
2376 | 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) | |
2377 | 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) | |
2378 | 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) | |
2379 | 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) | |
2380 | end | |
2381 | for i = 0, 4, 0.1 do | |
2382 | swait() | |
2383 | local Alpha = .3 | |
2384 | 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) | |
2385 | 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) | |
2386 | 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) | |
2387 | 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) | |
2388 | 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) | |
2389 | 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) | |
2390 | end | |
2391 | who.Parent = workspace | |
2392 | Attack = false | |
2393 | NeutralAnims = true | |
2394 | Hum.WalkSpeed = 16 | |
2395 | Hum.JumpPower = 50 | |
2396 | end | |
2397 | end | |
2398 | ||
2399 | function ThrowArms() | |
2400 | Attack = true | |
2401 | NeutralAnims = false | |
2402 | for i = 0, 3, 0.1 do | |
2403 | swait() | |
2404 | local Alpha = .15 | |
2405 | 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) | |
2406 | 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) | |
2407 | 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) | |
2408 | 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) | |
2409 | 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) | |
2410 | 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) | |
2411 | end | |
2412 | Sound() | |
2413 | FLArmW:destroy() | |
2414 | FRArmW:destroy() | |
2415 | local BV1 = NewInstance("BodyVelocity", FRArm, { | |
2416 | velocity = Vector3.new(0, 10, 0) + Mouse.Hit.lookVector * 50, | |
2417 | P = 5000, | |
2418 | maxForce = Vector3.new(8000, 8000, 8000), | |
2419 | }) | |
2420 | local BV2 = NewInstance("BodyVelocity", FLArm, { | |
2421 | velocity = Vector3.new(0, 10, 0) + Mouse.Hit.lookVector * 50, | |
2422 | P = 5000, | |
2423 | maxForce = Vector3.new(8000, 8000, 8000), | |
2424 | }) | |
2425 | Sound(Torso,541909763,.8,5,false,true,true) | |
2426 | S.Debris:AddItem(BV1, 0.05) | |
2427 | S.Debris:AddItem(BV2, 0.05) | |
2428 | FRArm.CanCollide = true | |
2429 | FLArm.CanCollide = true | |
2430 | S.Debris:AddItem(FRArm, 5) | |
2431 | S.Debris:AddItem(FLArm, 5) | |
2432 | FRArm = nil | |
2433 | FLArm = nil | |
2434 | for i = 0, 1, 0.1 do | |
2435 | swait() | |
2436 | local Alpha = .3 | |
2437 | 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) | |
2438 | 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) | |
2439 | 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) | |
2440 | 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) | |
2441 | 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) | |
2442 | 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) | |
2443 | end | |
2444 | Attack = false | |
2445 | NeutralAnims = true | |
2446 | end | |
2447 | Mouse.KeyDown:connect(function(k) | |
2448 | if(Attack)then return end | |
2449 | if(k == 'q')then Teleport(Mouse.Hit*CF.N(0,3.25,0)) end | |
2450 | if(k == 'e')then Dash() end | |
2451 | if(not FLArm and not FRArm)then | |
2452 | if(k == 'r')then Hum.WalkSpeed = (Hum.WalkSpeed == 16 and 32 or 16) end | |
2453 | if(k == 'z')then The_Necc() end | |
2454 | if(k == 'x')then The_End() end | |
2455 | if(k == 'c')then Hands_Off() end | |
2456 | if(k == 'v')then SawMeDaddy() end | |
2457 | if(k == 'b')then Shriek() end | |
2458 | if(k == 't')then Aids() end | |
2459 | if(k == 'f')then Color1() end | |
2460 | if(k == 'g')then Color4() end | |
2461 | if(k == 'h')then Mistake() end | |
2462 | if(k == 'j')then Normal() end | |
2463 | if(k == 'k')then Glitch() end | |
2464 | if(k == 'p')then TimeTrials() end | |
2465 | if(k == 'y')then BenCreep() end | |
2466 | if(k == 'l')then Happy() end | |
2467 | if(k == 'u')then smile() end | |
2468 | end | |
2469 | end) | |
2470 | ||
2471 | Mouse.Button1Down:connect(function() | |
2472 | if(Attack)then return end | |
2473 | if(FLArm and FRArm)then | |
2474 | ThrowArms() | |
2475 | end | |
2476 | end) | |
2477 | ||
2478 | --// Wrap it all up \\-- | |
2479 | ||
2480 | while true do | |
2481 | swait() | |
2482 | if(not Music or not Music.Parent)then | |
2483 | local a = Music.TimePosition | |
2484 | Music = Sound(Char,MusicID,MusicPitch,2,true,false,true) | |
2485 | Music.Name = 'Music' | |
2486 | Music.TimePosition = a | |
2487 | end | |
2488 | if(Music.Volume ~= 2)then Music.Volume = 2 end | |
2489 | RArm.Transparency = 1 | |
2490 | Sine = Sine + Change | |
2491 | 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) | |
2492 | local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1) | |
2493 | 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") | |
2494 | if(State == 'Walk')then | |
2495 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
2496 | local Alpha = math.min(.2*(Hum.WalkSpeed/16),1) | |
2497 | --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) | |
2498 | --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)-- | |
2499 | 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) | |
2500 | 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) | |
2501 | else | |
2502 | RH.C1 = RH.C1:lerp(CF.N(0,1,0),.3) | |
2503 | LH.C1 = LH.C1:lerp(CF.N(0,1,0),.3) | |
2504 | end | |
2505 | if(Idle > Frame_Speed*10)then | |
2506 | --idk i'll do something | |
2507 | end | |
2508 | if(NeutralAnims and not Attack and State == 'Idle')then | |
2509 | Idle = Idle + 1 | |
2510 | else | |
2511 | Idle = 0 | |
2512 | end | |
2513 | for v,_ in next, Stunned do | |
2514 | if(v.Parent)then | |
2515 | local h = v:FindFirstChildOfClass'Humanoid' | |
2516 | for _,c in next, v:children() do | |
2517 | if(c:IsA'Script' or c:IsA'LocalScript')then | |
2518 | c.Disabled = false | |
2519 | end | |
2520 | end | |
2521 | if(h)then | |
2522 | h.Name = 'End of line' | |
2523 | h.PlatformStand = true | |
2524 | else | |
2525 | Stunned[v] = nil | |
2526 | end | |
2527 | else | |
2528 | Stunned[v] = nil | |
2529 | end | |
2530 | end | |
2531 | if(NeutralAnims)then | |
2532 | if(State == 'Idle')then | |
2533 | Change = 1 | |
2534 | local Alpha = .3 | |
2535 | 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) | |
2536 | 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) | |
2537 | 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) | |
2538 | 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) | |
2539 | 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) | |
2540 | 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) | |
2541 | elseif(State == 'Walk')then | |
2542 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
2543 | local Alpha = math.min(.2*(Hum.WalkSpeed/16),1) | |
2544 | 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) | |
2545 | RH.C0 = RH.C0:lerp(RHC0,Alpha) | |
2546 | LH.C0 = LH.C0:lerp(LHC0,Alpha) | |
2547 | 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) | |
2548 | 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) | |
2549 | NK.C0 = NK.C0:lerp(NKC0,Alpha) | |
2550 | elseif(State == 'Jump' or State == 'Fall')then | |
2551 | if(Walking)then | |
2552 | local Alpha = .2 | |
2553 | 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) | |
2554 | 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) | |
2555 | 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) | |
2556 | 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) | |
2557 | 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) | |
2558 | 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) | |
2559 | else | |
2560 | local Alpha = .2 | |
2561 | 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) | |
2562 | 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) | |
2563 | 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) | |
2564 | 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) | |
2565 | 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) | |
2566 | 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) | |
2567 | end | |
2568 | elseif(State == 'Paralyzed')then | |
2569 | local Alpha = .3 | |
2570 | RJ.C0 = RJ.C0:lerp(RJC0,Alpha) | |
2571 | RH.C0 = RH.C0:lerp(RHC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-10,10)),Alpha) | |
2572 | LH.C0 = LH.C0:lerp(LHC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-10,10)),Alpha) | |
2573 | RS.C0 = RS.C0:lerp(RSC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-5,15)),Alpha) | |
2574 | LS.C0 = LS.C0:lerp(LSC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-15,5)),Alpha) | |
2575 | NK.C0 = NK.C0:lerp(NKC0,Alpha) | |
2576 | elseif(State == 'Sit')then | |
2577 | local Alpha = .3 | |
2578 | 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) | |
2579 | 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) | |
2580 | 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) | |
2581 | 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) | |
2582 | 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) | |
2583 | 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) | |
2584 | refit() | |
2585 | end | |
2586 | end | |
2587 | end |