SHOW:
|
|
- or go back to the newest paste.
1 | - | wait() |
1 | + | |
2 | ------>>Chara<<---------- | |
3 | ---- | |
4 | ---------------------------------------------------------------- | |
5 | print([[ | |
6 | --made by Makhail07 | |
7 | --FE code by Mokiros | |
8 | --Edited by AmokahTheFox-- | |
9 | --Discord: nolol | |
10 | --The Sing Move Is By 1nd1k! | |
11 | -------------------------------- | |
12 | hello good sir | |
13 | Don't leak pls | |
14 | Enjoy ;) | |
15 | -------------------------------- | |
16 | ]]) | |
17 | ||
18 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
19 | local Player,game,owner = owner,game | |
20 | local RealPlayer = Player | |
21 | do | |
22 | local rp = RealPlayer | |
23 | script.Parent = rp.Character | |
24 | ||
25 | --RemoteEvent for communicating | |
26 | local Event = Instance.new("RemoteEvent") | |
27 | Event.Name = "UserInput_Event" | |
28 | ||
29 | --Fake event to make stuff like Mouse.KeyDown work | |
30 | local function fakeEvent() | |
31 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
32 | t.connect = t.Connect | |
33 | return t | |
34 | end | |
35 | ||
36 | --Creating fake input objects with fake variables | |
37 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
38 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
39 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
40 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
41 | end} | |
42 | --Merged 2 functions into one by checking amount of arguments | |
43 | CAS.UnbindAction = CAS.BindAction | |
44 | ||
45 | --This function will trigger the events that have been :Connect()'ed | |
46 | local function te(self,ev,...) | |
47 | local t = m[ev] | |
48 | if t and t._fakeEvent then | |
49 | for _,f in pairs(t.Functions) do | |
50 | f(...) | |
51 | end | |
52 | end | |
53 | end | |
54 | m.TrigEvent = te | |
55 | UIS.TrigEvent = te | |
56 | ||
57 | Event.OnServerEvent:Connect(function(plr,io) | |
58 | if plr~=rp then return end | |
59 | m.Target = io.Target | |
60 | m.Hit = io.Hit | |
61 | if not io.isMouse then | |
62 | local b = io.UserInputState == Enum.UserInputState.Begin | |
63 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
64 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
65 | end | |
66 | for _,t in pairs(CAS.Actions) do | |
67 | for _,k in pairs(t.Keys) do | |
68 | if k==io.KeyCode then | |
69 | t.Function(t.Name,io.UserInputState,io) | |
70 | end | |
71 | end | |
72 | end | |
73 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
74 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
75 | end | |
76 | end) | |
77 | Event.Parent = NLS([==[ | |
78 | local Player = game:GetService("Players").LocalPlayer | |
79 | local Event = script:WaitForChild("UserInput_Event") | |
80 | ||
81 | local Mouse = Player:GetMouse() | |
82 | local UIS = game:GetService("UserInputService") | |
83 | local input = function(io,a) | |
84 | if a then return end | |
85 | --Since InputObject is a client-side instance, we create and pass table instead | |
86 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
87 | end | |
88 | UIS.InputBegan:Connect(input) | |
89 | UIS.InputEnded:Connect(input) | |
90 | ||
91 | local h,t | |
92 | --Give the server mouse data 30 times every second, but only if the values changed | |
93 | --If player is not moving their mouse, client won't fire events | |
94 | while wait(1/30) do | |
95 | if h~=Mouse.Hit or t~=Mouse.Target then | |
96 | h,t=Mouse.Hit,Mouse.Target | |
97 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
98 | end | |
99 | end]==],Player.Character) | |
100 | ||
101 | ----Sandboxed game object that allows the usage of client-side methods and services | |
102 | --Real game object | |
103 | local _rg = game | |
104 | ||
105 | --Metatable for fake service | |
106 | local fsmt = { | |
107 | __index = function(self,k) | |
108 | local s = rawget(self,"_RealService") | |
109 | if s then return s[k] end | |
110 | end, | |
111 | __newindex = function(self,k,v) | |
112 | local s = rawget(self,"_RealService") | |
113 | if s then s[k]=v end | |
114 | end, | |
115 | __call = function(self,...) | |
116 | local s = rawget(self,"_RealService") | |
117 | if s then return s(...) end | |
118 | end | |
119 | } | |
120 | local function FakeService(t,RealService) | |
121 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
122 | return setmetatable(t,fsmt) | |
123 | end | |
124 | ||
125 | --Fake game object | |
126 | local g = { | |
127 | GetService = function(self,s) | |
128 | return self[s] | |
129 | end, | |
130 | Players = FakeService({ | |
131 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
132 | },"Players"), | |
133 | UserInputService = FakeService(UIS,"UserInputService"), | |
134 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
135 | } | |
136 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
137 | g.service = g.GetService | |
138 | ||
139 | g.RunService = FakeService({ | |
140 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
141 | BindToRenderStep = function(self,name,_,fun) | |
142 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
143 | end, | |
144 | UnbindFromRenderStep = function(self,name) | |
145 | self._btrs[name]:Disconnect() | |
146 | end, | |
147 | },"RunService") | |
148 | ||
149 | setmetatable(g,{ | |
150 | __index=function(self,s) | |
151 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
152 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
153 | end, | |
154 | __newindex = fsmt.__newindex, | |
155 | __call = fsmt.__call | |
156 | }) | |
157 | --Changing owner to fake player object to support owner:GetMouse() | |
158 | game,owner = g,g.Players.LocalPlayer | |
159 | end | |
160 | ||
161 | Player = owner | |
162 | PlayerGui = Player.PlayerGui | |
163 | Cam = workspace.CurrentCamera | |
164 | Backpack = Player.Backpack | |
165 | Character = Player.Character | |
166 | Humanoid = Character.Humanoid | |
167 | RootPart = Character["HumanoidRootPart"] | |
168 | Torso = Character["Torso"] | |
169 | Head = Character["Head"] | |
170 | RightArm = Character["Right Arm"] | |
171 | LeftArm = Character["Left Arm"] | |
172 | RightLeg = Character["Right Leg"] | |
173 | LeftLeg = Character["Left Leg"] | |
174 | RootJoint = RootPart["RootJoint"] | |
175 | Neck = Torso["Neck"] | |
176 | RightShoulder = Torso["Right Shoulder"] | |
177 | LeftShoulder = Torso["Left Shoulder"] | |
178 | RightHip = Torso["Right Hip"] | |
179 | LeftHip = Torso["Left Hip"] | |
180 | ||
181 | Character = Player.Character | |
182 | Humanoid = Character.Humanoid | |
183 | --------- | |
184 | plr = game.Players.LocalPlayer | |
185 | chara = plr.Character | |
186 | mouse = plr:GetMouse() | |
187 | Create = Instance.new | |
188 | Huge = math.huge | |
189 | ||
190 | ||
191 | Player = game:GetService("Players").LocalPlayer | |
192 | PlayerGui = Player.PlayerGui | |
193 | Cam = workspace.CurrentCamera | |
194 | Backpack = Player.Backpack | |
195 | Character = Player.Character | |
196 | char = Player.Character | |
197 | Humanoid = Character.Humanoid | |
198 | Mouse = Player:GetMouse() | |
199 | RootPart = Character["HumanoidRootPart"] | |
200 | Torso = Character["Torso"] | |
201 | Head = Character["Head"] | |
202 | RightArm = Character["Right Arm"] | |
203 | LeftArm = Character["Left Arm"] | |
204 | RightLeg = Character["Right Leg"] | |
205 | LeftLeg = Character["Left Leg"] | |
206 | RootJoint = RootPart["RootJoint"] | |
207 | Neck = Torso["Neck"] | |
208 | RightShoulder = Torso["Right Shoulder"] | |
209 | LeftShoulder = Torso["Left Shoulder"] | |
210 | RightHip = Torso["Right Hip"] | |
211 | LeftHip = Torso["Left Hip"] | |
212 | ||
213 | local shadowhead = Create("Part",chara.Head) | |
214 | shadowhead.BrickColor = BrickColor.new("Black") | |
215 | shadowhead.Size = Vector3.new(1.2, 0.6, 1) | |
216 | shadowhead.CanCollide = false | |
217 | local shadowheadmesh = Create("SpecialMesh",shadowhead) | |
218 | shadowheadmesh.MeshType = "Head" | |
219 | shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26) | |
220 | local weld2 = Create("Weld",shadowhead) | |
221 | weld2.Part0 = shadowhead | |
222 | weld2.Part1 = chara.Head | |
223 | weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
224 | ||
225 | shadowhead.Transparency = 0.6 | |
226 | ||
227 | local Orin = "http://www.roblox.com/asset/?id=7074786" | |
228 | Head.face.Texture = Orin | |
229 | function weld(a, b, acf) | |
230 | local w = Instance.new("Weld", a) | |
231 | w.Part0 = a | |
232 | w.Part1 = b | |
233 | w.C0 = acf | |
234 | end | |
235 | ||
236 | -------------------------------- | |
237 | char.Head.face.Texture = "rbxassetid://1364919656" | |
238 | -------------------------------- | |
239 | ||
240 | ------------------------------------------------------- | |
241 | ||
242 | local FavIDs = { | |
243 | 340106355, --Nefl Crystals | |
244 | 927529620, --Dimension | |
245 | 876981900, --Fantasy | |
246 | 398987889, --Ordinary Days | |
247 | 1117396305, --Oh wait, it's you. | |
248 | 885996042, --Action Winter Journey | |
249 | 919231299, --Sprawling Idiot Effigy | |
250 | 743466274, --Good Day Sunshine | |
251 | 727411183, --Knife Fight | |
252 | 1402748531, --The Earth Is Counting On You! | |
253 | 595230126 --Robot Language | |
254 | } | |
255 | ||
256 | ||
257 | ||
258 | --The reality of my life isn't real but a Universe -makhail07 | |
259 | wait(0.2) | |
260 | local plr = game:service'Players'.LocalPlayer | |
261 | print('Local User is '..plr.Name) | |
262 | print('SCRIPTNAME Loaded') | |
263 | print('SCRIPT DESCRIPTION') | |
264 | local char = plr.Character | |
265 | local hum = char.Humanoid | |
266 | local hed = char.Head | |
267 | local root = char.HumanoidRootPart | |
268 | local rootj = root.RootJoint | |
269 | local tors = char.Torso | |
270 | local ra = char["Right Arm"] | |
271 | local la = char["Left Arm"] | |
272 | local rl = char["Right Leg"] | |
273 | local ll = char["Left Leg"] | |
274 | local neck = tors["Neck"] | |
275 | local mouse = plr:GetMouse() | |
276 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
277 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
278 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
279 | local maincolor = BrickColor.new("Really red") | |
280 | ||
281 | ------------------------------------------------------- | |
282 | --Start Good Stuff-- | |
283 | ------------------------------------------------------- | |
284 | cam = game.Workspace.CurrentCamera | |
285 | CF = CFrame.new | |
286 | angles = CFrame.Angles | |
287 | attack = false | |
288 | Euler = CFrame.fromEulerAnglesXYZ | |
289 | Rad = math.rad | |
290 | IT = Instance.new | |
291 | BrickC = BrickColor.new | |
292 | Cos = math.cos | |
293 | Acos = math.acos | |
294 | Sin = math.sin | |
295 | Asin = math.asin | |
296 | Abs = math.abs | |
297 | Mrandom = math.random | |
298 | Floor = math.floor | |
299 | ------------------------------------------------------- | |
300 | --End Good Stuff-- | |
301 | ------------------------------------------------------- | |
302 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
303 | RSH, LSH = nil, nil | |
304 | RW = Instance.new("Weld") | |
305 | LW = Instance.new("Weld") | |
306 | RH = tors["Right Hip"] | |
307 | LH = tors["Left Hip"] | |
308 | RSH = tors["Right Shoulder"] | |
309 | LSH = tors["Left Shoulder"] | |
310 | RSH.Parent = nil | |
311 | LSH.Parent = nil | |
312 | RW.Name = "RW" | |
313 | RW.Part0 = tors | |
314 | RW.C0 = CF(1.5, 0.5, 0) | |
315 | RW.C1 = CF(0, 0.5, 0) | |
316 | RW.Part1 = ra | |
317 | RW.Parent = tors | |
318 | LW.Name = "LW" | |
319 | LW.Part0 = tors | |
320 | LW.C0 = CF(-1.5, 0.5, 0) | |
321 | LW.C1 = CF(0, 0.5, 0) | |
322 | LW.Part1 = la | |
323 | LW.Parent = tors | |
324 | Effects = {} | |
325 | ------------------------------------------------------- | |
326 | --Start HeartBeat-- | |
327 | ------------------------------------------------------- | |
328 | ArtificialHB = Instance.new("BindableEvent", script) | |
329 | ArtificialHB.Name = "Heartbeat" | |
330 | script:WaitForChild("Heartbeat") | |
331 | ||
332 | frame = 1 / 60 | |
333 | tf = 0 | |
334 | allowframeloss = false | |
335 | tossremainder = false | |
336 | ||
337 | ||
338 | lastframe = tick() | |
339 | script.Heartbeat:Fire() | |
340 | ||
341 | ||
342 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
343 | tf = tf + s | |
344 | if tf >= frame then | |
345 | if allowframeloss then | |
346 | script.Heartbeat:Fire() | |
347 | lastframe = tick() | |
348 | else | |
349 | for i = 1, math.floor(tf / frame) do | |
350 | script.Heartbeat:Fire() | |
351 | end | |
352 | lastframe = tick() | |
353 | end | |
354 | if tossremainder then | |
355 | tf = 0 | |
356 | else | |
357 | tf = tf - frame * math.floor(tf / frame) | |
358 | end | |
359 | end | |
360 | end) | |
361 | ------------------------------------------------------- | |
362 | --End HeartBeat-- | |
363 | ------------------------------------------------------- | |
364 | local joyemoji = Instance.new('ParticleEmitter', tors) | |
365 | joyemoji.VelocitySpread = 2000 | |
366 | joyemoji.Lifetime = NumberRange.new(1) | |
367 | joyemoji.Speed = NumberRange.new(40) | |
368 | joy= {} | |
369 | for i=0, 19 do | |
370 | joy[#joy+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
371 | end | |
372 | joyemoji.Size = NumberSequence.new(joy) | |
373 | joyemoji.Rate = 0 | |
374 | joyemoji.LockedToPart = false | |
375 | joyemoji.LightEmission = 0 | |
376 | joyemoji.Texture = "rbxassetid://73623723" | |
377 | joyemoji.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
378 | ||
379 | ------------------------------------------------------- | |
380 | --Start Important Functions-- | |
381 | ------------------------------------------------------- | |
382 | ||
383 | function swait(num) | |
384 | if num == 0 or num == nil then | |
385 | game:service("RunService").Stepped:wait(0) | |
386 | else | |
387 | for i = 0, num do | |
388 | game:service("RunService").Stepped:wait(0) | |
389 | end | |
390 | end | |
391 | end | |
392 | function thread(f) | |
393 | coroutine.resume(coroutine.create(f)) | |
394 | end | |
395 | function clerp(a, b, t) | |
396 | local qa = { | |
397 | QuaternionFromCFrame(a) | |
398 | } | |
399 | local qb = { | |
400 | QuaternionFromCFrame(b) | |
401 | } | |
402 | local ax, ay, az = a.x, a.y, a.z | |
403 | local bx, by, bz = b.x, b.y, b.z | |
404 | local _t = 1 - t | |
405 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
406 | end | |
407 | function QuaternionFromCFrame(cf) | |
408 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
409 | local trace = m00 + m11 + m22 | |
410 | if trace > 0 then | |
411 | local s = math.sqrt(1 + trace) | |
412 | local recip = 0.5 / s | |
413 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
414 | else | |
415 | local i = 0 | |
416 | if m00 < m11 then | |
417 | i = 1 | |
418 | end | |
419 | if m22 > (i == 0 and m00 or m11) then | |
420 | i = 2 | |
421 | end | |
422 | if i == 0 then | |
423 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
424 | local recip = 0.5 / s | |
425 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
426 | elseif i == 1 then | |
427 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
428 | local recip = 0.5 / s | |
429 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
430 | elseif i == 2 then | |
431 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
432 | local recip = 0.5 / s | |
433 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
434 | end | |
435 | end | |
436 | end | |
437 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
438 | local xs, ys, zs = x + x, y + y, z + z | |
439 | local wx, wy, wz = w * xs, w * ys, w * zs | |
440 | local xx = x * xs | |
441 | local xy = x * ys | |
442 | local xz = x * zs | |
443 | local yy = y * ys | |
444 | local yz = y * zs | |
445 | local zz = z * zs | |
446 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
447 | end | |
448 | function QuaternionSlerp(a, b, t) | |
449 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
450 | local startInterp, finishInterp | |
451 | if cosTheta >= 1.0E-4 then | |
452 | if 1 - cosTheta > 1.0E-4 then | |
453 | local theta = math.acos(cosTheta) | |
454 | local invSinTheta = 1 / Sin(theta) | |
455 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
456 | finishInterp = Sin(t * theta) * invSinTheta | |
457 | else | |
458 | startInterp = 1 - t | |
459 | finishInterp = t | |
460 | end | |
461 | elseif 1 + cosTheta > 1.0E-4 then | |
462 | local theta = math.acos(-cosTheta) | |
463 | local invSinTheta = 1 / Sin(theta) | |
464 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
465 | finishInterp = Sin(t * theta) * invSinTheta | |
466 | else | |
467 | startInterp = t - 1 | |
468 | finishInterp = t | |
469 | end | |
470 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
471 | end | |
472 | function rayCast(Position, Direction, Range, Ignore) | |
473 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
474 | end | |
475 | local RbxUtility = LoadLibrary("RbxUtility") | |
476 | local Create = RbxUtility.Create | |
477 | ||
478 | function getRegion(point,range,ignore) | |
479 | return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100) | |
480 | end | |
481 | ||
482 | function GetTorso(char) | |
483 | return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' | |
484 | end | |
485 | ||
486 | 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} | |
487 | ------------------------------------------------------- | |
488 | --Start Damage Function-- | |
489 | ------------------------------------------------------- | |
490 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
491 | if hit.Parent == nil then | |
492 | return | |
493 | end | |
494 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
495 | for _, v in pairs(hit.Parent:children()) do | |
496 | if v:IsA("Humanoid") then | |
497 | h = v | |
498 | end | |
499 | end | |
500 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
501 | ||
502 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
503 | end | |
504 | ||
505 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
506 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
507 | if hit.Parent.DebounceHit.Value == true then | |
508 | return | |
509 | end | |
510 | end | |
511 | if insta == true then | |
512 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
513 | end | |
514 | local c = Create("ObjectValue"){ | |
515 | Name = "creator", | |
516 | Value = game:service("Players").LocalPlayer, | |
517 | Parent = h, | |
518 | } | |
519 | game:GetService("Debris"):AddItem(c, .5) | |
520 | if HitSound ~= nil and HitPitch ~= nil then | |
521 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
522 | end | |
523 | local Damage = math.random(minim, maxim) | |
524 | local blocked = false | |
525 | local block = hit.Parent:findFirstChild("Block") | |
526 | if block ~= nil then | |
527 | if block.className == "IntValue" then | |
528 | if block.Value > 0 then | |
529 | blocked = true | |
530 | block.Value = block.Value - 1 | |
531 | print(block.Value) | |
532 | end | |
533 | end | |
534 | end | |
535 | if blocked == false then | |
536 | h.Health = h.Health - Damage | |
537 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
538 | else | |
539 | h.Health = h.Health - (Damage / 2) | |
540 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
541 | end | |
542 | if Type == "Knockdown" then | |
543 | local hum = hit.Parent.Humanoid | |
544 | hum.PlatformStand = true | |
545 | coroutine.resume(coroutine.create(function(HHumanoid) | |
546 | swait(1) | |
547 | HHumanoid.PlatformStand = false | |
548 | end), hum) | |
549 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
550 | local bodvol = Create("BodyVelocity"){ | |
551 | velocity = angle * knockback, | |
552 | P = 5000, | |
553 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
554 | Parent = hit, | |
555 | } | |
556 | local rl = Create("BodyAngularVelocity"){ | |
557 | P = 3000, | |
558 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
559 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
560 | Parent = hit, | |
561 | } | |
562 | game:GetService("Debris"):AddItem(bodvol, .5) | |
563 | game:GetService("Debris"):AddItem(rl, .5) | |
564 | elseif Type == "Normal" then | |
565 | local vp = Create("BodyVelocity"){ | |
566 | P = 500, | |
567 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
568 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
569 | } | |
570 | if knockback > 0 then | |
571 | vp.Parent = hit.Parent.Torso | |
572 | end | |
573 | game:GetService("Debris"):AddItem(vp, .5) | |
574 | elseif Type == "Up" then | |
575 | local bodyVelocity = Create("BodyVelocity"){ | |
576 | velocity = Vector3.new(0, 20, 0), | |
577 | P = 5000, | |
578 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
579 | Parent = hit, | |
580 | } | |
581 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
582 | elseif Type == "DarkUp" then | |
583 | coroutine.resume(coroutine.create(function() | |
584 | for i = 0, 1, 0.1 do | |
585 | swait() | |
586 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
587 | end | |
588 | end)) | |
589 | local bodyVelocity = Create("BodyVelocity"){ | |
590 | velocity = Vector3.new(0, 20, 0), | |
591 | P = 5000, | |
592 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
593 | Parent = hit, | |
594 | } | |
595 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
596 | elseif Type == "Snare" then | |
597 | local bp = Create("BodyPosition"){ | |
598 | P = 2000, | |
599 | D = 100, | |
600 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
601 | position = hit.Parent.Torso.Position, | |
602 | Parent = hit.Parent.Torso, | |
603 | } | |
604 | game:GetService("Debris"):AddItem(bp, 1) | |
605 | elseif Type == "Freeze" then | |
606 | local BodPos = Create("BodyPosition"){ | |
607 | P = 50000, | |
608 | D = 1000, | |
609 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
610 | position = hit.Parent.Torso.Position, | |
611 | Parent = hit.Parent.Torso, | |
612 | } | |
613 | local BodGy = Create("BodyGyro") { | |
614 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
615 | P = 20e+003, | |
616 | Parent = hit.Parent.Torso, | |
617 | cframe = hit.Parent.Torso.CFrame, | |
618 | } | |
619 | hit.Parent.Torso.Anchored = true | |
620 | coroutine.resume(coroutine.create(function(Part) | |
621 | swait(1.5) | |
622 | Part.Anchored = false | |
623 | end), hit.Parent.Torso) | |
624 | game:GetService("Debris"):AddItem(BodPos, 3) | |
625 | game:GetService("Debris"):AddItem(BodGy, 3) | |
626 | end | |
627 | local debounce = Create("BoolValue"){ | |
628 | Name = "DebounceHit", | |
629 | Parent = hit.Parent, | |
630 | Value = true, | |
631 | } | |
632 | game:GetService("Debris"):AddItem(debounce, Delay) | |
633 | c = Create("ObjectValue"){ | |
634 | Name = "creator", | |
635 | Value = Player, | |
636 | Parent = h, | |
637 | } | |
638 | game:GetService("Debris"):AddItem(c, .5) | |
639 | end | |
640 | end | |
641 | ------------------------------------------------------- | |
642 | --End Damage Function-- | |
643 | ------------------------------------------------------- | |
644 | ||
645 | ------------------------------------------------------- | |
646 | --Start Damage Function Customization-- | |
647 | ------------------------------------------------------- | |
648 | function ShowDamage(Pos, Text, Time, Color) | |
649 | local Rate = (1 / 30) | |
650 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
651 | local Text = (Text or "") | |
652 | local Time = (Time or 2) | |
653 | local Color = (Color or Color3.new(255, 255, 1)) | |
654 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
655 | EffectPart.Anchored = true | |
656 | local BillboardGui = Create("BillboardGui"){ | |
657 | Size = UDim2.new(3, 0, 3, 0), | |
658 | Adornee = EffectPart, | |
659 | Parent = EffectPart, | |
660 | } | |
661 | local TextLabel = Create("TextLabel"){ | |
662 | BackgroundTransparency = 1, | |
663 | Size = UDim2.new(1, 0, 1, 0), | |
664 | Text = Text, | |
665 | Font = "Bodoni", | |
666 | TextColor3 = Color, | |
667 | TextScaled = true, | |
668 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
669 | Parent = BillboardGui, | |
670 | } | |
671 | game.Debris:AddItem(EffectPart, (Time)) | |
672 | EffectPart.Parent = game:GetService("Workspace") | |
673 | delay(0, function() | |
674 | local Frames = (Time / Rate) | |
675 | for Frame = 1, Frames do | |
676 | wait(Rate) | |
677 | local Percent = (Frame / Frames) | |
678 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
679 | TextLabel.TextTransparency = Percent | |
680 | end | |
681 | if EffectPart and EffectPart.Parent then | |
682 | EffectPart:Destroy() | |
683 | end | |
684 | end) | |
685 | end | |
686 | ------------------------------------------------------- | |
687 | --End Damage Function Customization-- | |
688 | ------------------------------------------------------- | |
689 | ||
690 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
691 | for _, c in pairs(workspace:children()) do | |
692 | local hum = c:findFirstChild("Humanoid") | |
693 | if hum ~= nil then | |
694 | local head = c:findFirstChild("Head") | |
695 | if head ~= nil then | |
696 | local targ = head.Position - Part.Position | |
697 | local mag = targ.magnitude | |
698 | if magni >= mag and c.Name ~= plr.Name then | |
699 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
700 | end | |
701 | end | |
702 | end | |
703 | end | |
704 | end | |
705 | ||
706 | ||
707 | CFuncs = { | |
708 | Part = { | |
709 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
710 | local Part = Create("Part")({ | |
711 | Parent = Parent, | |
712 | Reflectance = Reflectance, | |
713 | Transparency = Transparency, | |
714 | CanCollide = false, | |
715 | Locked = true, | |
716 | BrickColor = BrickColor.new(tostring(BColor)), | |
717 | Name = Name, | |
718 | Size = Size, | |
719 | Material = Material | |
720 | }) | |
721 | RemoveOutlines(Part) | |
722 | return Part | |
723 | end | |
724 | }, | |
725 | Mesh = { | |
726 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
727 | local Msh = Create(Mesh)({ | |
728 | Parent = Part, | |
729 | Offset = OffSet, | |
730 | Scale = Scale | |
731 | }) | |
732 | if Mesh == "SpecialMesh" then | |
733 | Msh.MeshType = MeshType | |
734 | Msh.MeshId = MeshId | |
735 | end | |
736 | return Msh | |
737 | end | |
738 | }, | |
739 | Mesh = { | |
740 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
741 | local Msh = Create(Mesh)({ | |
742 | Parent = Part, | |
743 | Offset = OffSet, | |
744 | Scale = Scale | |
745 | }) | |
746 | if Mesh == "SpecialMesh" then | |
747 | Msh.MeshType = MeshType | |
748 | Msh.MeshId = MeshId | |
749 | end | |
750 | return Msh | |
751 | end | |
752 | }, | |
753 | Weld = { | |
754 | Create = function(Parent, Part0, Part1, C0, C1) | |
755 | local Weld = Create("Weld")({ | |
756 | Parent = Parent, | |
757 | Part0 = Part0, | |
758 | Part1 = Part1, | |
759 | C0 = C0, | |
760 | C1 = C1 | |
761 | }) | |
762 | return Weld | |
763 | end | |
764 | }, | |
765 | Sound = { | |
766 | Create = function(id, par, vol, pit) | |
767 | coroutine.resume(coroutine.create(function() | |
768 | local S = Create("Sound")({ | |
769 | Volume = vol, | |
770 | Pitch = pit or 1, | |
771 | SoundId = id, | |
772 | Parent = par or workspace | |
773 | }) | |
774 | wait() | |
775 | S:play() | |
776 | game:GetService("Debris"):AddItem(S, 6) | |
777 | end)) | |
778 | end | |
779 | }, | |
780 | ParticleEmitter = { | |
781 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
782 | local fp = Create("ParticleEmitter")({ | |
783 | Parent = Parent, | |
784 | Color = ColorSequence.new(Color1, Color2), | |
785 | LightEmission = LightEmission, | |
786 | Size = Size, | |
787 | Texture = Texture, | |
788 | Transparency = Transparency, | |
789 | ZOffset = ZOffset, | |
790 | Acceleration = Accel, | |
791 | Drag = Drag, | |
792 | LockedToPart = LockedToPart, | |
793 | VelocityInheritance = VelocityInheritance, | |
794 | EmissionDirection = EmissionDirection, | |
795 | Enabled = Enabled, | |
796 | Lifetime = LifeTime, | |
797 | Rate = Rate, | |
798 | Rotation = Rotation, | |
799 | RotSpeed = RotSpeed, | |
800 | Speed = Speed, | |
801 | VelocitySpread = VelocitySpread | |
802 | }) | |
803 | return fp | |
804 | end | |
805 | } | |
806 | } | |
807 | function RemoveOutlines(part) | |
808 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
809 | end | |
810 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
811 | local Part = Create("Part")({ | |
812 | formFactor = FormFactor, | |
813 | Parent = Parent, | |
814 | Reflectance = Reflectance, | |
815 | Transparency = Transparency, | |
816 | CanCollide = false, | |
817 | Locked = true, | |
818 | BrickColor = BrickColor.new(tostring(BColor)), | |
819 | Name = Name, | |
820 | Size = Size, | |
821 | Material = Material | |
822 | }) | |
823 | RemoveOutlines(Part) | |
824 | return Part | |
825 | end | |
826 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
827 | local Msh = Create(Mesh)({ | |
828 | Parent = Part, | |
829 | Offset = OffSet, | |
830 | Scale = Scale | |
831 | }) | |
832 | if Mesh == "SpecialMesh" then | |
833 | Msh.MeshType = MeshType | |
834 | Msh.MeshId = MeshId | |
835 | end | |
836 | return Msh | |
837 | end | |
838 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
839 | local Weld = Create("Weld")({ | |
840 | Parent = Parent, | |
841 | Part0 = Part0, | |
842 | Part1 = Part1, | |
843 | C0 = C0, | |
844 | C1 = C1 | |
845 | }) | |
846 | return Weld | |
847 | end | |
848 | ||
849 | ||
850 | ------------------------------------------------------- | |
851 | --Start Effect Function-- | |
852 | ------------------------------------------------------- | |
853 | EffectModel = Instance.new("Model", char) | |
854 | Effects = { | |
855 | Block = { | |
856 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
857 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
858 | prt.Anchored = true | |
859 | prt.CFrame = cframe | |
860 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
861 | game:GetService("Debris"):AddItem(prt, 10) | |
862 | if Type == 1 or Type == nil then | |
863 | table.insert(Effects, { | |
864 | prt, | |
865 | "Block1", | |
866 | delay, | |
867 | x3, | |
868 | y3, | |
869 | z3, | |
870 | msh | |
871 | }) | |
872 | elseif Type == 2 then | |
873 | table.insert(Effects, { | |
874 | prt, | |
875 | "Block2", | |
876 | delay, | |
877 | x3, | |
878 | y3, | |
879 | z3, | |
880 | msh | |
881 | }) | |
882 | else | |
883 | table.insert(Effects, { | |
884 | prt, | |
885 | "Block3", | |
886 | delay, | |
887 | x3, | |
888 | y3, | |
889 | z3, | |
890 | msh | |
891 | }) | |
892 | end | |
893 | end | |
894 | }, | |
895 | Sphere = { | |
896 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
897 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
898 | prt.Anchored = true | |
899 | prt.CFrame = cframe | |
900 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
901 | game:GetService("Debris"):AddItem(prt, 10) | |
902 | table.insert(Effects, { | |
903 | prt, | |
904 | "Cylinder", | |
905 | delay, | |
906 | x3, | |
907 | y3, | |
908 | z3, | |
909 | msh | |
910 | }) | |
911 | end | |
912 | }, | |
913 | Cylinder = { | |
914 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
915 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
916 | prt.Anchored = true | |
917 | prt.CFrame = cframe | |
918 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
919 | game:GetService("Debris"):AddItem(prt, 10) | |
920 | table.insert(Effects, { | |
921 | prt, | |
922 | "Cylinder", | |
923 | delay, | |
924 | x3, | |
925 | y3, | |
926 | z3, | |
927 | msh | |
928 | }) | |
929 | end | |
930 | }, | |
931 | Wave = { | |
932 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
933 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
934 | prt.Anchored = true | |
935 | prt.CFrame = cframe | |
936 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
937 | game:GetService("Debris"):AddItem(prt, 10) | |
938 | table.insert(Effects, { | |
939 | prt, | |
940 | "Cylinder", | |
941 | delay, | |
942 | x3 / 60, | |
943 | y3 / 60, | |
944 | z3 / 60, | |
945 | msh | |
946 | }) | |
947 | end | |
948 | }, | |
949 | Ring = { | |
950 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
951 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
952 | prt.Anchored = true | |
953 | prt.CFrame = cframe | |
954 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
955 | game:GetService("Debris"):AddItem(prt, 10) | |
956 | table.insert(Effects, { | |
957 | prt, | |
958 | "Cylinder", | |
959 | delay, | |
960 | x3, | |
961 | y3, | |
962 | z3, | |
963 | msh | |
964 | }) | |
965 | end | |
966 | }, | |
967 | Break = { | |
968 | Create = function(brickcolor, cframe, x1, y1, z1) | |
969 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
970 | prt.Anchored = true | |
971 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
972 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
973 | local num = math.random(10, 50) / 1000 | |
974 | game:GetService("Debris"):AddItem(prt, 10) | |
975 | table.insert(Effects, { | |
976 | prt, | |
977 | "Shatter", | |
978 | num, | |
979 | prt.CFrame, | |
980 | math.random() - math.random(), | |
981 | 0, | |
982 | math.random(50, 100) / 100 | |
983 | }) | |
984 | end | |
985 | }, | |
986 | Spiral = { | |
987 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
988 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
989 | prt.Anchored = true | |
990 | prt.CFrame = cframe | |
991 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
992 | game:GetService("Debris"):AddItem(prt, 10) | |
993 | table.insert(Effects, { | |
994 | prt, | |
995 | "Cylinder", | |
996 | delay, | |
997 | x3, | |
998 | y3, | |
999 | z3, | |
1000 | msh | |
1001 | }) | |
1002 | end | |
1003 | }, | |
1004 | Push = { | |
1005 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1006 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1007 | prt.Anchored = true | |
1008 | prt.CFrame = cframe | |
1009 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1010 | game:GetService("Debris"):AddItem(prt, 10) | |
1011 | table.insert(Effects, { | |
1012 | prt, | |
1013 | "Cylinder", | |
1014 | delay, | |
1015 | x3, | |
1016 | y3, | |
1017 | z3, | |
1018 | msh | |
1019 | }) | |
1020 | end | |
1021 | } | |
1022 | } | |
1023 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
1024 | local fp = IT("Part") | |
1025 | fp.formFactor = formfactor | |
1026 | fp.Parent = parent | |
1027 | fp.Reflectance = reflectance | |
1028 | fp.Transparency = transparency | |
1029 | fp.CanCollide = false | |
1030 | fp.Locked = true | |
1031 | fp.BrickColor = brickcolor | |
1032 | fp.Name = name | |
1033 | fp.Size = size | |
1034 | fp.Position = tors.Position | |
1035 | RemoveOutlines(fp) | |
1036 | fp.Material = "SmoothPlastic" | |
1037 | fp:BreakJoints() | |
1038 | return fp | |
1039 | end | |
1040 | ||
1041 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1042 | local mesh = IT(Mesh) | |
1043 | mesh.Parent = part | |
1044 | if Mesh == "SpecialMesh" then | |
1045 | mesh.MeshType = meshtype | |
1046 | if meshid ~= "nil" then | |
1047 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
1048 | end | |
1049 | end | |
1050 | mesh.Offset = offset | |
1051 | mesh.Scale = scale | |
1052 | return mesh | |
1053 | end | |
1054 | ||
1055 | local FightButtonBrick = Instance.new("Part") | |
1056 | FightButtonBrick.Name = "CharasButton" | |
1057 | FightButtonBrick.Size = Vector3.new(6.12, 2.66, 0.05) | |
1058 | FightButtonBrick.Anchored = true | |
1059 | FightButtonBrick.CanCollide = false | |
1060 | FightButtonBrick.Material = "Neon" | |
1061 | FightButtonBrick.BrickColor = BrickColor.Black() | |
1062 | FightButtonBrick.Parent = workspace["TameDoNotClick"].Torso | |
1063 | ||
1064 | local FrontFightDec = Instance.new("Decal") | |
1065 | FrontFightDec.Name = "FrontFightImg1" | |
1066 | FrontFightDec.Parent = FightButtonBrick | |
1067 | FrontFightDec.Texture = "rbxassetid://347815055" | |
1068 | ||
1069 | local BackFightDec = Instance.new("Decal") | |
1070 | BackFightDec.Parent = FightButtonBrick | |
1071 | BackFightDec.Face = Enum.NormalId.Back | |
1072 | BackFightDec.Name = "BackFightImg2" | |
1073 | BackFightDec.Texture = "rbxassetid://347815055" | |
1074 | ||
1075 | local direction = CFrame.new(FightButtonBrick.Position, char['Left Leg'].Position).lookVector | |
1076 | local increment = direction * 4 | |
1077 | ||
1078 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
1079 | local type = type | |
1080 | local rng = Instance.new("Part", char) | |
1081 | rng.Anchored = true | |
1082 | rng.BrickColor = color | |
1083 | rng.CanCollide = false | |
1084 | rng.FormFactor = 3 | |
1085 | rng.Name = "Ring" | |
1086 | rng.Material = "Neon" | |
1087 | rng.Size = Vector3.new(1, 1, 1) | |
1088 | rng.Transparency = 0 | |
1089 | rng.TopSurface = 0 | |
1090 | rng.BottomSurface = 0 | |
1091 | rng.CFrame = pos | |
1092 | local rngm = Instance.new("SpecialMesh", rng) | |
1093 | rngm.MeshType = MType | |
1094 | rngm.Scale = scale | |
1095 | local scaler2 = 1 | |
1096 | if type == "Add" then | |
1097 | scaler2 = 1 * value | |
1098 | elseif type == "Divide" then | |
1099 | scaler2 = 1 / value | |
1100 | end | |
1101 | coroutine.resume(coroutine.create(function() | |
1102 | for i = 0, 10 / bonuspeed, 0.1 do | |
1103 | swait() | |
1104 | if type == "Add" then | |
1105 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1106 | elseif type == "Divide" then | |
1107 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1108 | end | |
1109 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1110 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
1111 | end | |
1112 | rng:Destroy() | |
1113 | end)) | |
1114 | end | |
1115 | ||
1116 | function Eviscerate(dude) | |
1117 | if dude.Name ~= char then | |
1118 | local bgf = IT("BodyGyro", dude.Head) | |
1119 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1120 | local val = IT("BoolValue", dude) | |
1121 | val.Name = "IsHit" | |
1122 | local ds = coroutine.wrap(function() | |
1123 | dude:WaitForChild("Head"):BreakJoints() | |
1124 | wait(0.5) | |
1125 | target = nil | |
1126 | coroutine.resume(coroutine.create(function() | |
1127 | for i, v in pairs(dude:GetChildren()) do | |
1128 | if v:IsA("Accessory") then | |
1129 | v:Destroy() | |
1130 | end | |
1131 | if v:IsA("Humanoid") then | |
1132 | v:Destroy() | |
1133 | end | |
1134 | if v:IsA("CharacterMesh") then | |
1135 | v:Destroy() | |
1136 | end | |
1137 | if v:IsA("Model") then | |
1138 | v:Destroy() | |
1139 | end | |
1140 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1141 | for x, o in pairs(v:GetChildren()) do | |
1142 | if o:IsA("Decal") then | |
1143 | o:Destroy() | |
1144 | end | |
1145 | end | |
1146 | coroutine.resume(coroutine.create(function() | |
1147 | v.Material = "Neon" | |
1148 | v.CanCollide = false | |
1149 | local PartEmmit1 = IT("ParticleEmitter", reye) | |
1150 | PartEmmit1.LightEmission = 1 | |
1151 | PartEmmit1.Texture = "rbxassetid://284205403" | |
1152 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1153 | PartEmmit1.Rate = 150 | |
1154 | PartEmmit1.Lifetime = NumberRange.new(1) | |
1155 | PartEmmit1.Size = NumberSequence.new({ | |
1156 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
1157 | NumberSequenceKeypoint.new(1, 0, 0) | |
1158 | }) | |
1159 | PartEmmit1.Transparency = NumberSequence.new({ | |
1160 | NumberSequenceKeypoint.new(0, 0, 0), | |
1161 | NumberSequenceKeypoint.new(1, 1, 0) | |
1162 | }) | |
1163 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1164 | PartEmmit1.VelocitySpread = 30000 | |
1165 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
1166 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
1167 | local BodPoss = IT("BodyPosition", v) | |
1168 | BodPoss.P = 3000 | |
1169 | BodPoss.D = 1000 | |
1170 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1171 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1172 | v.Color = maincolor.Color | |
1173 | coroutine.resume(coroutine.create(function() | |
1174 | for i = 0, 49 do | |
1175 | swait(1) | |
1176 | v.Transparency = v.Transparency + 0.08 | |
1177 | end | |
1178 | wait(0.5) | |
1179 | PartEmmit1.Enabled = false | |
1180 | wait(3) | |
1181 | v:Destroy() | |
1182 | dude:Destroy() | |
1183 | end)) | |
1184 | end)) | |
1185 | end | |
1186 | end | |
1187 | end)) | |
1188 | end) | |
1189 | ds() | |
1190 | end | |
1191 | end | |
1192 | ||
1193 | function FindNearestHead(Position, Distance, SinglePlayer) | |
1194 | if SinglePlayer then | |
1195 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
1196 | end | |
1197 | local List = {} | |
1198 | for i, v in pairs(workspace:GetChildren()) do | |
1199 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
1200 | table.insert(List, v) | |
1201 | end | |
1202 | end | |
1203 | return List | |
1204 | end | |
1205 | ||
1206 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
1207 | local type = type | |
1208 | local rng = Instance.new("Part", char) | |
1209 | rng.Anchored = true | |
1210 | rng.BrickColor = color | |
1211 | rng.CanCollide = false | |
1212 | rng.FormFactor = 3 | |
1213 | rng.Name = "Ring" | |
1214 | rng.Material = "Neon" | |
1215 | rng.Size = Vector3.new(1, 1, 1) | |
1216 | rng.Transparency = 0 | |
1217 | rng.TopSurface = 0 | |
1218 | rng.BottomSurface = 0 | |
1219 | rng.CFrame = pos | |
1220 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
1221 | local rngm = Instance.new("SpecialMesh", rng) | |
1222 | rngm.MeshType = MType | |
1223 | rngm.Scale = Vector3.new(x1, y1, z1) | |
1224 | local scaler2 = 1 | |
1225 | local speeder = FastSpeed | |
1226 | if type == "Add" then | |
1227 | scaler2 = 1 * value | |
1228 | elseif type == "Divide" then | |
1229 | scaler2 = 1 / value | |
1230 | end | |
1231 | coroutine.resume(coroutine.create(function() | |
1232 | for i = 0, 10 / bonuspeed, 0.1 do | |
1233 | swait() | |
1234 | if type == "Add" then | |
1235 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1236 | elseif type == "Divide" then | |
1237 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1238 | end | |
1239 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
1240 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
1241 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1242 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
1243 | end | |
1244 | rng:Destroy() | |
1245 | end)) | |
1246 | end | |
1247 | ||
1248 | function SoulSteal(dude) | |
1249 | if dude.Name ~= char then | |
1250 | local bgf = IT("BodyGyro", dude.Head) | |
1251 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1252 | local val = IT("BoolValue", dude) | |
1253 | val.Name = "IsHit" | |
1254 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
1255 | local soulst = coroutine.wrap(function() | |
1256 | local soul = Instance.new("Part",dude) | |
1257 | soul.Size = Vector3.new(1,1,1) | |
1258 | soul.CanCollide = false | |
1259 | soul.Anchored = false | |
1260 | soul.Position = torso.Position | |
1261 | soul.Transparency = 1 | |
1262 | local PartEmmit1 = IT("ParticleEmitter", soul) | |
1263 | PartEmmit1.LightEmission = 1 | |
1264 | PartEmmit1.Texture = "rbxassetid://569507414" | |
1265 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1266 | PartEmmit1.Rate = 250 | |
1267 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
1268 | PartEmmit1.Size = NumberSequence.new({ | |
1269 | NumberSequenceKeypoint.new(0, 1, 0), | |
1270 | NumberSequenceKeypoint.new(1, 0, 0) | |
1271 | }) | |
1272 | PartEmmit1.Transparency = NumberSequence.new({ | |
1273 | NumberSequenceKeypoint.new(0, 0, 0), | |
1274 | NumberSequenceKeypoint.new(1, 1, 0) | |
1275 | }) | |
1276 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1277 | PartEmmit1.VelocitySpread = 30000 | |
1278 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
1279 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
1280 | local BodPoss = IT("BodyPosition", soul) | |
1281 | BodPoss.P = 3000 | |
1282 | BodPoss.D = 1000 | |
1283 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1284 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1285 | wait(1.6) | |
1286 | soul.Touched:connect(function(hit) | |
1287 | if hit.Parent == char then | |
1288 | soul:Destroy() | |
1289 | end | |
1290 | end) | |
1291 | wait(1.2) | |
1292 | while soul do | |
1293 | swait() | |
1294 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1295 | BodPoss.Position = tors.Position | |
1296 | end | |
1297 | end) | |
1298 | soulst() | |
1299 | end | |
1300 | end | |
1301 | function FaceMouse() | |
1302 | local Cam = workspace.CurrentCamera | |
1303 | return { | |
1304 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
1305 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
1306 | } | |
1307 | end | |
1308 | ||
1309 | BTAUNT = Instance.new("Sound", char) | |
1310 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=2993019322" | |
1311 | BTAUNT.Volume = 100 | |
1312 | BTAUNT.Pitch = 1 | |
1313 | BTAUNT.Looped = true | |
1314 | BTAUNT.Name = "Music" | |
1315 | ||
1316 | function AntiNoSound() | |
1317 | local TorsMusic = Torso:FindFirstChild("Music") | |
1318 | if TorsMusic == nil then | |
1319 | local NewMusicTors = Instance.new("Sound") | |
1320 | NewMusicTors.Parent = Torso | |
1321 | NewMusicTors.Name = "Music" | |
1322 | NewMusicTors.Looped = true | |
1323 | NewMusicTors.SoundId = "rbxassetid://2993019322" | |
1324 | NewMusicTors.Volume = 500 | |
1325 | NewMusicTors.Pitch = 0.80 | |
1326 | NewMusicTors:Play() | |
1327 | elseif TorsMusic ~= nil then | |
1328 | end | |
1329 | end | |
1330 | ||
1331 | BTAUNT2 = Instance.new("Sound", char.Torso) | |
1332 | BTAUNT2.SoundId = "http://www.roblox.com/asset/?id=165113352" | |
1333 | BTAUNT2.Volume = 20 | |
1334 | BTAUNT2.Pitch = 1 | |
1335 | BTAUNT2.Looped = true | |
1336 | ||
1337 | BTAUNT3 = Instance.new("Sound", Workspace) | |
1338 | BTAUNT3.SoundId = "http://www.roblox.com/asset/?id=506428158" | |
1339 | BTAUNT3.Volume = 2 | |
1340 | BTAUNT3.Pitch = 1 | |
1341 | BTAUNT3.Looped = true | |
1342 | ||
1343 | BTAUNT4 = Instance.new("Sound", char.Torso) | |
1344 | BTAUNT4.SoundId = "http://www.roblox.com/asset/?id=1470848774" | |
1345 | BTAUNT4.Volume = 5 | |
1346 | BTAUNT4.Pitch = 3 | |
1347 | BTAUNT4.Looped = true | |
1348 | ||
1349 | BTAUNT5 = Instance.new("Sound", char.Torso) | |
1350 | BTAUNT5.SoundId = "http://www.roblox.com/asset/?id=1470848774" | |
1351 | BTAUNT5.Volume = 5 | |
1352 | BTAUNT5.Pitch = 1 | |
1353 | BTAUNT5.Looped = true | |
1354 | ||
1355 | TEST = Instance.new("Sound", tors) | |
1356 | TEST.SoundId = "http://www.roblox.com/asset/?id=636494529" | |
1357 | TEST.Volume = 25 | |
1358 | TEST.Pitch = 1 | |
1359 | TEST.Looped = false | |
1360 | ------------------------------------------------------- | |
1361 | --End Effect Function-- | |
1362 | ------------------------------------------------------- | |
1363 | function Cso(ID, PARENT, VOLUME, PITCH) | |
1364 | local NSound = nil | |
1365 | coroutine.resume(coroutine.create(function() | |
1366 | NSound = IT("Sound", PARENT) | |
1367 | NSound.Volume = VOLUME | |
1368 | NSound.Pitch = PITCH | |
1369 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1370 | swait() | |
1371 | NSound:play() | |
1372 | game:GetService("Debris"):AddItem(NSound, 50) | |
1373 | end)) | |
1374 | return NSound | |
1375 | end | |
1376 | function CameraEnshaking(Length, Intensity) | |
1377 | coroutine.resume(coroutine.create(function() | |
1378 | local intensity = 1 * Intensity | |
1379 | local rotM = 0.01 * Intensity | |
1380 | for i = 0, Length, 0.1 do | |
1381 | swait() | |
1382 | intensity = intensity - 0.05 * Intensity / Length | |
1383 | rotM = rotM - 5.0E-4 * Intensity / Length | |
1384 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
1385 | cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) | |
1386 | end | |
1387 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
1388 | end)) | |
1389 | end | |
1390 | ------------------------------------------------------- | |
1391 | --End Important Functions-- | |
1392 | ------------------------------------------------------- | |
1393 | ||
1394 | ||
1395 | ||
1396 | ||
1397 | ||
1398 | ------------------------------------------------------- | |
1399 | --Start Customization-- | |
1400 | ------------------------------------------------------- | |
1401 | local Player_Size = 1 | |
1402 | if Player_Size ~= 1 then | |
1403 | root.Size = root.Size * Player_Size | |
1404 | tors.Size = tors.Size * Player_Size | |
1405 | hed.Size = hed.Size * Player_Size | |
1406 | ra.Size = ra.Size * Player_Size | |
1407 | la.Size = la.Size * Player_Size | |
1408 | rl.Size = rl.Size * Player_Size | |
1409 | ll.Size = ll.Size * Player_Size | |
1410 | ---------------------------------------------------------------------------------- | |
1411 | rootj.Parent = root | |
1412 | neck.Parent = tors | |
1413 | RW.Parent = tors | |
1414 | LW.Parent = tors | |
1415 | RH.Parent = tors | |
1416 | LH.Parent = tors | |
1417 | ---------------------------------------------------------------------------------- | |
1418 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1419 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1420 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
1421 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
1422 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
1423 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
1424 | ---------------------------------------------------------------------------------- | |
1425 | RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1426 | LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1427 | RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1428 | LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1429 | --hat.Parent = Character | |
1430 | end | |
1431 | ---------------------------------------------------------------------------------- | |
1432 | ---------------------------------------------------------------------------------- | |
1433 | local equipped = false | |
1434 | local idle = 0 | |
1435 | local change = 1 | |
1436 | local val = 0 | |
1437 | local toim = 0 | |
1438 | local idleanim = 0.4 | |
1439 | local sine = 0 | |
1440 | local Sit = 1 | |
1441 | ---------------------------------------------------------------------------------- | |
1442 | hum.WalkSpeed = 49 | |
1443 | hum.JumpPower = 57 | |
1444 | hum.Animator.Parent = nil | |
1445 | ---------------------------------------------------------------------------------- | |
1446 | ||
1447 | ||
1448 | ||
1449 | ------------------------------------------------------- | |
1450 | --End Customization-- | |
1451 | ------------------------------------------------------- | |
1452 | local Blobby2 = Instance.new("Part", char) | |
1453 | Blobby2.Name = "Blob" | |
1454 | Blobby2.CanCollide = false | |
1455 | Blobby2.BrickColor = BrickColor.new("Really black") | |
1456 | Blobby2.Transparency = 0 | |
1457 | Blobby2.Material = "Plastic" | |
1458 | Blobby2.Size = Vector3.new(1, 1, 2) | |
1459 | Blobby2.TopSurface = Enum.SurfaceType.Smooth | |
1460 | Blobby2.BottomSurface = Enum.SurfaceType.Smooth | |
1461 | ||
1462 | local Weld = Instance.new("Weld", Blobby2) | |
1463 | Weld.Part0 = ra | |
1464 | Weld.Part1 = Blobby2 | |
1465 | Weld.C1 = CFrame.new(0, -1, 1.1) | |
1466 | Weld.C0 = CFrame.Angles(Rad(-86),0,0) | |
1467 | ||
1468 | local M3 = Instance.new("SpecialMesh") | |
1469 | M3.Parent = Blobby2 | |
1470 | M3.MeshId = "http://www.roblox.com/asset/?id=121944778" | |
1471 | M3.TextureId = "http://www.roblox.com/asset/?id=362719969" | |
1472 | M3.Scale = Vector3.new(1.4, 1, 1) | |
1473 | ||
1474 | --[[local naeeym2 = Instance.new("BillboardGui",char) | |
1475 | naeeym2.AlwaysOnTop = true | |
1476 | naeeym2.Size = UDim2.new(5,35,2,15) | |
1477 | naeeym2.StudsOffset = Vector3.new(0, 3.5, 0) | |
1478 | naeeym2.Adornee = hed | |
1479 | naeeym2.Name = "Name" | |
1480 | --naeeym2.PlayerToHideFrom = Player | |
1481 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1482 | tecks2.BackgroundTransparency = 1 | |
1483 | tecks2.TextScaled = true | |
1484 | tecks2.BorderSizePixel = 0 | |
1485 | tecks2.Text = "Fight Me" | |
1486 | tecks2.Font = Enum.Font.Bodoni | |
1487 | tecks2.TextSize = 30 | |
1488 | tecks2.TextStrokeTransparency = 0 | |
1489 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
1490 | tecks2.TextStrokeColor3 = Color3.new(1, 1, 1) | |
1491 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1492 | tecks2.Parent = naeeym2]] | |
1493 | ---------------------------------------------------------------------------------- | |
1494 | local AddInstance = function(Object, ...) | |
1495 | local Obj = Instance.new(Object) | |
1496 | for i,v in next,(...) do | |
1497 | Obj[i] = v | |
1498 | end | |
1499 | return Obj | |
1500 | end | |
1501 | ---------------------------------------------------- | |
1502 | ||
1503 | local Reaper = AddInstance("Part",{ | |
1504 | Parent = hed, | |
1505 | CFrame = hed.CFrame, | |
1506 | formFactor = "Symmetric", | |
1507 | Size = Vector3.new(1, 1, 1), | |
1508 | CanCollide = false, | |
1509 | TopSurface = "Smooth", | |
1510 | BottomSurface = "Smooth", | |
1511 | Locked = true, | |
1512 | }) | |
1513 | local Weld = AddInstance("Weld",{ | |
1514 | Parent = Reaper, | |
1515 | Part0 = hed, | |
1516 | C0 = CFrame.new(0, 0.2, 0.08)*CFrame.Angles(0, 0, 0), | |
1517 | Part1 = Reaper, | |
1518 | }) | |
1519 | local Mesh = AddInstance("SpecialMesh",{ | |
1520 | Parent = Reaper, | |
1521 | MeshId = "rbxassetid://2164269251", | |
1522 | TextureId = "rbxassetid://2890224964", | |
1523 | Scale = Vector3.new(0.85,0.85,0.8), | |
1524 | Offset = Vector3.new(0,-0.22,0) | |
1525 | }) | |
1526 | ||
1527 | local Hair = Instance.new("Part", char) | |
1528 | Hair.Name = "Hair" | |
1529 | Hair.CanCollide = false | |
1530 | Hair.BrickColor = BrickColor.new("Brown") | |
1531 | Hair.Transparency = 0 | |
1532 | Hair.Material = "Plastic" | |
1533 | Hair.Size = Vector3.new(1, 1, 2) | |
1534 | Hair.TopSurface = Enum.SurfaceType.Smooth | |
1535 | Hair.BottomSurface = Enum.SurfaceType.Smooth | |
1536 | ||
1537 | local Weld = Instance.new("Weld", Hair) | |
1538 | Weld.Part0 = hed | |
1539 | Weld.Part1 = Hair | |
1540 | Weld.C1 = CFrame.new(0, -.5, 0) | |
1541 | Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0) | |
1542 | ||
1543 | local M2 = Instance.new("SpecialMesh") | |
1544 | M2.Parent = Hair | |
1545 | M2.MeshId = "rbxassetid://1462300267" | |
1546 | M2.TextureId = "rbxassetid://2989687485" | |
1547 | M2.Scale = Vector3.new(1,1.5,1) | |
1548 | ||
1549 | ||
1550 | ||
1551 | ------------------------------------------------------- | |
1552 | wait(1) | |
1553 | plr = game.Players.LocalPlayer | |
1554 | char = plr.Character | |
1555 | mouse = plr:GetMouse() | |
1556 | whitecolor = Color3.new(9, 137, 207) | |
1557 | epicmode = false | |
1558 | normal = true | |
1559 | for i,v in pairs(char:GetChildren()) do | |
1560 | if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then | |
1561 | v:Destroy() | |
1562 | end | |
1563 | end | |
1564 | local shirt = Instance.new("Shirt",char) | |
1565 | shirt.ShirtTemplate = "rbxassetid://2890198818" | |
1566 | local pants = Instance.new("Pants",char) | |
1567 | pants.PantsTemplate = "rbxassetid://746324968" | |
1568 | local bdycolors = char["Body Colors"] | |
1569 | bdycolors.HeadColor3 = whitecolor | |
1570 | bdycolors.LeftArmColor3 = whitecolor | |
1571 | bdycolors.LeftLegColor3 = whitecolor | |
1572 | bdycolors.RightArmColor3 = whitecolor | |
1573 | bdycolors.RightLegColor3 = whitecolor | |
1574 | bdycolors.TorsoColor3 = whitecolor | |
1575 | for i,v in pairs(char:GetChildren()) do | |
1576 | if v.ClassName == "Hat" or v.ClassName == "Accessory" then | |
1577 | v:Destroy() | |
1578 | end | |
1579 | end | |
1580 | ||
1581 | ||
1582 | ||
1583 | local BC = Character["Body Colors"] | |
1584 | BC.HeadColor = BrickColor.new("Pastel brown") | |
1585 | BC.LeftArmColor = BrickColor.new("Pastel brown") | |
1586 | BC.LeftLegColor = BrickColor.new("Really black") | |
1587 | BC.RightArmColor = BrickColor.new("Pastel brown") | |
1588 | BC.RightLegColor = BrickColor.new("Really black") | |
1589 | BC.TorsoColor = BrickColor.new("Pastel brown") | |
1590 | ------------------------------------------------------- | |
1591 | --Start Attacks N Stuff-- | |
1592 | ------------------------------------------------------- | |
1593 | local naeeym2 = Instance.new("BillboardGui",char) | |
1594 | naeeym2.AlwaysOnTop = true | |
1595 | naeeym2.Size = UDim2.new(5,35,2,35) | |
1596 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
1597 | naeeym2.Adornee = hed | |
1598 | naeeym2.Name = "Name" | |
1599 | ||
1600 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1601 | tecks2.BackgroundTransparency = 1 | |
1602 | tecks2.TextScaled = true | |
1603 | tecks2.BorderSizePixel = 0 | |
1604 | tecks2.Text = "OwO" | |
1605 | tecks2.Font = "Antique" | |
1606 | tecks2.TextSize = 30 | |
1607 | tecks2.TextStrokeTransparency = 0 | |
1608 | tecks2.TextColor3 = BrickColor.new('Really black').Color | |
1609 | tecks2.TextStrokeColor3 = BrickColor.new('Hot pink').Color | |
1610 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1611 | tecks2.Parent = naeeym2 | |
1612 | textfag = tecks2 | |
1613 | tecks2.Text = "Oh... Hi." | |
1614 | wait(2) | |
1615 | tecks2.Text = "...I'm" | |
1616 | wait(1) | |
1617 | tecks2.Text = "tAmE (but a evil furry)" | |
1618 | BTAUNT:Play() | |
1619 | coroutine.resume(coroutine.create(function() | |
1620 | while textfag ~= nil do | |
1621 | swait() | |
1622 | textfag.Position = UDim2.new(math.random(-0.1,0.1),math.random(-3,3),.05,math.random(-3,3)) | |
1623 | textfag.Rotation = math.random(-0.1,0.1) | |
1624 | end | |
1625 | end)) | |
1626 | ||
1627 | function hate() | |
1628 | chatfunc("I have a genuine question for you...", BrickColor.new("Really red").Color) | |
1629 | wait(3) | |
1630 | chatfunc("Do you happen to know what solferino means?", BrickColor.new("Really red").Color) | |
1631 | wait(3) | |
1632 | attack = true | |
1633 | Cso("319332735", hed, 3.5, 1) | |
1634 | local orb = Instance.new("Part", char) | |
1635 | orb.Anchored = true | |
1636 | orb.BrickColor = BrickC("Really red") | |
1637 | orb.CanCollide = false | |
1638 | orb.FormFactor = 3 | |
1639 | orb.Name = "Ring" | |
1640 | orb.Material = "Neon" | |
1641 | orb.Size = Vector3.new(1, 1, 1) | |
1642 | orb.Transparency = 0 | |
1643 | orb.TopSurface = 0 | |
1644 | orb.BottomSurface = 0 | |
1645 | local orbm = Instance.new("SpecialMesh", orb) | |
1646 | orbm.MeshType = "Sphere" | |
1647 | orbm.Name = "SizeMesh" | |
1648 | orbm.Scale = Vector3.new(0, 0, 0) | |
1649 | local scaled = 0.1 | |
1650 | local posid = 0 | |
1651 | for i = 0, 12, 0.1 do | |
1652 | swait() | |
1653 | scaled = scaled + 0.001 | |
1654 | posid = posid - scaled | |
1655 | orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0) | |
1656 | orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled) | |
1657 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1658 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1659 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
1660 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
1661 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12) | |
1662 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
1663 | end | |
1664 | chatfunc("It's only my", BrickColor.new("Really red").Color) | |
1665 | wait(2.874) | |
1666 | chatfunc("JEALOUSY", BrickColor.new("Magenta").Color) | |
1667 | wait(1) | |
1668 | chatfunc("And man.... I have a LOT of it to use against you!", BrickColor.new("Really red").Color) | |
1669 | wait(3.545) | |
1670 | for i = 0, 2, 0.1 do | |
1671 | swait() | |
1672 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1673 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1674 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1675 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1676 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1677 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1678 | end | |
1679 | coroutine.resume(coroutine.create(function() | |
1680 | orb.Anchored = false | |
1681 | CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1) | |
1682 | local a = Instance.new("Part", workspace) | |
1683 | a.Name = "Direction" | |
1684 | a.Anchored = true | |
1685 | a.BrickColor = BrickC("Really black") | |
1686 | a.Material = "Neon" | |
1687 | a.Transparency = 1 | |
1688 | a.CanCollide = false | |
1689 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500) | |
1690 | local ignore = orb | |
1691 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
1692 | a.BottomSurface = 10 | |
1693 | a.TopSurface = 10 | |
1694 | local distance = (orb.CFrame.p - position).magnitude | |
1695 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
1696 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
1697 | orb.CFrame = a.CFrame | |
1698 | a:Destroy() | |
1699 | local bv = Instance.new("BodyVelocity") | |
1700 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
1701 | bv.velocity = orb.CFrame.lookVector * 125 | |
1702 | bv.Parent = orb | |
1703 | local hitted = false | |
1704 | game:GetService("Debris"):AddItem(orb, 15) | |
1705 | swait() | |
1706 | local hit = orb.Touched:connect(function(hit) | |
1707 | if hitted == false then | |
1708 | hitted = true | |
1709 | CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1) | |
1710 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do | |
1711 | if v:FindFirstChild("Head") then | |
1712 | Eviscerate(v) | |
1713 | end | |
1714 | end | |
1715 | Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Really black"), "Sphere") | |
1716 | Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really black"), "Sphere") | |
1717 | for i = 0, 9 do | |
1718 | Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere") | |
1719 | Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere") | |
1720 | end | |
1721 | orb.Anchored = true | |
1722 | orb.Transparency = 1 | |
1723 | wait(8) | |
1724 | orb:Destroy() | |
1725 | end | |
1726 | end) | |
1727 | end)) | |
1728 | for i = 0, 1, 0.1 do | |
1729 | swait() | |
1730 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(30)), 0.3) | |
1731 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-30)), 0.3) | |
1732 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.3) | |
1733 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.3) | |
1734 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3) | |
1735 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.3) | |
1736 | end | |
1737 | attack = false | |
1738 | end | |
1739 | ||
1740 | function THUNDERCLAP() | |
1741 | attack = true | |
1742 | for i = 0, 15, 0.1 do | |
1743 | swait() | |
1744 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
1745 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
1746 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
1747 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
1748 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
1749 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
1750 | end | |
1751 | CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1) | |
1752 | for i = 0, 7, 0.1 do | |
1753 | swait() | |
1754 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
1755 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
1756 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
1757 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
1758 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 - 4.5 * Sin(sine / 20))), 0.3) | |
1759 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 + 4.5 * Sin(sine / 20))), 0.3) | |
1760 | end | |
1761 | ||
1762 | Magic(1, "Add", root.CFrame, Vector3.new(50, 100, 50), 4, BrickC("Really black"), "Sphere") | |
1763 | Magic(1, "Add", root.CFrame, Vector3.new(30, 60, 30), 4, BrickC("Really black"), "Sphere") | |
1764 | Magic(1, "Add", root.CFrame, Vector3.new(3, 600, 3), 4, BrickC("Really black"), "Sphere") | |
1765 | Effects.Wave.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1766 | Effects.Wave.Create(BrickColor.new("Institutional white"), root.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1767 | Effects.Wave.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1768 | Effects.Wave.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1769 | Effects.Wave.Create(BrickColor.new("Institutional white"), root.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1770 | Effects.Wave.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1771 | Effects.Wave.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1772 | Effects.Wave.Create(BrickColor.new("Institutional white"), root.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1773 | Effects.Wave.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1774 | Effects.Wave.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1775 | Effects.Wave.Create(BrickColor.new("Institutional white"), root.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1776 | Effects.Wave.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1777 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 500000)) do | |
1778 | if v:FindFirstChild("Head") then | |
1779 | Eviscerate(v) | |
1780 | end | |
1781 | end | |
1782 | CFuncs["Sound"].Create("rbxassetid://1841058541", char, 2,1.2) | |
1783 | CFuncs["Sound"].Create("rbxassetid://782353443", char, 2,1.2) | |
1784 | CFuncs["Sound"].Create("rbxassetid://782225570", char, 3,1.05) | |
1785 | for i = 0, 7, 0.1 do | |
1786 | swait() | |
1787 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
1788 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
1789 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
1790 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
1791 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 - 4.5 * Sin(sine / 20))), 0.3) | |
1792 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 + 4.5 * Sin(sine / 20))), 0.3) | |
1793 | end | |
1794 | attack = false | |
1795 | end | |
1796 | ||
1797 | ||
1798 | function Sie_alle_sterben() | |
1799 | attack = true | |
1800 | movelegs = true | |
1801 | local orb = Instance.new("Part", char) | |
1802 | orb.Anchored = true | |
1803 | orb.BrickColor = BrickC("Really red") | |
1804 | orb.CanCollide = false | |
1805 | orb.FormFactor = 3 | |
1806 | orb.Name = "Ring" | |
1807 | orb.Material = "Neon" | |
1808 | orb.Size = Vector3.new(1, 1, 1) | |
1809 | orb.Transparency = 0 | |
1810 | orb.TopSurface = 0 | |
1811 | orb.BottomSurface = 0 | |
1812 | local orbm = Instance.new("SpecialMesh", orb) | |
1813 | orbm.MeshType = "Sphere" | |
1814 | orbm.Name = "SizeMesh" | |
1815 | orbm.Scale = Vector3.new(0, 0, 0) | |
1816 | local scaled = 0.1 | |
1817 | local posid = 0 | |
1818 | local RoaringLaugh = Cso("0", char, 5, 0.8) | |
1819 | swait(2) | |
1820 | for i = 0, 30, 0.1 do | |
1821 | swait() | |
1822 | scaled = scaled + 0.006 | |
1823 | posid = posid - scaled | |
1824 | orb.CFrame = la.CFrame * CF(0, -0.1 + posid / 1.05, 0) | |
1825 | orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled) | |
1826 | --Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
1827 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15) | |
1828 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
1829 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
1830 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
1831 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.1 * Cos(sine / 20) * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
1832 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(180), Rad(0 - 5 * Sin(sine / 20)), Rad(-20)), 0.1) | |
1833 | end | |
1834 | for i = 0, 10, 0.1 do | |
1835 | swait() | |
1836 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15) | |
1837 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
1838 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
1839 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
1840 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.1 * Cos(sine / 20) * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
1841 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(225), Rad(0 - 5 * Sin(sine / 20)), Rad(-20)), 0.1) | |
1842 | end | |
1843 | coroutine.resume(coroutine.create(function() | |
1844 | orb.Anchored = false | |
1845 | CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1) | |
1846 | local a = Instance.new("Part", workspace) | |
1847 | a.Name = "Direction" | |
1848 | a.Anchored = true | |
1849 | a.BrickColor = BrickC("Really red") | |
1850 | a.Material = "Neon" | |
1851 | a.Transparency = 1 | |
1852 | a.CanCollide = false | |
1853 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500) | |
1854 | local ignore = orb | |
1855 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
1856 | a.BottomSurface = 10 | |
1857 | a.TopSurface = 10 | |
1858 | local distance = (orb.CFrame.p - position).magnitude | |
1859 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
1860 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
1861 | orb.CFrame = a.CFrame | |
1862 | a:Destroy() | |
1863 | local bv = Instance.new("BodyVelocity") | |
1864 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
1865 | bv.velocity = orb.CFrame.lookVector * 125 | |
1866 | bv.Parent = orb | |
1867 | local hitted = false | |
1868 | game:GetService("Debris"):AddItem(orb, 15) | |
1869 | swait() | |
1870 | local hit = orb.Touched:connect(function(hit) | |
1871 | if hitted == false then | |
1872 | hitted = true | |
1873 | CameraEnshaking(10, 20) | |
1874 | CFuncs.Sound.Create("rbxassetid://304490261", char, 5, 0.7) | |
1875 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 100)) do | |
1876 | if v:FindFirstChild("Head") then | |
1877 | Eviscerate(v) | |
1878 | end | |
1879 | end | |
1880 | Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Maroon"), "Sphere") | |
1881 | Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, maincolor, "Sphere") | |
1882 | orb.Anchored = true | |
1883 | orb.Transparency = 1 | |
1884 | wait(8) | |
1885 | orb:Destroy() | |
1886 | end | |
1887 | end) | |
1888 | end)) | |
1889 | for i = 0, 10, 0.1 do | |
1890 | swait() | |
1891 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15) | |
1892 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
1893 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
1894 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
1895 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.1 * Cos(sine / 20) * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
1896 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(135), Rad(0 - 5 * Sin(sine / 20)), Rad(-20)), 0.1) | |
1897 | end | |
1898 | attack = false | |
1899 | end | |
1900 | ||
1901 | function special_hell() | |
1902 | chatfunc("welcome to my special hell.", BrickColor.new("Really red").Color) | |
1903 | wait(2) | |
1904 | CHOICE = 6 | |
1905 | Cso("323578832", Workspace, 10, 1) | |
1906 | local killsky = Instance.new('Sky', game:GetService'Lighting') | |
1907 | killsky.SkyboxBk = "rbxassetid://818983932" | |
1908 | killsky.SkyboxDn = "rbxassetid://818983932" | |
1909 | killsky.SkyboxFt = "rbxassetid://818983932" | |
1910 | killsky.SkyboxLf = "rbxassetid://818983932" | |
1911 | killsky.SkyboxRt = "rbxassetid://818983932" | |
1912 | killsky.SkyboxUp = "rbxassetid://818983932" | |
1913 | --- | |
1914 | killsky.StarCount = 0 | |
1915 | killsky.SunAngularSize = 0 | |
1916 | killsky.MoonAngularSize = 0 | |
1917 | killsky.MoonTextureId = "" | |
1918 | killsky.CelestialBodiesShown = false | |
1919 | game.Lighting.FogColor = Color3.new(255,0,0) | |
1920 | game.Lighting.FogEnd = 1500 | |
1921 | if HITFLOOR ~= nil then | |
1922 | ATTACK = false | |
1923 | Rooted = false | |
1924 | local RINGSPIN = true | |
1925 | local CONSTRUCTING = true | |
1926 | local RING = CreatePart(3, Effects, "Neon", 0, 5, "Really red", "Ring", VT(0,0,0)) | |
1927 | RING.Color = C3(0,0,0) | |
1928 | MakeForm(RING,"Cyl") | |
1929 | RING.CFrame = CF(HITPOS) | |
1930 | coroutine.resume(coroutine.create(function() | |
1931 | repeat | |
1932 | Swait() | |
1933 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
1934 | until CONSTRUCTING == false | |
1935 | repeat | |
1936 | Swait() | |
1937 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
1938 | until RINGSPIN == false | |
1939 | for i = 1, 25 do | |
1940 | Swait() | |
1941 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
1942 | RING.Size = RING.Size - VT(0.15,0,0.15) | |
1943 | --DECAL.Transparency = DECAL.Transparency + 1/25 | |
1944 | RING.Transparency = RING.Transparency + 1/25 | |
1945 | end | |
1946 | RING:remove() | |
1947 | end)) | |
1948 | for i = 1, 15 do | |
1949 | Swait() | |
1950 | RING.Size = RING.Size + VT(0,0,0) | |
1951 | RING.Transparency = RING.Transparency - 1/15 | |
1952 | end | |
1953 | end | |
1954 | hum.WalkSpeed = 16 | |
1955 | attack = false | |
1956 | end | |
1957 | ||
1958 | function Chain2() | |
1959 | if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
1960 | local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
1961 | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso") | |
1962 | local HEAD = HUM.Parent:FindFirstChild("Head") | |
1963 | local RIGHTARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightLowerArm") | |
1964 | local LEFTARM = HUM.Parent:FindFirstChild("Left Arm") or HUM.Parent:FindFirstChild("LeftLowerArm") | |
1965 | if HEAD and TORSO and HUM.Health > 0 then | |
1966 | local GYRO = IT("BodyGyro",root) | |
1967 | GYRO.D = 275 | |
1968 | GYRO.P = 20000 | |
1969 | GYRO.MaxTorque = Vector3.new(0,40000,0) | |
1970 | attack = true | |
1971 | hum.WalkSpeed = 0 | |
1972 | local hit,pos,hummie; | |
1973 | local Hook2 = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false) | |
1974 | Hook2.Transparency = 1 | |
1975 | local A2 = NewInstance("Attachment",Hook2) | |
1976 | local B2 = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)}) | |
1977 | local Chain2 = NewInstance("Beam",Hook2,{Attachment0 = A2,Attachment1=B2,Color = Color3.fromRGB(138,138,138),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://73042633",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1}) | |
1978 | for i = 0, 2.3, .1 do | |
1979 | swait() | |
1980 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
1981 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.1 + 0.1* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
1982 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
1983 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15) | |
1984 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15) | |
1985 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
1986 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1) | |
1987 | end | |
1988 | Cso("169105657", ra, 7, 1.2) | |
1989 | for i = 0, 5, .1 do | |
1990 | if(hit)then break end | |
1991 | swait() | |
1992 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
1993 | Hook2.CFrame = TORSO.CFrame | |
1994 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.1 + 0.1* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
1995 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
1996 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15) | |
1997 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15) | |
1998 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
1999 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1) | |
2000 | end | |
2001 | Cso("169105657", ra, 5, .8) | |
2002 | Cso("0", char, 7, 1) | |
2003 | GYRO:remove() | |
2004 | TORSO:BreakJoints() | |
2005 | for i = 0, 6, .1 do | |
2006 | swait() | |
2007 | Hook2.CFrame = Hook2.CFrame:lerp(tors.CFrame * CF(0, 0, -1), .2) | |
2008 | if(hit)then hit.CFrame = Hook2.CFrame; hit.Velocity = Vector3.new() | |
2009 | end | |
2010 | if((Hook2.CFrame.p-tors.CFrame.p).magnitude < 2)then | |
2011 | break | |
2012 | end | |
2013 | Chain2.TextureLength = 4 | |
2014 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.1 + 0.1* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2015 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2016 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(90)), 0.15) | |
2017 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15) | |
2018 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
2019 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1) | |
2020 | end | |
2021 | hum.WalkSpeed = 16 | |
2022 | attack = false | |
2023 | Hook2:Destroy() | |
2024 | end | |
2025 | end | |
2026 | end | |
2027 | ||
2028 | ||
2029 | function DRAG_THEM_TO_HELL() | |
2030 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
2031 | local HUM = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
2032 | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso") | |
2033 | local HEAD = HUM.Parent:FindFirstChild("Head") | |
2034 | if HEAD and TORSO and HUM.Health > 0 then | |
2035 | local GYRO = IT("BodyGyro",root) | |
2036 | GYRO.D = 275 | |
2037 | GYRO.P = 20000 | |
2038 | GYRO.MaxTorque = Vector3.new(0,40000,0) | |
2039 | attack = true | |
2040 | hum.WalkSpeed = 0 | |
2041 | local hit,pos,hummie; | |
2042 | local Hook = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false) | |
2043 | Hook.Transparency = 1 | |
2044 | local A = NewInstance("Attachment",Hook) | |
2045 | local B = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)}) | |
2046 | local Chain = NewInstance("Beam",Hook,{Attachment0 = A,Attachment1=B,Color = Color3.fromRGB(138,138,138),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://73042633",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1}) | |
2047 | local POS = mouse.Hit.p | |
2048 | local CHAINS = false | |
2049 | local CHAINLINKS = {} | |
2050 | local A = IT("Attachment",la) | |
2051 | A.Position = Vector3.new(1,-1,0)*Player_Size | |
2052 | A.Orientation = Vector3.new(-90, -89.982, 0) | |
2053 | local B = IT("Attachment",la) | |
2054 | B.Position = Vector3.new(-1,-1,0)*Player_Size | |
2055 | B.Orientation = Vector3.new(-90, 89.988, 0) | |
2056 | local C = IT("Attachment",la) | |
2057 | C.Position = Vector3.new(0.5,-1.3,0)*Player_Size | |
2058 | C.Orientation = Vector3.new(-90, -89.982, 0) | |
2059 | local D = IT("Attachment",la) | |
2060 | D.Position = Vector3.new(-0.5,-1.3,0)*Player_Size | |
2061 | D.Orientation = Vector3.new(-90, 89.988, 0) | |
2062 | local LIGHT = IT("Attachment",la) | |
2063 | LIGHT.Position = Vector3.new(0,-1,0)*Player_Size | |
2064 | local LIGHT2 = IT("PointLight",LIGHT) | |
2065 | LIGHT2.Range = 7 | |
2066 | LIGHT2.Brightness = 5 | |
2067 | LIGHT2.Color = Color3.new(0,0,0) | |
2068 | for i = 1, 2 do | |
2069 | local TWIST = -2 | |
2070 | local START = A | |
2071 | local END = B | |
2072 | if i == 1 then | |
2073 | START = B | |
2074 | END = A | |
2075 | end | |
2076 | local ChainLink = IT("Beam",tors) | |
2077 | ChainLink.Texture = "rbxassetid://73042633" | |
2078 | ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138)) | |
2079 | ChainLink.TextureSpeed = 1 | |
2080 | ChainLink.Width0 = 1 | |
2081 | ChainLink.Width1 = 1 | |
2082 | ChainLink.TextureLength = 2.5 | |
2083 | ChainLink.Attachment0 = START | |
2084 | ChainLink.Attachment1 = END | |
2085 | ChainLink.CurveSize0 = TWIST | |
2086 | ChainLink.CurveSize1 = TWIST | |
2087 | --ChainLink.FaceCamera = true | |
2088 | ChainLink.Segments = 45 | |
2089 | ChainLink.Transparency = NumberSequence.new(0.25) | |
2090 | table.insert(CHAINLINKS,ChainLink) | |
2091 | end | |
2092 | for i = 1, 2 do | |
2093 | local TWIST = -1 | |
2094 | local START = C | |
2095 | local END = D | |
2096 | if i == 1 then | |
2097 | START = D | |
2098 | END = C | |
2099 | end | |
2100 | local ChainLink = IT("Beam",tors) | |
2101 | ChainLink.Texture = "rbxassetid://73042633" | |
2102 | ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138)) | |
2103 | ChainLink.TextureSpeed = 1 | |
2104 | ChainLink.Width0 = 1 | |
2105 | ChainLink.Width1 = 1 | |
2106 | ChainLink.TextureLength = 5 | |
2107 | ChainLink.Attachment0 = START | |
2108 | ChainLink.Attachment1 = END | |
2109 | ChainLink.CurveSize0 = TWIST | |
2110 | ChainLink.CurveSize1 = TWIST | |
2111 | --ChainLink.FaceCamera = true | |
2112 | ChainLink.Segments = 25 | |
2113 | ChainLink.LightEmission = 0.5 | |
2114 | ChainLink.Transparency = NumberSequence.new(0.25) | |
2115 | table.insert(CHAINLINKS,ChainLink) | |
2116 | end | |
2117 | for i = 0, 2.3, .1 do | |
2118 | swait() | |
2119 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
2120 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.1 + 0.1* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2121 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2122 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15) | |
2123 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15) | |
2124 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
2125 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1) | |
2126 | end | |
2127 | Cso("169105657", ra, 7, 1.2) | |
2128 | for i = 0, 4, .1 do | |
2129 | if(hit)then break end | |
2130 | swait() | |
2131 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
2132 | Hook.CFrame = HEAD.CFrame | |
2133 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.1 + 0.1* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2134 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2135 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15) | |
2136 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15) | |
2137 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
2138 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1) | |
2139 | end | |
2140 | for _,v in next, getRegion(Hook.Position,1,{char}) do | |
2141 | if(v.Parent and GetTorso(v.Parent) and v.Parent:FindFirstChildOfClass'Humanoid')then | |
2142 | hit = GetTorso(v.Parent); | |
2143 | hummie = v.Parent:FindFirstChildOfClass'Humanoid'; | |
2144 | break; | |
2145 | end | |
2146 | end | |
2147 | Cso("169105657", ra, 5, .8) | |
2148 | Cso("0", tors, 2, 1.1) | |
2149 | GYRO:remove() | |
2150 | for i = 0, 3, .1 do | |
2151 | swait() | |
2152 | HUM.PlatformStand = true | |
2153 | Hook.CFrame = Hook.CFrame:lerp(ra.CFrame * CF(0, 0, -1), .2) | |
2154 | if(hit)then hit.CFrame = Hook.CFrame; hit.Velocity = Vector3.new() | |
2155 | end | |
2156 | if((Hook.CFrame.p-ra.CFrame.p).magnitude < 2)then | |
2157 | break | |
2158 | end | |
2159 | Chain.TextureLength = 4 | |
2160 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.1 + 0.1* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2161 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(45)), 0.3) | |
2162 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(10)), 0.15) | |
2163 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(10)), 0.15) | |
2164 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(45)), 0.1) | |
2165 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(30), Rad(-.6), Rad(-25)), 0.1) | |
2166 | end | |
2167 | hum.WalkSpeed = 16 | |
2168 | attack = false | |
2169 | Hook:Destroy() | |
2170 | A:remove() | |
2171 | B:remove() | |
2172 | C:remove() | |
2173 | D:remove() | |
2174 | end | |
2175 | end | |
2176 | end | |
2177 | ||
2178 | function Attack() | |
2179 | attack = true | |
2180 | for i = 0, 0.6, 0.1 do | |
2181 | swait() | |
2182 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-60)), 0.2) | |
2183 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2) | |
2184 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-30)), 0.2) | |
2185 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(30)), 0.2) | |
2186 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2) | |
2187 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2) | |
2188 | end | |
2189 | Cso("357417055", tors, 10, 1) | |
2190 | CameraEnshaking(2, 15) | |
2191 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
2192 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
2193 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
2194 | for i, v in pairs(FindNearestHead(Blobby2.CFrame.p, 9.5)) do | |
2195 | if v:FindFirstChild("Head") then | |
2196 | Eviscerate(v) | |
2197 | Cso("388826051", tors, 10, 1) | |
2198 | end | |
2199 | end | |
2200 | for i = 0, 3, 0.1 do | |
2201 | swait() | |
2202 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(55)), 0.3) | |
2203 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 7.5 * Sin(sine / 30)), Rad(0), Rad(-55)), 0.3) | |
2204 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(55), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(25)), 0.3) | |
2205 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.1 * Cos(sine / 20)) * LHCF * angles(Rad(0), Rad(0), Rad(35)), 0.15) | |
2206 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(30)), 0.3) | |
2207 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3) | |
2208 | end | |
2209 | attack = false | |
2210 | end | |
2211 | ||
2212 | function fail() | |
2213 | chatfunc("YOU'RE UTTERLY USELESS TO ME!", BrickColor.new("Really red").Color) | |
2214 | Cso("323578832", hed, 3.5, 1) | |
2215 | attack = true | |
2216 | hum.WalkSpeed = 2.01 | |
2217 | char.Head.face.Texture = "rbxassetid://1364920814" | |
2218 | for i = 0,1.2,0.1 do | |
2219 | swait() | |
2220 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
2221 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 99)), Rad(0)), 0.3) | |
2222 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
2223 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
2224 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 99)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
2225 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 99)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
2226 | end | |
2227 | for i = 0,1.2,0.1 do | |
2228 | swait() | |
2229 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
2230 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 99)), Rad(0)), 0.3) | |
2231 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
2232 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
2233 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 99)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
2234 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 99)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
2235 | end | |
2236 | for i = 0,1.2,0.1 do | |
2237 | swait() | |
2238 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
2239 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 99)), Rad(0)), 0.3) | |
2240 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
2241 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
2242 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 99)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
2243 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 99)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
2244 | end | |
2245 | for i = 0,1.2,0.1 do | |
2246 | swait() | |
2247 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
2248 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 99)), Rad(0)), 0.3) | |
2249 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
2250 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
2251 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 99)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
2252 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 99)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
2253 | end | |
2254 | for i = 0,1.2,0.1 do | |
2255 | swait() | |
2256 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
2257 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 99)), Rad(0)), 0.3) | |
2258 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
2259 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
2260 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 99)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
2261 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 99)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
2262 | end | |
2263 | for i = 0,1.2,0.1 do | |
2264 | swait() | |
2265 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
2266 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 99)), Rad(0)), 0.3) | |
2267 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
2268 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
2269 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 99)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
2270 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 99)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
2271 | end | |
2272 | char.Head.face.Texture = "rbxassetid://1364919656" | |
2273 | hum.WalkSpeed = 16 | |
2274 | attack = false | |
2275 | end | |
2276 | ||
2277 | ------------------------------------------------------- | |
2278 | --End Attacks N Stuff-- | |
2279 | ------------------------------------------------------- | |
2280 | ||
2281 | function chatfunc(text, color) | |
2282 | local chat = coroutine.wrap(function() | |
2283 | if char:FindFirstChild("TalkingBillBoard") ~= nil then | |
2284 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
2285 | end | |
2286 | local naeeym2 = Instance.new("BillboardGui", char) | |
2287 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
2288 | naeeym2.StudsOffset = Vector3.new(0, 3, 0) | |
2289 | naeeym2.Adornee = hed | |
2290 | naeeym2.Name = "TalkingBillBoard" | |
2291 | local tecks2 = Instance.new("TextLabel", naeeym2) | |
2292 | tecks2.BackgroundTransparency = 1 | |
2293 | tecks2.BorderSizePixel = 0 | |
2294 | tecks2.Text = "" | |
2295 | tecks2.Font = "Fantasy" | |
2296 | tecks2.TextSize = 30 | |
2297 | tecks2.TextStrokeTransparency = 0 | |
2298 | tecks2.TextColor3 = color | |
2299 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
2300 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
2301 | local tecks3 = Instance.new("TextLabel", naeeym2) | |
2302 | tecks3.BackgroundTransparency = 1 | |
2303 | tecks3.BorderSizePixel = 0 | |
2304 | tecks3.Text = "" | |
2305 | tecks3.Font = "SciFi" | |
2306 | tecks3.TextSize = 30 | |
2307 | tecks3.TextStrokeTransparency = 0 | |
2308 | tecks3.TextColor3 = Color3.new(0, 0, 0) | |
2309 | tecks3.TextStrokeColor3 = color | |
2310 | tecks3.Size = UDim2.new(1, 0, 0.5, 0) | |
2311 | coroutine.resume(coroutine.create(function() | |
2312 | while true do | |
2313 | swait(1) | |
2314 | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
2315 | tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
2316 | tecks2.Rotation = math.random(-5, 5) | |
2317 | tecks3.Rotation = math.random(-5, 5) | |
2318 | end | |
2319 | end)) | |
2320 | for i = 1, string.len(text) do | |
2321 | CFuncs.Sound.Create("rbxassetid://274118116", char, 50, 0.658) | |
2322 | tecks2.Text = string.sub(text, 1, i) | |
2323 | tecks3.Text = string.sub(text, 1, i) | |
2324 | swait(1) | |
2325 | end | |
2326 | wait(1) | |
2327 | local randomrot = math.random(1, 2) | |
2328 | if randomrot == 1 then | |
2329 | for i = 1, 50 do | |
2330 | swait() | |
2331 | tecks2.Rotation = tecks2.Rotation - 0.75 | |
2332 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
2333 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
2334 | tecks3.Rotation = tecks2.Rotation + 0.75 | |
2335 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
2336 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
2337 | end | |
2338 | elseif randomrot == 2 then | |
2339 | for i = 1, 50 do | |
2340 | swait() | |
2341 | tecks2.Rotation = tecks2.Rotation + 0.75 | |
2342 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
2343 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
2344 | tecks3.Rotation = tecks2.Rotation - 0.75 | |
2345 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
2346 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
2347 | end | |
2348 | end | |
2349 | naeeym2:Destroy() | |
2350 | end) | |
2351 | chat() | |
2352 | end | |
2353 | ||
2354 | mouse.KeyDown:connect(function(key) | |
2355 | if attack == false then | |
2356 | if key == "u" then | |
2357 | char.Head.face.Texture = "rbxassetid://1364919656" | |
2358 | ||
2359 | elseif key == 't' then | |
2360 | fail() | |
2361 | ||
2362 | elseif key == 'z' then | |
2363 | Sie_alle_sterben() | |
2364 | ||
2365 | elseif key == 'c' then | |
2366 | THUNDERCLAP() | |
2367 | ||
2368 | elseif key == 'x' then | |
2369 | hate() | |
2370 | ||
2371 | elseif key == 'h' then | |
2372 | special_hell() | |
2373 | ||
2374 | elseif key == 'y' then | |
2375 | char.Head.face.Texture = "rbxassetid://1364920814" | |
2376 | end | |
2377 | end | |
2378 | end) | |
2379 | ||
2380 | mouse.Button1Down:connect(function(key) | |
2381 | if attack == false then | |
2382 | Attack() | |
2383 | end | |
2384 | end) | |
2385 | ||
2386 | function Part(parent,color,material,size,cframe,anchored,cancollide) | |
2387 | local part = Instance.new("Part") | |
2388 | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or Color3.new(0,0,0) | |
2389 | part.Material = material or Enum.Material.SmoothPlastic | |
2390 | part.TopSurface,part.BottomSurface=10,10 | |
2391 | part.Size = size or Vector3.new(1,1,1) | |
2392 | part.CFrame = cframe or CF(0,0,0) | |
2393 | part.Anchored = anchored or true | |
2394 | part.CanCollide = cancollide or false | |
2395 | part.Parent = parent or char | |
2396 | return part | |
2397 | end | |
2398 | ||
2399 | NewInstance = function(instance,parent,properties) | |
2400 | local inst = Instance.new(instance) | |
2401 | inst.Parent = parent | |
2402 | if(properties)then | |
2403 | for i,v in next, properties do | |
2404 | pcall(function() inst[i] = v end) | |
2405 | end | |
2406 | end | |
2407 | return inst; | |
2408 | end | |
2409 | ------------------------------------------------------- | |
2410 | --Start Damage Function-- | |
2411 | ------------------------------------------------------- | |
2412 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher! | |
2413 | local type = type | |
2414 | local rng = Instance.new("Part", char) | |
2415 | rng.Anchored = true | |
2416 | rng.BrickColor = color | |
2417 | rng.CanCollide = false | |
2418 | rng.FormFactor = 3 | |
2419 | rng.Name = "Ring" | |
2420 | rng.Material = "Neon" | |
2421 | rng.Size = Vector3.new(1, 1, 1) | |
2422 | rng.Transparency = 0 | |
2423 | rng.TopSurface = 0 | |
2424 | rng.BottomSurface = 0 | |
2425 | rng.CFrame = pos | |
2426 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
2427 | local rngm = Instance.new("SpecialMesh", rng) | |
2428 | rngm.MeshType = "Brick" | |
2429 | if rainbowmode == true then | |
2430 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2431 | end | |
2432 | local scaler2 = 1 | |
2433 | local speeder = FastSpeed/10 | |
2434 | if type == "Add" then | |
2435 | scaler2 = 1*value | |
2436 | elseif type == "Divide" then | |
2437 | scaler2 = 1/value | |
2438 | end | |
2439 | coroutine.resume(coroutine.create(function() | |
2440 | for i = 0,10/bonuspeed,0.1 do | |
2441 | swait() | |
2442 | if type == "Add" then | |
2443 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2444 | elseif type == "Divide" then | |
2445 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2446 | end | |
2447 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
2448 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
2449 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2450 | end | |
2451 | rng:Destroy() | |
2452 | end)) | |
2453 | end | |
2454 | ||
2455 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
2456 | if hit.Parent == nil then | |
2457 | return | |
2458 | end | |
2459 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
2460 | for _, v in pairs(hit.Parent:children()) do | |
2461 | if v:IsA("Humanoid") then | |
2462 | h = v | |
2463 | end | |
2464 | end | |
2465 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
2466 | ||
2467 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
2468 | end | |
2469 | ||
2470 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
2471 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
2472 | if hit.Parent.DebounceHit.Value == true then | |
2473 | return | |
2474 | end | |
2475 | end | |
2476 | if insta == true then | |
2477 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
2478 | end | |
2479 | local c = Create("ObjectValue"){ | |
2480 | Name = "creator", | |
2481 | Value = game:service("Players").LocalPlayer, | |
2482 | Parent = h, | |
2483 | } | |
2484 | game:GetService("Debris"):AddItem(c, .5) | |
2485 | if HitSound ~= nil and HitPitch ~= nil then | |
2486 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
2487 | end | |
2488 | local Damage = math.random(minim, maxim) | |
2489 | local blocked = false | |
2490 | local block = hit.Parent:findFirstChild("Block") | |
2491 | if block ~= nil then | |
2492 | if block.className == "IntValue" then | |
2493 | if block.Value > 0 then | |
2494 | blocked = true | |
2495 | block.Value = block.Value - 1 | |
2496 | print(block.Value) | |
2497 | end | |
2498 | end | |
2499 | end | |
2500 | if blocked == false then | |
2501 | h.Health = h.Health - Damage | |
2502 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
2503 | else | |
2504 | h.Health = h.Health - (Damage / 2) | |
2505 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
2506 | end | |
2507 | if Type == "Knockdown" then | |
2508 | local hum = hit.Parent.Humanoid | |
2509 | hum.PlatformStand = true | |
2510 | coroutine.resume(coroutine.create(function(HHumanoid) | |
2511 | swait(1) | |
2512 | HHumanoid.PlatformStand = false | |
2513 | end), hum) | |
2514 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
2515 | local bodvol = Create("BodyVelocity"){ | |
2516 | velocity = angle * knockback, | |
2517 | P = 5000, | |
2518 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
2519 | Parent = hit, | |
2520 | } | |
2521 | local rl = Create("BodyAngularVelocity"){ | |
2522 | P = 3000, | |
2523 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
2524 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
2525 | Parent = hit, | |
2526 | } | |
2527 | game:GetService("Debris"):AddItem(bodvol, .5) | |
2528 | game:GetService("Debris"):AddItem(rl, .5) | |
2529 | elseif Type == "Normal" then | |
2530 | local vp = Create("BodyVelocity"){ | |
2531 | P = 500, | |
2532 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
2533 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
2534 | } | |
2535 | if knockback > 0 then | |
2536 | vp.Parent = hit.Parent.Torso | |
2537 | end | |
2538 | game:GetService("Debris"):AddItem(vp, .5) | |
2539 | elseif Type == "Up" then | |
2540 | local bodyVelocity = Create("BodyVelocity"){ | |
2541 | velocity = Vector3.new(0, 20, 0), | |
2542 | P = 5000, | |
2543 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
2544 | Parent = hit, | |
2545 | } | |
2546 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
2547 | elseif Type == "DarkUp" then | |
2548 | coroutine.resume(coroutine.create(function() | |
2549 | for i = 0, 1, 0.1 do | |
2550 | swait() | |
2551 | Effects.Block.Create(BrickColor.new("Royal purple"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
2552 | end | |
2553 | end)) | |
2554 | local bodyVelocity = Create("BodyVelocity"){ | |
2555 | velocity = Vector3.new(0, 20, 0), | |
2556 | P = 5000, | |
2557 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
2558 | Parent = hit, | |
2559 | } | |
2560 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
2561 | elseif Type == "Snare" then | |
2562 | local bp = Create("BodyPosition"){ | |
2563 | P = 2000, | |
2564 | D = 100, | |
2565 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
2566 | position = hit.Parent.Torso.Position, | |
2567 | Parent = hit.Parent.Torso, | |
2568 | } | |
2569 | game:GetService("Debris"):AddItem(bp, 1) | |
2570 | elseif Type == "Freeze" then | |
2571 | local BodPos = Create("BodyPosition"){ | |
2572 | P = 50000, | |
2573 | D = 1000, | |
2574 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
2575 | position = hit.Parent.Torso.Position, | |
2576 | Parent = hit.Parent.Torso, | |
2577 | } | |
2578 | local BodGy = Create("BodyGyro") { | |
2579 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
2580 | P = 20e+003, | |
2581 | Parent = hit.Parent.Torso, | |
2582 | cframe = hit.Parent.Torso.CFrame, | |
2583 | } | |
2584 | hit.Parent.Torso.Anchored = true | |
2585 | coroutine.resume(coroutine.create(function(Part) | |
2586 | swait(1.5) | |
2587 | Part.Anchored = false | |
2588 | end), hit.Parent.Torso) | |
2589 | game:GetService("Debris"):AddItem(BodPos, 3) | |
2590 | game:GetService("Debris"):AddItem(BodGy, 3) | |
2591 | end | |
2592 | local debounce = Create("BoolValue"){ | |
2593 | Name = "DebounceHit", | |
2594 | Parent = hit.Parent, | |
2595 | Value = true, | |
2596 | } | |
2597 | game:GetService("Debris"):AddItem(debounce, Delay) | |
2598 | c = Create("ObjectValue"){ | |
2599 | Name = "creator", | |
2600 | Value = Player, | |
2601 | Parent = h, | |
2602 | } | |
2603 | game:GetService("Debris"):AddItem(c, .5) | |
2604 | end | |
2605 | end | |
2606 | ||
2607 | function damage(range,mindam,maxdam,pos) | |
2608 | for i,v in ipairs(workspace:GetChildren()) do | |
2609 | if v:IsA("Model") then | |
2610 | if v.Name ~= Player.Name then | |
2611 | if v:FindFirstChildOfClass("Humanoid") then | |
2612 | if v:FindFirstChild("Head") then | |
2613 | if (v:FindFirstChild("Head").Position - pos).magnitude < 10 then | |
2614 | if v:FindFirstChildOfClass("Humanoid").Health > 5000 then v:FindFirstChildOfClass("Humanoid").Health = 0 else | |
2615 | v:FindFirstChildOfClass("Humanoid").Health = v:FindFirstChildOfClass("Humanoid").Health - math.random(mindam,maxdam) | |
2616 | end | |
2617 | end | |
2618 | end | |
2619 | end | |
2620 | end | |
2621 | end | |
2622 | end | |
2623 | end | |
2624 | ------------------------------------------------------- | |
2625 | --End Damage Function-- | |
2626 | ------------------------------------------------------- | |
2627 | ||
2628 | ||
2629 | ||
2630 | ------------------------------------------------------- | |
2631 | --Start Animations-- | |
2632 | ------------------------------------------------------- | |
2633 | print("By Makhail07") | |
2634 | while true do | |
2635 | ||
2636 | AntiNoSound() | |
2637 | ||
2638 | FightButtonBrick.CFrame = workspace["TameDoNotClick"]["Torso"].CFrame + (direction * increment) + | |
2639 | Vector3.new(-5,3,0) | |
2640 | FightButtonBrick.Rotation = workspace["TameDoNotClick"]['Torso'].Rotation + (direction * increment) + | |
2641 | Vector3.new(-1,-2,increment) | |
2642 | ||
2643 | RightArm.BrickColor = BrickColor.new'Bright blue' | |
2644 | LeftArm.BrickColor = BrickColor.new'Bright blue' | |
2645 | RightLeg.BrickColor = BrickColor.new'Bright blue' | |
2646 | LeftLeg.BrickColor = BrickColor.new'Bright blue' | |
2647 | Torso.BrickColor = BrickColor.new'Bright blue' | |
2648 | Head.BrickColor = BrickColor.new'Bright blue' | |
2649 | ||
2650 | swait() | |
2651 | sine = sine + change | |
2652 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2653 | local velderp = root.Velocity.y | |
2654 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
2655 | if equipped == true or equipped == false then | |
2656 | if attack == false then | |
2657 | idle = idle + 1 | |
2658 | else | |
2659 | idle = 0 | |
2660 | end | |
2661 | if 1 < root.Velocity.y and hitfloor == nil then | |
2662 | Anim = "Jump" | |
2663 | if attack == false then | |
2664 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2665 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2666 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2667 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2668 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1) | |
2669 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1) | |
2670 | end | |
2671 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
2672 | Anim = "Fall" | |
2673 | if attack == false then | |
2674 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15) | |
2675 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2676 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15) | |
2677 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15) | |
2678 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1) | |
2679 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1) | |
2680 | end | |
2681 | elseif torvel < 1 and hitfloor ~= nil then | |
2682 | Anim = "Idle" | |
2683 | change = 1 | |
2684 | if attack == false then | |
2685 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15) | |
2686 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(1 - 2.5 * Sin(sine / 19)), Rad(Mrandom(-15, 15)), Rad(-20)), 0.3) | |
2687 | if Mrandom(1,15) == 1 then | |
2688 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 5) + Mrandom(-65,65)), Rad(-4.5 - 2.5 * Sin(sine / 7) + Mrandom(-65,65)), Rad(-4.5 - 25 * Sin(sine / 5) + Mrandom(-65,99))), 0.3) | |
2689 | end | |
2690 | RH.C0 = clerp(RH.C0, CF(1, -1 - 0.2 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
2691 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.2 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
2692 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.3 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(Mrandom(-15, 15)), Rad(20 - 4.5 * Sin(sine / 20))), 0.3) | |
2693 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.3 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(Mrandom(-15, 15)), Rad(-20 + 4.5 * Sin(sine / 20))), 0.3) | |
2694 | end | |
2695 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
2696 | Anim = "Walk" | |
2697 | change = 1 | |
2698 | if attack == false then | |
2699 | hum.WalkSpeed = 49 | |
2700 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.275 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(20-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(10 * Cos(sine / 7))), 0.15) | |
2701 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
2702 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * 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(20)), 0.3) | |
2703 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(-20)), 0.3) | |
2704 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45) * Cos(sine / 7) , Rad(Mrandom(-15, 15)), Rad(5) - ra.RotVelocity.Y / 75), 0.1) | |
2705 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45) * Cos(sine / 7) , Rad(Mrandom(-15, 15)) , Rad(-5) + la.RotVelocity.Y / 75), 0.1) | |
2706 | end | |
2707 | elseif torvel >= 25 and hitfloor ~= nil then | |
2708 | Anim = "Sprint" | |
2709 | change = 1.35 | |
2710 | if attack == false then | |
2711 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.275 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(20), Rad(0) - root.RotVelocity.Y / 75, Rad(10 * Cos(sine / 7))), 0.15) | |
2712 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.08) | |
2713 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 1.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(20)), 0.3) | |
2714 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 1.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(-20)), 0.3) | |
2715 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(75) * Cos(sine / 7), Rad(Mrandom(-15, 15)), Rad(15 + 0.5 * Sin(sine / 12))), 0.1) | |
2716 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-75) * Cos(sine / 7), Rad(Mrandom(-15, 15)), Rad(-15 - 0.5 * Sin(sine / 12))), 0.1) | |
2717 | end | |
2718 | end | |
2719 | end | |
2720 | if 0 < #Effects then | |
2721 | for e = 1, #Effects do | |
2722 | if Effects[e] ~= nil then | |
2723 | local Thing = Effects[e] | |
2724 | if Thing ~= nil then | |
2725 | local Part = Thing[1] | |
2726 | local Mode = Thing[2] | |
2727 | local Delay = Thing[3] | |
2728 | local IncX = Thing[4] | |
2729 | local IncY = Thing[5] | |
2730 | local IncZ = Thing[6] | |
2731 | if 1 >= Thing[1].Transparency then | |
2732 | if Thing[2] == "Block1" then | |
2733 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2734 | local Mesh = Thing[1].Mesh | |
2735 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2736 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2737 | elseif Thing[2] == "Block2" then | |
2738 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
2739 | local Mesh = Thing[7] | |
2740 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2741 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2742 | elseif Thing[2] == "Block3" then | |
2743 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
2744 | local Mesh = Thing[7] | |
2745 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2746 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2747 | elseif Thing[2] == "Cylinder" then | |
2748 | local Mesh = Thing[1].Mesh | |
2749 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2750 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2751 | elseif Thing[2] == "Blood" then | |
2752 | local Mesh = Thing[7] | |
2753 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
2754 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2755 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2756 | elseif Thing[2] == "Elec" then | |
2757 | local Mesh = Thing[1].Mesh | |
2758 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2759 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2760 | elseif Thing[2] == "Disappear" then | |
2761 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2762 | elseif Thing[2] == "Shatter" then | |
2763 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2764 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2765 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2766 | Thing[6] = Thing[6] + Thing[5] | |
2767 | end | |
2768 | else | |
2769 | Part.Parent = nil | |
2770 | table.remove(Effects, e) | |
2771 | end | |
2772 | end | |
2773 | end | |
2774 | end | |
2775 | end | |
2776 | end | |
2777 | ------------------------------------------------------ |