SHOW:
|
|
- or go back to the newest paste.
| 1 | dot = false | |
| 2 | des = false | |
| 3 | local ChatService = game:GetService("Chat")
| |
| 4 | local player = game.Players.LocalPlayer | |
| 5 | char = player.Character | |
| 6 | hum = char.Humanoid | |
| 7 | torso = hum.Torso | |
| 8 | hum.MaxHealth = math.huge*99999999999999999999999999 | |
| 9 | - | lig.Color=Color3.new(0,255,255) |
| 9 | + | |
| 10 | hum.Health = hum.MaxHealth | |
| 11 | lig = Instance.new("PointLight",player.Character.Torso)
| |
| 12 | lig.Color=Color3.new(139,0,0) | |
| 13 | m=player:GetMouse() | |
| 14 | ||
| 15 | ||
| 16 | ||
| 17 | bb = Instance.new("BillboardGui",player.Character.Head)
| |
| 18 | bb.Enabled = true | |
| 19 | bb.AlwaysOnTop = true | |
| 20 | - | gui.TextColor3 = Color3.new(255,255,255) |
| 20 | + | |
| 21 | bb.StudsOffset = Vector3.new(0,1,0) | |
| 22 | gui=Instance.new("TextBox",bb)
| |
| 23 | gui.Text = "* " | |
| 24 | gui.Size = UDim2.new(0,133,0,45) | |
| 25 | gui.Position=UDim2.new(0,57,0,-40) | |
| 26 | gui.TextColor3 = Color3.new(139,0,0) | |
| 27 | - | gui.BorderColor3 = Color3.new(0,0,0) |
| 27 | + | |
| 28 | gui.TextWrapped = true | |
| 29 | gui.TextScaled = true | |
| 30 | gui.TextXAlignment = "Left" | |
| 31 | gui.TextYAlignment = "Top" | |
| 32 | gui.Visible = false | |
| 33 | gui.BorderColor3 = Color3.new(139,0,0) | |
| 34 | - | gui1.BackgroundColor3=Color3.new(255,255,255) |
| 34 | + | |
| 35 | gui1=Instance.new("TextButton",bb)
| |
| 36 | gui1.Position=UDim2.new(0,5,0,-43) | |
| 37 | gui1.Size = UDim2.new(0,190,0,51) | |
| 38 | ||
| 39 | gui1.TextColor3 = Color3.new(255,255,255) | |
| 40 | - | img.Image = "rbxassetid://388166921" |
| 40 | + | gui1.BackgroundColor3=Color3.new(0,0,0) |
| 41 | ||
| 42 | gui1.Visible = false | |
| 43 | img = Instance.new("ImageLabel",bb)
| |
| 44 | - | asd.SoundId = "http://www.roblox.com/asset/?id = 358280695" |
| 44 | + | |
| 45 | img.Position = UDim2.new(0,10,0,-41) | |
| 46 | img.Image = "rbxassetid://460973235" | |
| 47 | - | asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695" |
| 47 | + | |
| 48 | img.Visible = false | |
| 49 | asd = Instance.new("Sound",player.Character.Torso)
| |
| 50 | - | asd2.SoundId = "http://www.roblox.com/asset/?id = 306370481" |
| 50 | + | asd.SoundId = "http://www.roblox.com/asset/?id = 114330482" |
| 51 | asd1 = Instance.new("Sound",player.Character.Torso)
| |
| 52 | asd1.SoundId = "http://www.roblox.com/asset/?id = 455601633" | |
| 53 | - | asd3.SoundId = "http://www.roblox.com/asset/?id = 316014309" |
| 53 | + | asd1.Volume = 100 |
| 54 | EpicText = Instance.new("Sound",player.Character.Torso)
| |
| 55 | EpicText.SoundId = "http://www.roblox.com/asset/?id = 454824301" | |
| 56 | - | asd4.SoundId = "http://www.roblox.com/asset/?id = 388938813" |
| 56 | + | |
| 57 | - | asd4.Looped = false |
| 57 | + | |
| 58 | asd2 = Instance.new("Sound",player.Character.Torso)
| |
| 59 | - | asd5.SoundId = "http://www.roblox.com/asset/?id = 0" |
| 59 | + | asd2.SoundId = "http://www.roblox.com/asset/?id = 316650387" |
| 60 | asd2.Looped = true | |
| 61 | asd3 = Instance.new("Sound",player.Character.Torso)
| |
| 62 | - | dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694" |
| 62 | + | asd3.SoundId = "http://www.roblox.com/asset/?id = 306154368" |
| 63 | - | dunkd.Looped = false |
| 63 | + | |
| 64 | asd3.Archivable = no | |
| 65 | - | asd:Play() |
| 65 | + | |
| 66 | asd4.SoundId = "http://www.roblox.com/asset/?id = 342261363" | |
| 67 | asd4.Looped = true | |
| 68 | asd5 = Instance.new("Sound",player.Character.Torso)
| |
| 69 | - | eye.BrickColor = BrickColor.new("Toothpaste")
|
| 69 | + | asd5.SoundId = "http://www.roblox.com/asset/?id = 332059610" |
| 70 | asd5.Looped = true | |
| 71 | dunkd = Instance.new("Sound",player.Character.Torso)
| |
| 72 | dunkd.SoundId = "http://www.roblox.com/asset/?id = 357906328" | |
| 73 | dunkd.Looped = true | |
| 74 | TheEnd = Instance.new("Sound",player.Character.Torso)
| |
| 75 | TheEnd.SoundId = "http://www.roblox.com/asset/?id = 318567735" | |
| 76 | TheEnd.Looped = true | |
| 77 | LaughTrack = Instance.new("Sound",player.Character.Torso)
| |
| 78 | LaughTrack.SoundId = "http://www.roblox.com/asset/?id = 319332735" | |
| 79 | LaughTrack.Looped = false | |
| 80 | Megalomaniac = Instance.new("Sound",player.Character.Torso)
| |
| 81 | Megalomaniac.SoundId = "http://www.roblox.com/asset/?id = 377663578" | |
| 82 | Megalomaniac.Looped = true | |
| 83 | LaughTrack.Volume = 1000 | |
| 84 | FuckOff = Instance.new("Sound",player. Character.Torso)
| |
| 85 | FuckOff.SoundId = "rbxassetid://389992380" | |
| 86 | FuckOff.Looped = true | |
| 87 | function play(play) | |
| 88 | asd1:Play() | |
| 89 | asd1:Play() | |
| 90 | end | |
| 91 | eye = Instance.new("Part",player.Character)
| |
| 92 | eye.Color=Color3.new(139,0,0) | |
| 93 | eye.Material = "Neon" | |
| 94 | eye.FormFactor = 3 | |
| 95 | eye.Shape = "Ball" | |
| 96 | eye.Size = Vector3.new(0.37,0.37,0.1) | |
| 97 | weld = Instance.new("Weld",eye)
| |
| 98 | weld.Part0 = eye | |
| 99 | weld.Part1 = player.Character.Head | |
| 100 | weld.C0 = CFrame.new(0.1,-0.2,0.45) | |
| 101 | eye.Transparency = 1 | |
| 102 | -- listen for their chatting | |
| 103 | player.Chatted:connect(function(message) | |
| 104 | a = string.len(message) | |
| 105 | gui.Text = "* " | |
| 106 | gui.Visible = true | |
| 107 | gui1.Visible = true | |
| 108 | img.Visible = true | |
| 109 | des = false | |
| 110 | print(a) | |
| 111 | if dot == false then | |
| 112 | for i = 1,string.len(message) do wait(0.07) | |
| 113 | gui.Text =gui.Text..message:sub(i,i) | |
| 114 | - | asd4:Play() |
| 114 | + | |
| 115 | play() | |
| 116 | end | |
| 117 | end | |
| 118 | ||
| 119 | des = true | |
| 120 | end) | |
| 121 | m.KeyDown:connect(function(k) | |
| 122 | if k == "h" then | |
| 123 | img.Image = "rbxassetid://460973235" | |
| 124 | end | |
| 125 | end) | |
| 126 | - | img.Image = "rbxassetid://388167098" |
| 126 | + | |
| 127 | if k == "b" then | |
| 128 | img.Image = "rbxassetid://401564454" | |
| 129 | end | |
| 130 | - | if k == "c" then |
| 130 | + | |
| 131 | - | img.Image = "rbxassetid://388166921" |
| 131 | + | |
| 132 | if k == "f" then | |
| 133 | gui.Text = "* SHATTER TIME AND SPACE!" | |
| 134 | img.Image = "rbxassetid://401564494" | |
| 135 | wait(3) | |
| 136 | - | img.Image = "rbxassetid://388166991" |
| 136 | + | img.Image = "rbxassetid://401564454" |
| 137 | end | |
| 138 | end) | |
| 139 | m.KeyDown:connect(function(k) | |
| 140 | if k == "r" then | |
| 141 | - | img.Image = "rbxassetid://378060690" |
| 141 | + | gui.Text = "* CHAOS BREAKER!" |
| 142 | img.Image = "rbxassetid://401564494" | |
| 143 | wait(3) | |
| 144 | img.Image = "rbxassetid://401564454" | |
| 145 | end | |
| 146 | - | img.Image = "rbxassetid://378609498" |
| 146 | + | |
| 147 | m.KeyDown:connect(function(k) | |
| 148 | if k == "t" then | |
| 149 | gui.Text = "* HYPER GONER!" | |
| 150 | - | if k == "v" then |
| 150 | + | img.Image = "rbxassetid://401564494" |
| 151 | - | img.Image = "rbxassetid://388166961" |
| 151 | + | wait(3) |
| 152 | img.Image = "rbxassetid://401564454" | |
| 153 | end | |
| 154 | end) | |
| 155 | m.KeyDown:connect(function(k) | |
| 156 | - | img.Image = "rbxassetid://378577428" |
| 156 | + | |
| 157 | asd2:Play() | |
| 158 | eye.Transparency = 0 | |
| 159 | ||
| 160 | end | |
| 161 | - | img.Image = "rbxassetid://388167116" |
| 161 | + | |
| 162 | m.KeyDown:connect(function(k) | |
| 163 | if k == "m" then | |
| 164 | EpicText:Play() | |
| 165 | EpicText:Play() | |
| 166 | - | img.Image = "rbxassetid://388167154" |
| 166 | + | |
| 167 | - | print("You take your very last breath...")
|
| 167 | + | |
| 168 | - | asdd = Instance.new("Sound",player.Character.Torso)
|
| 168 | + | fire.Heat = 500 |
| 169 | - | asdd.SoundId = "http://www.roblox.com/asset/?id = 357417055" |
| 169 | + | fire.Size = 500 |
| 170 | - | asdd.Looped = false |
| 170 | + | gui.Text ="* ∞ Attack ∞ Defense. Legendary being made of every SOUL in the underground." |
| 171 | img.Image = "rbxassetid://401564494" | |
| 172 | wait(5) | |
| 173 | - | asdd:Play() |
| 173 | + | |
| 174 | asd3.Volume = 100 | |
| 175 | - | wait(2) |
| 175 | + | img.Image = "rbxassetid://401564494" |
| 176 | - | asddd = Instance.new("Sound",player.Character.Torso)
|
| 176 | + | |
| 177 | - | asddd.SoundId = "http://www.roblox.com/asset/?id = 387183672" |
| 177 | + | |
| 178 | - | asddd.Looped = false |
| 178 | + | |
| 179 | if k == "y" then | |
| 180 | img.Image = "rbxassetid://401564494" | |
| 181 | - | asddd:Play() |
| 181 | + | |
| 182 | end) | |
| 183 | - | wait(2) |
| 183 | + | |
| 184 | - | asdded = Instance.new("Sound",player.Character.Torso)
|
| 184 | + | |
| 185 | - | asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707" |
| 185 | + | |
| 186 | - | asdded.Looped = false |
| 186 | + | |
| 187 | end) | |
| 188 | m.KeyDown:connect(function(k) | |
| 189 | - | asdded:Play() |
| 189 | + | |
| 190 | asd5:Play() | |
| 191 | - | char:BreakJoints() |
| 191 | + | gui.Text ="* Determination." |
| 192 | wait(5) | |
| 193 | - | end) |
| 193 | + | |
| 194 | end | |
| 195 | end) | |
| 196 | m.KeyDown:connect(function(k) | |
| 197 | if k == "x" then | |
| 198 | if des == true then | |
| 199 | gui.Visible = false | |
| 200 | gui.Text = "* " | |
| 201 | gui1.Visible = false | |
| 202 | img.Visible = false | |
| 203 | end | |
| 204 | end | |
| 205 | end) | |
| 206 | m.KeyDown:connect(function(k) | |
| 207 | if k == "z" then | |
| 208 | EpicText:Play() | |
| 209 | EpicText:Play() | |
| 210 | end | |
| 211 | end) | |
| 212 | m.KeyDown:connect(function(k) | |
| 213 | if k == ";" then | |
| 214 | asd3:Stop() | |
| 215 | - | if k == "u" then |
| 215 | + | |
| 216 | asd4:Stop() | |
| 217 | - | dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694" |
| 217 | + | |
| 218 | - | dunkd.Looped = false |
| 218 | + | |
| 219 | asd5:Stop() | |
| 220 | TheEnd:Stop() | |
| 221 | dunkd:Stop() | |
| 222 | Megalomaniac:Stop() | |
| 223 | EpicText:Stop() | |
| 224 | - | img.Image = "rbxassetid://378198656" |
| 224 | + | img.Image = "rbxassetid://401564454" |
| 225 | fire.Heat = 100 | |
| 226 | fire.Size = 15 | |
| 227 | FuckOff:Stop() | |
| 228 | end | |
| 229 | end) | |
| 230 | - | -------------------------------------------------------- |
| 230 | + | |
| 231 | if k == "l" then | |
| 232 | - | pls = game:GetService'Players' |
| 232 | + | |
| 233 | - | rs = game:GetService'RunService' |
| 233 | + | |
| 234 | - | uinps = game:GetService'UserInputService' |
| 234 | + | img.Image = "rbxassetid://401564454" |
| 235 | - | lp = pls.LocalPlayer |
| 235 | + | |
| 236 | - | mouse = lp:GetMouse() |
| 236 | + | |
| 237 | - | c = lp.Character |
| 237 | + | |
| 238 | - | human = c.Humanoid |
| 238 | + | |
| 239 | - | human.MaxHealth = 50 |
| 239 | + | TheEnd:Play() |
| 240 | - | soundVol = 0 |
| 240 | + | |
| 241 | - | wait() |
| 241 | + | img.Image = "rbxassetid://401564454" |
| 242 | - | human.Health = 50 |
| 242 | + | |
| 243 | - | c.Health:Destroy() |
| 243 | + | |
| 244 | m.KeyDown:connect(function(k) | |
| 245 | - | -------------------------------------------------------- |
| 245 | + | if k == "k" then |
| 246 | eye.Transparency = 1 | |
| 247 | - | Debounces = {
|
| 247 | + | LaughTrack:Play() |
| 248 | - | AnimationCycles = 0; |
| 248 | + | LaughTrack.Volume = 1000 |
| 249 | - | FPS = 0; |
| 249 | + | img.Image = "rbxassetid://401564494" |
| 250 | - | scalingDamage = false; |
| 250 | + | |
| 251 | - | damageLevel = 0; |
| 251 | + | |
| 252 | - | attackNumber = 0; |
| 252 | + | |
| 253 | - | isAttacking = false; |
| 253 | + | if k == "]" then |
| 254 | - | isMoving = false; |
| 254 | + | img.Image = "rbxassetid://401564454" |
| 255 | - | isSprinting = false; |
| 255 | + | |
| 256 | - | isBoosting = false; |
| 256 | + | |
| 257 | - | isPassive = false; |
| 257 | + | |
| 258 | - | isTyping = false; |
| 258 | + | |
| 259 | - | } |
| 259 | + | |
| 260 | m.KeyDown:connect(function(k) | |
| 261 | - | -------------------------------------------------------- |
| 261 | + | |
| 262 | img.Image = "rbxassetid://456657070" | |
| 263 | - | numLerp = function(start, goal, alpha) |
| 263 | + | |
| 264 | - | return(((goal - start) * alpha) + start) |
| 264 | + | |
| 265 | - | end |
| 265 | + | |
| 266 | end) | |
| 267 | - | CFrameZero = function() |
| 267 | + | |
| 268 | - | return CFrame.new(Vector3.new()) |
| 268 | + | |
| 269 | - | end |
| 269 | + | |
| 270 | img.Image = "rbxassetid://401564494" | |
| 271 | - | rad = function(value) |
| 271 | + | gui.Text = "* JUST STOP! JUST LET ME EAR RAPE YOU!" |
| 272 | - | return math.rad(value) |
| 272 | + | FuckOff:Play() |
| 273 | - | end |
| 273 | + | fire.Heat = 500 |
| 274 | fire.Size = 500 | |
| 275 | - | CFAngles = function(Vector) |
| 275 | + | |
| 276 | - | return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z)) |
| 276 | + | |
| 277 | - | end |
| 277 | + | |
| 278 | -- Suck_HiyaThere moves to arizona | |
| 279 | - | -------------------------------------------------------- |
| 279 | + | |
| 280 | game.Workspace.iiReanimation.Humanoid.DisplayDistanceType="None" | |
| 281 | - | AnimStat = {
|
| 281 | + | |
| 282 | - | lerpSpeed = .2; |
| 282 | + | fire = Instance.new("Fire",eye)
|
| 283 | - | lerpSpeed2 = .35; |
| 283 | + | fire.Heat = 100 |
| 284 | - | lerpTween = 0; |
| 284 | + | fire.Size = 18 |
| 285 | - | } |
| 285 | + | fire.Color=Color3.new(1004,0,0) |
| 286 | ||
| 287 | - | Joints = {
|
| 287 | + | pls=game:GetService'Players'; |
| 288 | - | c.HumanoidRootPart.RootJoint; |
| 288 | + | rs=game:GetService'RunService'; |
| 289 | - | c.Torso.Neck; |
| 289 | + | uinps=game:GetService'UserInputService'; |
| 290 | - | c.Torso['Left Shoulder']; |
| 290 | + | lp=pls.LocalPlayer; |
| 291 | - | c.Torso['Right Shoulder']; |
| 291 | + | mouse=lp:GetMouse(); |
| 292 | - | c.Torso['Left Hip']; |
| 292 | + | c=lp.Character; |
| 293 | - | c.Torso['Right Hip']; |
| 293 | + | rayModel=Instance.new('Model',c);
|
| 294 | - | } |
| 294 | + | human=c.Humanoid; |
| 295 | Cone=nil; | |
| 296 | - | JointTargets = {
|
| 296 | + | wait(); |
| 297 | - | CFrameZero(); |
| 297 | + | Debounces={
|
| 298 | - | CFrameZero(); |
| 298 | + | FPS=0; |
| 299 | - | CFrameZero(); |
| 299 | + | isAttacking=false; |
| 300 | - | CFrameZero(); |
| 300 | + | isMoving=false; |
| 301 | - | CFrameZero(); |
| 301 | + | isSprinting=false; |
| 302 | - | CFrameZero(); |
| 302 | + | Debounce=false; |
| 303 | - | } |
| 303 | + | isTyping=false; |
| 304 | isJumping=false; | |
| 305 | - | -------------------------------------------------------- |
| 305 | + | isFlash=false; |
| 306 | }; | |
| 307 | - | BodyColors = {
|
| 307 | + | numLerp=function(start,goal,alpha) |
| 308 | - | HeadColor = BrickColor.new("Institutional white");
|
| 308 | + | return(((goal-start)*alpha)+start); |
| 309 | - | LeftArmColor = BrickColor.new("Institutional white");
|
| 309 | + | end; |
| 310 | - | RightArmColor = BrickColor.new("Institutional white");
|
| 310 | + | CFrameZero=function() |
| 311 | - | LeftLegColor = BrickColor.new("Institutional white");
|
| 311 | + | return CFrame.new(Vector3.new()); |
| 312 | - | RightLegColor = BrickColor.new("Institutional white");
|
| 312 | + | end; |
| 313 | - | TorsoColor = BrickColor.new("Mid gray");
|
| 313 | + | local function a() |
| 314 | - | } |
| 314 | + | local t=tick(); |
| 315 | local l=t%1*3; | |
| 316 | - | Customs = {
|
| 316 | + | local t=.5*math.pi*(l%1); |
| 317 | - | Face = "http://www.roblox.com/asset/?id=8560915"; |
| 317 | + | if l<1 then |
| 318 | - | Shirt = "http://www.roblox.com/asset/?id=334781688"; |
| 318 | + | return Color3.new(1,1-math.cos(t),1-math.sin(t)); |
| 319 | - | Pants = "http://www.roblox.com/asset/?id=335237283"; |
| 319 | + | elseif l<2 then |
| 320 | - | } |
| 320 | + | return Color3.new(1-math.sin(t),1,1-math.cos(t)); |
| 321 | else | |
| 322 | - | -------------------------------------------------------- |
| 322 | + | return Color3.new(1-math.cos(t),1-math.sin(t),1); |
| 323 | end; | |
| 324 | - | prepareCharacter = function() |
| 324 | + | end; |
| 325 | - | local transPoints = {
|
| 325 | + | rad=function(value) |
| 326 | - | NumberSequenceKeypoint.new(0,0,0), |
| 326 | + | return math.rad(value); |
| 327 | - | NumberSequenceKeypoint.new(.4,.05,0), |
| 327 | + | end; |
| 328 | - | NumberSequenceKeypoint.new(.8,.16,0), |
| 328 | + | CFAngles=function(Vector) |
| 329 | - | NumberSequenceKeypoint.new(1,.25,0) |
| 329 | + | return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z)); |
| 330 | - | } |
| 330 | + | end; |
| 331 | - | local sizePoints = {
|
| 331 | + | AnimStat={
|
| 332 | - | NumberSequenceKeypoint.new(0,.5,0), |
| 332 | + | lerpSpeed=.2; |
| 333 | - | NumberSequenceKeypoint.new(.18,.5,0), |
| 333 | + | lerpSpeed2=.35; |
| 334 | - | NumberSequenceKeypoint.new(.49,.69,0), |
| 334 | + | lerpTween=0; |
| 335 | - | NumberSequenceKeypoint.new(.74,.5,0), |
| 335 | + | }; |
| 336 | - | NumberSequenceKeypoint.new(.92,.25,0), |
| 336 | + | Joints={
|
| 337 | - | NumberSequenceKeypoint.new(1,.0625,0) |
| 337 | + | c.HumanoidRootPart.RootJoint; |
| 338 | - | } |
| 338 | + | c.Torso.Neck; |
| 339 | - | local Size = NumberSequence.new(sizePoints) |
| 339 | + | c.Torso['Left Shoulder']; |
| 340 | - | local Transparency = NumberSequence.new(transPoints) |
| 340 | + | c.Torso['Right Shoulder']; |
| 341 | - | rayModel = Instance.new("Model",c)
|
| 341 | + | c.Torso['Left Hip']; |
| 342 | - | efxBlock = Instance.new("Part",c)
|
| 342 | + | c.Torso['Right Hip']; |
| 343 | - | efxBlock.Material = "Neon" |
| 343 | + | }; |
| 344 | - | efxBlock.FormFactor = "Custom" |
| 344 | + | prepareCharacter=function() |
| 345 | - | efxBlock.Size = Vector3.new(.3,.3,.3) |
| 345 | + | music=Instance.new('Sound',c.HumanoidRootPart);
|
| 346 | - | light = Instance.new("PointLight",c.Head)
|
| 346 | + | music.SoundId='rbxassetid://394144904'; |
| 347 | - | light.Range = 8 |
| 347 | + | music.Looped=true; |
| 348 | - | light.Color = Color3.new(1,1,1) |
| 348 | + | music.Volume=.6; |
| 349 | - | light.Shadows = false |
| 349 | + | music2=Instance.new('Sound',c);
|
| 350 | - | local particles = Instance.new("ParticleEmitter",efxBlock)
|
| 350 | + | music2.SoundId='rbxassetid://259613634'; |
| 351 | - | particles.Color = ColorSequence.new(Color3.new(.85,.85,.85),Color3.new(1,1,1)) |
| 351 | + | music2.Looped=true; |
| 352 | - | particles.ZOffset = 1 |
| 352 | + | music2.Volume=1; |
| 353 | - | particles.LightEmission = .96 |
| 353 | + | music3=Instance.new('Sound',c.HumanoidRootPart);
|
| 354 | - | particles.Size = Size |
| 354 | + | music3.SoundId='rbxassetid://266530326'; |
| 355 | - | particles.Name = "Fire" |
| 355 | + | music3.Looped=true; |
| 356 | - | particles.Transparency = Transparency |
| 356 | + | music3.Volume=1; |
| 357 | - | particles.LockedToPart = true |
| 357 | + | music4=Instance.new('Sound',c.HumanoidRootPart);
|
| 358 | - | particles.Rate = 25 |
| 358 | + | music4.SoundId='rbxassetid://155738252'; |
| 359 | - | particles.EmissionDirection = "Right" |
| 359 | + | music4.Looped=true; |
| 360 | - | particles.Acceleration = Vector3.new(-.5,0,0) |
| 360 | + | music4.Volume=1; |
| 361 | - | particles.Texture = "rbxassetid://24378732" |
| 361 | + | music5=Instance.new('Sound',c.HumanoidRootPart);
|
| 362 | - | particles.Lifetime = NumberRange.new(.25,.25) |
| 362 | + | music5.SoundId='rbxassetid://215391212'; |
| 363 | - | particles.Speed = NumberRange.new(-.5,5) |
| 363 | + | music5.Looped=true; |
| 364 | - | script.Parent = efxBlock |
| 364 | + | music5.Volume=1; |
| 365 | - | fire = particles |
| 365 | + | human.WalkSpeed=0; |
| 366 | - | local offset = Vector3.new(0.2, .23, -0.5) |
| 366 | + | human.JumpPower=0; |
| 367 | - | local weld = Instance.new("Weld",c.Head)
|
| 367 | + | end; |
| 368 | - | weld.Part0 = c.Head |
| 368 | + | triWave=function(x) |
| 369 | - | weld.Part1 = efxBlock |
| 369 | + | local pi2=math.pi/2; |
| 370 | - | weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) |
| 370 | + | return math.abs((x/pi2)%4-2)-1; |
| 371 | - | efxBlock.Parent = c |
| 371 | + | end; |
| 372 | - | local music = Instance.new("Sound",c.Torso)
|
| 372 | + | setLerp=function(speed) |
| 373 | - | music.SoundId = "rbxassetid://316012176" |
| 373 | + | AnimStat.lerpSpeed=speed; |
| 374 | - | music.Looped = true |
| 374 | + | end; |
| 375 | - | music.Volume = soundVol |
| 375 | + | setTween=function(tween) |
| 376 | - | fight = music |
| 376 | + | AnimStat.lerpTween=tween; |
| 377 | - | local music2 = Instance.new("Sound",c.Torso)
|
| 377 | + | end; |
| 378 | - | music2.SoundId = "rbxassetid://316014309" |
| 378 | + | playSound=function(id,part,vol,pitch) |
| 379 | - | music2.Looped = true |
| 379 | + | local vol=vol or 1; |
| 380 | - | music2.Volume = soundVol |
| 380 | + | local pitch=pitch or 1; |
| 381 | - | sans = music2 |
| 381 | + | local x=Instance.new('Sound',part);
|
| 382 | - | pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
|
| 382 | + | x.Volume=vol; |
| 383 | - | pointGyro.P = 1e7 |
| 383 | + | x.Pitch=pitch; |
| 384 | - | pointGyro.D = 1e3 |
| 384 | + | x.SoundId='rbxassetid://'..id; |
| 385 | - | pointGyro.MaxTorque = Vector3.new(0,1e7,0) |
| 385 | + | |
| 386 | - | animator = c.Humanoid:FindFirstChild("Animator")
|
| 386 | + | wait(); |
| 387 | - | if animator then |
| 387 | + | x:Play(); |
| 388 | - | animator:Destroy() |
| 388 | + | wait(x.TimeLength+.2); |
| 389 | x:Destroy(); | |
| 390 | - | c.Torso.roblox:Destroy() |
| 390 | + | end); |
| 391 | - | for i,v in pairs (c.Head:children()) do |
| 391 | + | end; |
| 392 | - | if v.ClassName == "Sound" then |
| 392 | + | lerpBoom=function() |
| 393 | - | v:Destroy() |
| 393 | + | if Cone then |
| 394 | Cone.CFrame=CFrame.new(c.HumanoidRootPart.CFrame.p,c.HumanoidRootPart.CFrame.p+c.HumanoidRootPart.Velocity)*CFrame.Angles(-math.pi/2,0,0); | |
| 395 | cMesh.Scale=Vector3.new(20,20+c.HumanoidRootPart.Velocity.magnitude/10,20); | |
| 396 | - | for i = 1,#Joints do |
| 396 | + | Cone.Transparency=1-c.HumanoidRootPart.Velocity.magnitude/1000; |
| 397 | - | Joints[i].C1 = CFrame.new(Vector3.new()) |
| 397 | + | else |
| 398 | Cone=Instance.new('Part',c);
| |
| 399 | - | human.WalkSpeed = 0 |
| 399 | + | Cone.Anchored=true; |
| 400 | - | human.JumpPower = 0 |
| 400 | + | Cone.CanCollide=false; |
| 401 | - | end |
| 401 | + | Cone.Transparency=math.random(50,70)/100; |
| 402 | Cone.Size=Vector3.new(1,1,1); | |
| 403 | - | uinps.InputBegan:connect(function(InputObject) |
| 403 | + | Cone.CFrame=CFrame.new(c.HumanoidRootPart.CFrame.p,c.HumanoidRootPart.CFrame.p+c.HumanoidRootPart.Velocity)*CFrame.Angles(-math.pi/2,0,0); |
| 404 | - | if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then |
| 404 | + | cMesh=Instance.new('SpecialMesh',Cone);
|
| 405 | - | Debounces.isPassive = not Debounces.isPassive |
| 405 | + | cMesh.MeshId='rbxassetid://1033714'; |
| 406 | cMesh.Scale=Vector3.new(20,50,20); | |
| 407 | - | end) |
| 407 | + | end; |
| 408 | end; | |
| 409 | - | setJointCFrames = function(table) |
| 409 | + | noBoom=function() |
| 410 | - | for i = 1,#table do |
| 410 | + | if Cone then local x=Cone Cone=nil; |
| 411 | - | JointTargets[i] = table[i] |
| 411 | + | for i=1,20 do |
| 412 | wait(); | |
| 413 | - | AnimationCycles = 0 |
| 413 | + | x.Mesh.Scale=x.Mesh.Scale+Vector3.new(-.5,1,-.5); |
| 414 | - | end |
| 414 | + | x.Transparency=x.Transparency+1/30; |
| 415 | end; | |
| 416 | - | setLerp = function(speed) |
| 416 | + | end; |
| 417 | - | AnimStat.lerpSpeed = speed |
| 417 | + | end; |
| 418 | - | end |
| 418 | + | gasterBlast=function(tCFrame,aimPos,charge) |
| 419 | local aimTarget; | |
| 420 | - | setTween = function(tween) |
| 420 | + | if aimPos then |
| 421 | - | AnimStat.lerpTween = tween |
| 421 | + | aimTarget=CFrame.new(tCFrame,aimPos); |
| 422 | - | end |
| 422 | + | else |
| 423 | aimTarget=tCFrame; | |
| 424 | - | takeDamage = function(position,damage,distance,platformStand) |
| 424 | + | end; |
| 425 | - | for i,v in pairs (pls:children()) do |
| 425 | + | local gast=Instance.new('Part',c);
|
| 426 | - | if v.ClassName == "Player" and v:FindFirstChild("Character") then
|
| 426 | + | gast.Size=Vector3.new(12,.2,12); |
| 427 | - | local torso = v.Character:FindFirstChild("Torso")
|
| 427 | + | gast.CanCollide=false; |
| 428 | - | if torso and (torso.Position - position).magnitude < distance then |
| 428 | + | gast.Anchored=true; |
| 429 | - | if v.Character.Humanoid.MaxHealth > 1000 then |
| 429 | + | gast.Transparency=1; |
| 430 | - | v.Character.Humanoid.MaxHealth = 100; |
| 430 | + | if charge then |
| 431 | - | v.Character.Humanoid.Breakjoints() |
| 431 | + | playSound(400523331,gast,math.random(90,110)/100); |
| 432 | - | end |
| 432 | + | end; |
| 433 | - | |
| 433 | + | wait(); |
| 434 | - | |
| 434 | + | for i=1,2 do |
| 435 | - | v.Character.Humanoid:TakeDamage(damage) |
| 435 | + | local decal=Instance.new('Decal',gast);
|
| 436 | - | if platformStand == true then |
| 436 | + | decal.Texture='rbxassetid://401564454'; |
| 437 | - | v.Character.PlatformStand = platformStand |
| 437 | + | if i==1 then |
| 438 | - | end |
| 438 | + | decal.Face=Enum.NormalId.Top; |
| 439 | - | end |
| 439 | + | else |
| 440 | decal.Face=Enum.NormalId.Bottom; | |
| 441 | end; | |
| 442 | - | end |
| 442 | + | end; |
| 443 | gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10)); | |
| 444 | - | -------------------------------------------------------- |
| 444 | + | |
| 445 | local tarCFrame=gast.CFrame; | |
| 446 | - | prepareCharacter() |
| 446 | + | local isLooping=true; |
| 447 | spawn(function() | |
| 448 | - | -------------------------------------------------------- |
| 448 | + | while rs.RenderStepped:wait()and isLooping do |
| 449 | gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60)); | |
| 450 | - | spawn(function() |
| 450 | + | end; |
| 451 | - | local sine = 0 |
| 451 | + | end); |
| 452 | - | while wait() do |
| 452 | + | for i=1,30 do |
| 453 | - | pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100) |
| 453 | + | wait(); |
| 454 | - | if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then |
| 454 | + | tarCFrame=gast.CFrame:lerp(aimTarget,.24); |
| 455 | - | setLerp(.1) |
| 455 | + | end; |
| 456 | - | if Debounces.isPassive == true then |
| 456 | + | playSound(340722848,gast,math.random(90,110)/100); |
| 457 | - | setJointCFrames({
|
| 457 | + | isLooping=false; |
| 458 | - | CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0)); |
| 458 | + | wait(.08); |
| 459 | - | CFrame.new(Vector3.new(0, 1.5 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(1.554 + math.sin((-tick() + 2) * 1.5) * 5, -0.001, -0.001)); |
| 459 | + | local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999); |
| 460 | - | CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51)); |
| 460 | + | local _,pos=workspace:FindPartOnRay(ray,c); |
| 461 | - | CFrame.new(Vector3.new(1.059, -0.031 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, -3.842, -29.511)); |
| 461 | + | local dis=(aimTarget.p-pos).magnitude; |
| 462 | - | CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0)); |
| 462 | + | local rayCFrame=CFrame.new(gast.CFrame.p+(pos-gast.CFrame.p).unit*(dis/2+200),gast.CFrame.p+(pos-gast.CFrame.p).unit*dis*2)*CFrame.Angles(0,math.pi/2,0); |
| 463 | - | CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0)); |
| 463 | + | local rayPart=Instance.new('Part',rayModel);
|
| 464 | - | }) |
| 464 | + | rayPart.Material='Neon'; |
| 465 | - | else |
| 465 | + | rayPart.FormFactor='Custom'; |
| 466 | - | setJointCFrames({
|
| 466 | + | rayPart.Anchored=true; |
| 467 | - | CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0)); |
| 467 | + | rayPart.Color=Color3.new(139,0,0) |
| 468 | - | CFrame.new(Vector3.new(0, 1.5 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(1.554 + math.sin((-tick() + 2) * 1.5) * 5, -0.001, -0.001)); |
| 468 | + | rayPart.CanCollide=false; |
| 469 | - | CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51)); |
| 469 | + | rayPart.Shape='Cylinder'; |
| 470 | - | CFrame.new(Vector3.new(1.059, -0.031 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, -3.842, -29.511)); |
| 470 | + | rayPart.Size=Vector3.new(dis+400,8,8); |
| 471 | - | CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0)); |
| 471 | + | rayPart.CFrame=rayCFrame; |
| 472 | - | CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0)); |
| 472 | + | gast:Destroy(); |
| 473 | - | }) |
| 473 | + | end); |
| 474 | - | end |
| 474 | + | end; |
| 475 | - | elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then |
| 475 | + | largegasterBlast=function(tCFrame,aimPos) |
| 476 | - | sine = sine + math.rad(12) |
| 476 | + | local aimTarget; |
| 477 | - | human.WalkSpeed = 15 |
| 477 | + | if aimPos then |
| 478 | - | setLerp(.15) |
| 478 | + | aimTarget=CFrame.new(tCFrame,aimPos); |
| 479 | - | setJointCFrames({
|
| 479 | + | else |
| 480 | - | CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0)); |
| 480 | + | aimTarget=tCFrame; |
| 481 | - | CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001)); |
| 481 | + | end; |
| 482 | - | CFrame.new(Vector3.new(-1.97, 0 + math.sin(sine + .5)/20, 0.1 + math.sin(-sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(sine) * 23, 0, 0)); |
| 482 | + | local gast=Instance.new('Part',c);
|
| 483 | - | CFrame.new(Vector3.new(1.97, 0 - math.sin(sine + .5)/20, 0.1 + math.sin(sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(-sine) * 23, 0, 0)); |
| 483 | + | gast.Size=Vector3.new(25,.2,25); |
| 484 | - | CFrame.new(Vector3.new(-0.5, -1.93 - math.cos(sine)/8.7, 0.2 + math.sin(sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(-sine) * 30, 0, 0)); |
| 484 | + | gast.CanCollide=false; |
| 485 | - | CFrame.new(Vector3.new(0.5, -1.93 + math.cos(sine)/8.7, 0.2 + math.sin(-sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(sine) * 30, 0, 0)); |
| 485 | + | gast.Anchored=true; |
| 486 | - | }) |
| 486 | + | gast.Transparency=1; |
| 487 | playSound(400523331,gast,math.random(85,97)/100); | |
| 488 | - | if Debounces.scalingDamage == true then |
| 488 | + | wait(); |
| 489 | - | takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true) |
| 489 | + | for i=1,2 do |
| 490 | local decal=Instance.new('Decal',gast);
| |
| 491 | decal.Texture='rbxassetid://401564690'; | |
| 492 | - | end) |
| 492 | + | if i==1 then |
| 493 | decal.Face=Enum.NormalId.Top; | |
| 494 | - | human.Changed:connect(function(prop) |
| 494 | + | else |
| 495 | - | if prop == "MoveDirection" then |
| 495 | + | decal.Face=Enum.NormalId.Bottom; |
| 496 | - | if human.MoveDirection.magnitude > .02 then |
| 496 | + | end; |
| 497 | - | Debounces.isMoving = true |
| 497 | + | end; |
| 498 | - | else |
| 498 | + | gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10)); |
| 499 | - | Debounces.isMoving = false |
| 499 | + | |
| 500 | local tarCFrame=gast.CFrame; | |
| 501 | local isLooping=true; | |
| 502 | - | end) |
| 502 | + | |
| 503 | while rs.RenderStepped:wait()and isLooping do | |
| 504 | - | uinps.InputBegan:connect(function(InputObject) |
| 504 | + | gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60)); |
| 505 | - | if InputObject.KeyCode == Enum.KeyCode.A and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then |
| 505 | + | end; |
| 506 | - | Debounces.isBoosting = true |
| 506 | + | end); |
| 507 | - | Debounces.damageLevel = 10 |
| 507 | + | for i=1,40 do |
| 508 | - | Debounces.scalingDamage = true |
| 508 | + | wait(); |
| 509 | - | local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
|
| 509 | + | tarCFrame=gast.CFrame:lerp(aimTarget,.18); |
| 510 | - | setLerp(.15) |
| 510 | + | end; |
| 511 | - | setJointCFrames({
|
| 511 | + | playSound(340722848,gast,math.random(80,95)/100); |
| 512 | - | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20)); |
| 512 | + | isLooping=false; |
| 513 | - | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837)); |
| 513 | + | wait(.08); |
| 514 | - | CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45)); |
| 514 | + | local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999); |
| 515 | - | CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45)); |
| 515 | + | local _,pos=workspace:FindPartOnRay(ray,c); |
| 516 | - | CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495)); |
| 516 | + | local dis=(aimTarget.p-pos).magnitude; |
| 517 | - | CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999)); |
| 517 | + | local rayCFrame=CFrame.new(gast.CFrame.p+(pos-gast.CFrame.p).unit*(dis/2+200),gast.CFrame.p+(pos-gast.CFrame.p).unit*dis*2)*CFrame.Angles(0,math.pi/2,0); |
| 518 | - | }) |
| 518 | + | local rayPart=Instance.new('Part',rayModel);
|
| 519 | - | local boostSpeed = 250 |
| 519 | + | rayPart.Material='Neon'; |
| 520 | - | local efx = Instance.new("Sound",c.Head)
|
| 520 | + | rayPart.FormFactor='Custom'; |
| 521 | - | efx.SoundId = "rbxassetid://200632875" |
| 521 | + | rayPart.Anchored=true; |
| 522 | - | efx.Pitch = math.random(1100,1300)/1000 |
| 522 | + | rayPart.Color=Color3.new(139,0,0) |
| 523 | - | efx.Volume = .5 |
| 523 | + | rayPart.CanCollide=false; |
| 524 | - | efx:Play() |
| 524 | + | rayPart.Shape='Cylinder'; |
| 525 | - | spawn(function() |
| 525 | + | rayPart.Size=Vector3.new(dis+400,17,17); |
| 526 | - | wait(5) |
| 526 | + | rayPart.CFrame=rayCFrame; |
| 527 | - | efx:Destroy() |
| 527 | + | gast:Destroy(); |
| 528 | - | end) |
| 528 | + | end); |
| 529 | - | vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed |
| 529 | + | end; |
| 530 | - | vel.P = 1e3 |
| 530 | + | |
| 531 | - | vel.MaxForce = Vector3.new(math.huge,0,math.huge) |
| 531 | + | if Debounces.isAttacking==false and Debounces.isMoving==false and Debounces.Debounce==false and Debounces.isJumping==false then |
| 532 | - | wait(.15) |
| 532 | + | setLerp(.8); |
| 533 | - | vel.P = 1000 |
| 533 | + | elseif Debounces.isAttacking==false and Debounces.isMoving==true and Debounces.Debounce==false and Debounces.isSprinting==true and Debounces.isJumping==false then |
| 534 | - | vel.MaxForce = Vector3.new(3000,0,3000) |
| 534 | + | sine=tick()*28; |
| 535 | - | vel.Velocity = Vector3.new() |
| 535 | + | human.WalkSpeed=400; |
| 536 | - | wait(.3) |
| 536 | + | lerpBoom(); |
| 537 | - | setLerp(.3) |
| 537 | + | setLerp(.65); |
| 538 | - | setJointCFrames({
|
| 538 | + | end; |
| 539 | - | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13)); |
| 539 | + | human.Changed:connect(function(prop) |
| 540 | - | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879)); |
| 540 | + | if prop=='MoveDirection'then |
| 541 | - | CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45)); |
| 541 | + | if human.MoveDirection.magnitude>.02 then |
| 542 | - | CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383)); |
| 542 | + | Debounces.isMoving=true; |
| 543 | - | CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457)); |
| 543 | + | else |
| 544 | - | CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968)); |
| 544 | + | Debounces.isMoving=false; |
| 545 | - | }) |
| 545 | + | end; |
| 546 | - | wait(.2) |
| 546 | + | end; |
| 547 | - | vel:Destroy() |
| 547 | + | end); |
| 548 | - | Debounces.damageLevel = 0 |
| 548 | + | uinps.InputBegan:connect(function(InputObj) |
| 549 | - | Debounces.scalingDamage = false |
| 549 | + | if InputObj.KeyCode==Enum.KeyCode.Slash then |
| 550 | - | Debounces.isBoosting = false |
| 550 | + | local finishEvent=nil; |
| 551 | Debounces.isTyping=true | |
| 552 | - | end) |
| 552 | + | finishEvent=uinps.InputBegan:connect(function(InputObj) |
| 553 | if InputObj.KeyCode==Enum.KeyCode.Return or InputObj.UserInputType==Enum.UserInputType.MouseButton1 then | |
| 554 | - | uinps.InputBegan:connect(function(InputObject) |
| 554 | + | Debounces.isTyping=false; |
| 555 | - | if InputObject.KeyCode == Enum.KeyCode.D and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then |
| 555 | + | finishEvent:disconnect(); |
| 556 | - | Debounces.isBoosting = true |
| 556 | + | end; |
| 557 | - | Debounces.damageLevel = 10 |
| 557 | + | end); |
| 558 | - | Debounces.scalingDamage = true |
| 558 | + | end; |
| 559 | - | local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
|
| 559 | + | end); |
| 560 | - | setLerp(.15) |
| 560 | + | mouse.KeyDown:connect(function(key) |
| 561 | - | setJointCFrames({
|
| 561 | + | if key=='0'then |
| 562 | - | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15)); |
| 562 | + | Debounces.isSprinting=true; |
| 563 | - | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645)); |
| 563 | + | playSound(160248522,c.Torso); |
| 564 | - | CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853)); |
| 564 | + | for i=1,3 do |
| 565 | - | CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102)); |
| 565 | + | |
| 566 | - | CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566)); |
| 566 | + | local e=Instance.new('Part',c);
|
| 567 | - | CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528)); |
| 567 | + | e.Size=Vector3.new(1,1,1); |
| 568 | - | }) |
| 568 | + | e.Material='Neon'; |
| 569 | - | local boostSpeed = 250 |
| 569 | + | e.Anchored=true; |
| 570 | - | local efx = Instance.new("Sound",c.Head)
|
| 570 | + | e.CFrame=c.HumanoidRootPart.CFrame*CFrame.Angles(0,0,-math.pi/2); |
| 571 | - | efx.SoundId = "rbxassetid://200632875" |
| 571 | + | e.CanCollide=false; |
| 572 | - | efx.Pitch = math.random(1100,1300)/1000 |
| 572 | + | local rm=Instance.new('SpecialMesh',e);
|
| 573 | - | efx.Volume = .5 |
| 573 | + | rm.MeshType='FileMesh'; |
| 574 | - | efx:Play() |
| 574 | + | rm.MeshId='rbxassetid://3270017'; |
| 575 | - | spawn(function() |
| 575 | + | rm.Scale=Vector3.new(3.2,3.2,10); |
| 576 | - | wait(5) |
| 576 | + | for x=1,30 do |
| 577 | - | efx:Destroy() |
| 577 | + | wait(); |
| 578 | - | end) |
| 578 | + | rm.Scale=rm.Scale:lerp(Vector3.new(i*30,i*30,(4-i)*450),.1); |
| 579 | - | vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed |
| 579 | + | e.Transparency=x/30+.5; |
| 580 | - | vel.P = 1e3 |
| 580 | + | end; |
| 581 | - | vel.MaxForce = Vector3.new(math.huge,0,math.huge) |
| 581 | + | end); |
| 582 | - | wait(.15) |
| 582 | + | end; |
| 583 | - | vel.P = 1000 |
| 583 | + | c.HumanoidRootPart.Velocity=c.HumanoidRootPart.CFrame.lookVector*200; |
| 584 | - | vel.MaxForce = Vector3.new(3000,0,3000) |
| 584 | + | end; |
| 585 | - | vel.Velocity = Vector3.new() |
| 585 | + | end); |
| 586 | - | wait(.3) |
| 586 | + | mouse.KeyUp:connect(function(key) |
| 587 | - | setLerp(.3) |
| 587 | + | if key=='0'then |
| 588 | - | setJointCFrames({
|
| 588 | + | Debounces.isSprinting=false; |
| 589 | - | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13)); |
| 589 | + | end; |
| 590 | - | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327)); |
| 590 | + | end); |
| 591 | - | CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60)); |
| 591 | + | mouse.KeyDown:connect(function(key) |
| 592 | - | CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342)); |
| 592 | + | if key=='v'then |
| 593 | - | CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729)); |
| 593 | + | playSound(446961725,c.Torso,math.random(90,120)/100); |
| 594 | - | CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999)); |
| 594 | + | local oldPos=c.HumanoidRootPart.CFrame.p; |
| 595 | - | }) |
| 595 | + | local mHit=mouse.Hit.p; |
| 596 | - | wait(.2) |
| 596 | + | for i=1,2 do |
| 597 | - | vel:Destroy() |
| 597 | + | |
| 598 | - | Debounces.damageLevel = 0 |
| 598 | + | local pos |
| 599 | - | Debounces.scalingDamage = false |
| 599 | + | if i==1 then pos=oldPos else pos=mHit end |
| 600 | - | Debounces.isBoosting = false |
| 600 | + | local p=Instance.new('Part',workspace);
|
| 601 | p.Anchored=true; | |
| 602 | - | end) |
| 602 | + | p.CanCollide=false; |
| 603 | p.FormFactor='Custom'; | |
| 604 | - | uinps.InputBegan:connect(function(InputObject) |
| 604 | + | p.Color=Color3.new(139,0,0) |
| 605 | - | if InputObject.KeyCode == Enum.KeyCode.W and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then |
| 605 | + | p.CFrame=CFrame.new(pos+Vector3.new(0,500,0)); |
| 606 | - | Debounces.isBoosting = true |
| 606 | + | p.Transparency=.4; |
| 607 | - | Debounces.damageLevel = 10 |
| 607 | + | p.Size=Vector3.new(20,1000,20); |
| 608 | - | Debounces.scalingDamage = true |
| 608 | + | for i=1,20 do |
| 609 | - | local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
|
| 609 | + | wait(); |
| 610 | - | setLerp(.15) |
| 610 | + | p.Transparency=.4+(i/10)*.6; |
| 611 | - | setJointCFrames({
|
| 611 | + | p.Size=Vector3.new(20-i*1.5,1000,20-i*1.5); |
| 612 | - | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5)); |
| 612 | + | p.CFrame=CFrame.new(pos+Vector3.new(0,500,0)); |
| 613 | - | CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878)); |
| 613 | + | end; |
| 614 | - | CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0)); |
| 614 | + | p:Destroy(); |
| 615 | - | CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087)); |
| 615 | + | end); |
| 616 | - | CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5)); |
| 616 | + | end; |
| 617 | - | CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968)); |
| 617 | + | if Debounces.isMoving then |
| 618 | - | }) |
| 618 | + | c.HumanoidRootPart.CFrame=CFrame.new(mouse.Hit.p+Vector3.new(0,4,0),Vector3.new(c.HumanoidRootPart.Velocity.x,mouse.Hit.p.y+4,c.HumanoidRootPart.Velocity.z)); |
| 619 | - | local boostSpeed = 250 |
| 619 | + | else |
| 620 | - | local efx = Instance.new("Sound",c.Head)
|
| 620 | + | c.HumanoidRootPart.CFrame=CFrame.new(mouse.Hit.p+Vector3.new(0,4,0),Vector3.new(oldPos.x,mouse.Hit.p.y+4,oldPos.z)); |
| 621 | - | efx.SoundId = "rbxassetid://200632875" |
| 621 | + | end; |
| 622 | - | efx.Pitch = math.random(1100,1300)/1000 |
| 622 | + | end; |
| 623 | - | efx.Volume = .5 |
| 623 | + | end); |
| 624 | - | efx:Play() |
| 624 | + | mouse.KeyDown:connect(function(key) |
| 625 | - | spawn(function() |
| 625 | + | if key=='r'then |
| 626 | - | wait(5) |
| 626 | + | local pointTarget=mouse.Hit.p; |
| 627 | - | efx:Destroy() |
| 627 | + | |
| 628 | - | end) |
| 628 | + | for i=1,20 do |
| 629 | - | vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed |
| 629 | + | wait(); |
| 630 | - | vel.P = 1e3 |
| 630 | + | gasterBlast(CFrame.new(pointTarget+Vector3.new(math.sin(tick()*10)*20,5+math.abs(math.sin(tick()*5)*10),math.cos(tick()*10)*20),pointTarget)); |
| 631 | - | vel.MaxForce = Vector3.new(math.huge,0,math.huge) |
| 631 | + | end; |
| 632 | - | wait(.15) |
| 632 | + | wait(); |
| 633 | - | vel.P = 1000 |
| 633 | + | largegasterBlast(CFrame.new(pointTarget+Vector3.new(0,35,0),pointTarget)); |
| 634 | - | vel.MaxForce = Vector3.new(3000,0,3000) |
| 634 | + | end; |
| 635 | - | vel.Velocity = Vector3.new() |
| 635 | + | end); |
| 636 | - | wait(.3) |
| 636 | + | mouse.KeyDown:connect(function(key) |
| 637 | - | setLerp(.3) |
| 637 | + | if key=='f'then |
| 638 | - | setJointCFrames({
|
| 638 | + | local pointTarget=mouse.Hit.p; |
| 639 | - | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13)); |
| 639 | + | for i=1,20 do |
| 640 | - | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327)); |
| 640 | + | wait(); |
| 641 | - | CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60)); |
| 641 | + | |
| 642 | - | CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342)); |
| 642 | + | gasterBlast(CFrame.new(c.HumanoidRootPart.CFrame.p+Vector3.new(0,50,0),pointTarget):toWorldSpace(CFrame.new(math.sin(i/2)*(20-i),math.cos(i/2)*(20-i),-i))); |
| 643 | - | CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729)); |
| 643 | + | end; |
| 644 | - | CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999)); |
| 644 | + | largegasterBlast(CFrame.new(c.HumanoidRootPart.CFrame.p+Vector3.new(0,50,0),pointTarget):toWorldSpace(CFrame.new(0,0,-25))); |
| 645 | - | }) |
| 645 | + | end; |
| 646 | - | wait(.2) |
| 646 | + | end); |
| 647 | - | vel:Destroy() |
| 647 | + | mouse.Button1Down:connect(function() |
| 648 | - | Debounces.damageLevel = 0 |
| 648 | + | Debounces.isFlash=true; |
| 649 | - | Debounces.scalingDamage = false |
| 649 | + | end); |
| 650 | - | Debounces.isBoosting = false |
| 650 | + | mouse.Button1Up:connect(function() |
| 651 | Debounces.isFlash=false; | |
| 652 | - | end) |
| 652 | + | end); |
| 653 | mouse.KeyDown:connect(function(key) | |
| 654 | - | uinps.InputBegan:connect(function(InputObject) |
| 654 | + | if key=='j'then |
| 655 | - | if InputObject.KeyCode == Enum.KeyCode.S and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then |
| 655 | + | if music2.isPlaying then music2:Stop();else music2:Play();end; |
| 656 | - | Debounces.isBoosting = true |
| 656 | + | end; |
| 657 | - | Debounces.damageLevel = 10 |
| 657 | + | end); |
| 658 | - | Debounces.scalingDamage = true |
| 658 | + | mouse.KeyDown:connect(function(key) |
| 659 | - | local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
|
| 659 | + | if key=='l'then |
| 660 | - | setLerp(.15) |
| 660 | + | if music3.isPlaying then music3:Stop();else music3:Play();end; |
| 661 | - | setJointCFrames({
|
| 661 | + | end; |
| 662 | - | CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0)); |
| 662 | + | end); |
| 663 | - | CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093)); |
| 663 | + | mouse.KeyDown:connect(function(key) |
| 664 | - | CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939)); |
| 664 | + | if key=='o'then |
| 665 | - | CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465)); |
| 665 | + | if music5.isPlaying then music4:Stop();else music5:Play();end; |
| 666 | - | CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373)); |
| 666 | + | end; |
| 667 | - | CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968)); |
| 667 | + | end); |
| 668 | - | }) |
| 668 | + | mouse.KeyDown:connect(function(key) |
| 669 | - | local boostSpeed = 150 |
| 669 | + | if key=='e'then |
| 670 | - | local boostSpeed = 250 |
| 670 | + | |
| 671 | - | local efx = Instance.new("Sound",c.Head)
|
| 671 | + | gasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p,true); |
| 672 | - | efx.SoundId = "rbxassetid://200632875" |
| 672 | + | |
| 673 | - | efx.Pitch = math.random(1100,1300)/1000 |
| 673 | + | end; |
| 674 | - | efx.Volume = .5 |
| 674 | + | end); |
| 675 | - | efx:Play() |
| 675 | + | mouse.KeyDown:connect(function(key) |
| 676 | - | spawn(function() |
| 676 | + | if key=='c'then |
| 677 | - | wait(5) |
| 677 | + | |
| 678 | - | efx:Destroy() |
| 678 | + | largegasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p); |
| 679 | - | end) |
| 679 | + | |
| 680 | - | vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed |
| 680 | + | end; |
| 681 | - | vel.P = 1e3 |
| 681 | + | end); |
| 682 | - | vel.MaxForce = Vector3.new(math.huge,0,math.huge) |
| 682 | + | mouse.KeyDown:connect(function(key) |
| 683 | - | wait(.15) |
| 683 | + | if key=='q'then |
| 684 | - | vel.P = 1000 |
| 684 | + | |
| 685 | - | vel.MaxForce = Vector3.new(3000,0,3000) |
| 685 | + | for i=1,5 do |
| 686 | - | vel.Velocity = Vector3.new() |
| 686 | + | wait(); |
| 687 | - | wait(.3) |
| 687 | + | gasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p); |
| 688 | - | setLerp(.3) |
| 688 | + | |
| 689 | - | setJointCFrames({
|
| 689 | + | end; |
| 690 | - | CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0)); |
| 690 | + | largegasterBlast(c.Torso.CFrame.p+Vector3.new(0,25,0),mouse.Hit.p); |
| 691 | - | CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598)); |
| 691 | + | end; |
| 692 | - | CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511)); |
| 692 | + | end); |
| 693 | - | CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887)); |
| 693 | + | mouse.KeyDown:connect(function(key) |
| 694 | - | CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524)); |
| 694 | + | if key=='t'then |
| 695 | - | CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631)); |
| 695 | + | |
| 696 | - | }) |
| 696 | + | local pointTarget=mouse.Hit.p; |
| 697 | - | wait(.2) |
| 697 | + | for i=1,20 do |
| 698 | - | vel:Destroy() |
| 698 | + | gasterBlast(pointTarget+Vector3.new(math.sin(math.deg((360/40)*i))*(20-i),5+i,math.cos(math.deg((360/40)*i))*(20-i)),pointTarget); |
| 699 | - | Debounces.damageLevel = 0 |
| 699 | + | |
| 700 | - | Debounces.scalingDamage = false |
| 700 | + | end; |
| 701 | - | Debounces.isBoosting = false |
| 701 | + | wait(.2); |
| 702 | for i=1,10 do | |
| 703 | - | end) |
| 703 | + | largegasterBlast(pointTarget+Vector3.new(math.sin(math.deg((360/20)*i))*25,20,math.cos(math.deg((360/20)*i))*25),pointTarget); |
| 704 | end; | |
| 705 | - | uinps.InputBegan:connect(function(InputObject) |
| 705 | + | end; |
| 706 | - | if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then |
| 706 | + | end); |
| 707 | - | local isLooping = true |
| 707 | + | human.StateChanged:connect(function(os,ns) |
| 708 | - | uinps.InputEnded:connect(function(InputObject2) |
| 708 | + | if c.HumanoidRootPart.Velocity.Y<.1 and Debounces.isJumping==true and ns==Enum.HumanoidStateType.Landed then |
| 709 | - | if InputObject2.KeyCode == Enum.KeyCode.Q then |
| 709 | + | Debounces.isJumping=false; |
| 710 | - | isLooping = false |
| 710 | + | end; |
| 711 | - | end |
| 711 | + | end); |
| 712 | - | end) |
| 712 | + | rs.RenderStepped:connect(function() |
| 713 | - | while true do |
| 713 | + | Debounces.FPS=1/rs.RenderStepped:wait(); |
| 714 | - | if isLooping == false then |
| 714 | + | if Debounces.FPS<30 then |
| 715 | - | break |
| 715 | + | Debounces.FPS=30; |
| 716 | - | end |
| 716 | + | end; |
| 717 | - | Debounces.attackNumber = Debounces.attackNumber + 1 |
| 717 | + | if Debounces.isSprinting then |
| 718 | - | local aimPos = mouse.Hit.p |
| 718 | + | lerpBoom(); |
| 719 | - | local head = Instance.new("Part",c)
|
| 719 | + | else |
| 720 | - | head.Size = Vector3.new(12,.2,12) |
| 720 | + | noBoom(); |
| 721 | - | head.CanCollide = false |
| 721 | + | end; |
| 722 | - | head.Anchored = true |
| 722 | + | for _,v in pairs(rayModel:children())do |
| 723 | - | head.Transparency = 1 |
| 723 | + | v.Transparency=v.Transparency+.06/(Debounces.FPS/60); |
| 724 | - | for i = 1,2 do |
| 724 | + | if v.Transparency>.99 then v:Destroy();return;end; |
| 725 | - | local decal = Instance.new("Decal",head)
|
| 725 | + | v.CanCollide=true; |
| 726 | - | decal.Texture = "rbxassetid://323497117" |
| 726 | + | v.Color=Color3.new(139,0,0) |
| 727 | - | if i == 1 then |
| 727 | + | local tParts=v:GetTouchingParts(); |
| 728 | - | decal.Face = Enum.NormalId.Top |
| 728 | + | v.CanCollide=false; |
| 729 | - | else |
| 729 | + | local vCFrame=v.CFrame; |
| 730 | - | decal.Face = Enum.NormalId.Bottom |
| 730 | + | v.Size=v.Size+Vector3.new(0,1,1)/(Debounces.FPS/60); |
| 731 | - | end |
| 731 | + | v.CFrame=vCFrame; |
| 732 | - | end |
| 732 | + | for _,x in pairs(tParts)do |
| 733 | - | if Debounces.attackNumber%2 == 1 then |
| 733 | + | if x and x.Parent and x.Parent:FindFirstChild'Humanoid'and x.Parent.Humanoid:isA'Humanoid'and x.Parent~=c then |
| 734 | - | head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos) |
| 734 | + | x.Parent.Humanoid.Health=0; |
| 735 | - | else |
| 735 | + | end; |
| 736 | - | head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos) |
| 736 | + | end; |
| 737 | - | end |
| 737 | + | end; |
| 738 | - | spawn(function() |
| 738 | + | local val=0 |
| 739 | - | local timer = 0 |
| 739 | + | local ffing=false |
| 740 | - | while rs.RenderStepped:wait() do |
| 740 | + | local change=1 |
| 741 | - | if timer >= 1.55 then |
| 741 | + | local sine=0 |
| 742 | - | break |
| 742 | + | mouse.KeyDown:connect(function(k) |
| 743 | - | end |
| 743 | + | if k=="m" then |
| 744 | - | head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60))) |
| 744 | + | local FPSLerp=AnimStat.lerpSpeed/(Debounces.FPS/60); |
| 745 | - | timer = timer + 1/30/(Debounces.FPS/60) |
| 745 | + | char.Humanoid.FreeFalling:connect(function(f) |
| 746 | - | end |
| 746 | + | if f then |
| 747 | - | head.CFrame = CFrame.new(head.CFrame.p,aimPos) |
| 747 | + | ffing = true |
| 748 | - | local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999) |
| 748 | + | else |
| 749 | - | local hit, pos = workspace:FindPartOnRay(ray,c) |
| 749 | + | ffing = false |
| 750 | - | local dis = (head.CFrame.p - pos).magnitude |
| 750 | + | |
| 751 | - | local rayPart = Instance.new("Part",rayModel)
|
| 751 | + | |
| 752 | - | rayPart.Material = "Neon" |
| 752 | + | sine = sine + change |
| 753 | - | rayPart.FormFactor = "Custom" |
| 753 | + | if jump == true then |
| 754 | - | rayPart.BrickColor = BrickColor.new(1,1,1) |
| 754 | + | animpose = "Jumping" |
| 755 | - | rayPart.Anchored = true |
| 755 | + | elseif ffing == true then |
| 756 | - | rayPart.CanCollide = false |
| 756 | + | animpose = "Freefalling" |
| 757 | - | rayPart.Size = Vector3.new(7,7,dis + 400) |
| 757 | + | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then |
| 758 | - | local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2) |
| 758 | + | animpose = "Idle" |
| 759 | - | rayPart.CFrame = rayCFrame |
| 759 | + | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then |
| 760 | - | head:Destroy() |
| 760 | + | animpose = "Walking" |
| 761 | - | end) |
| 761 | + | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then |
| 762 | - | wait() |
| 762 | + | animpose = "Running" |
| 763 | - | local s = Instance.new("Sound",head)
|
| 763 | + | |
| 764 | - | s.Volume = 1 |
| 764 | + | if animpose ~= lastanimpose then |
| 765 | - | s.SoundId = "rbxassetid://332223043" |
| 765 | + | sine = 0 |
| 766 | - | s:Play() |
| 766 | + | if Debounces.NoIdl == false then |
| 767 | - | wait(.04) |
| 767 | + | for i = 1, 2 do |
| 768 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
| 769 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
| 770 | - | end) |
| 770 | + | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -2.75) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 0.6) |
| 771 | wait() | |
| 772 | - | uinps.InputBegan:connect(function(InputObj) |
| 772 | + | |
| 773 | - | if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then |
| 773 | + | else |
| 774 | - | Debounces.isAttacking = true |
| 774 | + | |
| 775 | - | local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p |
| 775 | + | |
| 776 | - | local head = Instance.new("Part",c)
|
| 776 | + | lastanimpose = animpose |
| 777 | - | head.Size = Vector3.new(18,.2,18) |
| 777 | + | if Debounces.NoIdl == false then |
| 778 | - | head.CanCollide = false |
| 778 | + | if ffing then |
| 779 | - | head.Anchored = true |
| 779 | + | change = 0.5 |
| 780 | - | head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos) |
| 780 | + | if stanceToggle == "Assertive" then |
| 781 | - | head.Transparency = 1 |
| 781 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(15), 0, math.rad(30)), 0.1) |
| 782 | - | for i = 1,2 do |
| 782 | + | elseif stanceToggle == "Aggressive" then |
| 783 | - | local decal = Instance.new("Decal",head)
|
| 783 | + | |
| 784 | - | decal.Texture = "rbxassetid://323497117" |
| 784 | + | |
| 785 | - | if i == 1 then |
| 785 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(20+2*math.cos(sine/14)),math.rad(95)), 0.1) |
| 786 | - | decal.Face = Enum.NormalId.Top |
| 786 | + | |
| 787 | - | else |
| 787 | + | elseif stanceToggle == "Floating" then |
| 788 | - | decal.Face = Enum.NormalId.Bottom |
| 788 | + | |
| 789 | - | end |
| 789 | + | |
| 790 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-20)), 0.1) | |
| 791 | - | setLerp(.1) |
| 791 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(20)), 0.1) |
| 792 | - | setJointCFrames({
|
| 792 | + | |
| 793 | - | CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0)); |
| 793 | + | elseif animpose == "Idle" then |
| 794 | - | CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001)); |
| 794 | + | if stanceToggle == "Aggressive" then |
| 795 | - | CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502)); |
| 795 | + | change = 0.5 |
| 796 | - | CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928)); |
| 796 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(20+2*math.cos(sine/14)),math.rad(70)), 0.2) |
| 797 | - | CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001)); |
| 797 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(10),math.rad(-70),math.rad(-30-2*math.cos(sine/14))), 0.2) |
| 798 | - | CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0)); |
| 798 | + | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5+2*math.cos(sine/14)),math.rad(-60),math.rad(10)) |
| 799 | - | }) |
| 799 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), math.rad(0)), 0.2) |
| 800 | - | spawn(function() |
| 800 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(6), math.rad(0), math.rad(-20-3*math.cos(sine/14))), 0.2) |
| 801 | - | local timer = 0 |
| 801 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), math.rad(0), math.rad(20+3*math.cos(sine/14))), 0.2) |
| 802 | - | while rs.RenderStepped:wait() do |
| 802 | + | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -2.75) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 0.2) |
| 803 | - | if timer >= 1.55/.8 then |
| 803 | + | elseif stanceToggle == "Assertive" then |
| 804 | - | break |
| 804 | + | change = 0.5 |
| 805 | - | end |
| 805 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10+2*math.cos(sine/14))), 0.2) |
| 806 | - | head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60))) |
| 806 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10+2*math.cos(sine/14))), 0.2) |
| 807 | - | timer = timer + 1/30/(Debounces.FPS/60) |
| 807 | + | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10+2*math.cos(sine/14)),math.rad(-32),0) |
| 808 | - | end |
| 808 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(36), math.rad(0)), 0.2) |
| 809 | - | head.CFrame = CFrame.new(head.CFrame.p,aimPos) |
| 809 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) |
| 810 | - | local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999) |
| 810 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) |
| 811 | - | local hit, pos = workspace:FindPartOnRay(ray,c) |
| 811 | + | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -2.75) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 0.2) |
| 812 | - | local dis = (head.CFrame.p - pos).magnitude |
| 812 | + | |
| 813 | - | local rayPart = Instance.new("Part",rayModel)
|
| 813 | + | elseif stanceToggle == "Floating" then |
| 814 | - | rayPart.Material = "Neon" |
| 814 | + | |
| 815 | - | rayPart.FormFactor = "Custom" |
| 815 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10+2*math.cos(sine/14))), 0.4) |
| 816 | - | rayPart.Name = "Punch" |
| 816 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16-4*math.cos(sine/14)),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) |
| 817 | - | rayPart.BrickColor = BrickColor.new(1,1,1) |
| 817 | + | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-16+2*math.cos(sine/14)),math.rad(0),0) |
| 818 | - | rayPart.Anchored = true |
| 818 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, (2-0.4*math.cos(sine/14)), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) |
| 819 | - | rayPart.CanCollide = false |
| 819 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) |
| 820 | - | rayPart.Size = Vector3.new(28,28,dis + 400) |
| 820 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) |
| 821 | - | local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2) |
| 821 | + | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -2.75) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 0.4) |
| 822 | - | rayPart.CFrame = rayCFrame |
| 822 | + | --[[bodypos.Parent = root |
| 823 | - | head:Destroy() |
| 823 | + | local hit,pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(root.CFrame,CFrame.new(0,-20,0)),char:children()) |
| 824 | - | end) |
| 824 | + | if hit then |
| 825 | bodypos.position = Vector3.new(0,hit.CFrame.2 + hit.Size.2/2 + 2,0) | |
| 826 | - | local s = Instance.new("Sound",head)
|
| 826 | + | else |
| 827 | - | s.Volume = 1 |
| 827 | + | bodypos.position = Vector3.new(0,root.CFrame.2,0) |
| 828 | - | s.SoundId = "rbxassetid://332223043" |
| 828 | + | end]] |
| 829 | - | s.Pitch = .8 |
| 829 | + | |
| 830 | - | s:Play() |
| 830 | + | elseif animpose == "Walking" then |
| 831 | - | wait(.75) |
| 831 | + | change = 1 |
| 832 | - | setLerp(.17) |
| 832 | + | if stanceToggle == "Assertive" then |
| 833 | - | setJointCFrames({
|
| 833 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.4) |
| 834 | - | CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0)); |
| 834 | + | elseif stanceToggle == "Passive" then |
| 835 | - | CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001)); |
| 835 | + | |
| 836 | - | CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76)); |
| 836 | + | |
| 837 | - | CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155)); |
| 837 | + | if stanceToggle == "Assertive" then |
| 838 | - | CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001)); |
| 838 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(14),math.rad(-10-2*math.cos(sine/14))), 0.2) |
| 839 | - | CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0)); |
| 839 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.sin(sine/10)/6, math.rad(10), math.rad(10)), 0.4) |
| 840 | - | }) |
| 840 | + | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10-4*math.cos(sine/14)),0,0) |
| 841 | - | wait(.5) |
| 841 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(-math.sin(sine/14)/2, 0, 0), .4) |
| 842 | - | Debounces.isAttacking = false |
| 842 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.sin(sine/14)/2, 0, 0), .4) |
| 843 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, --[[math.rad(36)]]0, math.rad(0)), 0.2) | |
| 844 | - | end) |
| 844 | + | elseif stanceToggle == "Aggressive" then |
| 845 | - | |
| 845 | + | change = 1.5 |
| 846 | - | reflect = function(d,n) |
| 846 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(10),math.rad(-70),math.rad(-30-2*math.cos(sine/14))), 0.2) |
| 847 | - | local i, n = -1 * d.unit, n.unit |
| 847 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(20+2*math.cos(sine/14)),math.rad(30)), 0.2) |
| 848 | - | local dot = n:Dot(i) |
| 848 | + | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0+2*math.cos(sine/10)),math.rad(-60),math.rad(10)) |
| 849 | - | return 2*dot*n - i |
| 849 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(4), math.rad(0), math.rad(-10-8*math.cos(sine/14))), 0.2) |
| 850 | - | end |
| 850 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(10+6*math.cos(sine/14))), 0.2) |
| 851 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), math.rad(0)), 0.2) | |
| 852 | - | makeReflectionBeam = function(pos,look,isCrit) |
| 852 | + | elseif stanceToggle == "Floating" then |
| 853 | - | local ray = Ray.new(pos,look) |
| 853 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(14),math.rad(-10-2*math.cos(sine/14))), 0.4) |
| 854 | - | local hit,hitpos,norm = workspace:FindPartOnRay(ray,c) |
| 854 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.sin(sine/10)/6, math.rad(10), math.rad(10)), 0.4) |
| 855 | - | local e = Instance.new("Part",rayModel)
|
| 855 | + | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4) |
| 856 | - | e.Anchored = true |
| 856 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, 0), 0.4) |
| 857 | - | e.CanCollide = false |
| 857 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, 0), 0.4) |
| 858 | - | e.BrickColor = BrickColor.new("White")
|
| 858 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, (2-0.2*math.cos(sine/14)), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) |
| 859 | - | e.Material = "Neon" |
| 859 | + | |
| 860 | - | e.FormFactor = "Custom" |
| 860 | + | |
| 861 | - | e.Size = Vector3.new(6,6,(pos - hitpos).magnitude) |
| 861 | + | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -2.75) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 0.4) |
| 862 | - | if isCrit == true then |
| 862 | + | elseif animpose == "Running" then |
| 863 | - | e.Size = Vector3.new(16,16,(pos - hitpos).magnitude) |
| 863 | + | change = 1 |
| 864 | - | e.Name = "Punch" |
| 864 | + | if stanceToggle == "Assertive" then |
| 865 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.04) | |
| 866 | - | e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos) |
| 866 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-12.5-6*math.cos(sine/14)), math.rad(50), math.rad(-40)), 0.4) |
| 867 | - | local e = Instance.new("Sound",c)
|
| 867 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-50), math.rad(-30), math.rad(26)), 0.4) |
| 868 | - | if isCrit == true then |
| 868 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.75 + -math.sin(sine / 20)/12, -0.5 + -math.sin(sine / 16) / 2.5) * CFrame.Angles(math.rad(8) + -math.sin(sine/6)/1.5, 0, 0), .4) |
| 869 | - | e.Volume = .5 |
| 869 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.75 + math.sin(sine / 20)/12, -0.5 + math.sin(sine / 16) / 2.5) * CFrame.Angles(math.rad(8) + math.sin(sine/6)/1.5, 0, 0), .4) |
| 870 | - | else |
| 870 | + | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(-1.1, -3.2, 0) * CFrame.Angles(0, 0, math.rad(-28)), 0.4) |
| 871 | - | e.Volume = .3 |
| 871 | + | if sine <= 7 then |
| 872 | - | e.Pitch = 1.5 |
| 872 | + | for i = 1, 1.5 do |
| 873 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-17-2*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.2) | |
| 874 | - | e.SoundId = "rbxassetid://200632875" |
| 874 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(-30+4*math.cos(sine/14)), math.rad(0), 0), 0.05) |
| 875 | - | e:Play() |
| 875 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, math.rad(-5)), 0.2) |
| 876 | - | spawn(function() |
| 876 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, 0, -1) * CFrame.Angles(math.rad(0), 0, math.rad(5)), 0.2) |
| 877 | - | wait(6) |
| 877 | + | if sine > 7 or Debounces.on == true then |
| 878 | - | e:Destroy() |
| 878 | + | break |
| 879 | - | end) |
| 879 | + | |
| 880 | - | wait(.05) |
| 880 | + | |
| 881 | - | if hit ~= nil then |
| 881 | + | |
| 882 | - | newDir = reflect(look.unit,norm,isCrit) |
| 882 | + | elseif sine <= 10 then |
| 883 | - | makeReflectionBeam(hitpos,newDir * 999,isCrit) |
| 883 | + | for i = 1, 1.5 do |
| 884 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, math.rad(-5)), 0.2) | |
| 885 | - | end |
| 885 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, math.rad(5)), 0.2) |
| 886 | if sine > 10 or Debounces.on == true then | |
| 887 | - | uinps.InputBegan:connect(function(InputObject) |
| 887 | + | break |
| 888 | - | if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then |
| 888 | + | |
| 889 | - | local isLooping = true |
| 889 | + | |
| 890 | - | uinps.InputEnded:connect(function(InputObject2) |
| 890 | + | |
| 891 | - | if InputObject2.KeyCode == Enum.KeyCode.Q then |
| 891 | + | elseif sine <= 17 then |
| 892 | - | isLooping = false |
| 892 | + | for i = 1, 1.5 do |
| 893 | - | end |
| 893 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, 0, -1) * CFrame.Angles(math.rad(0), 0, math.rad(5)), 0.2) |
| 894 | - | end) |
| 894 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0.5) * CFrame.Angles(math.rad(0), 0, math.rad(5)), 0.2) |
| 895 | - | while true do |
| 895 | + | if sine > 17 or Debounces.on == true then |
| 896 | - | if isLooping == false then |
| 896 | + | break |
| 897 | - | break |
| 897 | + | end |
| 898 | - | end |
| 898 | + | wait() |
| 899 | - | Debounces.attackNumber = Debounces.attackNumber + 1 |
| 899 | + | |
| 900 | - | local aimPos = mouse.Hit.p |
| 900 | + | elseif sine <= 20 then |
| 901 | - | local head = Instance.new("Part",c)
|
| 901 | + | for i = 1, 1.5 do |
| 902 | - | head.Size = Vector3.new(12,.2,12) |
| 902 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, math.rad(-5)), 0.2) |
| 903 | - | head.CanCollide = false |
| 903 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, math.rad(5)), 0.2) |
| 904 | - | head.Anchored = true |
| 904 | + | if sine > 20 or Debounces.on == true then |
| 905 | - | head.Transparency = 1 |
| 905 | + | break |
| 906 | - | for i = 1,2 do |
| 906 | + | |
| 907 | - | local decal = Instance.new("Decal",head)
|
| 907 | + | |
| 908 | - | decal.Texture = "rbxassetid://323497117" |
| 908 | + | |
| 909 | - | if i == 1 then |
| 909 | + | elseif sine > 20 then |
| 910 | - | decal.Face = Enum.NormalId.Top |
| 910 | + | sine = 0 |
| 911 | - | else |
| 911 | + | end |
| 912 | - | decal.Face = Enum.NormalId.Bottom |
| 912 | + | elseif stanceToggle == "Aggressive" then |
| 913 | - | end |
| 913 | + | elseif stanceToggle == "Floating" then |
| 914 | - | end |
| 914 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-20*math.cos(sine/14)),math.rad(14),math.rad(-10-2*math.cos(sine/14))), 0.4) |
| 915 | - | if Debounces.attackNumber%2 == 1 then |
| 915 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-20*math.cos(sine/14)), math.rad(10), math.rad(10)), 0.4) |
| 916 | - | head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos) |
| 916 | + | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0) |
| 917 | - | else |
| 917 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-4-10*math.cos(sine/16)), 0, 0), 0.4) |
| 918 | - | head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos) |
| 918 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-3-12*math.cos(sine/17)), 0, 0), 0.4) |
| 919 | - | end |
| 919 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, (2-0.4*math.cos(sine/14)), 0) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05) |
| 920 | - | spawn(function() |
| 920 | + | end |
| 921 | - | local timer = 0 |
| 921 | + | |
| 922 | - | while rs.RenderStepped:wait() do |
| 922 | + | |
| 923 | - | if timer >= 1.55 then |
| 923 | + | |
| 924 | - | break |
| 924 | + | |
| 925 | - | end |
| 925 | + | end); |