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