SHOW:
|
|
- or go back to the newest paste.
1 | print("Uh hello, uh... No idea how you were able to take this script.") | |
2 | print("But i guess now that you have it whats to say?") | |
3 | print("don't abuse.") | |
4 | print("I don't really know why you scrolled all the way up here any ways lol.") | |
5 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
6 | local Player,game,owner = owner,game | |
7 | local RealPlayer = Player | |
8 | do | |
9 | print("FE Compatibility code by Mokiros") | |
10 | local rp = RealPlayer | |
11 | script.Parent = rp.Character | |
12 | ||
13 | --RemoteEvent for communicating | |
14 | local Event = Instance.new("RemoteEvent") | |
15 | Event.Name = "UserInput_Event" | |
16 | ||
17 | --Fake event to make stuff like Mouse.KeyDown work | |
18 | local function fakeEvent() | |
19 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
20 | t.connect = t.Connect | |
21 | return t | |
22 | end | |
23 | ||
24 | --Creating fake input objects with fake variables | |
25 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
26 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
27 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
28 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
29 | end} | |
30 | --Merged 2 functions into one by checking amount of arguments | |
31 | CAS.UnbindAction = CAS.BindAction | |
32 | ||
33 | --This function will trigger the events that have been :Connect()'ed | |
34 | local function te(self,ev,...) | |
35 | local t = m[ev] | |
36 | if t and t._fakeEvent then | |
37 | for _,f in pairs(t.Functions) do | |
38 | f(...) | |
39 | end | |
40 | end | |
41 | end | |
42 | m.TrigEvent = te | |
43 | UIS.TrigEvent = te | |
44 | ||
45 | Event.OnServerEvent:Connect(function(plr,io) | |
46 | if plr~=rp then return end | |
47 | m.Target = io.Target | |
48 | m.Hit = io.Hit | |
49 | if not io.isMouse then | |
50 | local b = io.UserInputState == Enum.UserInputState.Begin | |
51 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
52 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
53 | end | |
54 | for _,t in pairs(CAS.Actions) do | |
55 | for _,k in pairs(t.Keys) do | |
56 | if k==io.KeyCode then | |
57 | t.Function(t.Name,io.UserInputState,io) | |
58 | end | |
59 | end | |
60 | end | |
61 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
62 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
63 | end | |
64 | end) | |
65 | Event.Parent = NLS([==[ | |
66 | local Player = game:GetService("Players").LocalPlayer | |
67 | local Event = script:WaitForChild("UserInput_Event") | |
68 | ||
69 | local Mouse = Player:GetMouse() | |
70 | local UIS = game:GetService("UserInputService") | |
71 | local input = function(io,a) | |
72 | if a then return end | |
73 | --Since InputObject is a client-side instance, we create and pass table instead | |
74 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
75 | end | |
76 | UIS.InputBegan:Connect(input) | |
77 | UIS.InputEnded:Connect(input) | |
78 | ||
79 | local h,t | |
80 | --Give the server mouse data 30 times every second, but only if the values changed | |
81 | --If player is not moving their mouse, client won't fire events | |
82 | while wait(1/30) do | |
83 | if h~=Mouse.Hit or t~=Mouse.Target then | |
84 | h,t=Mouse.Hit,Mouse.Target | |
85 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
86 | end | |
87 | end]==],Player.PlayerGui) | |
88 | ||
89 | ----Sandboxed game object that allows the usage of client-side methods and services | |
90 | --Real game object | |
91 | local _rg = game | |
92 | ||
93 | --Metatable for fake service | |
94 | local fsmt = { | |
95 | __index = function(self,k) | |
96 | local s = rawget(self,"_RealService") | |
97 | if s then return s[k] end | |
98 | end, | |
99 | __newindex = function(self,k,v) | |
100 | local s = rawget(self,"_RealService") | |
101 | if s then s[k]=v end | |
102 | end, | |
103 | __call = function(self,...) | |
104 | local s = rawget(self,"_RealService") | |
105 | if s then return s(...) end | |
106 | end | |
107 | } | |
108 | local function FakeService(t,RealService) | |
109 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
110 | return setmetatable(t,fsmt) | |
111 | end | |
112 | ||
113 | --Fake game object | |
114 | local g = { | |
115 | GetService = function(self,s) | |
116 | return self[s] | |
117 | end, | |
118 | Players = FakeService({ | |
119 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
120 | },"Players"), | |
121 | UserInputService = FakeService(UIS,"UserInputService"), | |
122 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
123 | } | |
124 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
125 | g.service = g.GetService | |
126 | ||
127 | g.RunService = FakeService({ | |
128 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
129 | BindToRenderStep = function(self,name,_,fun) | |
130 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
131 | end, | |
132 | UnbindFromRenderStep = function(self,name) | |
133 | self._btrs[name]:Disconnect() | |
134 | end, | |
135 | },"RunService") | |
136 | ||
137 | setmetatable(g,{ | |
138 | __index=function(self,s) | |
139 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
140 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
141 | end, | |
142 | __newindex = fsmt.__newindex, | |
143 | __call = fsmt.__call | |
144 | }) | |
145 | --Changing owner to fake player object to support owner:GetMouse() | |
146 | game,owner = g,g.Players.LocalPlayer | |
147 | end | |
148 | print("Wrist band Script") | |
149 | print("By GrownGreen") | |
150 | print("v Controls v") | |
151 | warn( | |
152 | [[ | |
153 | Click - Punch | |
154 | Q - Switch Mode | |
155 | X - TP | |
156 | R - Plasma Shard | |
157 | T - Taunt(Demoralized/DEMORALIZATION mode) | |
158 | N - Spec Attack | |
159 | F - Plasma Beam | |
160 | E - Sky Strike | |
161 | M - Mute Music]]) | |
162 | print( | |
163 | [[Modes: | |
164 | Normal | |
165 | Demoralized | |
166 | DEMORALIZATION | |
167 | Star]]) | |
168 | --Services | |
169 | local plrs = game:GetService("Players") | |
170 | local tweens = game:GetService("TweenService") | |
171 | local debrs = game:GetService("Debris") | |
172 | local runservice = game:GetService("RunService") | |
173 | ||
174 | --Variables | |
175 | local plr = plrs.LocalPlayer | |
176 | local mouse = plr:GetMouse() | |
177 | local char = plr.Character | |
178 | local h = char.Head | |
179 | local t = char.Torso | |
180 | local ra = char["Right Arm"] | |
181 | local la = char["Left Arm"] | |
182 | local rl = char["Right Leg"] | |
183 | local ll = char["Left Leg"] | |
184 | local rut = char.HumanoidRootPart | |
185 | local hum = char:FindFirstChildOfClass("Humanoid") | |
186 | local nec = t.Neck | |
187 | local rutj = rut.RootJoint | |
188 | local rs = t["Right Shoulder"] | |
189 | local ls = t["Left Shoulder"] | |
190 | local rh = t["Right Hip"] | |
191 | local lh = t["Left Hip"] | |
192 | local cf1 = nec.C1 | |
193 | local cf2 = rutj.C1 | |
194 | local cf3 = rs.C1 | |
195 | local cf4 = ls.C1 | |
196 | local cf5 = rh.C1 | |
197 | local cf6 = lh.C1 | |
198 | local cf01 = nec.C0 | |
199 | local cf02 = rutj.C0 | |
200 | local cf03 = rs.C0 | |
201 | local cf04 = ls.C0 | |
202 | local cf05 = rh.C0 | |
203 | local cf06 = lh.C0 | |
204 | local p0,p1 = nec.Part0,nec.Part1 | |
205 | local rsp0,rsp1 = rs.Part0,rs.Part1 | |
206 | local lsp0,lsp1 = ls.Part0,ls.Part1 | |
207 | local rhp0,rhp1 = rh.Part0,rh.Part1 | |
208 | local lhp0,lhp1 = lh.Part0,lh.Part1 | |
209 | local phit | |
210 | local wristband | |
211 | local bandhandle | |
212 | ||
213 | --Bools | |
214 | local using = false | |
215 | local landed = false | |
216 | local readytoland = false | |
217 | local cangrabthecorner = false | |
218 | local grabbedc = false | |
219 | local roaring = false | |
220 | local superattackcooldown1 = false | |
221 | local superattackcooldown2 = false | |
222 | local superattackcooldown3 = false | |
223 | local superattackcooldown4 = false | |
224 | local lookinaround = false | |
225 | local deafen = false | |
226 | ||
227 | --Values/Strings/Tables | |
228 | -- | |
229 | local aa = 10 | |
230 | local aaa = aa*3 | |
231 | local change = 0 | |
232 | local lchange = 0 | |
233 | local sine = 1 | |
234 | local animspeed = .005 | |
235 | local animspeed1 = 1.5 | |
236 | local walkanimspeed = .1 | |
237 | local walkspeed = 20 | |
238 | local sumthin = walkspeed/20 | |
239 | local idlenum = 0 | |
240 | local lsvol = 10 | |
241 | local currentpunch = 1 | |
242 | local timepos = 0 | |
243 | local idlenum = 0 | |
244 | local lchange = 0 | |
245 | local vol = 10 | |
246 | local jp = 50 | |
247 | local whenbored = math.random(3,6) | |
248 | local maxhealthuntilinstakill = 1000000000000000000000000000000000000 | |
249 | -- | |
250 | local songid = "rbxassetid://611086638" | |
251 | local anim = "idle" | |
252 | local mode = "Light" | |
253 | -- | |
254 | local ids = { | |
255 | normalmode = "rbxassetid://611086638", | |
256 | - | demoralizationmode = "rbxassetid://1057854857", |
256 | + | |
257 | demoralizationmode = "rbxassetid://2966736192", | |
258 | starmode = "rbxassetid://649396764"} | |
259 | ||
260 | local modecolors = { | |
261 | normalcolors = {color1 = "white",color2 = "Black",neoncolor ="Bright red"}, | |
262 | - | demoralizationcolors = {color1 = "Really red",color2 = "Medium stone grey",neoncolor ="Dark red"}, |
262 | + | |
263 | - | starcolors = {color1 = "Really black",color2 = "Bright violet",neoncolor ="Tr. Flu. Red"} |
263 | + | demoralizationcolors = {color1 = "white",color2 = "Medium stone grey",neoncolor ="white"}, |
264 | starcolors = {color1 = "Pastel Blue",color2 = "Bright blue",neoncolor ="Tr. Blue"} | |
265 | } | |
266 | ||
267 | --Tweening styles and directions | |
268 | local directions = {In = Enum.EasingDirection.In, | |
269 | Out = Enum.EasingDirection.Out, | |
270 | InOut = Enum.EasingDirection.InOut | |
271 | } | |
272 | local styles = {Linear = Enum.EasingStyle.Linear, | |
273 | Back = Enum.EasingStyle.Back, | |
274 | Bounce = Enum.EasingStyle.Bounce, | |
275 | Sine = Enum.EasingStyle.Sine, | |
276 | Quad = Enum.EasingStyle.Quad, | |
277 | Elastic = Enum.EasingStyle.Elastic, | |
278 | Quart = Enum.EasingStyle.Quart, | |
279 | Quint = Enum.EasingStyle.Quint | |
280 | } | |
281 | ||
282 | --BasicFunctions | |
283 | local ins = Instance.new | |
284 | local v3 = Vector3.new | |
285 | local cf = CFrame.new | |
286 | local angles = CFrame.Angles | |
287 | local rad = math.rad | |
288 | local huge = math.huge | |
289 | local cos = math.cos | |
290 | local sin = math.sin | |
291 | local tan = math.tan | |
292 | local ray = Ray.new | |
293 | local random = math.random | |
294 | local ud = UDim.new | |
295 | local ud2 = UDim2.new | |
296 | local c3 = Color3.new | |
297 | local rgb = Color3.fromRGB | |
298 | local bc = BrickColor.new | |
299 | ||
300 | --CFrames | |
301 | cf5 = cf5 * CFrame.Angles(rad(2),rad(0),rad(0)) | |
302 | cf6 = cf6 * CFrame.Angles(rad(2),rad(0),rad(0)) | |
303 | cff5 = cf5 * CFrame.Angles(rad(2),rad(3),rad(0)) | |
304 | cff6 = cf6 * CFrame.Angles(rad(2),rad(-3),rad(0)) | |
305 | ||
306 | --Stopping animations | |
307 | for i,v in pairs(hum:GetPlayingAnimationTracks()) do | |
308 | v:Stop() | |
309 | end | |
310 | if char:FindFirstChild("Animate") then | |
311 | char.Animate:Destroy() | |
312 | end | |
313 | if hum:FindFirstChildOfClass("Animator") then | |
314 | char.Humanoid.Animator:Destroy() | |
315 | end | |
316 | hum.MaxHealth = 500000 | |
317 | hum.Health = 500000 | |
318 | ||
319 | --Model | |
320 | --Converted with ttyyuu12345's model to script plugin v4 | |
321 | function sandbox(var,func) | |
322 | local env = getfenv(func) | |
323 | local newenv = setmetatable({},{ | |
324 | __index = function(self,k) | |
325 | if k=="script" then | |
326 | return var | |
327 | else | |
328 | return env[k] | |
329 | end | |
330 | end, | |
331 | }) | |
332 | setfenv(func,newenv) | |
333 | return func | |
334 | end | |
335 | cors = {} | |
336 | mas = Instance.new("Model",game:GetService("Lighting")) | |
337 | Model0 = Instance.new("Model") | |
338 | Part1 = Instance.new("Part") | |
339 | Part2 = Instance.new("Part") | |
340 | SpecialMesh3 = Instance.new("SpecialMesh") | |
341 | Part4 = Instance.new("Part") | |
342 | Part5 = Instance.new("Part") | |
343 | Part6 = Instance.new("Part") | |
344 | Part7 = Instance.new("Part") | |
345 | Part8 = Instance.new("Part") | |
346 | Part9 = Instance.new("Part") | |
347 | WeldConstraint10 = Instance.new("WeldConstraint") | |
348 | WeldConstraint11 = Instance.new("WeldConstraint") | |
349 | WeldConstraint12 = Instance.new("WeldConstraint") | |
350 | WeldConstraint13 = Instance.new("WeldConstraint") | |
351 | WeldConstraint14 = Instance.new("WeldConstraint") | |
352 | WeldConstraint15 = Instance.new("WeldConstraint") | |
353 | WeldConstraint16 = Instance.new("Weld") | |
354 | Model0.Name = "Wristband" | |
355 | Model0.Parent = mas | |
356 | Model0.PrimaryPart = Part9 | |
357 | Part1.Name = "LighterPart" | |
358 | Part1.Parent = Model0 | |
359 | Part1.CFrame = CFrame.new(104.866997, 26.2399998, -119.177498, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
360 | Part1.Orientation = Vector3.new(0, 90, 0) | |
361 | Part1.Position = Vector3.new(104.866997, 26.2399998, -119.177498) | |
362 | Part1.Rotation = Vector3.new(0, 90, 0) | |
363 | Part1.Color = Color3.new(0.203922, 0.556863, 0.25098) | |
364 | Part1.Size = Vector3.new(0.075000003, 0.649999976, 0.649999976) | |
365 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
366 | Part1.BrickColor = BrickColor.new("Sea green") | |
367 | Part1.CanCollide = false | |
368 | Part1.Material = Enum.Material.SmoothPlastic | |
369 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
370 | Part1.brickColor = BrickColor.new("Sea green") | |
371 | Part1.Shape = Enum.PartType.Cylinder | |
372 | Part2.Name = "Sign" | |
373 | Part2.Parent = Model0 | |
374 | Part2.CFrame = CFrame.new(104.866997, 26.2399998, -119.177002, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
375 | Part2.Orientation = Vector3.new(0, 180, 0) | |
376 | Part2.Position = Vector3.new(104.866997, 26.2399998, -119.177002) | |
377 | Part2.Rotation = Vector3.new(-180, 0, -180) | |
378 | Part2.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007) | |
379 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
380 | Part2.CanCollide = false | |
381 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
382 | SpecialMesh3.Parent = Part2 | |
383 | SpecialMesh3.MeshId = "rbxassetid://443493147" | |
384 | SpecialMesh3.Offset = Vector3.new(0, 0, 0.0350000001) | |
385 | SpecialMesh3.Scale = Vector3.new(0.00749999983, 0.00749999983, 0.00100000005) | |
386 | SpecialMesh3.MeshType = Enum.MeshType.FileMesh | |
387 | Part4.Name = "DarkerPart" | |
388 | Part4.Parent = Model0 | |
389 | Part4.CFrame = CFrame.new(104.866997, 26.2399998, -119.164993, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
390 | Part4.Orientation = Vector3.new(0, 90, 0) | |
391 | Part4.Position = Vector3.new(104.866997, 26.2399998, -119.164993) | |
392 | Part4.Rotation = Vector3.new(0, 90, 0) | |
393 | Part4.Color = Color3.new(0.227451, 0.490196, 0.0823529) | |
394 | Part4.Size = Vector3.new(0.0500000007, 0.699999988, 0.699999988) | |
395 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
396 | Part4.BrickColor = BrickColor.new("Camo") | |
397 | Part4.CanCollide = false | |
398 | Part4.Material = Enum.Material.SmoothPlastic | |
399 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
400 | Part4.brickColor = BrickColor.new("Camo") | |
401 | Part4.Shape = Enum.PartType.Cylinder | |
402 | Part5.Name = "DarkerPart" | |
403 | Part5.Parent = Model0 | |
404 | Part5.CFrame = CFrame.new(104.862, 26.2400093, -118.660004, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
405 | Part5.Position = Vector3.new(104.862, 26.2400093, -118.660004) | |
406 | Part5.Color = Color3.new(0.227451, 0.490196, 0.0823529) | |
407 | Part5.Size = Vector3.new(1.05999994, 0.100000001, 1.05999994) | |
408 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
409 | Part5.BrickColor = BrickColor.new("Camo") | |
410 | Part5.CanCollide = false | |
411 | Part5.Material = Enum.Material.SmoothPlastic | |
412 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
413 | Part5.brickColor = BrickColor.new("Camo") | |
414 | Part6.Name = "NeonPart" | |
415 | Part6.Parent = Model0 | |
416 | Part6.CFrame = CFrame.new(104.862, 26.3150082, -118.660004, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
417 | Part6.Position = Vector3.new(104.862, 26.3150082, -118.660004) | |
418 | Part6.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
419 | Part6.Size = Vector3.new(1.05999994, 0.0500000007, 1.05999994) | |
420 | Part6.BottomSurface = Enum.SurfaceType.Smooth | |
421 | Part6.BrickColor = BrickColor.new("Pearl") | |
422 | Part6.CanCollide = false | |
423 | Part6.Material = Enum.Material.Neon | |
424 | Part6.TopSurface = Enum.SurfaceType.Smooth | |
425 | Part6.brickColor = BrickColor.new("Pearl") | |
426 | Part7.Name = "NeonPart" | |
427 | Part7.Parent = Model0 | |
428 | Part7.CFrame = CFrame.new(104.862, 26.1650105, -118.660004, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
429 | Part7.Position = Vector3.new(104.862, 26.1650105, -118.660004) | |
430 | Part7.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
431 | Part7.Size = Vector3.new(1.05999994, 0.0500000007, 1.05999994) | |
432 | Part7.BottomSurface = Enum.SurfaceType.Smooth | |
433 | Part7.BrickColor = BrickColor.new("Pearl") | |
434 | Part7.CanCollide = false | |
435 | Part7.Material = Enum.Material.Neon | |
436 | Part7.TopSurface = Enum.SurfaceType.Smooth | |
437 | Part7.brickColor = BrickColor.new("Pearl") | |
438 | Part8.Name = "LighterPart" | |
439 | Part8.Parent = Model0 | |
440 | Part8.CFrame = CFrame.new(104.862, 26.2400093, -118.660004, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
441 | Part8.Position = Vector3.new(104.862, 26.2400093, -118.660004) | |
442 | Part8.Color = Color3.new(0.203922, 0.556863, 0.25098) | |
443 | Part8.Size = Vector3.new(1.04999995, 0.299999833, 1.04999995) | |
444 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
445 | Part8.BrickColor = BrickColor.new("Sea green") | |
446 | Part8.CanCollide = false | |
447 | Part8.Material = Enum.Material.SmoothPlastic | |
448 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
449 | Part8.brickColor = BrickColor.new("Sea green") | |
450 | Part9.Name = "FakeArm" | |
451 | Part9.Parent = Model0 | |
452 | Part9.CFrame = CFrame.new(104.862312, 26.8397083, -118.660202, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
453 | Part9.Position = Vector3.new(104.862312, 26.8397083, -118.660202) | |
454 | Part9.Transparency = 1 | |
455 | Part9.Size = Vector3.new(1, 2, 1) | |
456 | Part9.BottomSurface = Enum.SurfaceType.Smooth | |
457 | Part9.CanCollide = false | |
458 | Part9.TopSurface = Enum.SurfaceType.Smooth | |
459 | WeldConstraint10.Parent = Part9 | |
460 | WeldConstraint10.Part0 = Part9 | |
461 | WeldConstraint10.Part1 = Part8 | |
462 | WeldConstraint11.Parent = Part9 | |
463 | WeldConstraint11.Part0 = Part9 | |
464 | WeldConstraint11.Part1 = Part5 | |
465 | WeldConstraint12.Parent = Part9 | |
466 | WeldConstraint12.Part0 = Part9 | |
467 | WeldConstraint12.Part1 = Part6 | |
468 | WeldConstraint13.Parent = Part9 | |
469 | WeldConstraint13.Part0 = Part9 | |
470 | WeldConstraint13.Part1 = Part7 | |
471 | WeldConstraint14.Parent = Part9 | |
472 | WeldConstraint14.Part0 = Part9 | |
473 | WeldConstraint14.Part1 = Part4 | |
474 | WeldConstraint15.Parent = Part9 | |
475 | WeldConstraint15.Part0 = Part9 | |
476 | WeldConstraint15.Part1 = Part1 | |
477 | WeldConstraint16.Parent = Part9 | |
478 | WeldConstraint16.Part0 = Part1 | |
479 | WeldConstraint16.Part1 = Part2 | |
480 | Part1.Transparency = 1 | |
481 | Part2.Transparency = 1 | |
482 | Part4.Transparency = 1 | |
483 | for i,v in pairs(mas:GetChildren()) do | |
484 | v.Parent = workspace | |
485 | pcall(function() v:MakeJoints() end) | |
486 | end | |
487 | mas:Destroy() | |
488 | for i,v in pairs(cors) do | |
489 | spawn(function() | |
490 | pcall(v) | |
491 | end) | |
492 | end | |
493 | function reviveband() | |
494 | function sandbox(var,func) | |
495 | local env = getfenv(func) | |
496 | local newenv = setmetatable({},{ | |
497 | __index = function(self,k) | |
498 | if k=="script" then | |
499 | return var | |
500 | else | |
501 | return env[k] | |
502 | end | |
503 | end, | |
504 | }) | |
505 | setfenv(func,newenv) | |
506 | return func | |
507 | end | |
508 | cors = {} | |
509 | mas = Instance.new("Model",game:GetService("Lighting")) | |
510 | Model0 = Instance.new("Model") | |
511 | Part1 = Instance.new("Part") | |
512 | Part2 = Instance.new("Part") | |
513 | SpecialMesh3 = Instance.new("SpecialMesh") | |
514 | Part4 = Instance.new("Part") | |
515 | Part5 = Instance.new("Part") | |
516 | Part6 = Instance.new("Part") | |
517 | Part7 = Instance.new("Part") | |
518 | Part8 = Instance.new("Part") | |
519 | Part9 = Instance.new("Part") | |
520 | WeldConstraint10 = Instance.new("WeldConstraint") | |
521 | WeldConstraint11 = Instance.new("WeldConstraint") | |
522 | WeldConstraint12 = Instance.new("WeldConstraint") | |
523 | WeldConstraint13 = Instance.new("WeldConstraint") | |
524 | WeldConstraint14 = Instance.new("WeldConstraint") | |
525 | WeldConstraint15 = Instance.new("WeldConstraint") | |
526 | WeldConstraint16 = Instance.new("Weld") | |
527 | Model0.Name = "Wristband" | |
528 | Model0.Parent = mas | |
529 | Model0.PrimaryPart = Part9 | |
530 | Part1.Name = "LighterPart" | |
531 | Part1.Parent = Model0 | |
532 | Part1.CFrame = CFrame.new(104.866997, 26.2399998, -119.177498, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
533 | Part1.Orientation = Vector3.new(0, 90, 0) | |
534 | Part1.Position = Vector3.new(104.866997, 26.2399998, -119.177498) | |
535 | Part1.Rotation = Vector3.new(0, 90, 0) | |
536 | Part1.Color = Color3.new(0.203922, 0.556863, 0.25098) | |
537 | Part1.Size = Vector3.new(0.075000003, 0.649999976, 0.649999976) | |
538 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
539 | Part1.BrickColor = BrickColor.new("Sea green") | |
540 | Part1.CanCollide = false | |
541 | Part1.Material = Enum.Material.SmoothPlastic | |
542 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
543 | Part1.brickColor = BrickColor.new("Sea green") | |
544 | Part1.Shape = Enum.PartType.Cylinder | |
545 | Part2.Name = "Sign" | |
546 | Part2.Parent = Model0 | |
547 | Part2.CFrame = CFrame.new(104.866997, 26.2399998, -119.177002, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
548 | Part2.Orientation = Vector3.new(0, 180, 0) | |
549 | Part2.Position = Vector3.new(104.866997, 26.2399998, -119.177002) | |
550 | Part2.Rotation = Vector3.new(-180, 0, -180) | |
551 | Part2.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007) | |
552 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
553 | Part2.CanCollide = false | |
554 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
555 | SpecialMesh3.Parent = Part2 | |
556 | SpecialMesh3.MeshId = "rbxassetid://443493147" | |
557 | SpecialMesh3.Offset = Vector3.new(0, 0, 0.0350000001) | |
558 | SpecialMesh3.Scale = Vector3.new(0.00749999983, 0.00749999983, 0.00100000005) | |
559 | SpecialMesh3.MeshType = Enum.MeshType.FileMesh | |
560 | Part4.Name = "DarkerPart" | |
561 | Part4.Parent = Model0 | |
562 | Part4.CFrame = CFrame.new(104.866997, 26.2399998, -119.164993, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
563 | Part4.Orientation = Vector3.new(0, 90, 0) | |
564 | Part4.Position = Vector3.new(104.866997, 26.2399998, -119.164993) | |
565 | Part4.Rotation = Vector3.new(0, 90, 0) | |
566 | Part4.Color = Color3.new(0.227451, 0.490196, 0.0823529) | |
567 | Part4.Size = Vector3.new(0.0500000007, 0.699999988, 0.699999988) | |
568 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
569 | Part4.BrickColor = BrickColor.new("Camo") | |
570 | Part4.CanCollide = false | |
571 | Part4.Material = Enum.Material.SmoothPlastic | |
572 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
573 | Part4.brickColor = BrickColor.new("Camo") | |
574 | Part4.Shape = Enum.PartType.Cylinder | |
575 | Part5.Name = "DarkerPart" | |
576 | Part5.Parent = Model0 | |
577 | Part5.CFrame = CFrame.new(104.862, 26.2400093, -118.660004, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
578 | Part5.Position = Vector3.new(104.862, 26.2400093, -118.660004) | |
579 | Part5.Color = Color3.new(0.227451, 0.490196, 0.0823529) | |
580 | Part5.Size = Vector3.new(1.05999994, 0.100000001, 1.05999994) | |
581 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
582 | Part5.BrickColor = BrickColor.new("Camo") | |
583 | Part5.CanCollide = false | |
584 | Part5.Material = Enum.Material.SmoothPlastic | |
585 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
586 | Part5.brickColor = BrickColor.new("Camo") | |
587 | Part6.Name = "NeonPart" | |
588 | Part6.Parent = Model0 | |
589 | Part6.CFrame = CFrame.new(104.862, 26.3150082, -118.660004, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
590 | Part6.Position = Vector3.new(104.862, 26.3150082, -118.660004) | |
591 | Part6.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
592 | Part6.Size = Vector3.new(1.05999994, 0.0500000007, 1.05999994) | |
593 | Part6.BottomSurface = Enum.SurfaceType.Smooth | |
594 | Part6.BrickColor = BrickColor.new("Pearl") | |
595 | Part6.CanCollide = false | |
596 | Part6.Material = Enum.Material.Neon | |
597 | Part6.TopSurface = Enum.SurfaceType.Smooth | |
598 | Part6.brickColor = BrickColor.new("Pearl") | |
599 | Part7.Name = "NeonPart" | |
600 | Part7.Parent = Model0 | |
601 | Part7.CFrame = CFrame.new(104.862, 26.1650105, -118.660004, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
602 | Part7.Position = Vector3.new(104.862, 26.1650105, -118.660004) | |
603 | Part7.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
604 | Part7.Size = Vector3.new(1.05999994, 0.0500000007, 1.05999994) | |
605 | Part7.BottomSurface = Enum.SurfaceType.Smooth | |
606 | Part7.BrickColor = BrickColor.new("Pearl") | |
607 | Part7.CanCollide = false | |
608 | Part7.Material = Enum.Material.Neon | |
609 | Part7.TopSurface = Enum.SurfaceType.Smooth | |
610 | Part7.brickColor = BrickColor.new("Pearl") | |
611 | Part8.Name = "LighterPart" | |
612 | Part8.Parent = Model0 | |
613 | Part8.CFrame = CFrame.new(104.862, 26.2400093, -118.660004, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
614 | Part8.Position = Vector3.new(104.862, 26.2400093, -118.660004) | |
615 | Part8.Color = Color3.new(0.203922, 0.556863, 0.25098) | |
616 | Part8.Size = Vector3.new(1.04999995, 0.299999833, 1.04999995) | |
617 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
618 | Part8.BrickColor = BrickColor.new("Sea green") | |
619 | Part8.CanCollide = false | |
620 | Part8.Material = Enum.Material.SmoothPlastic | |
621 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
622 | Part8.brickColor = BrickColor.new("Sea green") | |
623 | Part9.Name = "FakeArm" | |
624 | Part9.Parent = Model0 | |
625 | Part9.CFrame = CFrame.new(104.862312, 26.8397083, -118.660202, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
626 | Part9.Position = Vector3.new(104.862312, 26.8397083, -118.660202) | |
627 | Part9.Transparency = 1 | |
628 | Part9.Size = Vector3.new(1, 2, 1) | |
629 | Part9.BottomSurface = Enum.SurfaceType.Smooth | |
630 | Part9.CanCollide = false | |
631 | Part9.TopSurface = Enum.SurfaceType.Smooth | |
632 | WeldConstraint10.Parent = Part9 | |
633 | WeldConstraint10.Part0 = Part9 | |
634 | WeldConstraint10.Part1 = Part8 | |
635 | WeldConstraint11.Parent = Part9 | |
636 | WeldConstraint11.Part0 = Part9 | |
637 | WeldConstraint11.Part1 = Part5 | |
638 | WeldConstraint12.Parent = Part9 | |
639 | WeldConstraint12.Part0 = Part9 | |
640 | WeldConstraint12.Part1 = Part6 | |
641 | WeldConstraint13.Parent = Part9 | |
642 | WeldConstraint13.Part0 = Part9 | |
643 | WeldConstraint13.Part1 = Part7 | |
644 | WeldConstraint14.Parent = Part9 | |
645 | WeldConstraint14.Part0 = Part9 | |
646 | WeldConstraint14.Part1 = Part4 | |
647 | WeldConstraint15.Parent = Part9 | |
648 | WeldConstraint15.Part0 = Part9 | |
649 | WeldConstraint15.Part1 = Part1 | |
650 | WeldConstraint16.Parent = Part9 | |
651 | WeldConstraint16.Part0 = Part1 | |
652 | WeldConstraint16.Part1 = Part2 | |
653 | Part1.Transparency = 1 | |
654 | Part2.Transparency = 1 | |
655 | Part4.Transparency = 1 | |
656 | for i,v in pairs(mas:GetChildren()) do | |
657 | v.Parent = workspace | |
658 | pcall(function() v:MakeJoints() end) | |
659 | end | |
660 | mas:Destroy() | |
661 | for i,v in pairs(cors) do | |
662 | spawn(function() | |
663 | pcall(v) | |
664 | end) | |
665 | end | |
666 | wristband = Model0 | |
667 | bandhandle = Part5 | |
668 | wristband.Parent = char | |
669 | end | |
670 | local signweld = WeldConstraint16 | |
671 | wristband = Model0 | |
672 | bandhandle = Part5 | |
673 | wristband.Parent = char | |
674 | local weld = ins("Weld",ra) | |
675 | weld.Part0 = ra | |
676 | weld.Part1 = wristband.PrimaryPart | |
677 | weld.C0 = angles(rad(0),rad(-90),rad(0)) | |
678 | local effpart = Instance.new("Part") | |
679 | effpart.Size = Vector3.new(2,.1,1) | |
680 | effpart.Massless = true | |
681 | effpart.Transparency = 1 | |
682 | effpart.CanCollide = false | |
683 | effpart.Anchored = false | |
684 | effpart.Parent = char | |
685 | local grabpart = Instance.new("Part") | |
686 | grabpart.Size = Vector3.new(.001,.001,.001) | |
687 | grabpart.Massless = true | |
688 | grabpart.Transparency = 1 | |
689 | grabpart.CanCollide = false | |
690 | grabpart.Anchored = false | |
691 | grabpart.Material = "Neon" | |
692 | grabpart.Parent = char | |
693 | local pweld = Instance.new("Weld",effpart) | |
694 | pweld.Part0 = t | |
695 | pweld.Part1 = effpart | |
696 | pweld.C0 = CFrame.new(0,-2.2,-.5) | |
697 | local gweld = Instance.new("Weld",grabpart) | |
698 | gweld.Part0 = rut | |
699 | gweld.Part1 = grabpart | |
700 | gweld.C0 = CFrame.new(0,3,-1.4) | |
701 | local lsound = Instance.new("Sound",effpart) | |
702 | lsound.Volume = lsvol | |
703 | lsound.SoundId = "rbxassetid://1161221108" | |
704 | local effects = ins("Model",char) | |
705 | effects.Name = "Effects" | |
706 | local music = ins("Sound",t) | |
707 | music.Volume = 10 | |
708 | music.SoundId = songid | |
709 | music.Looped = true | |
710 | music.EmitterSize = 999999999 | |
711 | music:Play() | |
712 | local ff = ins("ForceField",char) | |
713 | ff.Visible = false | |
714 | local roar = ins("Sound",rut) | |
715 | roar.Volume = 10 | |
716 | roar.SoundId = "rbxassetid://2631687985" | |
717 | roar.EmitterSize = 100 | |
718 | local roar2 = ins("Sound",rut) | |
719 | roar2.Volume = 10 | |
720 | roar2.SoundId = "rbxassetid://2631687985" | |
721 | roar2.EmitterSize = 100 | |
722 | local billboard = ins("BillboardGui",h) | |
723 | billboard.Adornee = h | |
724 | billboard.Size = ud2(2,0,1,0) | |
725 | billboard.StudsOffset = v3(0,2,0) | |
726 | billboard.AlwaysOnTop = true | |
727 | billboard.MaxDistance = 15 | |
728 | local text = ins("TextBox",billboard) | |
729 | text.BackgroundTransparency = 1 | |
730 | text.TextStrokeTransparency = 0 | |
731 | text.Size = ud2(1,0,1,0) | |
732 | text.TextScaled = true | |
733 | text.TextColor = Part4.BrickColor | |
734 | text.TextStrokeColor3 = Part1.BrickColor.Color | |
735 | text.Text = mode | |
736 | local billboard2 = ins("BillboardGui",h) | |
737 | billboard2.Adornee = h | |
738 | billboard2.Size = ud2(1.5,0,.75,0) | |
739 | billboard2.StudsOffset = v3(0,1.5,0) | |
740 | billboard2.AlwaysOnTop = true | |
741 | billboard2.MaxDistance = 15 | |
742 | local text2 = ins("TextBox",billboard2) | |
743 | text2.BackgroundTransparency = 1 | |
744 | text2.TextStrokeTransparency = 0 | |
745 | text2.Size = ud2(1,0,1,0) | |
746 | text2.TextScaled = true | |
747 | text2.TextColor = bc("Smoky grey") | |
748 | text2.TextStrokeColor3 = bc("Fossil").Color | |
749 | text2.Text = "-" | |
750 | local raw = ins("WeldConstraint",rut) | |
751 | raw.Part1 = rl | |
752 | local law = ins("WeldConstraint",rut) | |
753 | law.Part1 = ll | |
754 | ||
755 | --Functions | |
756 | function swait() | |
757 | runservice.Stepped:Wait() | |
758 | end | |
759 | function remove(instance,time) | |
760 | debrs:AddItem(instance,time) | |
761 | end | |
762 | function removedescendantsof(parent,type,descendants) | |
763 | if type == "isa" then | |
764 | for i,v in pairs(parent:GetDescendants()) do | |
765 | if v:IsA(descendants) then | |
766 | v:Destroy() | |
767 | end | |
768 | end | |
769 | elseif type == "name" then | |
770 | for i,v in pairs(parent:GetDescendants()) do | |
771 | if v.Name == descendants then | |
772 | v:Destroy() | |
773 | end | |
774 | end | |
775 | end | |
776 | end | |
777 | function turnto(to) | |
778 | rut.CFrame = cf(rut.Position,v3(to.x,rut.Position.y,to.z)) | |
779 | end | |
780 | function sound(id,vol,pitch,parent) | |
781 | pcall(function() | |
782 | local newsound = Instance.new("Sound",parent) | |
783 | newsound.Volume = 10 | |
784 | newsound.SoundId = "rbxassetid://"..id | |
785 | newsound.Pitch = pitch | |
786 | newsound:Play() | |
787 | coroutine.resume(coroutine.create(function() | |
788 | wait(.1) | |
789 | remove(newsound,newsound.TimeLength/newsound.Pitch) | |
790 | end)) | |
791 | return newsound | |
792 | end) | |
793 | end | |
794 | function rayc(spos,direc,ignore,dist) | |
795 | local rai = ray(spos,direc.Unit * dist) | |
796 | local rhit,rpos,rrot = workspace:FindPartOnRayWithIgnoreList(rai,ignore,false,false) | |
797 | return rhit,rpos,rrot | |
798 | end | |
799 | local tlerp = function(part,tablee,leinght,easingstyle,easingdirec) | |
800 | local info = TweenInfo.new( | |
801 | leinght, | |
802 | easingstyle, | |
803 | easingdirec, | |
804 | 0, | |
805 | false, | |
806 | 0 | |
807 | ) | |
808 | local lerp = tweens:Create(part,info,tablee) | |
809 | lerp:Play() | |
810 | end | |
811 | function removewithfade(part,timebeforefade,randc) | |
812 | pcall(function() | |
813 | coroutine.resume(coroutine.create(function() | |
814 | wait(timebeforefade) | |
815 | part:BreakJoints() | |
816 | part.Name = "JustGoingAwayOk?" | |
817 | part.Parent = effects | |
818 | for i = 1,25 do | |
819 | if randc then | |
820 | part.BrickColor = BrickColor.Random() | |
821 | end | |
822 | part.Transparency = part.Transparency +.04 | |
823 | wait() | |
824 | end | |
825 | part:Destroy() | |
826 | end)) | |
827 | end) | |
828 | end | |
829 | function fadewithfly(part,color,randc) | |
830 | pcall(function() | |
831 | part:ClearAllChildren() | |
832 | part.CanCollide = false | |
833 | part.Anchored = false | |
834 | part.Massless = true | |
835 | part.Locked = false | |
836 | part.Archivable = true | |
837 | part.Material = "Neon" | |
838 | part.BrickColor = BrickColor.new(color) | |
839 | local vel = Instance.new("BodyVelocity") | |
840 | vel.MaxForce = v3(huge,huge,huge) | |
841 | vel.P = 10000 | |
842 | vel.Velocity = v3(math.random(-3,3),math.random(1,3),math.random(-3,3)) | |
843 | local avel = Instance.new("BodyAngularVelocity") | |
844 | avel.MaxTorque = v3(huge,huge,huge) | |
845 | avel.AngularVelocity = v3(math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
846 | avel.Parent = part | |
847 | vel.Parent = part | |
848 | if randc then | |
849 | removewithfade(part,0,true) | |
850 | else | |
851 | removewithfade(part,0,false) | |
852 | end | |
853 | end) | |
854 | end | |
855 | function sphereefx(pos,ssize,osize,colour,time) | |
856 | local sphere = ins("Part") | |
857 | sphere.Anchored = true | |
858 | sphere.CanCollide = false | |
859 | sphere.Material = "Neon" | |
860 | sphere.CFrame = pos | |
861 | sphere.Size = v3(.1,.1,.1) | |
862 | sphere.BrickColor = bc(tostring(colour)) | |
863 | sphere.Parent = effects | |
864 | local spheremesh = ins("SpecialMesh",sphere) | |
865 | spheremesh.MeshType = "Sphere" | |
866 | spheremesh.Scale = v3(ssize,ssize,ssize)*10 | |
867 | tlerp(spheremesh,{Scale = v3(osize,osize,osize)*10},time,styles.Quad,directions.In) | |
868 | tlerp(sphere,{Transparency = 1},time,styles.Quad,directions.In) | |
869 | remove(sphere,time) | |
870 | return sphere | |
871 | end | |
872 | function changecolors(speed,maincolor,secondcolor,neoncolor) | |
873 | for i,v in pairs(wristband:GetChildren()) do | |
874 | if v.Name == "LighterPart" and maincolor ~= nil then | |
875 | tlerp(v,{Color = BrickColor.new(tostring(maincolor)).Color},speed,styles.Linear,directions.In) | |
876 | tlerp(text,{TextColor3 = BrickColor.new(tostring(maincolor)).Color},speed,styles.Linear,directions.In) | |
877 | end | |
878 | if v.Name == "DarkerPart" and secondcolor ~= nil then | |
879 | tlerp(v,{Color = BrickColor.new(tostring(secondcolor)).Color},speed,styles.Linear,directions.In) | |
880 | tlerp(text,{TextStrokeColor3 = BrickColor.new(tostring(secondcolor)).Color},speed,styles.Linear,directions.In) | |
881 | end | |
882 | if v.Name == "NeonPart" and neoncolor ~= nil then | |
883 | tlerp(v,{Color = BrickColor.new(tostring(neoncolor)).Color},speed,styles.Linear,directions.In) | |
884 | end | |
885 | end | |
886 | end | |
887 | function fire(partp,parent,color1,color2,ssize,osize,leinght,material,minr,maxr,shape,spread,st,ot,onlyraise,followchar) | |
888 | local part = Instance.new("Part",parent) part.Size = Vector3.new(ssize,ssize,ssize) part.Transparency = st part.CanCollide = false part.Anchored = true part.Shape = shape part.Material = material part.BrickColor = BrickColor.new(color1) part.CFrame = partp.CFrame * CFrame.new(partp.Size.x/math.random(-20,20),partp.Size.y/math.random(-20,20),partp.Size.z/math.random(-20,20)) | |
889 | if followchar then | |
890 | onlyraise = false | |
891 | part.CFrame = CFrame.new(part.Position,rut.Position) * angles(rad(-90),rad(0),rad(0)) | |
892 | end | |
893 | if onlyraise == true then | |
894 | part.CFrame = CFrame.new(part.CFrame.p,Vector3.new(nil,part.CFrame.y,part.CFrame.z)) | |
895 | end | |
896 | local pcf = part.CFrame | |
897 | tlerp(part,{CFrame = pcf * CFrame.new(math.random(-spread,spread)/math.random(2,4),math.random(minr,maxr),math.random(-spread,spread)/math.random(2,4)) * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180))),Size = Vector3.new(osize,osize,osize),Color = BrickColor.new(color2).Color,Transparency = ot},leinght,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut) | |
898 | game:GetService("Debris"):AddItem(part,leinght) | |
899 | end | |
900 | function wedgefire(partp,parent,color1,color2,ssize,osize,leinght,material,minr,maxr,spread,st,ot,onlyraise,followchar) | |
901 | local part = Instance.new("WedgePart",parent) part.Size = Vector3.new(.1,ssize,ssize) part.Transparency = st part.CanCollide = false part.Anchored = true part.Material = material part.BrickColor = BrickColor.new(color1) part.CFrame = partp.CFrame * CFrame.new(partp.Size.x/math.random(-20,20),partp.Size.y/math.random(-20,20),partp.Size.z/math.random(-20,20)) | |
902 | if followchar then | |
903 | onlyraise = false | |
904 | part.CFrame = CFrame.new(part.Position,rut.Position) * angles(rad(-90),rad(0),rad(0)) | |
905 | end | |
906 | if onlyraise == true then | |
907 | part.CFrame = CFrame.new(part.CFrame.p,Vector3.new(nil,part.CFrame.y,part.CFrame.z)) | |
908 | end | |
909 | local pcf = part.CFrame | |
910 | tlerp(part,{CFrame = pcf * CFrame.new(math.random(-spread,spread)/math.random(2,4),math.random(minr,maxr),math.random(-spread,spread)/math.random(2,4)) * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180))),Size = Vector3.new(.1,osize,osize),Color = BrickColor.new(color2).Color,Transparency = ot},leinght,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut) | |
911 | game:GetService("Debris"):AddItem(part,leinght) | |
912 | end | |
913 | function damagingfire(partp,parent,color1,color2,ssize,osize,leinght,material,minr,maxr,shape,spread,st,ot,onlyraise,damage) | |
914 | local deb = false | |
915 | local part = Instance.new("Part",parent) part.Size = Vector3.new(ssize,ssize,ssize) part.Transparency = st part.CanCollide = false part.Anchored = true part.Shape = shape part.Material = material part.BrickColor = BrickColor.new(color1) part.CFrame = partp.CFrame * CFrame.new(partp.Size.x/math.random(-20,20),partp.Size.y/math.random(-20,20),partp.Size.z/math.random(-20,20)) | |
916 | if onlyraise == true then | |
917 | part.CFrame = CFrame.new(part.CFrame.p,Vector3.new(nil,part.CFrame.y,part.CFrame.z)) | |
918 | end | |
919 | part.Touched:Connect(function(hit) | |
920 | if not deb then | |
921 | local newhum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
922 | if newhum and newhum ~= hum then | |
923 | deb = true | |
924 | if newhum.Health >maxhealthuntilinstakill then | |
925 | death(newhum.Parent,part.BrickColor) | |
926 | showdamage(part.CFrame,"Too much health...",1) | |
927 | return | |
928 | end | |
929 | local rand = random(1,10) | |
930 | if rand == 8 then | |
931 | lesserfirepart(hit) | |
932 | end | |
933 | newhum.Health = newhum.Health -damage | |
934 | if newhum.Health <.01 then | |
935 | death(newhum.Parent,part.BrickColor) | |
936 | return | |
937 | end | |
938 | showdamage(part.CFrame,"-"..damage,.1) | |
939 | end | |
940 | end | |
941 | end) | |
942 | local pcf = part.CFrame | |
943 | tlerp(part,{CFrame = pcf * CFrame.new(math.random(-spread,spread)/math.random(2,4),math.random(minr,maxr),math.random(-spread,spread)/math.random(2,4)) * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180))),Size = Vector3.new(osize,osize,osize),Color = BrickColor.new(color2).Color,Transparency = ot},leinght,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut) | |
944 | game:GetService("Debris"):AddItem(part,leinght) | |
945 | end | |
946 | function partray(from,to,colour,wideness,time) | |
947 | pcall(function() | |
948 | local antime = time or .25 | |
949 | local raypart = ins("Part") | |
950 | raypart.Anchored = true | |
951 | raypart.CanCollide = false | |
952 | raypart.Material = "Glass" | |
953 | raypart.BrickColor = bc(tostring(colour)) | |
954 | raypart.CFrame = from | |
955 | local dista = (from.p-to).Magnitude | |
956 | raypart.CFrame = cf(raypart.Position,to) * cf(0,0,-dista/2) * angles(rad(0),rad(0),rad(math.random(-180,180))) | |
957 | raypart.Size = v3(wideness,wideness,dista) | |
958 | raypart.Parent = effects | |
959 | local endcf = raypart.CFrame * cf(0,0,-raypart.Size.z/2) | |
960 | coroutine.resume(coroutine.create(function() | |
961 | tlerp(raypart,{Size = v3(.1,.1,raypart.Size.z/10),Transparency = 1,CFrame = endcf},antime,styles.Quad,directions.In) | |
962 | remove(raypart,antime) | |
963 | end)) | |
964 | end) | |
965 | end | |
966 | function knockback(part,force,timeb) | |
967 | local vel = ins("BodyVelocity",part) | |
968 | vel.MaxForce = v3(huge,huge,huge) | |
969 | vel.Velocity = rut.CFrame.LookVector * force | |
970 | remove(vel,timeb) | |
971 | end | |
972 | function showdamage(pos,text,timebeforefade) | |
973 | local dpart = ins("Part") | |
974 | dpart.Anchored = true | |
975 | dpart.CanCollide = false | |
976 | dpart.Size = v3(.01,.01,.01) | |
977 | dpart.Transparency = 1 | |
978 | dpart.CFrame = pos | |
979 | dpart.Parent = effects | |
980 | dpart.CFrame = cf(dpart.Position,v3(nil,dpart.Position.y,dpart.Position.z)) | |
981 | local bil = ins("BillboardGui",dpart) | |
982 | bil.Size = ud2(2,0,2,0) | |
983 | bil.AlwaysOnTop = true | |
984 | local label = ins("TextBox",bil) | |
985 | label.Size = ud2(1,0,1,0) | |
986 | label.Text = text | |
987 | label.BackgroundTransparency = 1 | |
988 | label.TextScaled = true | |
989 | label.TextColor3 = Part4.Color | |
990 | coroutine.resume(coroutine.create(function() | |
991 | tlerp(dpart,{CFrame = dpart.CFrame * cf(random(-1,1),random(-1,1),random(-1,1))},.5,styles.Back,directions.Out) | |
992 | wait(timebeforefade) | |
993 | tlerp(label,{TextTransparency = 1},.5,styles.Back,directions.Out) | |
994 | remove(dpart,.5) | |
995 | end)) | |
996 | end | |
997 | function death(character,colour) | |
998 | coroutine.resume(coroutine.create(function() | |
999 | character:BreakJoints() | |
1000 | local fc = false | |
1001 | local mindd = 1 | |
1002 | - | if mode == "DEMORALIZATION" then |
1002 | + | |
1003 | if mode == "Empty" then | |
1004 | fc = true | |
1005 | end | |
1006 | wait(1) | |
1007 | local spheree = sphereefx(character:FindFirstChildOfClass("Part").CFrame,0,0,Part1.BrickColor,5) | |
1008 | sound(297569488,1,1.2,spheree) | |
1009 | for i,v in pairs(character:GetDescendants()) do | |
1010 | if v:IsA("Part") or v:IsA("MeshPart") or v:IsA("UnionOperation") or v:IsA("WedgePart") or v:IsA("CornerWedgePart") then | |
1011 | for i = 1,random(1,2) do | |
1012 | wedgefire(v,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/4,math.random(3,6)/4,math.random(6,10)/12,"Neon",-25,25,35,.3,1,true) | |
1013 | end | |
1014 | if fc then | |
1015 | mindd = (rut.Position-v.Position).Magnitude | |
1016 | maxdd = (rut.Position-v.Position).Magnitude | |
1017 | end | |
1018 | fire(v,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/5,math.random(3,6)/5,math.random(6,10)/5,"Neon",tonumber(mindd),tonumber(maxdd),"Block",0,0,1,true,fc) | |
1019 | remove(v,0) | |
1020 | end | |
1021 | end | |
1022 | remove(character,0) | |
1023 | end)) | |
1024 | end | |
1025 | function firepart(parttofire) | |
1026 | coroutine.resume(coroutine.create(function() | |
1027 | for i = 1,random(20,30) do | |
1028 | if not parttofire or not parttofire.Parent then | |
1029 | break | |
1030 | end | |
1031 | parttofire.BrickColor = Part4.BrickColor | |
1032 | if mode == "Light" then | |
1033 | damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/5,math.random(3,6)/5,math.random(6,10)/12,"Neon",2,6,"Block",3,.2,1,false,random(2,5)) | |
1034 | elseif mode == "Useless" then | |
1035 | if parttofire.Size.x >2 then | |
1036 | damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),parttofire.Size.x/5,parttofire.Size.x/15,math.random(6,10)/12,"Neon",parttofire.Size.x/5,parttofire.Size.x/1.5,"Block",3,.2,1,false,random(5,8)) | |
1037 | else | |
1038 | damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/5,math.random(3,6)/5,math.random(6,10)/12,"Neon",2,6,"Block",3,.2,1,false,random(5,8)) | |
1039 | - | elseif mode == "DEMORALIZATION" then |
1039 | + | |
1040 | elseif mode == "Empty" then | |
1041 | damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),parttofire.Size.x/5,parttofire.Size.x/15,math.random(6,10)/12,"Neon",parttofire.Size.x/5,parttofire.Size.x/1.5,"Block",3,.75,1,false,random(40,99)) | |
1042 | elseif mode == "Love Mode" then | |
1043 | damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/5,math.random(3,6)/5,math.random(6,10)/12,"Neon",2,6,"Block",3,.2,1,false,random(3,6)) | |
1044 | end | |
1045 | wait(.15) | |
1046 | end | |
1047 | if parttofire.Name == "Impact" or parttofire.Name == "Shard" then | |
1048 | tlerp(parttofire,{Size = v3(.1,.1,.1),Transparency = 1},.1,styles.Quad,directions.In) | |
1049 | remove(parttofire,.1) | |
1050 | end | |
1051 | end)) | |
1052 | end | |
1053 | function lesserfirepart(parttofire) | |
1054 | coroutine.resume(coroutine.create(function() | |
1055 | for i = 1,random(6,12) do | |
1056 | if not parttofire or not parttofire.Parent then | |
1057 | break | |
1058 | end | |
1059 | if parttofire.Name == "Impact" then | |
1060 | parttofire.BrickColor = Part4.BrickColor | |
1061 | end | |
1062 | if mode == "Light" then | |
1063 | damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/5,math.random(3,6)/5,math.random(6,10)/12,"Neon",2,6,"Block",3,.2,1,true,random(2,5)) | |
1064 | elseif mode == "Useless" then | |
1065 | - | elseif mode == "DEMORALIZATION" then |
1065 | + | |
1066 | elseif mode == "Empty" then | |
1067 | damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/5,math.random(3,6)/5,math.random(6,10)/12,"Neon",2,6,"Block",3,.75,1,true,random(40,99)) | |
1068 | elseif mode == "Love Mode" then | |
1069 | damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/5,math.random(3,6)/5,math.random(6,10)/12,"Neon",2,6,"Block",3,.2,1,false,random(3,6)) | |
1070 | end | |
1071 | wait(.25) | |
1072 | end | |
1073 | if parttofire.Name == "Impact" then | |
1074 | tlerp(parttofire,{Size = v3(.1,.1,.1),Transparency = 1},.1,styles.Quad,directions.In) | |
1075 | remove(parttofire,.1) | |
1076 | end | |
1077 | end)) | |
1078 | end | |
1079 | function placefirepart(pos,size) | |
1080 | local part = ins("Part") | |
1081 | part.Anchored = true | |
1082 | part.CanCollide = false | |
1083 | part.Transparency = .4 | |
1084 | part.Material = "Neon" | |
1085 | part.Name = "Impact" | |
1086 | part.CFrame = pos | |
1087 | part.Size = v3(.1,.1,.1) | |
1088 | tlerp(part,{Size = v3(size,.1,size)},.1,styles.Quad,directions.In) | |
1089 | part.Parent = effects | |
1090 | local mesh = ins("CylinderMesh",part) | |
1091 | local vol = 20 | |
1092 | local amo = 1 | |
1093 | if mode == "Useless" then | |
1094 | vol = 20 | |
1095 | - | elseif mode == "DEMORALIZATION" then |
1095 | + | |
1096 | elseif mode == "Empty" then | |
1097 | vol = 20 | |
1098 | amo = 5 | |
1099 | end | |
1100 | coroutine.resume(coroutine.create(function() | |
1101 | pcall(function() | |
1102 | if size < 50 then | |
1103 | sound(539294959,vol,1,part) | |
1104 | else | |
1105 | for i = 1,amo do | |
1106 | sound(142885319,vol or 10,.4,char) | |
1107 | end | |
1108 | part.Transparency = .7 | |
1109 | end | |
1110 | end) | |
1111 | local sphere = sphereefx(part.CFrame,size/6,size*2,tostring(Part4.BrickColor),.25) | |
1112 | for i = 1,4 do | |
1113 | fire(part,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/(35-size*2.5),math.random(3,6)/(35-size*20),math.random(6,10)/20,"Neon",-size*1.5,size*1.5,"Block",size*1.5,.2,1,true) | |
1114 | for i = 1,random(2,3) do | |
1115 | wedgefire(part,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),size/5,size/15,math.random(6,10)/12,"Neon",-size*1.5,size*1.5,size*2,.3,1,true) | |
1116 | end | |
1117 | end | |
1118 | for i = 1,5 do | |
1119 | sphere = sphereefx(part.CFrame,size/2,size*2,tostring(Part4.BrickColor),.25) | |
1120 | if mode == "Light" then | |
1121 | magdamage(sphere.Position,size,random(2,5),851453784,2) | |
1122 | if size <75 then | |
1123 | partray(part.CFrame * cf(random(-size,size),random(0,size),random(-size,size)),part.Position,tostring(Part4.BrickColor),1) | |
1124 | else | |
1125 | partray(part.CFrame * cf(random(-size,size),random(0,size),random(-size,size)),part.Position,tostring(Part4.BrickColor),3.5) | |
1126 | end | |
1127 | elseif mode == "Useless" then | |
1128 | if size >120 then | |
1129 | magdamage(sphere.Position,size,random(15,30),851453784,2) | |
1130 | partray(part.CFrame * cf(random(-size,size),random(0,size),random(-size,size)),part.Position,tostring(Part4.BrickColor),15) | |
1131 | else | |
1132 | magdamage(sphere.Position,size,random(4,9),851453784,2) | |
1133 | partray(part.CFrame * cf(random(-size,size),random(0,size),random(-size,size)),part.Position,tostring(Part4.BrickColor),1.5) | |
1134 | - | elseif mode == "DEMORALIZATION" then |
1134 | + | |
1135 | elseif mode == "Empty" then | |
1136 | if size == huge then | |
1137 | killeveryone() | |
1138 | partray(part.CFrame * cf(random(-size,size),random(0,size),random(-size,size)),part.Position,tostring(Part4.BrickColor),15) | |
1139 | else | |
1140 | magdamage(sphere.Position,size,random(30,60),851453784,2) | |
1141 | partray(part.CFrame * cf(random(-size,size),random(0,size),random(-size,size)),part.Position,tostring(Part4.BrickColor),1.5) | |
1142 | end | |
1143 | elseif mode == "Love Mode" then | |
1144 | magdamage(sphere.Position,size,random(3,6),851453784,2) | |
1145 | if size <75 then | |
1146 | partray(part.CFrame * cf(random(-size,size),random(0,size),random(-size,size)),part.Position,tostring(Part4.BrickColor),1) | |
1147 | else | |
1148 | partray(part.CFrame * cf(random(-size,size),random(0,size),random(-size,size)),part.Position,tostring(Part4.BrickColor),3.5) | |
1149 | end | |
1150 | end | |
1151 | swait() | |
1152 | end | |
1153 | end)) | |
1154 | firepart(part) | |
1155 | end | |
1156 | function placeweakfirepart(pos,size) | |
1157 | local part = ins("Part") | |
1158 | part.Anchored = true | |
1159 | part.CanCollide = false | |
1160 | part.Transparency = .4 | |
1161 | part.Material = "Neon" | |
1162 | part.Name = "Impact" | |
1163 | part.CFrame = pos | |
1164 | part.Size = v3(.1,.1,.1) | |
1165 | tlerp(part,{Size = v3(size,.1,size)},.1,styles.Quad,directions.In) | |
1166 | part.Parent = effects | |
1167 | local mesh = ins("CylinderMesh",part) | |
1168 | lesserfirepart(part) | |
1169 | end | |
1170 | function throwfire(from,direc,maxdist) | |
1171 | local part = ins("Part") | |
1172 | part.Name = "Shard" | |
1173 | part.Size = v3(1,1,1) | |
1174 | part.Anchored = true | |
1175 | part.CanCollide = false | |
1176 | part.Transparency = .7 | |
1177 | part.Material = "Neon" | |
1178 | part.CFrame = from | |
1179 | part.CFrame = cf(part.Position,direc) | |
1180 | part.Parent = effects | |
1181 | firepart(part) | |
1182 | local speed = 3 | |
1183 | if mode == "Useless" then | |
1184 | - | elseif mode == "DEMORALIZATION" then |
1184 | + | |
1185 | elseif mode == "Empty" then | |
1186 | speed = 16 | |
1187 | elseif mode == "Love Mode" then | |
1188 | speed = 20 | |
1189 | end | |
1190 | coroutine.resume(coroutine.create(function() | |
1191 | for i = 1,maxdist do | |
1192 | local hit,pos,rot = rayc(part.Position,part.CFrame.LookVector,{char},speed+1) | |
1193 | part.CFrame = part.CFrame * cf(0,0,-speed) * angles(rad(-.35),rad(0),rad(0)) | |
1194 | if hit then | |
1195 | local size = 10 | |
1196 | if mode == "Useless" then | |
1197 | - | elseif mode == "DEMORALIZATION" then |
1197 | + | |
1198 | elseif mode == "Empty" then | |
1199 | size = 99999999999999999 | |
1200 | end | |
1201 | placefirepart(cf(pos,pos+rot) * angles(rad(-90),rad(0),rad(0)),size) | |
1202 | break | |
1203 | end | |
1204 | wait() | |
1205 | end | |
1206 | part:Destroy() | |
1207 | end)) | |
1208 | end | |
1209 | function magdamage(pos,maxrange,damage,id,vol,breakafterhit) | |
1210 | for i,v in pairs(workspace:GetDescendants()) do | |
1211 | if v:IsA("Humanoid") and v.Parent ~= char and v.Health >.01 then | |
1212 | local tors = v.Parent:FindFirstChild("Torso") or v.Parent:FindFirstChild("UpperTorso") | |
1213 | if tors and (pos-tors.Position).Magnitude <= maxrange then | |
1214 | - | if mode == "Useless" or mode == "DEMORALIZATION" then |
1214 | + | |
1215 | if mode == "Useless" or mode == "Empty" then | |
1216 | hum.Health = hum.Health +damage | |
1217 | end | |
1218 | - | if mode == "DEMORALIZATION" then |
1218 | + | |
1219 | if mode == "Empty" then | |
1220 | knock = 50 | |
1221 | end | |
1222 | knockback(tors,knock,.2) | |
1223 | pcall(function() | |
1224 | sound(id,vol,1,ra) | |
1225 | end) | |
1226 | showdamage(tors.CFrame * cf(random(-1,1),random(-1,1),random(-1,1)),"-"..damage,1) | |
1227 | if v.Health > maxhealthuntilinstakill then | |
1228 | death(v.Parent,Part4.BrickColor) | |
1229 | showdamage(tors.CFrame * cf(random(-1,1),random(-1,1),random(-1,1)),"Too much health...",2) | |
1230 | return | |
1231 | end | |
1232 | if v.Health < .01 then | |
1233 | death(v.Parent,Part4.BrickColor) | |
1234 | return | |
1235 | end | |
1236 | if breakafterhit == true then | |
1237 | break | |
1238 | end | |
1239 | end | |
1240 | end | |
1241 | end | |
1242 | end | |
1243 | function killeveryone() | |
1244 | pcall(function() | |
1245 | for i,v in pairs(workspace:GetDescendants()) do | |
1246 | if v:IsA("Humanoid") and v.Parent ~= char then | |
1247 | v.Parent:BreakJoints() | |
1248 | death(v.Parent,Part4.BrickColor) | |
1249 | end | |
1250 | end | |
1251 | end) | |
1252 | end | |
1253 | function laser(from,to) | |
1254 | local hit,pos,rot = rayc(from.Position,to-h.Position,{char},600) | |
1255 | if mode == "Light" then | |
1256 | magdamage(pos,7.5,math.random(10,15),851453784,2,false) | |
1257 | partray(from.CFrame,pos,tostring(Part4.BrickColor),2) | |
1258 | local rand = random(1,11) | |
1259 | if rand == 9 then | |
1260 | placefirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),5) | |
1261 | end | |
1262 | local sphere = sphereefx(cf(pos),1,10,tostring(Part4.BrickColor),.3) | |
1263 | for i = 1,random(3,5) do | |
1264 | wedgefire(sphere,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),3,.1,math.random(6,10)/12,"Neon",-5,20,25,.3,1,true) | |
1265 | end | |
1266 | elseif mode == "Useless" then | |
1267 | local rand = random(1,11) | |
1268 | if rand == 9 then | |
1269 | placefirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),10) | |
1270 | end | |
1271 | magdamage(pos,15,math.random(15,30),851453784,2,false) | |
1272 | local sphere = sphereefx(cf(pos),1,20,tostring(Part4.BrickColor),.3) | |
1273 | for i = 1,random(3,5) do | |
1274 | wedgefire(sphere,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),4.5,.3,math.random(6,10)/12,"Neon",-5,25,35,.3,1,true) | |
1275 | end | |
1276 | - | elseif mode == "DEMORALIZATION" then |
1276 | + | |
1277 | elseif mode == "Empty" then | |
1278 | local rand = random(1,7) | |
1279 | if rand == 7 then | |
1280 | placefirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),25) | |
1281 | end | |
1282 | magdamage(pos,15,math.random(45,90),851453784,3.5,false) | |
1283 | local sphere = sphereefx(cf(pos),6,35,tostring(Part4.BrickColor),.3) | |
1284 | for i = 1,random(3,5) do | |
1285 | wedgefire(sphere,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),12.5,0,math.random(6,10)/12,"Neon",-45,45,45,0,1,true) | |
1286 | end | |
1287 | partray(Part8.CFrame,pos,tostring(Part4.BrickColor),5) | |
1288 | elseif mode == "Love Mode" then | |
1289 | magdamage(pos,8,math.random(12,18),851453784,2,false) | |
1290 | partray(from.CFrame,pos,tostring(Part4.BrickColor),2) | |
1291 | local rand = random(1,9) | |
1292 | if rand == 9 then | |
1293 | placefirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),7.5) | |
1294 | end | |
1295 | local sphere = sphereefx(cf(pos),2,12.5,tostring(Part4.BrickColor),.3) | |
1296 | for i = 1,random(3,5) do | |
1297 | wedgefire(sphere,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),3,.1,math.random(6,10)/12,"Neon",-5,20,25,.3,1,true) | |
1298 | end | |
1299 | end | |
1300 | end | |
1301 | function skybeam(pos) | |
1302 | local size = 10 | |
1303 | local damage = random(2,5) | |
1304 | if mode == "Useless" then | |
1305 | size = 15 | |
1306 | - | elseif mode == "DEMORALIZATION" then |
1306 | + | |
1307 | - | size = 35 |
1307 | + | elseif mode == "Empty" then |
1308 | size = 9000 | |
1309 | damage = random(60,120) | |
1310 | end | |
1311 | sound(142885319,10,.5,char) | |
1312 | local hit,poss,rot = rayc(v3(pos.x,pos.y,pos.z)+v3(0,2,0),v3(pos.x,-700,pos.z),{char},500) | |
1313 | partray(pos*cf(0,500,0),poss,Part4.BrickColor,size,.5) | |
1314 | placefirepart(cf(poss,poss+rot)*angles(rad(-90),0,0),size*1.5) | |
1315 | end | |
1316 | ||
1317 | --Creates | |
1318 | for i,v in pairs(char:GetDescendants()) do | |
1319 | if v:IsA("Part") then | |
1320 | v.Locked = true | |
1321 | end | |
1322 | end | |
1323 | nec = ins("Weld",t) nec.Part0 = p0 nec.Part1 = p1 nec.C0 = cf01 nec.C1 = cf1 | |
1324 | rs = ins("Weld",t) rs.Part0 = rsp0 rs.Part1 = rsp1 rs.C0 = cf03 rs.C1 = cf3 | |
1325 | ls = ins("Weld",t) ls.Part0 = lsp0 ls.Part1 = lsp1 ls.C0 = cf04 ls.C1 = cf4 | |
1326 | rh = ins("Weld",t) rh.Part0 = rhp0 rh.Part1 = rhp1 rh.C0 = cf05 rh.C1 = cf5 | |
1327 | lh = ins("Weld",t) lh.Part0 = lhp0 lh.Part1 = lhp1 lh.C0 = cf06 lh.C1 = cf6 | |
1328 | ||
1329 | --Animation functions | |
1330 | function land() | |
1331 | if phit then | |
1332 | readytoland = false | |
1333 | landed = true | |
1334 | local oldspeed = hum.WalkSpeed | |
1335 | hum.WalkSpeed = 1.5 | |
1336 | hum.JumpPower = 0 | |
1337 | lsound:Play() | |
1338 | for i = 0,1,.1 do | |
1339 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-.5,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),i) | |
1340 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.5,-.3) * CFrame.Angles(rad(11),rad(90),rad(0)),i) | |
1341 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.5,-.25) * CFrame.Angles(rad(9),rad(-90),rad(0)),i) | |
1342 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-15),rad(0),rad(10)),i) | |
1343 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.35,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-15),rad(0),rad(-10)),i) | |
1344 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),i) | |
1345 | swait() | |
1346 | end | |
1347 | for i = 1,math.random(5,8) do | |
1348 | fire(effpart,effects,tostring(phit.BrickColor),tostring(phit.BrickColor),math.random(7,13)/10,math.random(3,6)/10,math.random(4,6)/10,phit.Material,0,0,"Block",5,0,1,true) | |
1349 | end | |
1350 | wait(.3) | |
1351 | landed = false | |
1352 | hum.WalkSpeed = oldspeed | |
1353 | hum.JumpPower = 50 | |
1354 | end | |
1355 | end | |
1356 | function punch1() | |
1357 | using = true | |
1358 | local speed1 = .075 | |
1359 | local speed2 = .095 | |
1360 | if mode == "Love Mode" then | |
1361 | speed1 = .095 | |
1362 | speed2 = .115 | |
1363 | end | |
1364 | for i = 0,.75,speed1 do | |
1365 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(10),rad(150)),i) | |
1366 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(85),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i) | |
1367 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-80),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i) | |
1368 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(30),rad(90)),i) | |
1369 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-10),rad(0),rad(10)),i) | |
1370 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(210)),i) | |
1371 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1372 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1373 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1374 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1375 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1376 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1377 | swait() | |
1378 | end | |
1379 | if mode == "Light" then | |
1380 | magdamage(t.Position,3,random(6,15),743886825,1.5,true) | |
1381 | elseif mode == "Useless" then | |
1382 | - | elseif mode == "DEMORALIZATION" then |
1382 | + | |
1383 | elseif mode == "Empty" then | |
1384 | magdamage(t.Position,5,random(35,75),386946017,3.5,true) | |
1385 | elseif mode == "Love Mode" then | |
1386 | magdamage(t.Position,3.5,random(8,18),743886825,1.5,true) | |
1387 | end | |
1388 | pcall(function() | |
1389 | sound(145487017,1,1,ra) | |
1390 | end) | |
1391 | for i = 0,1,speed2 do | |
1392 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(-10),rad(210)),i) | |
1393 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(95),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i) | |
1394 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-80),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i) | |
1395 | rs.C0 = rs.C0:Lerp(CFrame.new(.85,.5,-.35) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-10),rad(90)),i) | |
1396 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-20),rad(0),rad(-10)),i) | |
1397 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(165)),i) | |
1398 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1399 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1400 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1401 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1402 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1403 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1404 | swait() | |
1405 | end | |
1406 | using = false | |
1407 | end | |
1408 | function punch2() | |
1409 | using = true | |
1410 | local speed1 = .075 | |
1411 | local speed2 = .095 | |
1412 | if mode == "Love Mode" then | |
1413 | speed1 = .095 | |
1414 | speed2 = .115 | |
1415 | end | |
1416 | for i = 0,.75,speed1 do | |
1417 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(-10),rad(210)),i) | |
1418 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(80),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i) | |
1419 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-85),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i) | |
1420 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-10),rad(0),rad(0)),i) | |
1421 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(-30),rad(-90)),i) | |
1422 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(150)),i) | |
1423 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1424 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1425 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1426 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1427 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1428 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1429 | swait() | |
1430 | end | |
1431 | if mode == "Light" then | |
1432 | magdamage(t.Position,3,random(6,15),743886825,1.5,true) | |
1433 | elseif mode == "Useless" then | |
1434 | - | elseif mode == "DEMORALIZATION" then |
1434 | + | |
1435 | elseif mode == "Empty" then | |
1436 | magdamage(t.Position,5,random(35,75),386946017,3.5,true) | |
1437 | elseif mode == "Love Mode" then | |
1438 | magdamage(t.Position,3.5,random(8,18),743886825,1.5,true) | |
1439 | end | |
1440 | pcall(function() | |
1441 | sound(145487017,1,1,ra) | |
1442 | end) | |
1443 | for i = 0,1,speed2 do | |
1444 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(10),rad(150)),i) | |
1445 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(95),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i) | |
1446 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-80),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i) | |
1447 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-20),rad(-10),rad(0)),i) | |
1448 | ls.C0 = ls.C0:Lerp(CFrame.new(-.85,.5,-.35) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(10),rad(-90)),i) | |
1449 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(195)),i) | |
1450 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1451 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1452 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1453 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1454 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1455 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1456 | swait() | |
1457 | end | |
1458 | using = false | |
1459 | end | |
1460 | function punch3() | |
1461 | using = true | |
1462 | local speed1 = .075 | |
1463 | local speed2 = .095 | |
1464 | if mode == "Love Mode" then | |
1465 | speed1 = .095 | |
1466 | speed2 = .115 | |
1467 | end | |
1468 | for i = 0,.75,speed1 do | |
1469 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),i) | |
1470 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(10)),i) | |
1471 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-10)),i) | |
1472 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(60),rad(60)),i) | |
1473 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(-60),rad(-60)),i) | |
1474 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i) | |
1475 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1476 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1477 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1478 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1479 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1480 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1481 | swait() | |
1482 | end | |
1483 | if mode == "Light" then | |
1484 | pcall(function() | |
1485 | sound(539294959,3,1,ra) | |
1486 | end) | |
1487 | local sphere = sphereefx(rut.CFrame * cf(0,0,-1.5),.5,6,Part4.BrickColor,.3) | |
1488 | magdamage(sphere.Position,6,random(3,5),851453784,1.5,true) | |
1489 | coroutine.resume(coroutine.create(function() | |
1490 | for i = 1,4 do | |
1491 | fire(sphere,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/10,math.random(3,6)/10,math.random(6,10)/20,"Neon",-7,7,"Block",10,.2,1,true) | |
1492 | for i = 1,random(1,2) do | |
1493 | wedgefire(rut,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/4,math.random(3,6)/4,math.random(6,10)/12,"Neon",-25,25,35,.3,1,true) | |
1494 | end | |
1495 | end | |
1496 | for i = 1,3 do | |
1497 | sphere = sphereefx(rut.CFrame * cf(0,0,-1.5),.5,6,Part4.BrickColor,.3) | |
1498 | magdamage(sphere.Position,6,random(3,5),851453784,1.5,true) | |
1499 | swait() | |
1500 | end | |
1501 | end)) | |
1502 | elseif mode == "Useless" then | |
1503 | pcall(function() | |
1504 | sound(539294959,3,1,ra) | |
1505 | end) | |
1506 | local sphere = sphereefx(rut.CFrame * cf(0,0,-1.5),.5,9,Part4.BrickColor,.3) | |
1507 | magdamage(sphere.Position,9,random(6,9),851453784,1.5,true) | |
1508 | coroutine.resume(coroutine.create(function() | |
1509 | for i = 1,4 do | |
1510 | fire(sphere,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/6,math.random(3,6)/5,math.random(6,10)/17,"Neon",-12,12,"Block",15,.2,1,true) | |
1511 | end | |
1512 | for i = 1,3 do | |
1513 | sphere = sphereefx(rut.CFrame * cf(0,0,-1.5),.5,9,Part4.BrickColor,.3) | |
1514 | magdamage(sphere.Position,9,random(6,9),851453784,1.5,true) | |
1515 | swait() | |
1516 | end | |
1517 | - | elseif mode == "DEMORALIZATION" then |
1517 | + | |
1518 | elseif mode == "Empty" then | |
1519 | pcall(function() | |
1520 | sound(539294959,6,1,ra) | |
1521 | end) | |
1522 | local sphere = sphereefx(rut.CFrame * cf(0,0,-1.5),.5,14,Part4.BrickColor,.3) | |
1523 | magdamage(sphere.Position,10,random(25,60),851453784,1.5,true) | |
1524 | coroutine.resume(coroutine.create(function() | |
1525 | for i = 1,4 do | |
1526 | fire(sphere,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/6,math.random(3,6)/5,math.random(6,10)/17,"Neon",-12,12,"Block",15,.2,1,true) | |
1527 | end | |
1528 | for i = 1,3 do | |
1529 | sphere = sphereefx(rut.CFrame * cf(0,0,-1.5),.5,14,Part4.BrickColor,.3) | |
1530 | magdamage(sphere.Position,14,random(25,60),851453784,1.5,true) | |
1531 | swait() | |
1532 | end | |
1533 | end)) | |
1534 | elseif mode == "Love Mode" then | |
1535 | pcall(function() | |
1536 | sound(539294959,3,1,ra) | |
1537 | end) | |
1538 | local sphere = sphereefx(rut.CFrame * cf(0,0,-1.5),.7,7,Part4.BrickColor,.3) | |
1539 | magdamage(sphere.Position,7,random(4,6),851453784,1.5,true) | |
1540 | coroutine.resume(coroutine.create(function() | |
1541 | for i = 1,4 do | |
1542 | fire(sphere,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/10,math.random(3,6)/10,math.random(6,10)/20,"Neon",-7,7,"Block",10,.2,1,true) | |
1543 | for i = 1,random(1,2) do | |
1544 | wedgefire(rut,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/4,math.random(3,6)/4,math.random(6,10)/12,"Neon",-25,25,35,.3,1,true) | |
1545 | end | |
1546 | end | |
1547 | for i = 1,3 do | |
1548 | sphere = sphereefx(rut.CFrame * cf(0,0,-1.5),.7,7,Part4.BrickColor,.3) | |
1549 | magdamage(sphere.Position,7,random(4,6),851453784,1.5,true) | |
1550 | swait() | |
1551 | end | |
1552 | end)) | |
1553 | end | |
1554 | for i = 0,1,speed2 do | |
1555 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),i) | |
1556 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-10)),i) | |
1557 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(10)),i) | |
1558 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-60),rad(80)),i) | |
1559 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(60),rad(-80)),i) | |
1560 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i) | |
1561 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1562 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1563 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1564 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1565 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1566 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1567 | swait() | |
1568 | end | |
1569 | using = false | |
1570 | end | |
1571 | function tp() | |
1572 | pcall(function() | |
1573 | if mouse.Hit then | |
1574 | local oldtorsocf = t.CFrame | |
1575 | local sphere = sphereefx(rut.CFrame,3,9,Part4.BrickColor,.3) | |
1576 | if mode == "Light" then | |
1577 | magdamage(sphere.Position,12,random(3,5),851453784,1.5,true) | |
1578 | elseif mode == "Useless" then | |
1579 | - | elseif mode == "DEMORALIZATION" then |
1579 | + | |
1580 | elseif mode == "Empty" then | |
1581 | magdamage(sphere.Position,18,random(30,75),851453784,1.5,true) | |
1582 | elseif mode == "Love Mode" then | |
1583 | magdamage(sphere.Position,10,random(4,6),851453784,1.5,true) | |
1584 | end | |
1585 | for i = 1,4 do | |
1586 | fire(rut,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/6,math.random(3,6)/5,math.random(6,10)/17,"Neon",-12,12,"Block",15,.2,1,true) | |
1587 | for i = 1,random(1,2) do | |
1588 | wedgefire(rut,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/4,math.random(3,6)/4,math.random(6,10)/12,"Neon",-25,25,35,.3,1,true) | |
1589 | end | |
1590 | end | |
1591 | pcall(function() | |
1592 | sound(2346156347,6,1,t) | |
1593 | end) | |
1594 | rut.CFrame = cf(mouse.Hit.x,mouse.Hit.y,mouse.Hit.z) * cf(0,3,0) | |
1595 | - | if mode == "DEMORALIZATION" then |
1595 | + | |
1596 | - | wideness = 2.5 |
1596 | + | if mode == "Empty" then |
1597 | wideness = 1000 | |
1598 | end | |
1599 | partray(oldtorsocf,t.Position,Part4.BrickColor,wideness) | |
1600 | for i = 1,4 do | |
1601 | fire(rut,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/6,math.random(3,6)/5,math.random(6,10)/17,"Neon",-12,12,"Block",15,.2,1,true) | |
1602 | for i = 1,random(1,2) do | |
1603 | wedgefire(rut,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/4,math.random(3,6)/4,math.random(6,10)/12,"Neon",-25,25,35,.3,1,true) | |
1604 | end | |
1605 | end | |
1606 | for i = 1,3 do | |
1607 | sphere = sphereefx(rut.CFrame,5,12,Part4.BrickColor,.3) | |
1608 | if mode == "Light" then | |
1609 | magdamage(sphere.Position,12,random(3,5),851453784,1.5,true) | |
1610 | elseif mode == "Useless" then | |
1611 | - | elseif mode == "DEMORALIZATION" then |
1611 | + | |
1612 | elseif mode == "Empty" then | |
1613 | magdamage(sphere.Position,18,random(30,75),851453784,1.5,true) | |
1614 | elseif mode == "Love Mode" then | |
1615 | magdamage(sphere.Position,10,random(4,6),851453784,1.5,true) | |
1616 | end | |
1617 | swait() | |
1618 | end | |
1619 | end | |
1620 | end) | |
1621 | end | |
1622 | function throwfireanim() | |
1623 | using = true | |
1624 | local speed1 = .035 | |
1625 | local speed2 = .095 | |
1626 | if mode == "Love Mode" then | |
1627 | speed1 = .055 | |
1628 | speed2 = .095 | |
1629 | end | |
1630 | for i = 0,.7,speed1 do | |
1631 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(145)),i) | |
1632 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i) | |
1633 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i) | |
1634 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,-.5) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(10),rad(-70),rad(110)),i) | |
1635 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-10),rad(0),rad(-10)),i) | |
1636 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(195)),i) | |
1637 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1638 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1639 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1640 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1641 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1642 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1643 | swait() | |
1644 | end | |
1645 | throwfire(ra.CFrame*cf(0,-1.5,0),mouse.Hit.p,100) | |
1646 | for i = 0,.8,speed2 do | |
1647 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(215)),i) | |
1648 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i) | |
1649 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i) | |
1650 | rs.C0 = rs.C0:Lerp(CFrame.new(.85,.5,-.25) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-20),rad(40),rad(100)),i) | |
1651 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-15),rad(0),rad(10)),i) | |
1652 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(165)),i) | |
1653 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1654 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1655 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1656 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1657 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1658 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1659 | swait() | |
1660 | end | |
1661 | using = false | |
1662 | end | |
1663 | local sou = Instance.new("Sound") | |
1664 | ||
1665 | function roaranim() | |
1666 | using = true | |
1667 | roar.TimePosition = .3 | |
1668 | roar.Volume = 5 | |
1669 | - | if mode == "DEMORALIZATION" then |
1669 | + | |
1670 | if mode == "Empty" then | |
1671 | - | siez = 40 |
1671 | + | |
1672 | siez = 10000000 | |
1673 | end | |
1674 | roar:Play() | |
1675 | roaring = true | |
1676 | local hit,pos,rot = rayc(rut.Position,-rut.CFrame.UpVector,{char},500) | |
1677 | if hit then | |
1678 | placefirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),siez) | |
1679 | end | |
1680 | for i,v in pairs(char:GetChildren()) do | |
1681 | if v:IsA("BasePart") then | |
1682 | lesserfirepart(v) | |
1683 | end | |
1684 | end | |
1685 | for i = 0,.8,.065 do | |
1686 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-70),rad(0),rad(180)),i) | |
1687 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-20)),i) | |
1688 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(20)),i) | |
1689 | rs.C0 = rs.C0:Lerp(CFrame.new(1.5,.5,-.4) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-110),rad(75)),i) | |
1690 | ls.C0 = ls.C0:Lerp(CFrame.new(-1.5,.5,-.4) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(110),rad(-75)),i) | |
1691 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-50),rad(0),rad(180)),i) | |
1692 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1693 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1694 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1695 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1696 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1697 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1698 | swait() | |
1699 | end | |
1700 | repeat | |
1701 | change = change+sine | |
1702 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-70),rad(0),rad(180)) * angles(-cos(change/aa/2.5) * rad(10),0,0),.1) | |
1703 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-20)) * angles(0,0,-cos(change/aa/2.5) * rad(10)),.1) | |
1704 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(20)) * angles(0,0,cos(change/aa/2.5) * rad(10)),.1) | |
1705 | rs.C0 = rs.C0:Lerp(CFrame.new(1.5,.5,-.4) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-110),rad(75)),.1) | |
1706 | ls.C0 = ls.C0:Lerp(CFrame.new(-1.5,.5,-.4) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(110),rad(-75)),.1) | |
1707 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-50),rad(0),rad(180)) * angles(cos(change/aa/1.5)*rad(10),sin(change/aa/1.5)*rad(2.5),sin(change/aa/1)*rad(10)) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),.1) | |
1708 | swait() | |
1709 | until roar.TimePosition >=5 | |
1710 | roar:Stop() | |
1711 | roaring = false | |
1712 | using = false | |
1713 | end | |
1714 | function giantkickorstompanim() | |
1715 | if mode == "Light" and not superattackcooldown1 then | |
1716 | superattackcooldown1 = true | |
1717 | using = true | |
1718 | hum.WalkSpeed = 0 | |
1719 | hum.JumpPower = 0 | |
1720 | for i = 0,.8,.045 do | |
1721 | hum.WalkSpeed = 0 | |
1722 | hum.JumpPower = 0 | |
1723 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),i) | |
1724 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.35,-.5) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-10)),i) | |
1725 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(10)),i) | |
1726 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(40),rad(125)),i) | |
1727 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(-40),rad(-125)),i) | |
1728 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),i) | |
1729 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1730 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1731 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1732 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1733 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1734 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1735 | swait() | |
1736 | end | |
1737 | local hit,pos,rot = rayc(rut.Position,-rut.CFrame.UpVector,{char},500) | |
1738 | if hit then | |
1739 | placefirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),75) | |
1740 | end | |
1741 | for i = 0,.8,.065 do | |
1742 | hum.WalkSpeed = 0 | |
1743 | hum.JumpPower = 0 | |
1744 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),i) | |
1745 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,-.5) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(10)),i) | |
1746 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-10)),i) | |
1747 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(40),rad(-45)),i) | |
1748 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(-40),rad(45)),i) | |
1749 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),i) | |
1750 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1751 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1752 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1753 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1754 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1755 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1756 | swait() | |
1757 | end | |
1758 | using = false | |
1759 | superattackcooldown1 = false | |
1760 | elseif mode == "Useless" and not superattackcooldown2 then | |
1761 | superattackcooldown2 = true | |
1762 | using = true | |
1763 | hum.WalkSpeed = 0 | |
1764 | hum.JumpPower = 0 | |
1765 | for i = 0,1.6,.045 do | |
1766 | hum.WalkSpeed = 0 | |
1767 | hum.JumpPower = 0 | |
1768 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-1,0) * CFrame.Angles(rad(-90),rad(-20),rad(160)) * CFrame.Angles(rad(60),rad(0),rad(0)),i) | |
1769 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.3,-.6) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(30),rad(15)),i) | |
1770 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,.7,.1) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(40),rad(-35)),i) | |
1771 | rs.C0 = rs.C0:Lerp(CFrame.new(.9,.35,.15) * cf(random(-2,2)/20,random(-2,2)/20,random(-2,2)/20) * CFrame.Angles(rad(0),rad(60),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(110)),i) | |
1772 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.4,-.5) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(20),rad(-60)),i) | |
1773 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-120),rad(0),rad(200)),i) | |
1774 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1775 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1776 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1777 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1778 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1779 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1780 | swait() | |
1781 | end | |
1782 | local hit,pos,rot = rayc(rut.Position,-rut.CFrame.UpVector,{char},500) | |
1783 | if hit then | |
1784 | placefirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),200) | |
1785 | end | |
1786 | for i = 0,.6,.06 do | |
1787 | hum.WalkSpeed = 0 | |
1788 | hum.JumpPower = 0 | |
1789 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-1,0) * CFrame.Angles(rad(-90),rad(10),rad(200)) * CFrame.Angles(rad(60),rad(0),rad(0)),i) | |
1790 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.3,-.6) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-10),rad(5)),i) | |
1791 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.7,.1) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(40),rad(-35)),i) | |
1792 | rs.C0 = rs.C0:Lerp(CFrame.new(.9,.25,-.75) * cf(random(-2,2)/20,random(-2,2)/20,random(-2,2)/20) * CFrame.Angles(rad(0),rad(60),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(60)),i) | |
1793 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.4,-.5) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(10),rad(-50)),i) | |
1794 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-120),rad(0),rad(160)),i) | |
1795 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1796 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1797 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1798 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1799 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1800 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1801 | swait() | |
1802 | end | |
1803 | using = false | |
1804 | wait(7) | |
1805 | - | elseif mode == "DEMORALIZATION" and not superattackcooldown3 then |
1805 | + | |
1806 | elseif mode == "Empty" and not superattackcooldown3 then | |
1807 | superattackcooldown3 = true | |
1808 | using = true | |
1809 | hum.WalkSpeed = 0 | |
1810 | hum.JumpPower = 0 | |
1811 | for i = 0,1.6,.045 do | |
1812 | hum.WalkSpeed = 0 | |
1813 | hum.JumpPower = 0 | |
1814 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-1,0) * CFrame.Angles(rad(-90),rad(-20),rad(160)) * CFrame.Angles(rad(60),rad(0),rad(0)),i) | |
1815 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.3,-.6) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(30),rad(15)),i) | |
1816 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,.7,.1) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(40),rad(-35)),i) | |
1817 | rs.C0 = rs.C0:Lerp(CFrame.new(.9,.35,.15) * cf(random(-2,2)/20,random(-2,2)/20,random(-2,2)/20) * CFrame.Angles(rad(0),rad(60),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(110)),i) | |
1818 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.4,-.5) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(20),rad(-60)),i) | |
1819 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-120),rad(0),rad(200)),i) | |
1820 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1821 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1822 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1823 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1824 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1825 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1826 | swait() | |
1827 | end | |
1828 | local hit,pos,rot = rayc(rut.Position,-rut.CFrame.UpVector,{char},500) | |
1829 | if hit then | |
1830 | placefirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),huge) | |
1831 | end | |
1832 | for i = 0,.6,.06 do | |
1833 | hum.WalkSpeed = 0 | |
1834 | hum.JumpPower = 0 | |
1835 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-1,0) * CFrame.Angles(rad(-90),rad(10),rad(200)) * CFrame.Angles(rad(60),rad(0),rad(0)),i) | |
1836 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.3,-.6) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-10),rad(5)),i) | |
1837 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.7,.1) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(40),rad(-35)),i) | |
1838 | rs.C0 = rs.C0:Lerp(CFrame.new(.9,.25,-.75) * cf(random(-2,2)/20,random(-2,2)/20,random(-2,2)/20) * CFrame.Angles(rad(0),rad(60),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(60)),i) | |
1839 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.4,-.5) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(10),rad(-50)),i) | |
1840 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-120),rad(0),rad(160)),i) | |
1841 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1842 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1843 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1844 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1845 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1846 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1847 | swait() | |
1848 | end | |
1849 | using = false | |
1850 | wait(4) | |
1851 | superattackcooldown3 = false | |
1852 | elseif mode == "Love Mode" and not superattackcooldown4 then | |
1853 | superattackcooldown4 = true | |
1854 | using = true | |
1855 | hum.WalkSpeed = 0 | |
1856 | hum.JumpPower = 0 | |
1857 | for i = 0,.95,.055 do | |
1858 | hum.WalkSpeed = 0 | |
1859 | hum.JumpPower = 0 | |
1860 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,.1) * CFrame.Angles(rad(-80),rad(0),rad(180)),i) | |
1861 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.7,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(170)),i) | |
1862 | ls.C0 = ls.C0:Lerp(CFrame.new(-.7,.4,0) * CFrame.Angles(0,rad(-90),rad(0)) * CFrame.Angles(rad(2),rad(-90),rad(-91)),i) | |
1863 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-60),rad(0),rad(180)),i) | |
1864 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1865 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1866 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1867 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1868 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1869 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1870 | swait() | |
1871 | end | |
1872 | hum.WalkSpeed = 35 | |
1873 | hum.JumpPower = 85 | |
1874 | coroutine.resume(coroutine.create(function() | |
1875 | sound(376107717,10,1,h) | |
1876 | sphereefx(ra.CFrame*cf(0,-1,0),1,3,Part4.BrickColor,.2) | |
1877 | partray(ra.CFrame,v3(ra.CFrame.x,ra.CFrame.y+500,ra.CFrame.z),tostring(Part4.BrickColor),1,.5) | |
1878 | wait(.5) | |
1879 | for i = 1,random(5,8) do | |
1880 | skybeam(cf(rut.CFrame.x+random(-50,50),rut.CFrame.y+150,rut.CFrame.z+random(-50,50))) | |
1881 | end | |
1882 | end)) | |
1883 | using = false | |
1884 | wait(2) | |
1885 | superattackcooldown4 = false | |
1886 | end | |
1887 | end | |
1888 | function laseranim() | |
1889 | using = true | |
1890 | local speed1 = .03 | |
1891 | if mode == "Love Mode" then | |
1892 | speed1 = .05 | |
1893 | end | |
1894 | for i = 0,.8,speed1 do | |
1895 | turnto(mouse.Hit.p) | |
1896 | hum.WalkSpeed = 0 | |
1897 | hum.JumpPower = 0 | |
1898 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(270)),i) | |
1899 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i) | |
1900 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i) | |
1901 | rs.C0 = rs.C0:Lerp(CFrame.new(1.25,0,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-90),rad(0),rad(0)),i) | |
1902 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(-10),rad(15)),i) | |
1903 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(90)),i) | |
1904 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1905 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1906 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1907 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1908 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1909 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1910 | swait() | |
1911 | end | |
1912 | sphereefx(ra.CFrame*cf(0,-1,0),1,3,Part4.BrickColor,.2) | |
1913 | local soun = sound(376107717,5,1,h) | |
1914 | laser(Part4,mouse.Hit.p) | |
1915 | using = false | |
1916 | end | |
1917 | function skystrikeanim() | |
1918 | using = true | |
1919 | local speed1 = .03 | |
1920 | if mode == "Love Mode" then | |
1921 | speed1 = .05 | |
1922 | end | |
1923 | for i = 0,.8,speed1 do | |
1924 | hum.WalkSpeed = 0 | |
1925 | hum.JumpPower = 0 | |
1926 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,.1,.1) * CFrame.Angles(rad(-80),rad(0),rad(180)),i) | |
1927 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1.1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-10)),i) | |
1928 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1.1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(10)),i) | |
1929 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.7,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(10),rad(-15),rad(170)),i) | |
1930 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-15),rad(0),rad(10)),i) | |
1931 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-60),rad(0),rad(180)),i) | |
1932 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
1933 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
1934 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
1935 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
1936 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
1937 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
1938 | swait() | |
1939 | end | |
1940 | skybeam(cf(mouse.Hit.x,mouse.Hit.y,mouse.Hit.z)) | |
1941 | using = false | |
1942 | end | |
1943 | ||
1944 | --Connections | |
1945 | mouse.Button1Down:Connect(function() | |
1946 | if not using then | |
1947 | if currentpunch == 1 then | |
1948 | currentpunch = currentpunch+1 | |
1949 | punch1() | |
1950 | elseif currentpunch == 2 then | |
1951 | currentpunch = currentpunch+1 | |
1952 | punch2() | |
1953 | elseif currentpunch == 3 then | |
1954 | currentpunch = 1 | |
1955 | punch3() | |
1956 | end | |
1957 | end | |
1958 | end) | |
1959 | mouse.KeyDown:Connect(function(key) | |
1960 | if key == "q" and mode == "Light" then | |
1961 | changecolors(.25,modecolors.demoralizedcolors.color1,modecolors.demoralizedcolors.color2,modecolors.demoralizedcolors.neoncolor) | |
1962 | mode = "Useless" | |
1963 | text.Text = mode | |
1964 | if music or music.Parent then | |
1965 | music.SoundId = ids.demoralizedmode | |
1966 | songid = ids.demoralizedmode | |
1967 | if not deafen then | |
1968 | music.Volume = 10 | |
1969 | vol = 10 | |
1970 | end | |
1971 | end | |
1972 | - | mode = "DEMORALIZATION" |
1972 | + | |
1973 | mode = "Empty" | |
1974 | text.Text = mode | |
1975 | changecolors(.25,modecolors.demoralizationcolors.color1,modecolors.demoralizationcolors.color2,modecolors.demoralizationcolors.neoncolor) | |
1976 | if music or music.Parent then | |
1977 | music.SoundId = ids.demoralizationmode | |
1978 | songid = ids.demoralizationmode | |
1979 | if not deafen then | |
1980 | music.Volume = 10 | |
1981 | vol = 10 | |
1982 | end | |
1983 | - | elseif key == "q" and mode == "DEMORALIZATION" then |
1983 | + | |
1984 | elseif key == "q" and mode == "Empty" then | |
1985 | changecolors(.25,modecolors.starcolors.color1,modecolors.starcolors.color2,modecolors.starcolors.neoncolor) | |
1986 | mode = "Love Mode" | |
1987 | text.Text = mode | |
1988 | if music or music.Parent then | |
1989 | music.SoundId = ids.starmode | |
1990 | songid = ids.starmode | |
1991 | if not deafen then | |
1992 | music.Volume = 10 | |
1993 | vol = 10 | |
1994 | end | |
1995 | end | |
1996 | elseif key == "q" and mode == "Love Mode" then | |
1997 | changecolors(.25,modecolors.normalcolors.color1,modecolors.normalcolors.color2,modecolors.normalcolors.neoncolor) | |
1998 | mode = "Light" | |
1999 | text.Text = mode | |
2000 | if music or music.Parent then | |
2001 | music.SoundId = ids.normalmode | |
2002 | songid = ids.normalmode | |
2003 | if not deafen then | |
2004 | music.Volume = 10 | |
2005 | vol = 10 | |
2006 | end | |
2007 | end | |
2008 | end | |
2009 | if key == "x" and not using then | |
2010 | tp() | |
2011 | end | |
2012 | if key == "r" and not using then | |
2013 | throwfireanim() | |
2014 | - | if key == "t" and not using and mode == "Useless" or key == "t" and not using and mode == "DEMORALIZATION" then |
2014 | + | |
2015 | if key == "t" and not using and mode == "Useless" or key == "t" and not using and mode == "Empty" then | |
2016 | roaranim() | |
2017 | end | |
2018 | if key == "n" and not using then | |
2019 | giantkickorstompanim() | |
2020 | end | |
2021 | if key == "f" and not using then | |
2022 | laseranim() | |
2023 | end | |
2024 | if key == "m" and not deafen then | |
2025 | deafen = true | |
2026 | music.Volume = 0 | |
2027 | vol = 0 | |
2028 | elseif key == "m" and deafen then | |
2029 | deafen = false | |
2030 | - | if mode == "DEMORALIZATION" then |
2030 | + | |
2031 | if mode == "Empty" then | |
2032 | vol = 5 | |
2033 | end | |
2034 | music.Volume = vol | |
2035 | end | |
2036 | if key == "e" and not using then | |
2037 | skystrikeanim() | |
2038 | end | |
2039 | end) | |
2040 | ||
2041 | --Animations | |
2042 | local firewristbandeffects = coroutine.wrap(function() | |
2043 | while hum.Health >.01 do | |
2044 | if mode == "Light" and not roaring and not landed then | |
2045 | hum.WalkSpeed = 16 | |
2046 | hum.JumpPower = 50 | |
2047 | jp = 50 | |
2048 | elseif mode == "Useless" and not roaring and not landed then | |
2049 | hum.WalkSpeed = 12 | |
2050 | hum.JumpPower = 50 | |
2051 | - | elseif mode == "DEMORALIZATION" and not roaring and not landed then |
2051 | + | |
2052 | elseif mode == "Empty" and not roaring and not landed then | |
2053 | hum.WalkSpeed = 10 | |
2054 | hum.JumpPower = 50 | |
2055 | jp = 50 | |
2056 | elseif mode == "Love Mode" and not roaring and not landed then | |
2057 | hum.WalkSpeed = 25 | |
2058 | hum.JumpPower = 60 | |
2059 | jp = 60 | |
2060 | end | |
2061 | if roaring then | |
2062 | hum.WalkSpeed = 25 | |
2063 | hum.JumpPower = 60 | |
2064 | end | |
2065 | if mode == "Useless" then | |
2066 | local hit,pos,rot = rayc(rut.Position,-rut.CFrame.UpVector,{char},500) | |
2067 | local rand = random(1,7) | |
2068 | if hit and rand == 7 then | |
2069 | placeweakfirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),random(3,6)) | |
2070 | - | elseif mode == "DEMORALIZATION" then |
2070 | + | |
2071 | elseif mode == "Empty" then | |
2072 | local hit,pos,rot = rayc(rut.Position,-rut.CFrame.UpVector,{char},500) | |
2073 | local rand = random(1,7) | |
2074 | if hit and rand == 5 then | |
2075 | placeweakfirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),random(7,12)) | |
2076 | end | |
2077 | end | |
2078 | if not roar.Parent then | |
2079 | roar = ins("Sound",rut) | |
2080 | roar.Volume = 5 | |
2081 | roar.SoundId = "rbxassetid://2631687985" | |
2082 | roar.EmitterSize = 100 | |
2083 | end | |
2084 | local rand = random(1,3) | |
2085 | if rand == 2 then | |
2086 | wedgefire(Part8,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,10)/20,math.random(3,6)/20,math.random(6,10)/11,"Neon",-2,2,5,.3,1,true) | |
2087 | end | |
2088 | fire(Part8,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/15,math.random(3,6)/15,math.random(6,10)/12,"Neon",-1,1,"Block",3,.2,1,true) | |
2089 | wait(random(2,4)/6) | |
2090 | end | |
2091 | end) | |
2092 | local anims = coroutine.wrap(function() | |
2093 | while hum.Health > .01 do | |
2094 | signweld.C0 = angles(rad(0),rad(90),rad(0)) | |
2095 | if not lsound.Parent then | |
2096 | lsound = Instance.new("Sound",effpart) lsound.Volume = lsvol lsound.SoundId = "rbxassetid://1161221108" | |
2097 | end | |
2098 | if not music.Parent or not music then | |
2099 | music = ins("Sound",t) | |
2100 | music.Volume = vol | |
2101 | music.SoundId = songid | |
2102 | music.Looped = true | |
2103 | music.TimePosition = timepos | |
2104 | music.EmitterSize = 100 | |
2105 | music:Play() | |
2106 | end | |
2107 | if not effects or not effects.Parent then | |
2108 | effects = ins("Model",char) | |
2109 | effects.Name = "Effects" | |
2110 | end | |
2111 | timepos = music.TimePosition | |
2112 | local hit,pos,rot = rayc(rut.Position -v3(0,1,0),-rut.CFrame.UpVector,{char},2.7) | |
2113 | local grhit,grpos,grrot = rayc(grabpart.Position,-grabpart.CFrame.UpVector,{char},1) | |
2114 | phit = hit | |
2115 | if not using then | |
2116 | if grhit and grhit.Anchored == true then | |
2117 | cangrabthecorner = true | |
2118 | else | |
2119 | cangrabthecorner = false | |
2120 | end | |
2121 | end | |
2122 | ||
2123 | if cangrabthecorner and not grabbedc then | |
2124 | local shit,spos,srot = rayc(rut.Position+Vector3.new(0,2.5,0),rut.CFrame.LookVector,{char},1.5) | |
2125 | if shit then | |
2126 | grabbedc = true | |
2127 | local cf = CFrame.new(spos,spos+srot) * CFrame.Angles(rad(0),rad(180),0) * CFrame.new(0,-2,.7) | |
2128 | using = true | |
2129 | cangrabthecorner = false | |
2130 | rut.Anchored = true | |
2131 | local oldws = hum.WalkSpeed | |
2132 | hum.WalkSpeed = 0 | |
2133 | hum.JumpPower = 0 | |
2134 | rut.CFrame = cf | |
2135 | local curcf = rut.CFrame | |
2136 | for i = 0,1,.1 do | |
2137 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i) | |
2138 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i) | |
2139 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i) | |
2140 | rs.C0 = rs.C0:Lerp(CFrame.new(.85,.8,.5) * CFrame.Angles(rad(160),rad(90),rad(0)),i) | |
2141 | ls.C0 = ls.C0:Lerp(CFrame.new(-.85,.8,.5) * CFrame.Angles(rad(160),rad(-90),rad(0)),i) | |
2142 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-30),rad(0),rad(180)),i) | |
2143 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
2144 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
2145 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
2146 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
2147 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2148 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2149 | swait() | |
2150 | end | |
2151 | for i = 0,.65,.025 do | |
2152 | rut.CFrame = rut.CFrame:Lerp(curcf * CFrame.new(0,4.5,-1.5),i) | |
2153 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-.4,0) * CFrame.Angles(rad(-120),rad(0),rad(180)),i) | |
2154 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.6,-.6) * CFrame.Angles(rad(-20),rad(90),rad(0)),i) | |
2155 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.1,-.6) * CFrame.Angles(rad(30),rad(-90),rad(0)),i) | |
2156 | rs.C0 = rs.C0:Lerp(CFrame.new(.85,.3,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(10)),i) | |
2157 | ls.C0 = ls.C0:Lerp(CFrame.new(-.85,.3,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(10)),i) | |
2158 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),i) | |
2159 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
2160 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
2161 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
2162 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
2163 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2164 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2165 | swait() | |
2166 | end | |
2167 | hum.WalkSpeed = oldws | |
2168 | rut.Anchored = false | |
2169 | t.Anchored = false | |
2170 | using = false | |
2171 | grabbedc = false | |
2172 | end | |
2173 | end | |
2174 | ||
2175 | walkspeed = hum.WalkSpeed | |
2176 | sumthin = walkspeed/8 | |
2177 | animspeed1 = 1.5/sumthin | |
2178 | change = change +sine | |
2179 | ||
2180 | local vervel = rut.Velocity.y | |
2181 | local tvel = (rut.Velocity * v3(1,0,1)).Magnitude | |
2182 | local Ccf=rut.CFrame | |
2183 | local Walktest1 = hum.MoveDirection*Ccf.LookVector | |
2184 | local Walktest2 = hum.MoveDirection*Ccf.RightVector | |
2185 | local rotfb = Walktest1.X+Walktest1.Z | |
2186 | local rotrl = Walktest2.X+Walktest2.Z | |
2187 | ||
2188 | if lookinaround then | |
2189 | lchange = lchange +sine | |
2190 | else | |
2191 | lchange = 0 | |
2192 | end | |
2193 | ||
2194 | if anim == "fall" and not hit then | |
2195 | readytoland = true | |
2196 | end | |
2197 | ||
2198 | if readytoland then | |
2199 | hum.JumpPower = 0 | |
2200 | else | |
2201 | hum.JumpPower = jp | |
2202 | end | |
2203 | ||
2204 | if not landed then | |
2205 | if readytoland and hit then | |
2206 | land() | |
2207 | end | |
2208 | if mode == "Light" then | |
2209 | if not hum.Sit then | |
2210 | if anim == "idle" and hit ~= nil then | |
2211 | if not using then | |
2212 | --Neck | |
2213 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa/2.5)/(2.5*10)) * CFrame.Angles(sin(change/aa/2.5)*rad(1),0,-sin(change/aa/2.5)*rad(1)),.1) | |
2214 | --Humanoid Root Part | |
2215 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10)) * CFrame.Angles(sin(change/aa/2.5)*rad(1),0,0),.1) | |
2216 | --Shoulders | |
2217 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(-cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(change/aa/1.5)*rad(1),sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(2.5)),.1) | |
2218 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(1),-sin(change/aa/2.5)*rad(2.5)),.1) | |
2219 | --Hips | |
2220 | rh.C1 = rh.C1:Lerp(cff5 * CFrame.new(cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1) | |
2221 | lh.C1 = lh.C1:Lerp(cff6 * CFrame.new(-cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,-sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1) | |
2222 | end | |
2223 | elseif anim == "sit" then | |
2224 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
2225 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
2226 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
2227 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
2228 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2229 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2230 | elseif anim == "jump" and hit == nil then | |
2231 | if not using then | |
2232 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.Angles(-rotfb/3,0,rotrl/3),.1) | |
2233 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.Angles(-rotfb/5,rotrl/5,0),.1) | |
2234 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.Angles(-rotrl/3,rotfb/3,-rotfb/3),.1) | |
2235 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.Angles(rotrl/3,-rotfb/3,rotfb/3),.1) | |
2236 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2237 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2238 | end | |
2239 | elseif anim == "fall" and hit == nil then | |
2240 | if not using then | |
2241 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.Angles(rotfb/2,0,rotrl),.1) | |
2242 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.Angles(-rotfb/5,rotrl/5,rotrl/5),.1) | |
2243 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.Angles(-rotrl/3,rotfb/3,rotfb/3),.1) | |
2244 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.Angles(rotrl/3,-rotfb/3,-rotfb/3),.1) | |
2245 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2246 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2247 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.025) | |
2248 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.025) | |
2249 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.025) | |
2250 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(20)),.025) | |
2251 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(-20)),.025) | |
2252 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.025) | |
2253 | end | |
2254 | elseif anim == "walk" and hit ~= nil then | |
2255 | if not using then | |
2256 | --Neck | |
2257 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa/animspeed1)/17.5) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(5),-rut.RotVelocity.y/90,rut.RotVelocity.y/60),walkanimspeed) | |
2258 | --Humanoid Root Part | |
2259 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,0,cos(change/aa/animspeed1)/15) * CFrame.Angles(sin(change/aa/animspeed1)*rad(2.5*sumthin),-rut.RotVelocity.y/100,sin(change/aa/animspeed1)*rad(5*sumthin) * -rut.RotVelocity.y/100) * CFrame.Angles(-rotfb/5,rotrl/5,0),walkanimspeed) | |
2260 | --Shoulders | |
2261 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(0,0,0) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(3*sumthin)*rotfb,-sin(change/aa/animspeed1)*rad(5)*rotfb,0) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(35*sumthin)*rotfb),walkanimspeed) | |
2262 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(0,0,0) * CFrame.Angles(sin(change/aa/animspeed1)*rad(3*sumthin)*rotfb,-sin(change/aa/animspeed1)*rad(5)*rotfb,0) * CFrame.Angles(sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(35*sumthin)*rotfb),walkanimspeed) | |
2263 | --Hips | |
2264 | rh.C1 = rh.C1:Lerp(cf5 * CFrame.new((cos(change/aa/animspeed1)/3.5)*rotfb or (cos(change/aa/animspeed1)/3.5)*rotrl,(cos(change/aa/animspeed1)/4),(cos(change/aa/animspeed1)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,sin(change/aa/animspeed1)*rad(30*sumthin)*rotfb),walkanimspeed) | |
2265 | lh.C1 = lh.C1:Lerp(cf6 * CFrame.new((cos(change/aa/animspeed1)/3.5)*rotfb or (cos(change/aa/animspeed1)/3.5)*rotrl,(-cos(change/aa/animspeed1)/4),(cos(change/aa/animspeed1)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,sin(change/aa/animspeed1)*rad(30*sumthin)*rotfb),walkanimspeed) | |
2266 | end | |
2267 | end | |
2268 | else | |
2269 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
2270 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
2271 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
2272 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
2273 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2274 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2275 | end | |
2276 | elseif mode == "Useless" then | |
2277 | if not hum.Sit then | |
2278 | if anim == "idle" and hit ~= nil then | |
2279 | if not using then | |
2280 | --Neck | |
2281 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa/2.5)/(2.5*10)) * CFrame.Angles(sin(change/aa/2.5)*rad(1),0,-sin(change/aa*1.5)*rad(5)) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),.1) | |
2282 | --Humanoid Root Part | |
2283 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10)) * CFrame.Angles(sin(change/aa/2.5)*rad(1),0,0),.1) | |
2284 | --Shoulders | |
2285 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(change/aa/1.5)*rad(1),sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(2.5)) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),.1) | |
2286 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(1),-sin(change/aa/2.5)*rad(2.5)) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),.1) | |
2287 | --Hips | |
2288 | rh.C1 = rh.C1:Lerp(cff5 * CFrame.new(cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1) | |
2289 | lh.C1 = lh.C1:Lerp(cff6 * CFrame.new(-cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,-sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1) | |
2290 | end | |
2291 | elseif anim == "sit" then | |
2292 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
2293 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
2294 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
2295 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
2296 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2297 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2298 | elseif anim == "jump" and hit == nil then | |
2299 | if not using then | |
2300 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.Angles(-rotfb/3,0,rotrl/3),.1) | |
2301 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.Angles(-rotfb/5,rotrl/5,0),.1) | |
2302 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.Angles(-rotrl/3,rotfb/3,-rotfb/3),.1) | |
2303 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.Angles(rotrl/3,-rotfb/3,rotfb/3),.1) | |
2304 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2305 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2306 | end | |
2307 | elseif anim == "fall" and hit == nil then | |
2308 | if not using then | |
2309 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.Angles(rotfb/2,0,rotrl),.1) | |
2310 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.Angles(-rotfb/5,rotrl/5,rotrl/5),.1) | |
2311 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.Angles(-rotrl/3,rotfb/3,rotfb/3),.1) | |
2312 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.Angles(rotrl/3,-rotfb/3,-rotfb/3),.1) | |
2313 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2314 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2315 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.025) | |
2316 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.025) | |
2317 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.025) | |
2318 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(20)),.025) | |
2319 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(-20)),.025) | |
2320 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.025) | |
2321 | end | |
2322 | elseif anim == "walk" and hit ~= nil then | |
2323 | if not using then | |
2324 | --Neck | |
2325 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa/animspeed1)/17.5) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(5),-rut.RotVelocity.y/90,rut.RotVelocity.y/60) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),walkanimspeed) | |
2326 | --Humanoid Root Part | |
2327 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,0,cos(change/aa/animspeed1)/15) * CFrame.Angles(sin(change/aa/animspeed1)*rad(2.5*sumthin),-rut.RotVelocity.y/100,sin(change/aa/animspeed1)*rad(5*sumthin) * -rut.RotVelocity.y/100) * CFrame.Angles(-rotfb/5,rotrl/5,0),walkanimspeed) | |
2328 | --Shoulders | |
2329 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(cos(change/aa/2.5)/(1.5*10),-cos(change/aa/2.5)/(1.5*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(2.5)) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),.1) | |
2330 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(0,0,0) * CFrame.Angles(sin(change/aa/animspeed1)*rad(3*sumthin)*rotfb,-sin(change/aa/animspeed1)*rad(10)*rotfb,0) * CFrame.Angles(sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(15)*rotfb,-sin(change/aa/animspeed1)*rad(35*sumthin)*rotfb or rotrl) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),walkanimspeed) | |
2331 | --Hips | |
2332 | rh.C1 = rh.C1:Lerp(cf5 * CFrame.new((cos(change/aa/animspeed1)/3.5)*rotfb or (cos(change/aa/animspeed1)/3.5)*rotrl,(cos(change/aa/animspeed1)/4),(cos(change/aa/animspeed1)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,sin(change/aa/animspeed1)*rad(30*sumthin)*rotfb),walkanimspeed) | |
2333 | lh.C1 = lh.C1:Lerp(cf6 * CFrame.new((cos(change/aa/animspeed1)/3.5)*rotfb or (cos(change/aa/animspeed1)/3.5)*rotrl,(-cos(change/aa/animspeed1)/4),(cos(change/aa/animspeed1)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,sin(change/aa/animspeed1)*rad(30*sumthin)*rotfb),walkanimspeed) | |
2334 | end | |
2335 | end | |
2336 | else | |
2337 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
2338 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
2339 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
2340 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
2341 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2342 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2343 | - | elseif mode == "DEMORALIZATION" then |
2343 | + | |
2344 | elseif mode == "Empty" then | |
2345 | if not hum.Sit then | |
2346 | if anim == "idle" and hit ~= nil then | |
2347 | if not using then | |
2348 | --Neck | |
2349 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa/2.5)/(2.5*10)) * CFrame.Angles(sin(change/aa/2.5)*rad(1),0,-sin(change/aa*1.25)*rad(10)) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),.1) | |
2350 | --Humanoid Root Part | |
2351 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10)) * CFrame.Angles(sin(change/aa/2.5)*rad(1),0,0),.1) | |
2352 | --Shoulders | |
2353 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(change/aa/1.5)*rad(1),sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(2.5)) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),.1) | |
2354 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(1),-sin(change/aa/2.5)*rad(2.5)) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),.1) | |
2355 | --Hips | |
2356 | rh.C1 = rh.C1:Lerp(cff5 * CFrame.new(cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1) | |
2357 | lh.C1 = lh.C1:Lerp(cff6 * CFrame.new(-cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,-sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1) | |
2358 | end | |
2359 | elseif anim == "sit" then | |
2360 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
2361 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
2362 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
2363 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
2364 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2365 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2366 | elseif anim == "jump" and hit == nil then | |
2367 | if not using then | |
2368 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.Angles(-rotfb/3,0,rotrl/3),.1) | |
2369 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.Angles(-rotfb/5,rotrl/5,0),.1) | |
2370 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.Angles(-rotrl/3,rotfb/3,-rotfb/3),.1) | |
2371 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.Angles(rotrl/3,-rotfb/3,rotfb/3),.1) | |
2372 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2373 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2374 | end | |
2375 | elseif anim == "fall" and hit == nil then | |
2376 | if not using then | |
2377 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.Angles(rotfb/2,0,rotrl),.1) | |
2378 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.Angles(-rotfb/5,rotrl/5,rotrl/5),.1) | |
2379 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.Angles(-rotrl/3,rotfb/3,rotfb/3),.1) | |
2380 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.Angles(rotrl/3,-rotfb/3,-rotfb/3),.1) | |
2381 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2382 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2383 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.025) | |
2384 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.025) | |
2385 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.025) | |
2386 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(20)),.025) | |
2387 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(-20)),.025) | |
2388 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.025) | |
2389 | end | |
2390 | elseif anim == "walk" and hit ~= nil then | |
2391 | if not using then | |
2392 | --Neck | |
2393 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa/animspeed1)/17.5) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(5),-rut.RotVelocity.y/90,rut.RotVelocity.y/60) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),walkanimspeed) | |
2394 | --Humanoid Root Part | |
2395 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,0,cos(change/aa/animspeed1)/15) * CFrame.Angles(sin(change/aa/animspeed1)*rad(2.5*sumthin),-rut.RotVelocity.y/100,sin(change/aa/animspeed1)*rad(5*sumthin) * -rut.RotVelocity.y/100) * CFrame.Angles(-rotfb/5,rotrl/5,0),walkanimspeed) | |
2396 | --Shoulders | |
2397 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(0,0,0) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(3*sumthin)*rotfb,-sin(change/aa/animspeed1)*rad(5)*rotfb,0) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(20*sumthin)*rotfb),walkanimspeed) | |
2398 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(0,0,0) * CFrame.Angles(sin(change/aa/animspeed1)*rad(3*sumthin)*rotfb,-sin(change/aa/animspeed1)*rad(5)*rotfb,0) * CFrame.Angles(sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(20*sumthin)*rotfb),walkanimspeed) | |
2399 | --Hips | |
2400 | rh.C1 = rh.C1:Lerp(cf5 * CFrame.new((cos(change/aa/animspeed1)/3.5)*rotfb or (cos(change/aa/animspeed1)/3.5)*rotrl,(cos(change/aa/animspeed1)/4),(cos(change/aa/animspeed1)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,sin(change/aa/animspeed1)*rad(30*sumthin)*rotfb),walkanimspeed) | |
2401 | lh.C1 = lh.C1:Lerp(cf6 * CFrame.new((cos(change/aa/animspeed1)/3.5)*rotfb or (cos(change/aa/animspeed1)/3.5)*rotrl,(-cos(change/aa/animspeed1)/4),(cos(change/aa/animspeed1)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,sin(change/aa/animspeed1)*rad(30*sumthin)*rotfb),walkanimspeed) | |
2402 | end | |
2403 | end | |
2404 | else | |
2405 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
2406 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
2407 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
2408 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
2409 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2410 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2411 | end | |
2412 | elseif mode == "Love Mode" then | |
2413 | if not hum.Sit then | |
2414 | if anim == "idle" and hit ~= nil then | |
2415 | if not using then | |
2416 | --Neck | |
2417 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,0) * CFrame.Angles(sin(change/aa/2.5)*rad(1),sin(change/aa/3.5)*rad(6.5),-sin(change/aa/2.5)*rad(1)),.1) | |
2418 | --Humanoid Root Part | |
2419 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10)) * CFrame.Angles(sin(change/aa/2.5)*rad(1),0,0),.1) | |
2420 | --Shoulders | |
2421 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(-cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,0) * CFrame.Angles(sin(change/aa/1.5)*rad(1),sin(change/aa/2.5)*rad(3),sin(change/aa/2.5)*rad(2.5)),.1) | |
2422 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,0) * CFrame.Angles(sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(3),-sin(change/aa/2.5)*rad(2.5)),.1) | |
2423 | --Hips | |
2424 | rh.C1 = rh.C1:Lerp(cff5 * CFrame.new(cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1) | |
2425 | lh.C1 = lh.C1:Lerp(cff6 * CFrame.new(-cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,-sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1) | |
2426 | end | |
2427 | elseif anim == "sit" then | |
2428 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
2429 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
2430 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
2431 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
2432 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2433 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2434 | elseif anim == "jump" and hit == nil then | |
2435 | if not using then | |
2436 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.Angles(-rotfb/3,0,rotrl/3),.1) | |
2437 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.Angles(-rotfb/5,rotrl/5,0),.1) | |
2438 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.Angles(-rotrl/3,rotfb/3,-rotfb/3),.1) | |
2439 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.Angles(rotrl/3,-rotfb/3,rotfb/3),.1) | |
2440 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2441 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2442 | end | |
2443 | elseif anim == "fall" and hit == nil then | |
2444 | if not using then | |
2445 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.Angles(rotfb/2,0,rotrl),.1) | |
2446 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.Angles(-rotfb/5,rotrl/5,rotrl/5),.1) | |
2447 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.Angles(-rotrl/3,rotfb/3,rotfb/3),.1) | |
2448 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.Angles(rotrl/3,-rotfb/3,-rotfb/3),.1) | |
2449 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2450 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2451 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.025) | |
2452 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.025) | |
2453 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.025) | |
2454 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(20)),.025) | |
2455 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(-20)),.025) | |
2456 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.025) | |
2457 | end | |
2458 | elseif anim == "walk" and hit ~= nil then | |
2459 | if not using then | |
2460 | --Neck | |
2461 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa/animspeed1/1.5)/15) * CFrame.Angles(-sin(change/aa/animspeed1/1.5)*rad(5),-rut.RotVelocity.y/90,rut.RotVelocity.y/60),walkanimspeed/1.3) | |
2462 | --Humanoid Root Part | |
2463 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,0,cos(change/aa/animspeed1/1)/6) * CFrame.Angles(sin(change/aa/animspeed1/1.5)*rad(2.5*sumthin),-rut.RotVelocity.y/100,sin(change/aa/animspeed1/1.5)*rad(5*sumthin) * -rut.RotVelocity.y/100) * CFrame.Angles(-rotfb/5,rotrl/5,0),walkanimspeed/1.3) | |
2464 | --Shouldersd | |
2465 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(0,0,0) * CFrame.Angles(-cos(change/aa/animspeed1/.75)*rad(5),-sin(change/aa/animspeed1/.75)*rad(5)*rotfb,0) * CFrame.Angles(-sin(change/aa/animspeed1/1.5)*rad(5)*rotfb,-sin(change/aa/animspeed1/1.5)*rad(5)*rotrl,-sin(change/aa/animspeed1/1.5)*rad(35*sumthin/1.3)*rotfb),walkanimspeed/1) | |
2466 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(0,0,0) * CFrame.Angles(cos(change/aa/animspeed1/.75)*rad(5),sin(change/aa/animspeed1/.75)*rad(5)*rotrl,0) * CFrame.Angles(sin(change/aa/animspeed1/1.5)*rad(5)*rotfb,-sin(change/aa/animspeed1/1.5)*rad(5)*rotfb,-sin(change/aa/animspeed1/1.5)*rad(35*sumthin/1.3)*rotfb),walkanimspeed/1) | |
2467 | --Hips | |
2468 | rh.C1 = rh.C1:Lerp(cf5 * CFrame.new((cos(change/aa/animspeed1/1.5)/1)*rotfb or (cos(change/aa/animspeed1/1.5)*1.5)*rotrl,(cos(change/aa/animspeed1/1.5)/4),(cos(change/aa/animspeed1/1.5)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1/1.5)*rad(15*sumthin)*rotrl,0,sin(change/aa/animspeed1/1.5)*rad(35*sumthin/1.3)*rotfb),walkanimspeed/1.3) | |
2469 | lh.C1 = lh.C1:Lerp(cf6 * CFrame.new((cos(change/aa/animspeed1/1.5)/1)*rotfb or (cos(change/aa/animspeed1/1.5)*1.5)*rotrl,(-cos(change/aa/animspeed1/1.5)/4),(cos(change/aa/animspeed1/1.5)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1/1.5)*rad(15*sumthin)*rotrl,0,sin(change/aa/animspeed1/1.5)*rad(35*sumthin/1.3)*rotfb),walkanimspeed/1.3) | |
2470 | end | |
2471 | end | |
2472 | else | |
2473 | nec.C1 = nec.C1:Lerp(cf1,.1) | |
2474 | rutj.C1 = rutj.C1:Lerp(cf2,.1) | |
2475 | rs.C1 = rs.C1:Lerp(cf3,.1) | |
2476 | ls.C1 = ls.C1:Lerp(cf4,.1) | |
2477 | rh.C1 = rh.C1:Lerp(cf5,.1) | |
2478 | lh.C1 = lh.C1:Lerp(cf6,.1) | |
2479 | end | |
2480 | end | |
2481 | if not grabbedc then | |
2482 | if vervel > 1 and hum.Sit == false then | |
2483 | anim = "jump" | |
2484 | if not using then | |
2485 | if mode == "Light" then | |
2486 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),animspeed*50) | |
2487 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),animspeed*50) | |
2488 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.4,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),animspeed*50) | |
2489 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.25,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50) | |
2490 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50) | |
2491 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),animspeed*50) | |
2492 | elseif mode == "Useless" then | |
2493 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),animspeed*50) | |
2494 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),animspeed*50) | |
2495 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.4,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),animspeed*50) | |
2496 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.25,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50) | |
2497 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50) | |
2498 | - | elseif mode == "DEMORALIZATION" then |
2498 | + | |
2499 | elseif mode == "Empty" then | |
2500 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),animspeed*50) | |
2501 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),animspeed*50) | |
2502 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.4,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),animspeed*50) | |
2503 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.25,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50) | |
2504 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50) | |
2505 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),animspeed*50) | |
2506 | elseif mode == "Love Mode" then | |
2507 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),animspeed*50) | |
2508 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),animspeed*50) | |
2509 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.4,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),animspeed*50) | |
2510 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.25,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50) | |
2511 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50) | |
2512 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),animspeed*50) | |
2513 | end | |
2514 | end | |
2515 | elseif vervel < -2 and hum.Sit == false then | |
2516 | anim = "fall" | |
2517 | if not using then | |
2518 | if mode == "Light" then | |
2519 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.025) | |
2520 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.025) | |
2521 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.025) | |
2522 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.025) | |
2523 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.025) | |
2524 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.025) | |
2525 | elseif mode == "Useless" then | |
2526 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.025) | |
2527 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.025) | |
2528 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.025) | |
2529 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.025) | |
2530 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.025) | |
2531 | - | elseif mode == "DEMORALIZATION" then |
2531 | + | |
2532 | elseif mode == "Empty" then | |
2533 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.025) | |
2534 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.025) | |
2535 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.025) | |
2536 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.025) | |
2537 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.025) | |
2538 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.025) | |
2539 | elseif mode == "Love Mode" then | |
2540 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.025) | |
2541 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.025) | |
2542 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.025) | |
2543 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.025) | |
2544 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.025) | |
2545 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.025) | |
2546 | end | |
2547 | end | |
2548 | elseif tvel < 2 and hum.Sit == false then | |
2549 | anim = "idle" | |
2550 | if not using then | |
2551 | if mode == "Light" then | |
2552 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),animspeed*50) | |
2553 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),animspeed*50) | |
2554 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),animspeed*50) | |
2555 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),animspeed*50) | |
2556 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),animspeed*50) | |
2557 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),animspeed*50) | |
2558 | elseif mode == "Useless" then | |
2559 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),animspeed*50) | |
2560 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),animspeed*50) | |
2561 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),animspeed*50) | |
2562 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * angles(rad(-45),rad(10),rad(165)),animspeed*50) | |
2563 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),animspeed*50) | |
2564 | - | elseif mode == "DEMORALIZATION" then |
2564 | + | |
2565 | elseif mode == "Empty" then | |
2566 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-115),rad(0),rad(180)) * CFrame.Angles(rad(0*sumthin),rad(0),rad(0)),animspeed*50) | |
2567 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(-10)) * CFrame.Angles(rad(0),rad(0),rad(35)),animspeed*50) | |
2568 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(10)) * CFrame.Angles(rad(0),rad(0),rad(-35)),animspeed*50) | |
2569 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * angles(rad(0),rad(0),rad(25)),animspeed*50) | |
2570 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(0,rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-25)),animspeed*50) | |
2571 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-130),rad(0),rad(180)),animspeed*50) | |
2572 | elseif mode == "Love Mode" then | |
2573 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-80),rad(0),rad(180)) * CFrame.Angles(rad(0),rad(0),rad(0)),animspeed*50) | |
2574 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-5),rad(-10)),animspeed*50) | |
2575 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(5),rad(10)),animspeed*50) | |
2576 | rs.C0 = rs.C0:Lerp(CFrame.new(.7,.4,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * angles(rad(2),rad(90),rad(90)),animspeed*50) | |
2577 | ls.C0 = ls.C0:Lerp(CFrame.new(-.7,.4,0) * CFrame.Angles(0,rad(-90),rad(0)) * CFrame.Angles(rad(2),rad(-90),rad(-91)),animspeed*50) | |
2578 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),animspeed*50) | |
2579 | end | |
2580 | end | |
2581 | elseif tvel > 1 and hum.Sit == false then | |
2582 | anim = "walk" | |
2583 | if not using then | |
2584 | if mode == "Light" then | |
2585 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)) * CFrame.Angles(rad(0*sumthin),rad(0),rad(0)),animspeed*50) | |
2586 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.8+rotrl/4,-.15) * CFrame.Angles(rad(0),rad(90),rad(-10)) * CFrame.Angles(rad(0),rad(0),0) * CFrame.Angles(-rotrl/5,-rotrl/5,rotfb/5),animspeed*50) | |
2587 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.8-rotrl/4,-.15) * CFrame.Angles(rad(0),rad(-90),rad(10)) * CFrame.Angles(rad(0),rad(0),0) * CFrame.Angles(rotrl/5,-rotrl/5,-rotfb/5),animspeed*50) | |
2588 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(0,rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(5*sumthin)),animspeed*50) | |
2589 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(0*rad(10*sumthin),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-5*sumthin)),animspeed*50) | |
2590 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)) * CFrame.Angles(rad(-5),rad(0),rad(-40*rotrl)),animspeed*50) | |
2591 | elseif mode == "Useless" then | |
2592 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)) * CFrame.Angles(rad(0*sumthin),rad(0),rad(0)),animspeed*50) | |
2593 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.8+rotrl/4,-.15) * CFrame.Angles(rad(0),rad(90),rad(-10)) * CFrame.Angles(rad(0),rad(0),0) * CFrame.Angles(-rotrl/5,-rotrl/5,rotfb/5),animspeed*50) | |
2594 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.8-rotrl/4,-.15) * CFrame.Angles(rad(0),rad(-90),rad(10)) * CFrame.Angles(rad(0),rad(0),0) * CFrame.Angles(rotrl/5,-rotrl/5,-rotfb/5),animspeed*50) | |
2595 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * angles(rad(-45),rad(10),rad(165)),animspeed*50) | |
2596 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(0,rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-5*sumthin)),animspeed*50) | |
2597 | - | elseif mode == "DEMORALIZATION" then |
2597 | + | |
2598 | elseif mode == "Empty" then | |
2599 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-100),rad(0),rad(180)) * CFrame.Angles(rad(0*sumthin),rad(0),rad(0)),animspeed*50) | |
2600 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-.8+rotrl/4,-.15) * CFrame.Angles(rad(0),rad(90),rad(-10)) * CFrame.Angles(rad(0),rad(0),rad(10)) * CFrame.Angles(-rotrl/5,-rotrl/5,rotfb/5),animspeed*50) | |
2601 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.8-rotrl/4,-.15) * CFrame.Angles(rad(0),rad(-90),rad(10)) * CFrame.Angles(rad(0),rad(0),rad(-10)) * CFrame.Angles(rotrl/5,-rotrl/5,-rotfb/5),animspeed*50) | |
2602 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * angles(rad(0),rad(0),rad(25)),animspeed*50) | |
2603 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(0,rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-25)),animspeed*50) | |
2604 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)) * CFrame.Angles(rad(-5),rad(0),rad(-40*rotrl)),animspeed*50) | |
2605 | elseif mode == "Love Mode" then | |
2606 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-100),rad(0),rad(180)) * CFrame.Angles(rad(0),rad(0),rad(0)),animspeed*50) | |
2607 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,-.1) * CFrame.Angles(rad(0),rad(90),rad(-10)) * CFrame.Angles(0,0,rotfb/5),animspeed*50) | |
2608 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,-.1) * CFrame.Angles(rad(0),rad(-90),rad(10)) * CFrame.Angles(0,0,-rotfb/5),animspeed*50) | |
2609 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(0,rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(15)),animspeed*50) | |
2610 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(0,rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-15)),animspeed*50) | |
2611 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-80),rad(0),rad(180)) * CFrame.Angles(rad(-5),rad(0),rad(-40*rotrl)),animspeed*50) | |
2612 | end | |
2613 | end | |
2614 | elseif hum.Sit == true then | |
2615 | if plr.UserId ~= 90745958 then | |
2616 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),animspeed*50) | |
2617 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(90)),animspeed*50) | |
2618 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-90)),animspeed*50) | |
2619 | rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(30)) * CFrame.Angles(rad(30),rad(0),rad(0)),animspeed*50) | |
2620 | ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(-30)) * CFrame.Angles(rad(30),rad(0),rad(0)),animspeed*50) | |
2621 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-95),rad(0),rad(180)),animspeed*50) | |
2622 | else | |
2623 | rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-105),rad(0),rad(180)),animspeed*50) | |
2624 | rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(15),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-20),rad(90)),animspeed*50) | |
2625 | lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(15),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(20),rad(-90)),animspeed*50) | |
2626 | rs.C0 = rs.C0:Lerp(CFrame.new(.5,.2,-.3) * CFrame.Angles(rad(-10),rad(95),rad(30)) * CFrame.Angles(rad(25),rad(20),rad(0)),animspeed*50) | |
2627 | ls.C0 = ls.C0:Lerp(CFrame.new(-.5,.2,-.3) * CFrame.Angles(rad(-10),rad(-95),rad(-30)) * CFrame.Angles(rad(25),rad(-20),rad(0)),animspeed*50) | |
2628 | nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-75),rad(0),rad(180)),animspeed*50) | |
2629 | end | |
2630 | end | |
2631 | else | |
2632 | end | |
2633 | else | |
2634 | nec.C1 = nec.C1:Lerp(cf1,animspeed*50) | |
2635 | rutj.C1 = rutj.C1:Lerp(cf2,animspeed*50) | |
2636 | rs.C1 = rs.C1:Lerp(cf3,animspeed*50) | |
2637 | ls.C1 = ls.C1:Lerp(cf4,animspeed*50) | |
2638 | rh.C1 = rh.C1:Lerp(cf5,animspeed*50) | |
2639 | lh.C1 = lh.C1:Lerp(cf6,animspeed*50) | |
2640 | end | |
2641 | coroutine.resume(coroutine.create(function() | |
2642 | if not using and anim == "idle" then | |
2643 | if not lookinaround then | |
2644 | idlenum = idlenum +.005 | |
2645 | if idlenum >= whenbored then | |
2646 | idlenum = 0 | |
2647 | local oldws = hum.WalkSpeed | |
2648 | local oldjp = hum.JumpPower | |
2649 | hum.WalkSpeed = 0 | |
2650 | hum.JumpPower = 0 | |
2651 | rut.Anchored = true | |
2652 | rh.Part0 = nil | |
2653 | lh.Part0 = nil | |
2654 | rl.Anchored = true | |
2655 | ll.Anchored = true | |
2656 | using = true | |
2657 | lookinaround = true | |
2658 | wait(3) | |
2659 | hum.WalkSpeed = oldws | |
2660 | hum.JumpPower = oldjp | |
2661 | rut.Anchored = false | |
2662 | using = false | |
2663 | rh.Part0 = t | |
2664 | lh.Part0 = t | |
2665 | rl.Anchored = false | |
2666 | ll.Anchored = false | |
2667 | whenbored = math.random(2,6) | |
2668 | lookinaround = false | |
2669 | end | |
2670 | end | |
2671 | elseif using then | |
2672 | idlenum = 0 | |
2673 | elseif anim ~= "idle" then | |
2674 | idlenum = 0 | |
2675 | end | |
2676 | end)) | |
2677 | if lookinaround then | |
2678 | --Neck | |
2679 | nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,0) * CFrame.Angles(sin(lchange/aa/1.5)*rad(10),cos(lchange/aa/1.5)*rad(5),-sin(lchange/aa/3)*rad(40)),.1) | |
2680 | --Humanoid Root Part | |
2681 | rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,0,0) * CFrame.Angles(cos(lchange/aa/1.5)*rad(5),cos(lchange/aa/1.5)*rad(5),-sin(lchange/aa/3)*rad(20)),.1) | |
2682 | --Shoulders | |
2683 | rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(-cos(lchange/aa/3)/(3*10),cos(lchange/aa/3)/(3*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(-sin(lchange/aa/3)*rad(12.5),-sin(lchange/aa/3)*rad(12.5),-sin(lchange/aa/3)*rad(15)),.1) | |
2684 | ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(cos(lchange/aa/3)/(3*10),cos(lchange/aa/3)/(3*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(lchange/aa/3)*rad(12.5),-sin(lchange/aa/3)*rad(12.5),-sin(lchange/aa/3)*rad(15)),.1) | |
2685 | --Hips | |
2686 | rh.C1 = rh.C1:Lerp(cff5 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0) * CFrame.Angles(0,0,0),.1) | |
2687 | lh.C1 = lh.C1:Lerp(cff6 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0) * CFrame.Angles(0,0,0),.1) | |
2688 | end | |
2689 | swait() | |
2690 | end | |
2691 | end) | |
2692 | anims() | |
2693 | firewristbandeffects() | |
2694 | print("Loaded successfully!") | |
2695 | script.Parent = plr.PlayerGui | |
2696 | --End of script |