SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {} | |
2 | do | |
3 | script.Parent = owner.Character | |
4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput" | |
5 | local function NewFakeEvent() | |
6 | local Bind = Instance.new("BindableEvent") | |
7 | local Fake;Fake = {Connections = {}, | |
8 | fakeEvent=true; | |
9 | Connect=function(self,Func) | |
10 | Bind.Event:connect(Func) | |
11 | self.Connections[Bind] = true | |
12 | return setmetatable({Connected = true},{ | |
13 | __index = function (self,Index) | |
14 | if Index:lower() == "disconnect" then | |
15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
16 | end | |
17 | return Fake[Index] | |
18 | end; | |
19 | __tostring = function() return "Connection" end; | |
20 | }) | |
21 | end} | |
22 | Fake.connect = Fake.Connect;return Fake; | |
23 | end | |
24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
29 | local function TriggerEvent(self,Event,...) | |
30 | local Trigger = Mouse[Event] | |
31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
33 | end | |
34 | end | |
35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
37 | if FiredBy.Name ~= owner.Name then return end | |
38 | if Input.MouseEvent then | |
39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
40 | else | |
41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
43 | for _,Action in pairs(ContextActionService.Actions) do | |
44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
45 | end | |
46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
48 | end | |
49 | end) | |
50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
51 | Event.Parent = NLS([[ | |
52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse() | |
53 | local Input = function(Input,gameProcessedEvent) | |
54 | if gameProcessedEvent then return end | |
55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
56 | end | |
57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
58 | local Hit,Target | |
59 | while wait(1/30) do | |
60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
62 | end | |
63 | end | |
64 | ]],owner.Character) | |
65 | end | |
66 | RealGame = game;game = setmetatable({},{ | |
67 | __index = function (self,Index) | |
68 | local Sandbox = function (Thing) | |
69 | if Thing:IsA("Player") then | |
70 | local RealPlayer = Thing | |
71 | return setmetatable({},{ | |
72 | __index = function (self,Index) | |
73 | local Type = type(RealPlayer[Index]) | |
74 | if Type == "function" then | |
75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
76 | return function (self)return InternalData["Mouse"] end | |
77 | end | |
78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
79 | end | |
80 | return RealPlayer[Index] | |
81 | end; | |
82 | __tostring = function(self) return RealPlayer.Name end | |
83 | }) | |
84 | end | |
85 | end | |
86 | if RealGame[Index] then | |
87 | local Type = type(RealGame[Index]) | |
88 | if Type == "function" then | |
89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
90 | return function (self,Service) | |
91 | local FakeServices = { | |
92 | ["players"] = function() | |
93 | return setmetatable({},{ | |
94 | __index = function (self2,Index2) | |
95 | local RealService = RealGame:GetService(Service) | |
96 | local Type2 = type(Index2) | |
97 | if Type2 == "function" then | |
98 | return function (self,...) return RealService[Index2](RealService,...)end | |
99 | else | |
100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
101 | return RealService[Index2] | |
102 | end | |
103 | end; | |
104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
105 | }) | |
106 | end; | |
107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
109 | ["runservice"] = function() | |
110 | return setmetatable({},{ | |
111 | __index = function(self2,Index2) | |
112 | local RealService = RealGame:GetService(Service) | |
113 | local Type2 = type(Index2) | |
114 | if Type2 == "function" then | |
115 | return function (self,...) return RealService[Index2](RealService,...) end | |
116 | else | |
117 | local RunServices = { | |
118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
120 | } | |
121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
122 | return RealService[Index2] | |
123 | end | |
124 | end | |
125 | }) | |
126 | end | |
127 | } | |
128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
129 | return RealGame:GetService(Service) | |
130 | end | |
131 | end | |
132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
133 | else | |
134 | if game:GetService(Index) then return game:GetService(Index) end | |
135 | return RealGame[Index] | |
136 | end | |
137 | end | |
138 | return nil | |
139 | end | |
140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob") | |
141 | ||
142 | --//===================================================================\\-- | |
143 | -- ORIGINAL SCRIPT CREATED BY SHACKLUSTER THE EDIT BY XDAVODIOX -- | |
144 | --\\===================================================================//-- | |
145 | ||
146 | ||
147 | ||
148 | warn("________________________________________") | |
149 | warn(" ") | |
150 | warn("Edit by 1x1x1x1x1x1x1x0x0x2 AND XDAVODIOX") | |
151 | warn("Vs.0.1.5") | |
152 | warn("Noob of funny Glove.exe loding") | |
153 | warn(" ") | |
154 | warn(" ") | |
155 | warn(" ") | |
156 | warn(" ") | |
157 | warn("DOT ABUESR!") | |
158 | warn("________________________________________") | |
159 | wait(0.2) | |
160 | Effects = { } | |
161 | local Player = game.Players.localPlayer | |
162 | local Character = Player.Character | |
163 | local Humanoid = Character.Humanoid | |
164 | local Mouse = Player:GetMouse() | |
165 | local LeftArm = Character["Left Arm"] | |
166 | local RightArm = Character["Right Arm"] | |
167 | local LeftLeg = Character["Left Leg"] | |
168 | local RightLeg = Character["Right Leg"] | |
169 | local Head = Character.Head | |
170 | local Torso = Character.Torso | |
171 | local Camera = game.Workspace.CurrentCamera | |
172 | local RootPart = Character.HumanoidRootPart | |
173 | local RootJoint = RootPart.RootJoint | |
174 | local attack = false | |
175 | local Anim = 'Idle' | |
176 | local attacktype = 1 | |
177 | local delays = false | |
178 | local play = true | |
179 | local targetted = nil | |
180 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
181 | local velocity = RootPart.Velocity.y | |
182 | local sine = 0 | |
183 | local change = 1 | |
184 | local doe = 0 | |
185 | local Create = LoadLibrary("RbxUtility").Create | |
186 | Humanoid.WalkSpeed = 8 | |
187 | local m = Create("Model"){ | |
188 | Parent = Character, | |
189 | Name = "WeaponModel", | |
190 | } | |
191 | local Orin = "rbxassetid://459924806" | |
192 | Head.face.Texture = Orin | |
193 | spawn(function() | |
194 | while wait() do | |
195 | Head.BrickColor = BrickColor.new("Bright yellow") | |
196 | RightArm.BrickColor = BrickColor.new("Bright yellow") | |
197 | LeftArm.BrickColor = BrickColor.new("Bright yellow") | |
198 | Torso.BrickColor = BrickColor.new("Bright blue") | |
199 | RightLeg.BrickColor = BrickColor.new("Br. yellowish green") | |
200 | LeftLeg.BrickColor = BrickColor.new("Br. yellowish green") | |
201 | end | |
202 | end) | |
203 | for i,v in pairs(Character:children()) do | |
204 | if v:IsA("Hat") then | |
205 | v:Destroy() | |
206 | end | |
207 | end | |
208 | for i,v in pairs(Character:children()) do | |
209 | if v:IsA("Accessory") then | |
210 | v:Destroy() | |
211 | end | |
212 | end | |
213 | for i,v in pairs(Character:children()) do | |
214 | if v:IsA("Hair") then | |
215 | v:Destroy() | |
216 | end | |
217 | end | |
218 | for i,v in pairs(Character:children()) do | |
219 | if v:IsA("Shirt") then | |
220 | v:Destroy() | |
221 | end | |
222 | end | |
223 | for i,v in pairs(Character:children()) do | |
224 | if v:IsA("Pants") then | |
225 | v:Destroy() | |
226 | end | |
227 | end | |
228 | for i,v in pairs(Character:children()) do | |
229 | if v:IsA("Graphic Shirt") then | |
230 | v:Destroy() | |
231 | end | |
232 | end | |
233 | wait(0.5) | |
234 | local Player = game.Players.localPlayer | |
235 | local Character = Player.Character | |
236 | local Humanoid = Character.Humanoid | |
237 | local LeftArm = Character["Left Arm"] | |
238 | local RightArm = Character["Right Arm"] | |
239 | local LeftLeg = Character["Left Leg"] | |
240 | local RightLeg = Character["Right Leg"] | |
241 | local Head = Character.Head | |
242 | local Torso = Character.Torso | |
243 | local RootPart = Character.HumanoidRootPart | |
244 | local RootJoint = RootPart.RootJoint | |
245 | local txt = Instance.new("BillboardGui", Character) | |
246 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
247 | local velocity = RootPart.Velocity.y | |
248 | sound = Instance.new("Sound", Character) | |
249 | sound.SoundId = "rbxassetid://1101468563" | |
250 | sound.Volume = 0 | |
251 | sound.EmitterSize = 25 | |
252 | sound:Play() | |
253 | sound.Looped = true | |
254 | CV = "Maroon" | |
255 | Player = game.Players.LocalPlayer | |
256 | char = Player.Character | |
257 | local txt = Instance.new("BillboardGui", Character) | |
258 | txt.Adornee = Character.Head | |
259 | txt.Name = "_status" | |
260 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
261 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
262 | local text = Instance.new("TextLabel", txt) | |
263 | text.Size = UDim2.new(10, 0, 7, 0) | |
264 | text.FontSize = "Size24" | |
265 | text.TextScaled = true | |
266 | text.TextTransparency = 0 | |
267 | text.BackgroundTransparency = 1 | |
268 | text.TextTransparency = 0 | |
269 | text.TextStrokeTransparency = 1 | |
270 | text.Font = "Antique" | |
271 | v = Instance.new("Part") | |
272 | v.Name = "ColorBrick" | |
273 | v.Parent = Player.Character | |
274 | v.FormFactor = "Symmetric" | |
275 | v.Anchored = true | |
276 | v.CanCollide = false | |
277 | v.BottomSurface = "Smooth" | |
278 | v.TopSurface = "Smooth" | |
279 | v.Size = Vector3.new(10, 5, 3) | |
280 | v.Transparency = 1 | |
281 | v.CFrame = Character.Torso.CFrame | |
282 | v.BrickColor = BrickColor.new(CV) | |
283 | v.Transparency = 1 | |
284 | touchCounter = 0 | |
285 | local cR=255 | |
286 | local cG=0 | |
287 | local cB=0 | |
288 | local flg5=1 local omgidk=1 | |
289 | local add=15 | |
290 | game:GetService("RunService"):BindToRenderStep("Ghost",1,function() | |
291 | if omgidk>10000 then omgidk=0 end | |
292 | omgidk=omgidk+1 | |
293 | if cR>=255 then flg5=1 end | |
294 | if cG>=255 then flg5=2 end | |
295 | if cB>=255 then flg5=3 end | |
296 | if flg5==1 then cR=cR-add cG=cG+add end | |
297 | if flg5==2 then cG=cG-add cB=cB+add end | |
298 | if flg5==3 then cB=cB-add cR=cR+add end | |
299 | color=Color3.fromRGB(cR,cG,cB) | |
300 | text.TextColor3 = color | |
301 | end) | |
302 | v.Shape = "Block" | |
303 | text.Text = Player.Name..", The Ultimate Noob of Fun" | |
304 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
305 | for _, c in pairs(workspace:children()) do | |
306 | local hum = c:findFirstChild("Humanoid") | |
307 | if hum ~= nil then | |
308 | local head = hit | |
309 | if head ~= nil then | |
310 | local targ = head.Position - Part.Position | |
311 | local mag = targ.magnitude | |
312 | if Magnitude >= mag and c.Name ~= Player.Name then | |
313 | CFuncs.Sound.Create("324867021", head, 1, 1) | |
314 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch) | |
315 | end | |
316 | end | |
317 | end | |
318 | end | |
319 | end | |
320 | wait(0.4) | |
321 | Player = game:GetService("Players").LocalPlayer | |
322 | local Player = game.Players.localPlayer | |
323 | local Character = Player.Character | |
324 | PlayerGui = Player.PlayerGui | |
325 | Cam = workspace.CurrentCamera | |
326 | Backpack = Player.Backpack | |
327 | Character = Player.Character | |
328 | Humanoid = Character.Humanoid | |
329 | Mouse = Player:GetMouse() | |
330 | RootPart = Character["HumanoidRootPart"] | |
331 | Torso = Character["Torso"] | |
332 | Head = Character["Head"] | |
333 | RightArm = Character["Right Arm"] | |
334 | LeftArm = Character["Left Arm"] | |
335 | RightLeg = Character["Right Leg"] | |
336 | LeftLeg = Character["Left Leg"] | |
337 | RootJoint = RootPart["RootJoint"] | |
338 | Neck = Torso["Neck"] | |
339 | RightShoulder = Torso["Right Shoulder"] | |
340 | LeftShoulder = Torso["Left Shoulder"] | |
341 | RightHip = Torso["Right Hip"] | |
342 | LeftHip = Torso["Left Hip"] | |
343 | local sick = Instance.new("Sound",Character) | |
344 | sick.SoundId = "rbxassetid://1110421128" | |
345 | sick.Looped = true | |
346 | sick.Pitch = 1 | |
347 | sick.Volume = 4 | |
348 | sick:Play() | |
349 | ||
350 | IT = Instance.new | |
351 | CF = CFrame.new | |
352 | VT = Vector3.new | |
353 | RAD = math.rad | |
354 | C3 = Color3.new | |
355 | UD2 = UDim2.new | |
356 | BRICKC = BrickColor.new | |
357 | ANGLES = CFrame.Angles | |
358 | EULER = CFrame.fromEulerAnglesXYZ | |
359 | COS = math.cos | |
360 | ACOS = math.acos | |
361 | SIN = math.sin | |
362 | ASIN = math.asin | |
363 | ABS = math.abs | |
364 | MRANDOM = math.random | |
365 | FLOOR = math.floor | |
366 | ||
367 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
368 | local NEWMESH = IT(MESH) | |
369 | if MESH == "SpecialMesh" then | |
370 | NEWMESH.MeshType = MESHTYPE | |
371 | if MESHID ~= "nil" and MESHID ~= "" then | |
372 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
373 | end | |
374 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
375 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
376 | end | |
377 | end | |
378 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
379 | NEWMESH.Scale = SCALE | |
380 | NEWMESH.Parent = PARENT | |
381 | return NEWMESH | |
382 | end | |
383 | ||
384 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
385 | local NEWPART = IT("Part") | |
386 | NEWPART.formFactor = FORMFACTOR | |
387 | NEWPART.Reflectance = REFLECTANCE | |
388 | NEWPART.Transparency = TRANSPARENCY | |
389 | NEWPART.CanCollide = false | |
390 | NEWPART.Locked = true | |
391 | NEWPART.Anchored = true | |
392 | if ANCHOR == false then | |
393 | NEWPART.Anchored = false | |
394 | end | |
395 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
396 | NEWPART.Name = NAME | |
397 | NEWPART.Size = SIZE | |
398 | NEWPART.Position = Torso.Position | |
399 | NEWPART.Material = MATERIAL | |
400 | NEWPART:BreakJoints() | |
401 | NEWPART.Parent = PARENT | |
402 | return NEWPART | |
403 | end | |
404 | ||
405 | --//=================================\\ | |
406 | --|| CUSTOMIZATION | |
407 | --\\=================================// | |
408 | ||
409 | Player_Size = 1 --Size of the player. | |
410 | Animation_Speed = 3 | |
411 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
412 | ||
413 | local Speed = 18 | |
414 | local Effects2 = {} | |
415 | ||
416 | --//=================================\\ | |
417 | --|| END OF CUSTOMIZATION | |
418 | --\\=================================// | |
419 | ||
420 | local function weldBetween(a, b) | |
421 | local weldd = Instance.new("ManualWeld") | |
422 | weldd.Part0 = a | |
423 | weldd.Part1 = b | |
424 | weldd.C0 = CFrame.new() | |
425 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
426 | weldd.Parent = a | |
427 | return weldd | |
428 | end | |
429 | ||
430 | --//=================================\\ | |
431 | --|| USEFUL VALUES | |
432 | --\\=================================// | |
433 | ||
434 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
435 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
436 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
437 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
438 | local CHANGEDEFENSE = 0 | |
439 | local CHANGEDAMAGE = 0 | |
440 | local CHANGEMOVEMENT = 0 | |
441 | local ANIM = "Idle" | |
442 | local ATTACK = false | |
443 | local EQUIPPED = false | |
444 | local HOLD = false | |
445 | local COMBO = 1 | |
446 | local Rooted = false | |
447 | local SINE = 0 | |
448 | local KEYHOLD = false | |
449 | local CHANGE = 2 / Animation_Speed | |
450 | local WALKINGANIM = false | |
451 | local WALK = 0 | |
452 | local VALUE1 = false | |
453 | local VALUE2 = false | |
454 | local ROBLOXIDLEANIMATION = IT("Animation") | |
455 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
456 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
457 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
458 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
459 | WEAPONGUI.Name = "Weapon GUI" | |
460 | local Weapon = IT("Model") | |
461 | Weapon.Name = "Adds" | |
462 | local HITFLOOR = nil | |
463 | local Effects = IT("Folder", Weapon) | |
464 | Effects.Name = "Effects" | |
465 | local ANIMATOR = Humanoid.Animator | |
466 | local ANIMATE = Character.Animate | |
467 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
468 | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} | |
469 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
470 | local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
471 | local UNANCHOR = true | |
472 | ||
473 | local SKILLTEXTCOLOR = C3(0,255/255,0) | |
474 | ||
475 | --//=================================\\ | |
476 | --\\=================================// | |
477 | ||
478 | ||
479 | --//=================================\\ | |
480 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
481 | --\\=================================// | |
482 | ||
483 | ArtificialHB = Instance.new("BindableEvent", script) | |
484 | ArtificialHB.Name = "ArtificialHB" | |
485 | ||
486 | script:WaitForChild("ArtificialHB") | |
487 | ||
488 | frame = Frame_Speed | |
489 | tf = 0 | |
490 | allowframeloss = false | |
491 | tossremainder = false | |
492 | lastframe = tick() | |
493 | script.ArtificialHB:Fire() | |
494 | ||
495 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
496 | tf = tf + s | |
497 | if tf >= frame then | |
498 | if allowframeloss then | |
499 | script.ArtificialHB:Fire() | |
500 | lastframe = tick() | |
501 | else | |
502 | for i = 1, math.floor(tf / frame) do | |
503 | script.ArtificialHB:Fire() | |
504 | end | |
505 | lastframe = tick() | |
506 | end | |
507 | if tossremainder then | |
508 | tf = 0 | |
509 | else | |
510 | tf = tf - frame * math.floor(tf / frame) | |
511 | end | |
512 | end | |
513 | end) | |
514 | ||
515 | --//=================================\\ | |
516 | --\\=================================// | |
517 | ||
518 | ||
519 | ||
520 | ||
521 | ||
522 | --//=================================\\ | |
523 | --|| SOME FUNCTIONS | |
524 | --\\=================================// | |
525 | ||
526 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
527 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
528 | end | |
529 | ||
530 | function PositiveAngle(NUMBER) | |
531 | if NUMBER >= 0 then | |
532 | NUMBER = 0 | |
533 | end | |
534 | return NUMBER | |
535 | end | |
536 | ||
537 | function NegativeAngle(NUMBER) | |
538 | if NUMBER <= 0 then | |
539 | NUMBER = 0 | |
540 | end | |
541 | return NUMBER | |
542 | end | |
543 | ||
544 | function Swait(NUMBER) | |
545 | if NUMBER == 0 or NUMBER == nil then | |
546 | ArtificialHB.Event:wait() | |
547 | else | |
548 | for i = 1, NUMBER do | |
549 | ArtificialHB.Event:wait() | |
550 | end | |
551 | end | |
552 | end | |
553 | ||
554 | function QuaternionFromCFrame(cf) | |
555 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
556 | local trace = m00 + m11 + m22 | |
557 | if trace > 0 then | |
558 | local s = math.sqrt(1 + trace) | |
559 | local recip = 0.5 / s | |
560 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
561 | else | |
562 | local i = 0 | |
563 | if m11 > m00 then | |
564 | i = 1 | |
565 | end | |
566 | if m22 > (i == 0 and m00 or m11) then | |
567 | i = 2 | |
568 | end | |
569 | if i == 0 then | |
570 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
571 | local recip = 0.5 / s | |
572 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
573 | elseif i == 1 then | |
574 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
575 | local recip = 0.5 / s | |
576 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
577 | elseif i == 2 then | |
578 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
579 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
580 | end | |
581 | end | |
582 | end | |
583 | ||
584 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
585 | local xs, ys, zs = x + x, y + y, z + z | |
586 | local wx, wy, wz = w * xs, w * ys, w * zs | |
587 | local xx = x * xs | |
588 | local xy = x * ys | |
589 | local xz = x * zs | |
590 | local yy = y * ys | |
591 | local yz = y * zs | |
592 | local zz = z * zs | |
593 | 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)) | |
594 | end | |
595 | ||
596 | function QuaternionSlerp(a, b, t) | |
597 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
598 | local startInterp, finishInterp; | |
599 | if cosTheta >= 0.0001 then | |
600 | if (1 - cosTheta) > 0.0001 then | |
601 | local theta = ACOS(cosTheta) | |
602 | local invSinTheta = 1 / SIN(theta) | |
603 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
604 | finishInterp = SIN(t * theta) * invSinTheta | |
605 | else | |
606 | startInterp = 1 - t | |
607 | finishInterp = t | |
608 | end | |
609 | else | |
610 | if (1 + cosTheta) > 0.0001 then | |
611 | local theta = ACOS(-cosTheta) | |
612 | local invSinTheta = 1 / SIN(theta) | |
613 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
614 | finishInterp = SIN(t * theta) * invSinTheta | |
615 | else | |
616 | startInterp = t - 1 | |
617 | finishInterp = t | |
618 | end | |
619 | end | |
620 | 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 | |
621 | end | |
622 | ||
623 | function Clerp(a, b, t) | |
624 | local qa = {QuaternionFromCFrame(a)} | |
625 | local qb = {QuaternionFromCFrame(b)} | |
626 | local ax, ay, az = a.x, a.y, a.z | |
627 | local bx, by, bz = b.x, b.y, b.z | |
628 | local _t = 1 - t | |
629 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
630 | end | |
631 | ||
632 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
633 | local frame = IT("Frame") | |
634 | frame.BackgroundTransparency = TRANSPARENCY | |
635 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
636 | frame.Position = POSITION | |
637 | frame.Size = SIZE | |
638 | frame.BackgroundColor3 = COLOR | |
639 | frame.BorderColor3 = BORDERCOLOR | |
640 | frame.Name = NAME | |
641 | frame.Parent = PARENT | |
642 | return frame | |
643 | end | |
644 | ||
645 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
646 | local label = IT("TextLabel") | |
647 | label.BackgroundTransparency = 1 | |
648 | label.Size = UD2(1, 0, 1, 0) | |
649 | label.Position = UD2(0, 0, 0, 0) | |
650 | label.TextColor3 = TEXTCOLOR | |
651 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
652 | label.TextTransparency = TRANSPARENCY | |
653 | label.FontSize = TEXTFONTSIZE | |
654 | label.Font = TEXTFONT | |
655 | label.BorderSizePixel = BORDERSIZEPIXEL | |
656 | label.TextScaled = false | |
657 | label.Text = TEXT | |
658 | label.Name = NAME | |
659 | label.Parent = PARENT | |
660 | return label | |
661 | end | |
662 | ||
663 | function NoOutlines(PART) | |
664 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
665 | end | |
666 | ||
667 | ||
668 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
669 | local NEWWELD = IT(TYPE) | |
670 | NEWWELD.Part0 = PART0 | |
671 | NEWWELD.Part1 = PART1 | |
672 | NEWWELD.C0 = C0 | |
673 | NEWWELD.C1 = C1 | |
674 | NEWWELD.Parent = PARENT | |
675 | return NEWWELD | |
676 | end | |
677 | ||
678 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
679 | local NEWSOUND = nil | |
680 | coroutine.resume(coroutine.create(function() | |
681 | NEWSOUND = IT("Sound", PARENT) | |
682 | NEWSOUND.Volume = VOLUME | |
683 | NEWSOUND.Pitch = PITCH | |
684 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
685 | Swait() | |
686 | NEWSOUND:play() | |
687 | game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
688 | end)) | |
689 | return NEWSOUND | |
690 | end | |
691 | ||
692 | function CFrameFromTopBack(at, top, back) | |
693 | local right = top:Cross(back) | |
694 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
695 | end | |
696 | ||
697 | function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
698 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("New Yeller"), "Effect", VT(0,0,0)) | |
699 | local mesh = IT("SpecialMesh",wave) | |
700 | mesh.MeshType = "FileMesh" | |
701 | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
702 | mesh.Scale = SIZE | |
703 | mesh.Offset = VT(0,0,-SIZE.X/8) | |
704 | wave.CFrame = CFRAME | |
705 | coroutine.resume(coroutine.create(function(PART) | |
706 | for i = 1, WAIT do | |
707 | Swait() | |
708 | mesh.Scale = mesh.Scale + GROW | |
709 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
710 | if DOESROT == true then | |
711 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
712 | end | |
713 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
714 | if wave.Transparency > 0.99 then | |
715 | wave:remove() | |
716 | end | |
717 | end | |
718 | end)) | |
719 | end | |
720 | ||
721 | function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
722 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("New Yeller"), "Effect", VT(0,0,0)) | |
723 | local mesh = IT("SpecialMesh",wave) | |
724 | mesh.MeshType = "FileMesh" | |
725 | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
726 | mesh.Scale = SIZE | |
727 | --mesh.Offset = VT(0,0,-SIZE.X/8) | |
728 | wave.CFrame = CFRAME | |
729 | coroutine.resume(coroutine.create(function(PART) | |
730 | for i = 1, WAIT do | |
731 | Swait() | |
732 | mesh.Scale = mesh.Scale + GROW | |
733 | --mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
734 | if DOESROT == true then | |
735 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
736 | end | |
737 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
738 | if wave.Transparency > 0.99 then | |
739 | wave:remove() | |
740 | end | |
741 | end | |
742 | end)) | |
743 | end | |
744 | ||
745 | function chatfunc(text) | |
746 | local chat = coroutine.wrap(function() | |
747 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
748 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
749 | end | |
750 | local Bill = Instance.new("BillboardGui",Character) | |
751 | Bill.Size = UDim2.new(0,100,0,40) | |
752 | Bill.StudsOffset = Vector3.new(0,3,0) | |
753 | Bill.Adornee = Character.Head | |
754 | Bill.Name = "TalkingBillBoard" | |
755 | local Hehe = Instance.new("TextLabel",Bill) | |
756 | Hehe.BackgroundTransparency = 1 | |
757 | Hehe.BorderSizePixel = 0 | |
758 | Hehe.Text = "" | |
759 | Hehe.Font = "Garamond" | |
760 | Hehe.TextSize = 40 | |
761 | Hehe.TextStrokeTransparency = 0 | |
762 | Hehe.Size = UDim2.new(1,0,0.5,0) | |
763 | coroutine.resume(coroutine.create(function() | |
764 | while Hehe ~= nil do | |
765 | Swait() | |
766 | Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
767 | Hehe.Rotation = math.random(-5,5) | |
768 | Hehe.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
769 | Hehe.TextStrokeColor3 = C3(1,0.9,0) | |
770 | end | |
771 | end)) | |
772 | for i = 1,string.len(text),1 do | |
773 | Swait() | |
774 | Hehe.Text = string.sub(text,1,i) | |
775 | end | |
776 | Swait(90)--Re[math.random(1, 93)] | |
777 | for i = 0, 1, .025 do | |
778 | Swait() | |
779 | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) | |
780 | Hehe.TextStrokeTransparency = i | |
781 | Hehe.TextTransparency = i | |
782 | end | |
783 | Bill:Destroy() | |
784 | end) | |
785 | chat() | |
786 | end | |
787 | ||
788 | function onChatted(msg) | |
789 | chatfunc(msg) | |
790 | end | |
791 | ||
792 | Player.Chatted:connect(onChatted) | |
793 | ||
794 | function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
795 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("New Yeller"), "Effect", VT(0,0,0)) | |
796 | local mesh = IT("SpecialMesh",wave) | |
797 | mesh.MeshType = "FileMesh" | |
798 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
799 | mesh.Scale = SIZE | |
800 | wave.CFrame = CFRAME | |
801 | coroutine.resume(coroutine.create(function(PART) | |
802 | for i = 1, WAIT do | |
803 | Swait() | |
804 | mesh.Scale = mesh.Scale + GROW | |
805 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
806 | if DOESROT == true then | |
807 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
808 | end | |
809 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
810 | if wave.Transparency > 0.99 then | |
811 | wave:remove() | |
812 | end | |
813 | end | |
814 | end)) | |
815 | end | |
816 | ||
817 | chatfunc("WAnt bE FRiEnd?") | |
818 | ||
819 | function Slice(SIZE,WAIT,CFRAME,COLOR,GROW) | |
820 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("New Yeller"), "Effect", VT(1,1,1), true) | |
821 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0)) | |
822 | wave.CFrame = CFRAME | |
823 | coroutine.resume(coroutine.create(function(PART) | |
824 | for i = 1, WAIT do | |
825 | Swait() | |
826 | mesh.Scale = mesh.Scale * GROW | |
827 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
828 | if wave.Transparency > 0.99 then | |
829 | wave:remove() | |
830 | end | |
831 | end | |
832 | end)) | |
833 | end | |
834 | ||
835 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
836 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("New Yeller"), "Effect", VT(1,1,1), true) | |
837 | local mesh = IT("SpecialMesh",wave) | |
838 | mesh.MeshType = "Sphere" | |
839 | mesh.Scale = SIZE | |
840 | mesh.Offset = VT(0,0,0) | |
841 | wave.CFrame = CFRAME | |
842 | coroutine.resume(coroutine.create(function(PART) | |
843 | for i = 1, WAIT do | |
844 | Swait() | |
845 | mesh.Scale = mesh.Scale + GROW | |
846 | wave.Transparency = wave.Transparency + (1/WAIT) | |
847 | if wave.Transparency > 0.99 then | |
848 | wave:remove() | |
849 | end | |
850 | end | |
851 | end)) | |
852 | end | |
853 | ||
854 | function MakeForm(PART,TYPE) | |
855 | if TYPE == "Cyl" then | |
856 | local MSH = IT("CylinderMesh",PART) | |
857 | elseif TYPE == "Ball" then | |
858 | local MSH = IT("SpecialMesh",PART) | |
859 | MSH.MeshType = "Sphere" | |
860 | elseif TYPE == "Wedge" then | |
861 | local MSH = IT("SpecialMesh",PART) | |
862 | MSH.MeshType = "Wedge" | |
863 | end | |
864 | end | |
865 | ||
866 | function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT) | |
867 | if FLOOR ~= nil then | |
868 | coroutine.resume(coroutine.create(function() | |
869 | local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0)) | |
870 | PART.CFrame = CF(POSITION) | |
871 | for i = 1, 45 do | |
872 | local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE) | |
873 | RingPiece.Material = FLOOR.Material | |
874 | RingPiece.Color = FLOOR.Color | |
875 | RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
876 | Debris:AddItem(RingPiece,SWAIT/100) | |
877 | end | |
878 | PART:remove() | |
879 | end)) | |
880 | end | |
881 | end | |
882 | ||
883 | function CheckTableForString(Table, String) | |
884 | for i, v in pairs(Table) do | |
885 | if string.find(string.lower(String), string.lower(v)) then | |
886 | return true | |
887 | end | |
888 | end | |
889 | return false | |
890 | end | |
891 | ||
892 | function CheckIntangible(Hit) | |
893 | local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} | |
894 | if Hit and Hit.Parent then | |
895 | if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then | |
896 | return true | |
897 | end | |
898 | end | |
899 | return false | |
900 | end | |
901 | ||
902 | Debris = game:GetService("Debris") | |
903 | ||
904 | function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
905 | local Direction = CFrame.new(StartPos, Vec).lookVector | |
906 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
907 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) | |
908 | if RayHit and CheckIntangible(RayHit) then | |
909 | if DelayIfHit then | |
910 | wait() | |
911 | end | |
912 | RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
913 | end | |
914 | return RayHit, RayPos, RayNormal | |
915 | end | |
916 | ||
917 | function turnto(position) | |
918 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
919 | end | |
920 | ||
921 | --//=================================\\ | |
922 | --|| WEAPON CREATION | |
923 | --\\=================================// | |
924 | ||
925 | local StartPart = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Metal", VT(0.6,0.5,0.6),false) | |
926 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(-0.6, 0, 0.5) * ANGLES(RAD(80), RAD(0), RAD(15)), CF(0, 0, 0)) | |
927 | local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.5,1.4,0.5),false) | |
928 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
929 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Earth green", "Flame", VT(0.45,1.4,0.45),false) | |
930 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
931 | local Part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Metal", VT(0.6,0.5,0.6),false) | |
932 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
933 | ||
934 | local StartPart = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Metal", VT(0.5,0.5,0.5),false) | |
935 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(-0.5, -0.5, 0.45) * ANGLES(RAD(110), RAD(0), RAD(15)), CF(0, 0, 0)) | |
936 | local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.4,1.4,0.4),false) | |
937 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
938 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Dark indigo", "Flame", VT(0.35,1.4,0.35),false) | |
939 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
940 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(0.5,0.5,0.5),false) | |
941 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
942 | ||
943 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(1.1,0.7,1.1),false) | |
944 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
945 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(0.55,0.7,1.1),false) | |
946 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0.25, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
947 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(1.1,0.7,0.525),false) | |
948 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(-0.28, 0, 0) * ANGLES(RAD(180), RAD(90), RAD(0)), CF(0, 0, 0)) | |
949 | MakeForm(Part,"Wedge") | |
950 | ||
951 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(1.1,1,0.525),false) | |
952 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0)) | |
953 | MakeForm(Part,"Wedge") | |
954 | ||
955 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(1,1,1.2),false) | |
956 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
957 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(0.3,1.7,1.15),false) | |
958 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0)) | |
959 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(0.3,1.7,1.15),false) | |
960 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0)) | |
961 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Gold", "Metal", VT(0.8,0.8,1.225),false) | |
962 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
963 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Flame", VT(0.5,0.5,1.25),false) | |
964 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
965 | ||
966 | local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(0.8,0.5,0.8),false) | |
967 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(0.7, 0.7, 0.5) * ANGLES(RAD(50), RAD(0), RAD(-15)), CF(0, 0, 0)) | |
968 | local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.7,1.4,0.7),false) | |
969 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
970 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Carnation pink", "Flame", VT(0.65,1.4,0.65),false) | |
971 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
972 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(0.8,0.5,0.8),false) | |
973 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
974 | ||
975 | local FAKECHARACTER = IT("Model",Effects) | |
976 | FAKECHARACTER.Name = "NeonDoll" | |
977 | local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Flame", VT(0.3,0.3,0.15),false) | |
978 | CreateWeldOrSnapOrMotor("Weld", Part, Part, TORS, CF(0,0.5,0), CF(0,0,0)) | |
979 | local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Flame", VT(0.15,0.3,0.15),false) | |
980 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(-90), RAD(0), RAD(15)), CF(0,0.15,0)) | |
981 | local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Flame", VT(0.15,0.3,0.15),false) | |
982 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(-90), RAD(0), RAD(-15)), CF(0,0.15,0)) | |
983 | local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Flame", VT(0.15,0.3,0.15),false) | |
984 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(30)), CF(0,0.15,0)) | |
985 | local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Flame", VT(0.15,0.3,0.15),false) | |
986 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-30)), CF(0,0.15,0)) | |
987 | local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Flame", VT(0.15,0.15,0.15),false) | |
988 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0)) | |
989 | ||
990 | local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(0.6,0.5,0.6),false) | |
991 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(0.6, 0, 0.5) * ANGLES(RAD(80), RAD(0), RAD(-15)), CF(0, 0, 0)) | |
992 | local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.5,1.4,0.5),false) | |
993 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
994 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Flame", VT(0.10,1.4,0.10),false) | |
995 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
996 | local FAKECHARACTER = IT("Model",Effects) | |
997 | FAKECHARACTER.Name = "NeonDoll" | |
998 | local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Flame", VT(0.3,0.3,0.15),false) | |
999 | CreateWeldOrSnapOrMotor("Weld", Part, Part, TORS, CF(0,0,0), CF(0,0,0)) | |
1000 | local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Flame", VT(0.15,0.3,0.15),false) | |
1001 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0)) | |
1002 | local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Flame", VT(0.15,0.3,0.15),false) | |
1003 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0)) | |
1004 | local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Flame", VT(0.15,0.3,0.15),false) | |
1005 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(10)), CF(0,0.15,0)) | |
1006 | local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Flame", VT(0.15,0.3,0.15),false) | |
1007 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-10)), CF(0,0.15,0)) | |
1008 | local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Flame", VT(0.15,0.15,0.15),false) | |
1009 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0)) | |
1010 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(0.6,0.5,0.6),false) | |
1011 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1012 | ||
1013 | local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(0.5,0.5,0.5),false) | |
1014 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(0.5, -0.5, 0.45) * ANGLES(RAD(110), RAD(0), RAD(-15)), CF(0, 0, 0)) | |
1015 | local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.4,1.4,0.4),false) | |
1016 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1017 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Dark indigo", "Flame", VT(0.35,1.4,0.35),false) | |
1018 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1019 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(0.5,0.5,0.5),false) | |
1020 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1021 | ||
1022 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(1.1,0.7,1.1),false) | |
1023 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1024 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(0.55,0.7,1.1),false) | |
1025 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(-0.25, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1026 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(1.1,0.7,0.525),false) | |
1027 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0.28, 0, 0) * ANGLES(RAD(-180), RAD(-90), RAD(0)), CF(0, 0, 0)) | |
1028 | MakeForm(Part,"Wedge") | |
1029 | ||
1030 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false) | |
1031 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0.75, 0.51, 0) * ANGLES(RAD(-180), RAD(90), RAD(0)), CF(0, 0, 0)) | |
1032 | MakeForm(Part,"Wedge") | |
1033 | ||
1034 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(1,1,1.2),false) | |
1035 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1036 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(0.3,1.7,1.15),false) | |
1037 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0)) | |
1038 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(0.3,1.7,1.15),false) | |
1039 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0)) | |
1040 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Gold", "Metal", VT(0.8,0.8,1.225),false) | |
1041 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1042 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Flame", VT(0.5,0.5,1.25),false) | |
1043 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1044 | ||
1045 | local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(0.8,0.5,0.8),false) | |
1046 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(-0.7, 0.7, 0.5) * ANGLES(RAD(50), RAD(0), RAD(15)), CF(0, 0, 0)) | |
1047 | local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.7,1.4,0.7),false) | |
1048 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1049 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Flame", VT(0.65,1.4,0.65),false) | |
1050 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1051 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Metal", VT(0.8,0.5,0.8),false) | |
1052 | CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1053 | ||
1054 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false) | |
1055 | PRT.Color = C3(0,0,0) | |
1056 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1057 | CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0)) | |
1058 | ||
1059 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false) | |
1060 | PRT.Color = C3(0,0,0) | |
1061 | local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0)) | |
1062 | CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0)) | |
1063 | ||
1064 | local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false) | |
1065 | local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1066 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false) | |
1067 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1068 | ||
1069 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) | |
1070 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1071 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) | |
1072 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1073 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) | |
1074 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1075 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) | |
1076 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1077 | ||
1078 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false) | |
1079 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1080 | local part = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false) | |
1081 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1082 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) | |
1083 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1084 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) | |
1085 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1086 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) | |
1087 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1088 | ||
1089 | for _, c in pairs(Weapon:GetChildren()) do | |
1090 | if c.ClassName == "Part" then | |
1091 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1092 | end | |
1093 | end | |
1094 | ||
1095 | Weapon.Parent = Character | |
1096 | ||
1097 | Humanoid.Died:connect(function() | |
1098 | ATTACK = true | |
1099 | end) | |
1100 | ||
1101 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
1102 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
1103 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
1104 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
1105 | ||
1106 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] ITS THE FIRST TIME BAKA", SKILLTEXTCOLOR, 7, "SciFi", 0, 0, 255, "Text 1") | |
1107 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] FUNNY GRAB", SKILLTEXTCOLOR, 7, "SciFi", 0, 0, 255, "Text 2") | |
1108 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] TELEPORT", SKILLTEXTCOLOR, 7, "SciFi", 0, 0, 255, "Text 3") | |
1109 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] THE ULTIMATE PUNCH OF FUN", SKILLTEXTCOLOR, 6, "SciFi", 0, 0, 255, "Text4") | |
1110 | ||
1111 | --//=================================\\ | |
1112 | --|| DAMAGE FUNCTIONS | |
1113 | --\\=================================// | |
1114 | ||
1115 | function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR) | |
1116 | local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT()) | |
1117 | STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0)) | |
1118 | local BODYGYRO = IT("BodyGyro", STATPART) | |
1119 | local BODYPOSITION = IT("BodyPosition", STATPART) | |
1120 | BODYPOSITION.P = 2000 | |
1121 | BODYPOSITION.D = 100 | |
1122 | BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge) | |
1123 | BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2)) | |
1124 | game:GetService("Debris"):AddItem(STATPART ,5) | |
1125 | local BILLBOARDGUI = Instance.new("BillboardGui", STATPART) | |
1126 | BILLBOARDGUI.Adornee = STATPART | |
1127 | BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0) | |
1128 | BILLBOARDGUI.StudsOffset = VT(-2, 2, 0) | |
1129 | BILLBOARDGUI.AlwaysOnTop = false | |
1130 | local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI) | |
1131 | TEXTLABEL.BackgroundTransparency = 1 | |
1132 | TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0) | |
1133 | TEXTLABEL.Text = TEXT | |
1134 | TEXTLABEL.Font = "SciFi" | |
1135 | TEXTLABEL.FontSize="Size42" | |
1136 | TEXTLABEL.TextColor3 = COLOR | |
1137 | TEXTLABEL.TextStrokeTransparency = 1 | |
1138 | TEXTLABEL.TextScaled = true | |
1139 | TEXTLABEL.TextWrapped = true | |
1140 | coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL) | |
1141 | if LABELTYPE == "Normal" then | |
1142 | for i = 1, 30 do | |
1143 | Swait() | |
1144 | STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0) | |
1145 | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30) | |
1146 | end | |
1147 | elseif LABELTYPE == "Debuff" then | |
1148 | for i = 1, 30 do | |
1149 | Swait() | |
1150 | STATPART.Position = STATPART.Position - VT(0, i/10 ,0) | |
1151 | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30) | |
1152 | end | |
1153 | elseif LABELTYPE == "Shock" then | |
1154 | local ORIGIN = STATPART.Position | |
1155 | for i = 1, 30 do | |
1156 | Swait() | |
1157 | STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2)) | |
1158 | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30) | |
1159 | end | |
1160 | end | |
1161 | THEPART.Parent = nil | |
1162 | end),STATPART, BODYPOSITION, TEXTLABEL) | |
1163 | end | |
1164 | ||
1165 | --//=================================\\ | |
1166 | --|| DAMAGING | |
1167 | --\\=================================// | |
1168 | ||
1169 | function killnearest(position,range,maxstrength,direction) | |
1170 | for i,v in ipairs(workspace:GetChildren()) do | |
1171 | local body = v:GetChildren() | |
1172 | for part = 1, #body do | |
1173 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
1174 | if(body[part].Position - position).Magnitude < range then | |
1175 | if v.ClassName == "Model" then | |
1176 | --v:BreakJoints() | |
1177 | end | |
1178 | local POS = position | |
1179 | coroutine.resume(coroutine.create(function() | |
1180 | body[part].Anchored = true | |
1181 | body[part].Parent = Effects | |
1182 | body[part].CanCollide = true | |
1183 | local SIZE = body[part].Size | |
1184 | body[part].Material = "Neon" | |
1185 | CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10) | |
1186 | for i = 1, 75 do | |
1187 | Swait() | |
1188 | body[part].Color = Color3.fromRGB(cR,cG,cB) | |
1189 | body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
1190 | end | |
1191 | coroutine.resume(coroutine.create(function() | |
1192 | while true do | |
1193 | Swait() | |
1194 | body[part].Color = Color3.fromRGB(cR,cG,cB) | |
1195 | body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
1196 | end | |
1197 | end)) | |
1198 | body[part].Anchored = false | |
1199 | body[part].Velocity = direction.lookVector*maxstrength | |
1200 | end)) | |
1201 | end | |
1202 | end | |
1203 | end | |
1204 | if v.ClassName == "Part" then | |
1205 | if v.Anchored == false and (v.Position - position).Magnitude < range then | |
1206 | local POS = position | |
1207 | coroutine.resume(coroutine.create(function() | |
1208 | v.Anchored = true | |
1209 | v.Parent = Effects | |
1210 | local SIZE = v.Size | |
1211 | v.Material = "Neon" | |
1212 | CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10) | |
1213 | for i = 1, 75 do | |
1214 | Swait() | |
1215 | v.Color = Color3.fromRGB(cR,cG,cB) | |
1216 | v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
1217 | end | |
1218 | coroutine.resume(coroutine.create(function() | |
1219 | while true do | |
1220 | Swait() | |
1221 | v.Color = Color3.fromRGB(cR,cG,cB) | |
1222 | v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
1223 | end | |
1224 | end)) | |
1225 | v.Anchored = false | |
1226 | v.Velocity = direction.lookVector*maxstrength | |
1227 | end)) | |
1228 | end | |
1229 | end | |
1230 | end | |
1231 | end | |
1232 | ||
1233 | --//=================================\\ | |
1234 | --|| ATTACK FUNCTIONS AND STUFF | |
1235 | --\\=================================// | |
1236 | ||
1237 | function kiss() | |
1238 | chatfunc("KisS mE") | |
1239 | ATTACK = true | |
1240 | Rooted = false | |
1241 | local HASGRABBED = false | |
1242 | local GRABTARGET = nil | |
1243 | local TORS = nil | |
1244 | local WELD = nil | |
1245 | for i=0, 1, 0.1 / Animation_Speed do | |
1246 | Swait() | |
1247 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1248 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1249 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1250 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1251 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1252 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1253 | end | |
1254 | local GRAB1 = RightArm.Touched:Connect(function(hit) | |
1255 | if hit.Parent:FindFirstChild("Humanoid") then | |
1256 | if hit.Parent.Humanoid.Health ~= 0 then | |
1257 | UNANCHOR = false | |
1258 | RootPart.Anchored = true | |
1259 | TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
1260 | TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0)) | |
1261 | WELD = weldBetween(RootPart,TORS) | |
1262 | HASGRABBED = true | |
1263 | Rooted = true | |
1264 | end | |
1265 | end | |
1266 | end) | |
1267 | local GRAB2 = LeftArm.Touched:Connect(function(hit) | |
1268 | if hit.Parent:FindFirstChild("Humanoid") then | |
1269 | if hit.Parent.Humanoid.Health ~= 0 then | |
1270 | UNANCHOR = false | |
1271 | RootPart.Anchored = true | |
1272 | TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
1273 | TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0)) | |
1274 | WELD = weldBetween(RootPart,TORS) | |
1275 | HASGRABBED = true | |
1276 | Rooted = true | |
1277 | end | |
1278 | end | |
1279 | end) | |
1280 | for i=0, 1, 0.1 / Animation_Speed do | |
1281 | Swait() | |
1282 | if HASGRABBED == true then | |
1283 | break | |
1284 | end | |
1285 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1286 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1287 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1288 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1289 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1290 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1291 | end | |
1292 | GRAB1:disconnect() | |
1293 | GRAB2:disconnect() | |
1294 | if HASGRABBED == true then | |
1295 | TORS.Anchored = false | |
1296 | GRABTARGET = TORS.Parent | |
1297 | HED = GRABTARGET:FindFirstChild("Head") | |
1298 | for i=0, 2, 0.1 / Animation_Speed do | |
1299 | Swait() | |
1300 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1301 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1302 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1303 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1304 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1305 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1306 | end | |
1307 | local heart = CreatePart(1, HED, "SmoothPlastic", 0, 0, "New Yeller", "Hood", VT(1,1,1), false) | |
1308 | local msh = CreateMesh("SpecialMesh", heart, "FileMesh", "431221914", "", VT(0.3, 0.3, 0.3), VT(0,0,0)) | |
1309 | CreateWeldOrSnapOrMotor("Weld", HED, heart, HED,CF(0, -2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1310 | local ECH = 0 | |
1311 | CreateSound("247269322", Head, 10, 0.8) | |
1312 | for i=0, 8, 0.1 / Animation_Speed do | |
1313 | Swait() | |
1314 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1315 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(25 * SIN(SINE / 3)), RAD(0)), 0.5 / Animation_Speed) | |
1316 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1317 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1318 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1319 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1320 | end | |
1321 | WELD:remove() | |
1322 | end | |
1323 | UNANCHOR = true | |
1324 | ATTACK = false | |
1325 | Rooted = false | |
1326 | end | |
1327 | ||
1328 | ||
1329 | function AttackTemplate() | |
1330 | ATTACK = true | |
1331 | Rooted = false | |
1332 | for i=0, 0, 0.1 / Animation_Speed do | |
1333 | Swait() | |
1334 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1335 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1336 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1337 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1338 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1339 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1340 | end | |
1341 | ATTACK = false | |
1342 | Rooted = false | |
1343 | end | |
1344 | ||
1345 | function DeathAgreement() | |
1346 | chatfunc("ITS THE FIRST TIME BAKA") | |
1347 | ATTACK = true | |
1348 | Rooted = false | |
1349 | local SPEED = Speed | |
1350 | Speed = 8 | |
1351 | CreateSound("1133791405", RightArm, 10, 1.1) | |
1352 | for i=0, 0, 0.1 / Animation_Speed do | |
1353 | Swait() | |
1354 | turnto(Mouse.Hit.p) | |
1355 | MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"New Yeller",VT(-1/15,-1/15,-1/15)) | |
1356 | MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"New Yeller",VT(-2/15,-2/15,-2/15)) | |
1357 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed) | |
1358 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed) | |
1359 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
1360 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1361 | RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed) | |
1362 | LeftHip.C0 = Clerp(LeftHip.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)), 0.15 / Animation_Speed) | |
1363 | end | |
1364 | for i=0, 0, 0.1 / Animation_Speed do | |
1365 | Swait() | |
1366 | turnto(Mouse.Hit.p) | |
1367 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed) | |
1368 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed) | |
1369 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1370 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1371 | RightHip.C0 = Clerp(RightHip.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)), 1 / Animation_Speed) | |
1372 | LeftHip.C0 = Clerp(LeftHip.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)), 1 / Animation_Speed) | |
1373 | end | |
1374 | local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "New Yeller", "Punch", VT(50,50,50),false) | |
1375 | PART.CFrame = RootPart.CFrame * CF(0,0,-25) | |
1376 | PART.Shape = "Ball" | |
1377 | local bv = Instance.new("BodyVelocity") | |
1378 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1379 | bv.velocity = RootPart.CFrame.lookVector*600 | |
1380 | bv.Parent = PART | |
1381 | bv.Name = "PROJECTILEVELOCITY" | |
1382 | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"New Yeller",VT(2.5,0.2,2.5)) | |
1383 | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"New Yeller",VT(3,0.2,3)) | |
1384 | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"New Yeller",VT(2,0.6,2)) | |
1385 | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"New Yeller",VT(2.2,0.6,2.2)) | |
1386 | CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10) | |
1387 | coroutine.resume(coroutine.create(function() | |
1388 | for i = 1, 10 do | |
1389 | Swait() | |
1390 | PART.Transparency = PART.Transparency + 0.2/10 | |
1391 | PART.Size = PART.Size + VT(5,5,5) | |
1392 | killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame) | |
1393 | end | |
1394 | PART:Destroy() | |
1395 | end)) | |
1396 | for i=0, 0, 0.1 / Animation_Speed do | |
1397 | Swait() | |
1398 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed) | |
1399 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed) | |
1400 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
1401 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
1402 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1403 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1404 | end | |
1405 | Speed = SPEED | |
1406 | ATTACK = false | |
1407 | Rooted = false | |
1408 | end | |
1409 | ||
1410 | function GrabTime() | |
1411 | ATTACK = true | |
1412 | Rooted = false | |
1413 | local HASGRABBED = false | |
1414 | local WELD = nil | |
1415 | local TORS = nil | |
1416 | local hitting = FIST.Touched:connect(function(hit) | |
1417 | if hit.Parent:FindFirstChild("Humanoid") then | |
1418 | if hit.Parent.Humanoid.Health ~= 0 then | |
1419 | UNANCHOR = false | |
1420 | TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
1421 | TORS.Anchored = true | |
1422 | TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
1423 | WELD = weldBetween(RightArm,TORS) | |
1424 | HASGRABBED = true | |
1425 | Rooted = true | |
1426 | end | |
1427 | end | |
1428 | end) | |
1429 | for i=0, 1, 0.1 / Animation_Speed do | |
1430 | Swait() | |
1431 | if HASGRABBED == true then | |
1432 | break | |
1433 | end | |
1434 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed) | |
1435 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1436 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1437 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1438 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1439 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1440 | end | |
1441 | hitting:disconnect() | |
1442 | if HASGRABBED == true then | |
1443 | TORS.Anchored = false | |
1444 | RootPart.Anchored = true | |
1445 | for i=0, 2, 0.1 / Animation_Speed do | |
1446 | Swait() | |
1447 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1448 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1449 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1450 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1451 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
1452 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1453 | end | |
1454 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5)) | |
1455 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6)) | |
1456 | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Sound", VT(0,0,0)) | |
1457 | SOUNDPART.CFrame = RootPart.CFrame | |
1458 | Debris:AddItem(SOUNDPART,5) | |
1459 | CreateSound("165315045", SOUNDPART, 2, 1) | |
1460 | for i = 1, 15 do | |
1461 | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15) | |
1462 | end | |
1463 | for i=0, 2, 0.1 / Animation_Speed do | |
1464 | Swait() | |
1465 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1466 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1467 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1468 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1469 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
1470 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
1471 | end | |
1472 | for i=0, 0.25, 0.1 / Animation_Speed do | |
1473 | Swait() | |
1474 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1475 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1476 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
1477 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
1478 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1479 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1480 | end | |
1481 | if HITFLOOR ~= nil then | |
1482 | CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85) | |
1483 | end | |
1484 | CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10) | |
1485 | WELD:remove() | |
1486 | for i = 1, 25 do | |
1487 | Swait() | |
1488 | killnearest(RootPart.Position,45,100,Torso.CFrame) | |
1489 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3)) | |
1490 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"New Yeller",VT(1,0.4,1)) | |
1491 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"New Yeller",VT(2.3,0.3,2.3)) | |
1492 | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5) | |
1493 | Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"New Yeller", 1 + MRANDOM(1,30)/15) | |
1494 | end | |
1495 | end | |
1496 | UNANCHOR = true | |
1497 | ATTACK = false | |
1498 | Rooted = false | |
1499 | chatfunc("let FUNNY") | |
1500 | end | |
1501 | ||
1502 | function MaxSpeed() | |
1503 | local ORIGIN = RootPart.Position | |
1504 | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4)) | |
1505 | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6)) | |
1506 | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Sound", VT(0,0,0)) | |
1507 | SOUNDPART.CFrame = RootPart.CFrame | |
1508 | Debris:AddItem(SOUNDPART,5) | |
1509 | CreateSound("12221984", SOUNDPART, 2, 1) | |
1510 | RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z)) | |
1511 | Swait() | |
1512 | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4)) | |
1513 | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6)) | |
1514 | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Sound", VT(0,0,0)) | |
1515 | SOUNDPART.CFrame = RootPart.CFrame | |
1516 | Debris:AddItem(SOUNDPART,5) | |
1517 | CreateSound("1295446488", SOUNDPART, 2, 1) | |
1518 | if MRANDOM(1,8) == 1 then | |
1519 | ATTACK = true | |
1520 | Rooted = true | |
1521 | local FRUITSTABLE = { | |
1522 | {MeshId = "16190555", TextureId = "16190577", Color = "Teal"}, | |
1523 | {MeshId = "119574562", TextureId = "64374853", Color = "Deep orange"}, | |
1524 | {MeshId = "24394186", TextureId = "24394178", Color = "Ghost grey"} | |
1525 | } | |
1526 | local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)] | |
1527 | local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false) | |
1528 | CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0)) | |
1529 | FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0) | |
1530 | weldBetween(RightArm,FRUITMODEL) | |
1531 | for i=0, 4, 0.1 / Animation_Speed do | |
1532 | Swait() | |
1533 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1534 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1535 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1536 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1537 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1538 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1539 | end | |
1540 | CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10) | |
1541 | FRUITMODEL:remove() | |
1542 | for i = 1, 15 do | |
1543 | Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15) | |
1544 | end | |
1545 | for i=0, 0.5, 0.1 / Animation_Speed do | |
1546 | Swait() | |
1547 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1548 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1549 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1550 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1551 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1552 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1553 | end | |
1554 | ATTACK = false | |
1555 | Rooted = false | |
1556 | end | |
1557 | end | |
1558 | ||
1559 | function GreenUltimate() | |
1560 | chatfunc("THE ULTIMATE PUNCH OF FUN") | |
1561 | ATTACK = true | |
1562 | Rooted = true | |
1563 | CreateSound("273935922", RightArm, 10, 0.8) | |
1564 | for i=0, 0, 0.1 / Animation_Speed do | |
1565 | Swait() | |
1566 | turnto(Mouse.Hit.p) | |
1567 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"New Yeller",VT(0.2,0,0.2)) | |
1568 | Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"New Yeller", 1.1) | |
1569 | MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"New Yeller",VT(0.001,0.001,1),0) | |
1570 | MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"New Yeller",VT(0.001,0.001,2),0) | |
1571 | MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"New Yeller",VT(-1/15,-1/15,-1/15)) | |
1572 | MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"New Yeller",VT(-2/15,-2/15,-2/15)) | |
1573 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed) | |
1574 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed) | |
1575 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
1576 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1577 | RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed) | |
1578 | LeftHip.C0 = Clerp(LeftHip.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)), 0.15 / Animation_Speed) | |
1579 | end | |
1580 | for i=0, 0, 0.1 / Animation_Speed do | |
1581 | Swait() | |
1582 | turnto(Mouse.Hit.p) | |
1583 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed) | |
1584 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed) | |
1585 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1586 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1587 | RightHip.C0 = Clerp(RightHip.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)), 1 / Animation_Speed) | |
1588 | LeftHip.C0 = Clerp(LeftHip.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)), 1 / Animation_Speed) | |
1589 | end | |
1590 | MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Lapis",VT(-0.04,-0.04,-0.04)) | |
1591 | MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035)) | |
1592 | coroutine.resume(coroutine.create(function() | |
1593 | Swait(100) | |
1594 | for i = 1, 5 do | |
1595 | MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"New Yeller",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i)))) | |
1596 | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"New Yeller",VT(4.5*i,0.2,4.5*i)) | |
1597 | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"New Yeller",VT(5*i,0.2,5*i)) | |
1598 | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"New Yeller",VT(4*i,0.6,4*i)) | |
1599 | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"New Yeller",VT(5.2*i,0.6,5.2*i)) | |
1600 | end | |
1601 | killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame) | |
1602 | for i = 1, 5 do | |
1603 | CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10) | |
1604 | CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10) | |
1605 | end | |
1606 | coroutine.resume(coroutine.create(function() | |
1607 | for i = 1, 50 do | |
1608 | Swait() | |
1609 | for i = 1, 1 do | |
1610 | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5) | |
1611 | end | |
1612 | for i = 1, 2 do | |
1613 | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"New Yeller", 1 + MRANDOM(1,30)/3) | |
1614 | end | |
1615 | end | |
1616 | end)) | |
1617 | end)) | |
1618 | for i=0, 0, 0.1 / Animation_Speed do | |
1619 | Swait() | |
1620 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed) | |
1621 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed) | |
1622 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
1623 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
1624 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1625 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1626 | end | |
1627 | ATTACK = false | |
1628 | Rooted = false | |
1629 | end | |
1630 | ||
1631 | --//=================================\\ | |
1632 | --|| ASSIGN THINGS TO KEYS | |
1633 | --\\=================================// | |
1634 | ||
1635 | function MouseDown(Mouse) | |
1636 | if ATTACK == false then | |
1637 | end | |
1638 | end | |
1639 | ||
1640 | function MouseUp(Mouse) | |
1641 | HOLD = false | |
1642 | end | |
1643 | ||
1644 | function KeyDown(Key) | |
1645 | KEYHOLD = true | |
1646 | if Key == "z" and ATTACK == false then | |
1647 | DeathAgreement() | |
1648 | end | |
1649 | ||
1650 | if Key == "b" and ATTACK == false then | |
1651 | GrabTime() | |
1652 | end | |
1653 | ||
1654 | if Key == "c" and ATTACK == false then | |
1655 | MaxSpeed() | |
1656 | end | |
1657 | ||
1658 | if Key == "x" and ATTACK == false then | |
1659 | GreenUltimate() | |
1660 | end | |
1661 | ||
1662 | if Key == "e" and ATTACK == false then | |
1663 | kiss() | |
1664 | end | |
1665 | ||
1666 | if Key == "p" and ATTACK == false then | |
1667 | if Speed == 16 then | |
1668 | Speed = 150 | |
1669 | elseif Speed == 150 then | |
1670 | Speed = 16 | |
1671 | end | |
1672 | end | |
1673 | end | |
1674 | ||
1675 | function KeyUp(Key) | |
1676 | KEYHOLD = false | |
1677 | end | |
1678 | ||
1679 | Mouse.Button1Down:connect(function(NEWKEY) | |
1680 | MouseDown(NEWKEY) | |
1681 | end) | |
1682 | Mouse.Button1Up:connect(function(NEWKEY) | |
1683 | MouseUp(NEWKEY) | |
1684 | end) | |
1685 | Mouse.KeyDown:connect(function(NEWKEY) | |
1686 | KeyDown(NEWKEY) | |
1687 | end) | |
1688 | Mouse.KeyUp:connect(function(NEWKEY) | |
1689 | KeyUp(NEWKEY) | |
1690 | end) | |
1691 | ||
1692 | --//=================================\\ | |
1693 | --\\=================================// | |
1694 | ||
1695 | ||
1696 | function unanchor() | |
1697 | if UNANCHOR == true then | |
1698 | g = Character:GetChildren() | |
1699 | for i = 1, #g do | |
1700 | if g[i].ClassName == "Part" then | |
1701 | g[i].Anchored = false | |
1702 | end | |
1703 | end | |
1704 | end | |
1705 | end | |
1706 | ||
1707 | ||
1708 | --//=================================\\ | |
1709 | --|| WRAP THE WHOLE SCRIPT UP | |
1710 | --\\=================================// | |
1711 | ||
1712 | Humanoid.Changed:connect(function(Jump) | |
1713 | if Jump == "Jump" and (Disable_Jump == true) then | |
1714 | Humanoid.Jump = false | |
1715 | end | |
1716 | end) | |
1717 | ||
1718 | while true do | |
1719 | Swait() | |
1720 | ANIMATE.Parent = nil | |
1721 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
1722 | IDLEANIMATION:Play() | |
1723 | SINE = SINE + CHANGE | |
1724 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
1725 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
1726 | local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) | |
1727 | HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) | |
1728 | local WALKSPEEDVALUE = 0 | |
1729 | if Speed < 35 then | |
1730 | WALKSPEEDVALUE = 6 | |
1731 | else | |
1732 | WALKSPEEDVALUE = 3 | |
1733 | end | |
1734 | if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then | |
1735 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (1) / Animation_Speed) | |
1736 | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1737 | if Speed < 35 then | |
1738 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed) | |
1739 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed) | |
1740 | else | |
1741 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed) | |
1742 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed) | |
1743 | end | |
1744 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then | |
1745 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1746 | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1747 | RightHip.C1 = Clerp(RightHip.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)), 0.2 / Animation_Speed) | |
1748 | LeftHip.C1 = Clerp(LeftHip.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)), 0.2 / Animation_Speed) | |
1749 | end | |
1750 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
1751 | ANIM = "Jump" | |
1752 | if ATTACK == false then | |
1753 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1754 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1755 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1756 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1757 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
1758 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
1759 | end | |
1760 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
1761 | ANIM = "Fall" | |
1762 | if ATTACK == false then | |
1763 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1764 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1765 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1766 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1767 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
1768 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
1769 | end | |
1770 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
1771 | ANIM = "Idle" | |
1772 | if ATTACK == false then | |
1773 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1774 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1775 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1776 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1777 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1778 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1779 | end | |
1780 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then | |
1781 | ANIM = "Walk" | |
1782 | WALK = WALK + 1 / Animation_Speed | |
1783 | if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then | |
1784 | WALK = 0 | |
1785 | if WALKINGANIM == true then | |
1786 | WALKINGANIM = false | |
1787 | elseif WALKINGANIM == false then | |
1788 | WALKINGANIM = true | |
1789 | end | |
1790 | end | |
1791 | --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1792 | --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1793 | if ATTACK == false then | |
1794 | if Speed < 35 then | |
1795 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1796 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1797 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1798 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1799 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
1800 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
1801 | else | |
1802 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1803 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1804 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1805 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1806 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
1807 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
1808 | end | |
1809 | end | |
1810 | end | |
1811 | unanchor() | |
1812 | Humanoid.MaxHealth = "inf" | |
1813 | Humanoid.Health = "inf" | |
1814 | if Rooted == false then | |
1815 | Disable_Jump = false | |
1816 | Humanoid.WalkSpeed = Speed | |
1817 | elseif Rooted == true then | |
1818 | Disable_Jump = true | |
1819 | Humanoid.WalkSpeed = 0 | |
1820 | end | |
1821 | for _, c in pairs(Character:GetDescendants()) do | |
1822 | if c.ClassName == "Part" and c.Name ~= "Neon Gauntlet Part" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
1823 | if c:FindFirstChildOfClass("SpecialMesh") then | |
1824 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
1825 | end | |
1826 | elseif c.ClassName == "Part" and c.Name == "Neon Gauntlet Part" then | |
1827 | c.Color = Color3.fromRGB(cR,cG,cB) | |
1828 | c.Material = "Neon" | |
1829 | end | |
1830 | end | |
1831 | for _, c in pairs(Character:GetDescendants()) do | |
1832 | if c.ClassName == "Part" and c.Name ~= "Scarf" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
1833 | if c:FindFirstChildOfClass("SpecialMesh") then | |
1834 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
1835 | end | |
1836 | elseif c.ClassName == "Part" and c.Name == "Scarf" then | |
1837 | c.Color = Color3.fromRGB(cR,cG,cB) | |
1838 | c.Material = "Neon" | |
1839 | end | |
1840 | end | |
1841 | for _, c in pairs(Character:GetDescendants()) do | |
1842 | if c.ClassName == "Part" and c.Name ~= "Flame" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
1843 | if c:FindFirstChildOfClass("SpecialMesh") then | |
1844 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
1845 | end | |
1846 | elseif c.ClassName == "Part" and c.Name == "Flame" then | |
1847 | c.Color = Color3.fromRGB(cR,cG,cB) | |
1848 | c.Material = "Neon" | |
1849 | end | |
1850 | end | |
1851 | for _, c in pairs(Character:GetDescendants()) do | |
1852 | if c.ClassName == "Part" and c.Name ~= "Hood" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
1853 | if c:FindFirstChildOfClass("SpecialMesh") then | |
1854 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
1855 | end | |
1856 | elseif c.ClassName == "Part" and c.Name == "Hood" then | |
1857 | c.Color = Color3.fromRGB(cR,cG,cB) | |
1858 | c.Material = "Neon" | |
1859 | end | |
1860 | end | |
1861 | for _, c in pairs(Character:GetDescendants()) do | |
1862 | if c.ClassName == "Part" and c.Name ~= "Metal" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
1863 | if c:FindFirstChildOfClass("SpecialMesh") then | |
1864 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
1865 | end | |
1866 | elseif c.ClassName == "Part" and c.Name == "Metal" then | |
1867 | c.Material = "Granite" | |
1868 | end | |
1869 | end | |
1870 | local MATHS = {"0","1"} | |
1871 | Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)] | |
1872 | Humanoid.PlatformStand = false | |
1873 | end | |
1874 | ||
1875 | --//=================================\\ | |
1876 | --\\=================================// | |
1877 | ||
1878 | ||
1879 | ||
1880 | ||
1881 | ||
1882 | --//====================================================\\-- | |
1883 | --|| END OF SCRIPT | |
1884 | --\\====================================================//-- |