SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --Enjoy little skids :) |
| 1 | + | |
| 2 | - | local p = game.Players.TheProNoob2004 |
| 2 | + | |
| 3 | - | local char = p.Character |
| 3 | + | |
| 4 | - | local hed = char.Head |
| 4 | + | |
| 5 | local player = game.Players.iiReanimation | |
| 6 | char = player.Character | |
| 7 | hum = char.Humanoid | |
| 8 | - | local player = game.Players.LocalPlayer |
| 8 | + | |
| 9 | lig = Instance.new("PointLight",player.Character.Torso)
| |
| 10 | lig.Color=Color3.new(0,255,255) | |
| 11 | m=player:GetMouse() | |
| 12 | bb = Instance.new("BillboardGui",player.Character.Head)
| |
| 13 | bb.Enabled = true | |
| 14 | bb.AlwaysOnTop = true | |
| 15 | bb.Size = UDim2.new(0,200,0,50) | |
| 16 | bb.StudsOffset = Vector3.new(0,1,0) | |
| 17 | gui=Instance.new("TextBox",bb)
| |
| 18 | gui.Text = "* " | |
| 19 | gui.Size = UDim2.new(0,133,0,45) | |
| 20 | gui.Position=UDim2.new(0,57,0,-40) | |
| 21 | gui.TextColor3 = Color3.new(255,255,255) | |
| 22 | gui.BackgroundColor3=Color3.new(0,0,0) | |
| 23 | gui.TextWrapped = true | |
| 24 | gui.TextScaled = true | |
| 25 | gui.TextXAlignment = "Left" | |
| 26 | gui.TextYAlignment = "Top" | |
| 27 | gui.Visible = false | |
| 28 | gui.BorderColor3 = Color3.new(0,0,0) | |
| 29 | ||
| 30 | gui1=Instance.new("TextButton",bb)
| |
| 31 | gui1.Position=UDim2.new(0,5,0,-43) | |
| 32 | gui1.Size = UDim2.new(0,190,0,51) | |
| 33 | ||
| 34 | gui1.TextColor3 = Color3.new(255,255,255) | |
| 35 | gui1.BackgroundColor3=Color3.new(255,255,255) | |
| 36 | ||
| 37 | Debounces = {
| |
| 38 | ["IsSpeech"]=false; | |
| 39 | } | |
| 40 | ||
| 41 | ||
| 42 | Speeches = {
| |
| 43 | "rbxassetid://316403916", | |
| 44 | "rbxassetid://316403844", | |
| 45 | "rbxassetid://316403787", | |
| 46 | "rbxassetid://316403490" | |
| 47 | - | asd = Instance.new("Sound",workspace)
|
| 47 | + | }; |
| 48 | ||
| 49 | ||
| 50 | ||
| 51 | ||
| 52 | function swait(num) | |
| 53 | - | asd2 = Instance.new("Sound",hed)
|
| 53 | + | if num==0 or num==nil then |
| 54 | - | asd2.SoundId = "http://www.roblox.com/asset/?id = 410806544" |
| 54 | + | game:service'RunService'.Stepped:wait(0) |
| 55 | else | |
| 56 | for i=0,num do | |
| 57 | game:service'RunService'.Stepped:wait(0) | |
| 58 | end | |
| 59 | end | |
| 60 | end | |
| 61 | ||
| 62 | ||
| 63 | for _,v in pairs(Speeches) do | |
| 64 | ||
| 65 | game:GetService("ContentProvider"):Preload(v)
| |
| 66 | ||
| 67 | end | |
| 68 | ||
| 69 | so = function(id,par,vol,pit) | |
| 70 | coroutine.resume(coroutine.create(function() | |
| 71 | local sou = Instance.new("Sound",par or workspace)
| |
| 72 | sou.Volume=vol | |
| 73 | sou.Pitch=pit or 1 | |
| 74 | sou.SoundId=id | |
| 75 | swait() | |
| 76 | sou:play() | |
| 77 | game:GetService("Debris"):AddItem(sou,sou.TimeLength)
| |
| 78 | end)) | |
| 79 | end | |
| 80 | ||
| 81 | ||
| 82 | ||
| 83 | function speech() | |
| 84 | if Debounces.IsSpeech then return end | |
| 85 | Debounces.IsSpeech = true | |
| 86 | ||
| 87 | so(""..Speeches[math.random(1,#Speeches)].."",torso,1,1)
| |
| 88 | ||
| 89 | swait() | |
| 90 | ||
| 91 | Debounces.IsSpeech = false | |
| 92 | end | |
| 93 | ||
| 94 | ||
| 95 | gui1.Visible = false | |
| 96 | img = Instance.new("ImageLabel",bb)
| |
| 97 | img.Size = UDim2.new(0,46,0,47) | |
| 98 | img.Position = UDim2.new(0,10,0,-41) | |
| 99 | img.Image = "rbxassetid://388166921" | |
| 100 | - | des = true |
| 100 | + | |
| 101 | - | end) |
| 101 | + | |
| 102 | - | m.KeyDown:connect(function(k) |
| 102 | + | asd = Instance.new("Sound",player.Character.Torso)
|
| 103 | - | if k == "g" then |
| 103 | + | |
| 104 | - | asd2:Play() |
| 104 | + | |
| 105 | - | eye.Transparency = 0 |
| 105 | + | |
| 106 | asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695" | |
| 107 | ||
| 108 | - | end) |
| 108 | + | asd2 = Instance.new("Sound",player.Character.Torso)
|
| 109 | - | m.KeyDown:connect(function(k) |
| 109 | + | asd2.SoundId = "http://www.roblox.com/asset/?id = 306370481" |
| 110 | - | if k == "p" then |
| 110 | + | |
| 111 | asd3 = Instance.new("Sound",player.Character.Torso)
| |
| 112 | - | asd3:Play() |
| 112 | + | |
| 113 | asd3.Looped = true | |
| 114 | - | end) |
| 114 | + | |
| 115 | - | m.KeyDown:connect(function(k) |
| 115 | + | |
| 116 | - | if k == "r" then |
| 116 | + | |
| 117 | - | eye.Transparency = 0 |
| 117 | + | |
| 118 | - | asd4:Play() |
| 118 | + | |
| 119 | asd5.Looped = true | |
| 120 | - | end) |
| 120 | + | |
| 121 | - | m.KeyDown:connect(function(k) |
| 121 | + | |
| 122 | - | if k == "q" then |
| 122 | + | |
| 123 | function play(play) | |
| 124 | - | asd5:Play() |
| 124 | + | |
| 125 | asd1:Play() | |
| 126 | - | end) |
| 126 | + | |
| 127 | - | m.KeyDown:connect(function(k) |
| 127 | + | |
| 128 | - | if k == "z" then |
| 128 | + | |
| 129 | eye.Material = "Neon" | |
| 130 | - | img.Image = "rbxassetid://388167098" |
| 130 | + | |
| 131 | eye.Shape = "Ball" | |
| 132 | - | end) |
| 132 | + | |
| 133 | - | m.KeyDown:connect(function(k) |
| 133 | + | |
| 134 | - | if k == "c" then |
| 134 | + | |
| 135 | weld.Part1 = player.Character.Head | |
| 136 | weld.C0 = CFrame.new(0.1,-0.2,0.45) | |
| 137 | - | end) |
| 137 | + | |
| 138 | - | m.KeyDown:connect(function(k) |
| 138 | + | |
| 139 | - | if k == "n" then |
| 139 | + | |
| 140 | - | img.Image = "rbxassetid://388166991" |
| 140 | + | |
| 141 | gui.Text = "* " | |
| 142 | - | end) |
| 142 | + | |
| 143 | - | m.KeyDown:connect(function(k) |
| 143 | + | |
| 144 | - | if k == "b" then |
| 144 | + | |
| 145 | - | img.Image = "rbxassetid://378060690" |
| 145 | + | |
| 146 | print(a) | |
| 147 | - | end) |
| 147 | + | |
| 148 | - | m.KeyDown:connect(function(k) |
| 148 | + | |
| 149 | - | if k == "m" then |
| 149 | + | |
| 150 | - | img.Image = "rbxassetid://378609498" |
| 150 | + | |
| 151 | play() | |
| 152 | - | end) |
| 152 | + | |
| 153 | - | m.KeyDown:connect(function(k) |
| 153 | + | |
| 154 | - | if k == "v" then |
| 154 | + | |
| 155 | - | img.Image = "rbxassetid://388166961" |
| 155 | + | pls=game:GetService'Players'; |
| 156 | rs=game:GetService'RunService'; | |
| 157 | - | end) |
| 157 | + | uinps=game:GetService'UserInputService'; |
| 158 | - | m.KeyDown:connect(function(k) |
| 158 | + | lp=pls.LocalPlayer; |
| 159 | - | if k == "h" then |
| 159 | + | mouse=lp:GetMouse(); |
| 160 | - | img.Image = "rbxassetid://378577428" |
| 160 | + | c=lp.Character; |
| 161 | rayModel=Instance.new('Model',c);
| |
| 162 | - | end) |
| 162 | + | human=c.Humanoid; |
| 163 | - | m.KeyDown:connect(function(k) |
| 163 | + | Cone=nil; |
| 164 | - | if k == "j" then |
| 164 | + | human.MaxHealth=5000; |
| 165 | - | img.Image = "rbxassetid://388167116" |
| 165 | + | wait(); |
| 166 | human.Health=5000; | |
| 167 | - | end) |
| 167 | + | c.Health:Destroy(); |
| 168 | - | m.KeyDown:connect(function(k) |
| 168 | + | Debounces={
|
| 169 | - | if k == "l" then |
| 169 | + | FPS=0; |
| 170 | - | img.Image = "rbxassetid://388167154" |
| 170 | + | isAttacking=false; |
| 171 | - | print("You take your very last breath...")
|
| 171 | + | isMoving=false; |
| 172 | - | asdd = Instance.new("Sound",player.Character.Torso)
|
| 172 | + | isSprinting=false; |
| 173 | - | asdd.SoundId = "http://www.roblox.com/asset/?id = 357417055" |
| 173 | + | Debounce=false; |
| 174 | - | asdd.Looped = false |
| 174 | + | isTyping=false; |
| 175 | isJumping=false; | |
| 176 | - | wait() |
| 176 | + | isFlash=false; |
| 177 | - | asdd:Play() |
| 177 | + | }; |
| 178 | - | end) |
| 178 | + | numLerp=function(start,goal,alpha) |
| 179 | - | wait(2) |
| 179 | + | return(((goal-start)*alpha)+start); |
| 180 | - | asddd = Instance.new("Sound",player.Character.Torso)
|
| 180 | + | end; |
| 181 | - | asddd.SoundId = "http://www.roblox.com/asset/?id = 387183672" |
| 181 | + | CFrameZero=function() |
| 182 | - | asddd.Looped = false |
| 182 | + | return CFrame.new(Vector3.new()); |
| 183 | end; | |
| 184 | - | wait() |
| 184 | + | local function a() |
| 185 | - | asddd:Play() |
| 185 | + | local t=tick(); |
| 186 | - | end) |
| 186 | + | local l=t%1*3; |
| 187 | - | wait(2) |
| 187 | + | local t=.5*math.pi*(l%1); |
| 188 | - | asdded = Instance.new("Sound",player.Character.Torso)
|
| 188 | + | if l<1 then |
| 189 | - | asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707" |
| 189 | + | return Color3.new(1,1-math.cos(t),1-math.sin(t)); |
| 190 | - | asdded.Looped = false |
| 190 | + | elseif l<2 then |
| 191 | return Color3.new(1-math.sin(t),1,1-math.cos(t)); | |
| 192 | - | wait() |
| 192 | + | else |
| 193 | - | asdded:Play() |
| 193 | + | return Color3.new(1-math.cos(t),1-math.sin(t),1); |
| 194 | - | end) |
| 194 | + | end; |
| 195 | - | char:BreakJoints() |
| 195 | + | end; |
| 196 | rad=function(value) | |
| 197 | - | end) |
| 197 | + | return math.rad(value); |
| 198 | - | m.KeyDown:connect(function(k) |
| 198 | + | end; |
| 199 | - | if k == "x" then |
| 199 | + | CFAngles=function(Vector) |
| 200 | - | if des == true then |
| 200 | + | return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z)); |
| 201 | end; | |
| 202 | AnimStat={
| |
| 203 | lerpSpeed=.2; | |
| 204 | lerpSpeed2=.35; | |
| 205 | lerpTween=0; | |
| 206 | }; | |
| 207 | - | end) |
| 207 | + | Joints={
|
| 208 | - | m.KeyDown:connect(function(k) |
| 208 | + | c.HumanoidRootPart.RootJoint; |
| 209 | - | if k == "f" then |
| 209 | + | c.Torso.Neck; |
| 210 | - | asd3:Stop() |
| 210 | + | c.Torso['Left Shoulder']; |
| 211 | - | asd2:Stop() |
| 211 | + | c.Torso['Right Shoulder']; |
| 212 | - | asd4:Stop() |
| 212 | + | c.Torso['Left Hip']; |
| 213 | - | dunkd:Stop() |
| 213 | + | c.Torso['Right Hip']; |
| 214 | }; | |
| 215 | - | asd5:Stop() |
| 215 | + | JointTargets={
|
| 216 | CFrameZero(); | |
| 217 | - | end) |
| 217 | + | CFrameZero(); |
| 218 | - | m.KeyDown:connect(function(k) |
| 218 | + | CFrameZero(); |
| 219 | - | if k == "u" then |
| 219 | + | CFrameZero(); |
| 220 | CFrameZero(); | |
| 221 | CFrameZero(); | |
| 222 | }; | |
| 223 | - | dunkd:Play() |
| 223 | + | prepareCharacter=function() |
| 224 | music=Instance.new('Sound',c.HumanoidRootPart);
| |
| 225 | - | end) |
| 225 | + | music.SoundId='rbxassetid://394144904'; |
| 226 | - | m.KeyDown:connect(function(k) |
| 226 | + | music.Looped=true; |
| 227 | - | if k == "y" then |
| 227 | + | music.Volume=.6; |
| 228 | - | img.Image = "rbxassetid://378198656" |
| 228 | + | music2=Instance.new('Sound',c);
|
| 229 | music2.SoundId='rbxassetid://259613634'; | |
| 230 | - | end) |
| 230 | + | music2.Looped=true; |
| 231 | - | -- my god... |
| 231 | + | music2.Volume=1; |
| 232 | - | -- Suck_HiyaThere moves to arizona |
| 232 | + | music3=Instance.new('Sound',c.HumanoidRootPart);
|
| 233 | music3.SoundId='rbxassetid://266530326'; | |
| 234 | - | -------------------------------------------------------- |
| 234 | + | music3.Looped=true; |
| 235 | music3.Volume=1; | |
| 236 | - | pls = game:GetService'Players' |
| 236 | + | music4=Instance.new('Sound',c.HumanoidRootPart);
|
| 237 | - | rs = game:GetService'RunService' |
| 237 | + | music4.SoundId='rbxassetid://155738252'; |
| 238 | - | uinps = game:GetService'UserInputService' |
| 238 | + | music4.Looped=true; |
| 239 | - | lp = pls.LocalPlayer |
| 239 | + | music4.Volume=1; |
| 240 | - | mouse = lp:GetMouse() |
| 240 | + | music5=Instance.new('Sound',c.HumanoidRootPart);
|
| 241 | - | c = lp.Character |
| 241 | + | music5.SoundId='rbxassetid://215391212'; |
| 242 | - | human = c.Humanoid |
| 242 | + | music5.Looped=true; |
| 243 | - | human.MaxHealth = 50 |
| 243 | + | music5.Volume=1; |
| 244 | - | soundVol = 0 |
| 244 | + | human.WalkSpeed=0; |
| 245 | - | wait() |
| 245 | + | human.JumpPower=0; |
| 246 | - | human.Health = 50 |
| 246 | + | for i,v in pairs(c:children())do |
| 247 | - | c.Health:Destroy() |
| 247 | + | if v:isA'Hat'then v:Destroy();end; |
| 248 | if v:FindFirstChild'roblox'then v.roblox:Destroy();end; | |
| 249 | - | -------------------------------------------------------- |
| 249 | + | if v.Name=='Head'then v.Transparency=1 for _,x in pairs(v:children())do if x.ClassName=='Sound'then x:Destroy();end;end;end; |
| 250 | if v:FindFirstChild'face'then v.face:Destroy();end; | |
| 251 | - | Debounces = {
|
| 251 | + | if v:isA'Part'then v.BrickColor=BrickColor.new'White';end; |
| 252 | - | AnimationCycles = 0; |
| 252 | + | |
| 253 | - | FPS = 0; |
| 253 | + | local shirt=c:FindFirstChild'Shirt'or Instance.new('Shirt',c);
|
| 254 | - | scalingDamage = false; |
| 254 | + | local pants=c:FindFirstChild'Pants'or Instance.new('Pants',c);
|
| 255 | - | damageLevel = 0; |
| 255 | + | shirt.ShirtTemplate='rbxassetid://334755544'; |
| 256 | - | attackNumber = 0; |
| 256 | + | pants.PantsTemplate='rbxassetid://315964941'; |
| 257 | - | isAttacking = false; |
| 257 | + | local Head=Instance.new('Part',c);
|
| 258 | - | isMoving = false; |
| 258 | + | Head.Size=Vector3.new(2.5,2.5,1); |
| 259 | - | isSprinting = false; |
| 259 | + | Head.Transparency=1; |
| 260 | - | isBoosting = false; |
| 260 | + | Head:BreakJoints(); |
| 261 | - | isPassive = false; |
| 261 | + | local hw=Instance.new('Weld',c.Head);
|
| 262 | - | isTyping = false; |
| 262 | + | hw.Part0=c.Head; |
| 263 | - | } |
| 263 | + | hw.Part1=Head; |
| 264 | hw.C0=CFrame.new(0,.3,0); | |
| 265 | - | -------------------------------------------------------- |
| 265 | + | faceDecal=Instance.new('Decal',Head);
|
| 266 | faceDecal.Face=Enum.NormalId.Front; | |
| 267 | - | numLerp = function(start, goal, alpha) |
| 267 | + | faceDecal.Texture='rbxassetid://400387868'; |
| 268 | - | return(((goal - start) * alpha) + start) |
| 268 | + | local backDecal=Instance.new('Decal',Head);
|
| 269 | - | end |
| 269 | + | backDecal.Face=Enum.NormalId.Back; |
| 270 | backDecal.Texture='rbxassetid://400377807'; | |
| 271 | - | CFrameZero = function() |
| 271 | + | local mes=Instance.new('BlockMesh',Head);
|
| 272 | - | return CFrame.new(Vector3.new()) |
| 272 | + | mes.Scale=Vector3.new(1,1,.4); |
| 273 | - | end |
| 273 | + | local Anim=human:FindFirstChild'Animator' |
| 274 | if Anim then Anim:Destroy();end; | |
| 275 | - | rad = function(value) |
| 275 | + | end; |
| 276 | - | return math.rad(value) |
| 276 | + | setJointCFrames=function(table) |
| 277 | - | end |
| 277 | + | for i=1,#table do |
| 278 | JointTargets[i]=table[i]; | |
| 279 | - | CFAngles = function(Vector) |
| 279 | + | end; |
| 280 | - | return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z)) |
| 280 | + | end; |
| 281 | - | end |
| 281 | + | triWave=function(x) |
| 282 | local pi2=math.pi/2; | |
| 283 | - | -------------------------------------------------------- |
| 283 | + | return math.abs((x/pi2)%4-2)-1; |
| 284 | end; | |
| 285 | - | AnimStat = {
|
| 285 | + | setLerp=function(speed) |
| 286 | - | lerpSpeed = .2; |
| 286 | + | AnimStat.lerpSpeed=speed; |
| 287 | - | lerpSpeed2 = .35; |
| 287 | + | end; |
| 288 | - | lerpTween = 0; |
| 288 | + | setTween=function(tween) |
| 289 | - | } |
| 289 | + | AnimStat.lerpTween=tween; |
| 290 | end; | |
| 291 | - | Joints = {
|
| 291 | + | playSound=function(id,part,vol,pitch) |
| 292 | - | c.HumanoidRootPart.RootJoint; |
| 292 | + | local vol=vol or 1; |
| 293 | - | c.Torso.Neck; |
| 293 | + | local pitch=pitch or 1; |
| 294 | - | c.Torso['Left Shoulder']; |
| 294 | + | local x=Instance.new('Sound',part);
|
| 295 | - | c.Torso['Right Shoulder']; |
| 295 | + | x.Volume=vol; |
| 296 | - | c.Torso['Left Hip']; |
| 296 | + | x.Pitch=pitch; |
| 297 | - | c.Torso['Right Hip']; |
| 297 | + | x.SoundId='rbxassetid://'..id; |
| 298 | - | } |
| 298 | + | |
| 299 | wait(); | |
| 300 | - | JointTargets = {
|
| 300 | + | x:Play(); |
| 301 | - | CFrameZero(); |
| 301 | + | wait(x.TimeLength+.2); |
| 302 | - | CFrameZero(); |
| 302 | + | x:Destroy(); |
| 303 | - | CFrameZero(); |
| 303 | + | end); |
| 304 | - | CFrameZero(); |
| 304 | + | end; |
| 305 | - | CFrameZero(); |
| 305 | + | lerpBoom=function() |
| 306 | - | CFrameZero(); |
| 306 | + | if Cone then |
| 307 | - | } |
| 307 | + | Cone.CFrame=CFrame.new(c.HumanoidRootPart.CFrame.p,c.HumanoidRootPart.CFrame.p+c.HumanoidRootPart.Velocity)*CFrame.Angles(-math.pi/2,0,0); |
| 308 | cMesh.Scale=Vector3.new(20,20+c.HumanoidRootPart.Velocity.magnitude/10,20); | |
| 309 | - | -------------------------------------------------------- |
| 309 | + | Cone.Transparency=1-c.HumanoidRootPart.Velocity.magnitude/1000; |
| 310 | else | |
| 311 | - | BodyColors = {
|
| 311 | + | Cone=Instance.new('Part',c);
|
| 312 | - | HeadColor = BrickColor.new("Institutional white");
|
| 312 | + | Cone.Anchored=true; |
| 313 | - | LeftArmColor = BrickColor.new("Institutional white");
|
| 313 | + | Cone.CanCollide=false; |
| 314 | - | RightArmColor = BrickColor.new("Institutional white");
|
| 314 | + | Cone.Transparency=math.random(50,70)/100; |
| 315 | - | LeftLegColor = BrickColor.new("Institutional white");
|
| 315 | + | Cone.Size=Vector3.new(1,1,1); |
| 316 | - | RightLegColor = BrickColor.new("Institutional white");
|
| 316 | + | Cone.CFrame=CFrame.new(c.HumanoidRootPart.CFrame.p,c.HumanoidRootPart.CFrame.p+c.HumanoidRootPart.Velocity)*CFrame.Angles(-math.pi/2,0,0); |
| 317 | - | TorsoColor = BrickColor.new("Mid gray");
|
| 317 | + | cMesh=Instance.new('SpecialMesh',Cone);
|
| 318 | - | } |
| 318 | + | cMesh.MeshId='rbxassetid://1033714'; |
| 319 | cMesh.Scale=Vector3.new(20,50,20); | |
| 320 | - | Customs = {
|
| 320 | + | end; |
| 321 | - | Face = "http://www.roblox.com/asset/?id=8560915"; |
| 321 | + | end; |
| 322 | - | Shirt = "http://www.roblox.com/asset/?id=334781688"; |
| 322 | + | noBoom=function() |
| 323 | - | Pants = "http://www.roblox.com/asset/?id=335237283"; |
| 323 | + | if Cone then local x=Cone Cone=nil; |
| 324 | - | } |
| 324 | + | for i=1,20 do |
| 325 | wait(); | |
| 326 | - | -------------------------------------------------------- |
| 326 | + | x.Mesh.Scale=x.Mesh.Scale+Vector3.new(-.5,1,-.5); |
| 327 | x.Transparency=x.Transparency+1/30; | |
| 328 | - | prepareCharacter = function() |
| 328 | + | end; |
| 329 | - | local transPoints = {
|
| 329 | + | end; |
| 330 | - | NumberSequenceKeypoint.new(0,0,0), |
| 330 | + | end; |
| 331 | - | NumberSequenceKeypoint.new(.4,.05,0), |
| 331 | + | gasterBlast=function(tCFrame,aimPos,charge) |
| 332 | - | NumberSequenceKeypoint.new(.8,.16,0), |
| 332 | + | local aimTarget; |
| 333 | - | NumberSequenceKeypoint.new(1,.25,0) |
| 333 | + | if aimPos then |
| 334 | - | } |
| 334 | + | aimTarget=CFrame.new(tCFrame,aimPos); |
| 335 | - | local sizePoints = {
|
| 335 | + | else |
| 336 | - | NumberSequenceKeypoint.new(0,.5,0), |
| 336 | + | aimTarget=tCFrame; |
| 337 | - | NumberSequenceKeypoint.new(.18,.5,0), |
| 337 | + | end; |
| 338 | - | NumberSequenceKeypoint.new(.49,.69,0), |
| 338 | + | local gast=Instance.new('Part',c);
|
| 339 | - | NumberSequenceKeypoint.new(.74,.5,0), |
| 339 | + | gast.Size=Vector3.new(12,.2,12); |
| 340 | - | NumberSequenceKeypoint.new(.92,.25,0), |
| 340 | + | gast.CanCollide=false; |
| 341 | - | NumberSequenceKeypoint.new(1,.0625,0) |
| 341 | + | gast.Anchored=true; |
| 342 | - | } |
| 342 | + | gast.Transparency=1; |
| 343 | - | local Size = NumberSequence.new(sizePoints) |
| 343 | + | if charge then |
| 344 | - | local Transparency = NumberSequence.new(transPoints) |
| 344 | + | playSound(400523331,gast,math.random(90,110)/100); |
| 345 | - | rayModel = Instance.new("Model",c)
|
| 345 | + | end; |
| 346 | - | efxBlock = Instance.new("Part",c)
|
| 346 | + | wait(); |
| 347 | - | efxBlock.Material = "Neon" |
| 347 | + | for i=1,2 do |
| 348 | - | efxBlock.FormFactor = "Custom" |
| 348 | + | local decal=Instance.new('Decal',gast);
|
| 349 | - | efxBlock.Size = Vector3.new(.3,.3,.3) |
| 349 | + | decal.Texture='rbxassetid://323497117'; |
| 350 | - | light = Instance.new("PointLight",c.Head)
|
| 350 | + | if i==1 then |
| 351 | - | light.Range = 8 |
| 351 | + | decal.Face=Enum.NormalId.Top; |
| 352 | - | light.Color = Color3.new(1,1,1) |
| 352 | + | else |
| 353 | - | light.Shadows = false |
| 353 | + | decal.Face=Enum.NormalId.Bottom; |
| 354 | - | local particles = Instance.new("ParticleEmitter",efxBlock)
|
| 354 | + | end; |
| 355 | - | particles.Color = ColorSequence.new(Color3.new(.85,.85,.85),Color3.new(1,1,1)) |
| 355 | + | end; |
| 356 | - | particles.ZOffset = 1 |
| 356 | + | gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10)); |
| 357 | - | particles.LightEmission = .96 |
| 357 | + | |
| 358 | - | particles.Size = Size |
| 358 | + | local tarCFrame=gast.CFrame; |
| 359 | - | particles.Name = "Fire" |
| 359 | + | local isLooping=true; |
| 360 | - | particles.Transparency = Transparency |
| 360 | + | |
| 361 | - | particles.LockedToPart = true |
| 361 | + | while rs.RenderStepped:wait()and isLooping do |
| 362 | - | particles.Rate = 25 |
| 362 | + | gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60)); |
| 363 | - | particles.EmissionDirection = "Right" |
| 363 | + | end; |
| 364 | - | particles.Acceleration = Vector3.new(-.5,0,0) |
| 364 | + | end); |
| 365 | - | particles.Texture = "rbxassetid://24378732" |
| 365 | + | for i=1,30 do |
| 366 | - | particles.Lifetime = NumberRange.new(.25,.25) |
| 366 | + | wait(); |
| 367 | - | particles.Speed = NumberRange.new(-.5,5) |
| 367 | + | tarCFrame=gast.CFrame:lerp(aimTarget,.24); |
| 368 | - | script.Parent = efxBlock |
| 368 | + | end; |
| 369 | - | fire = particles |
| 369 | + | playSound(340722848,gast,math.random(90,110)/100); |
| 370 | - | local offset = Vector3.new(0.2, .23, -0.5) |
| 370 | + | isLooping=false; |
| 371 | - | local weld = Instance.new("Weld",c.Head)
|
| 371 | + | wait(.08); |
| 372 | - | weld.Part0 = c.Head |
| 372 | + | local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999); |
| 373 | - | weld.Part1 = efxBlock |
| 373 | + | local _,pos=workspace:FindPartOnRay(ray,c); |
| 374 | - | weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) |
| 374 | + | local dis=(aimTarget.p-pos).magnitude; |
| 375 | - | efxBlock.Parent = c |
| 375 | + | 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); |
| 376 | - | local music = Instance.new("Sound",c.Torso)
|
| 376 | + | local rayPart=Instance.new('Part',rayModel);
|
| 377 | - | music.SoundId = "rbxassetid://316012176" |
| 377 | + | rayPart.Material='Neon'; |
| 378 | - | music.Looped = true |
| 378 | + | rayPart.FormFactor='Custom'; |
| 379 | - | music.Volume = soundVol |
| 379 | + | rayPart.Color=a(); |
| 380 | - | fight = music |
| 380 | + | rayPart.Anchored=true; |
| 381 | - | local music2 = Instance.new("Sound",c.Torso)
|
| 381 | + | rayPart.CanCollide=false; |
| 382 | - | music2.SoundId = "rbxassetid://316014309" |
| 382 | + | rayPart.Shape='Cylinder'; |
| 383 | - | music2.Looped = true |
| 383 | + | rayPart.Size=Vector3.new(dis+400,8,8); |
| 384 | - | music2.Volume = soundVol |
| 384 | + | rayPart.CFrame=rayCFrame; |
| 385 | - | sans = music2 |
| 385 | + | gast:Destroy(); |
| 386 | - | pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
|
| 386 | + | end); |
| 387 | - | pointGyro.P = 1e7 |
| 387 | + | end; |
| 388 | - | pointGyro.D = 1e3 |
| 388 | + | largegasterBlast=function(tCFrame,aimPos) |
| 389 | - | pointGyro.MaxTorque = Vector3.new(0,1e7,0) |
| 389 | + | local aimTarget; |
| 390 | - | animator = c.Humanoid:FindFirstChild("Animator")
|
| 390 | + | if aimPos then |
| 391 | - | if animator then |
| 391 | + | aimTarget=CFrame.new(tCFrame,aimPos); |
| 392 | - | animator:Destroy() |
| 392 | + | else |
| 393 | - | end |
| 393 | + | aimTarget=tCFrame; |
| 394 | - | c.Torso.roblox:Destroy() |
| 394 | + | end; |
| 395 | - | for i,v in pairs (c.Head:children()) do |
| 395 | + | local gast=Instance.new('Part',c);
|
| 396 | - | if v.ClassName == "Sound" then |
| 396 | + | gast.Size=Vector3.new(25,.2,25); |
| 397 | - | v:Destroy() |
| 397 | + | gast.CanCollide=false; |
| 398 | - | end |
| 398 | + | gast.Anchored=true; |
| 399 | - | end |
| 399 | + | gast.Transparency=1; |
| 400 | - | for i = 1,#Joints do |
| 400 | + | playSound(400523331,gast,math.random(85,97)/100); |
| 401 | - | Joints[i].C1 = CFrame.new(Vector3.new()) |
| 401 | + | wait(); |
| 402 | - | end |
| 402 | + | for i=1,2 do |
| 403 | - | human.WalkSpeed = 0 |
| 403 | + | local decal=Instance.new('Decal',gast);
|
| 404 | - | human.JumpPower = 0 |
| 404 | + | decal.Texture='rbxassetid://323497117'; |
| 405 | - | end |
| 405 | + | if i==1 then |
| 406 | decal.Face=Enum.NormalId.Top; | |
| 407 | - | uinps.InputBegan:connect(function(InputObject) |
| 407 | + | else |
| 408 | - | if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then |
| 408 | + | decal.Face=Enum.NormalId.Bottom; |
| 409 | - | Debounces.isPassive = not Debounces.isPassive |
| 409 | + | end; |
| 410 | - | end |
| 410 | + | end; |
| 411 | - | end) |
| 411 | + | gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10)); |
| 412 | spawn(function() | |
| 413 | - | setJointCFrames = function(table) |
| 413 | + | local tarCFrame=gast.CFrame; |
| 414 | - | for i = 1,#table do |
| 414 | + | local isLooping=true; |
| 415 | - | JointTargets[i] = table[i] |
| 415 | + | |
| 416 | - | end |
| 416 | + | while rs.RenderStepped:wait()and isLooping do |
| 417 | - | AnimationCycles = 0 |
| 417 | + | gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60)); |
| 418 | - | end |
| 418 | + | end; |
| 419 | end); | |
| 420 | - | setLerp = function(speed) |
| 420 | + | for i=1,40 do |
| 421 | - | AnimStat.lerpSpeed = speed |
| 421 | + | wait(); |
| 422 | - | end |
| 422 | + | tarCFrame=gast.CFrame:lerp(aimTarget,.18); |
| 423 | end; | |
| 424 | - | setTween = function(tween) |
| 424 | + | playSound(340722848,gast,math.random(80,95)/100); |
| 425 | - | AnimStat.lerpTween = tween |
| 425 | + | isLooping=false; |
| 426 | - | end |
| 426 | + | wait(.08); |
| 427 | local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999); | |
| 428 | - | takeDamage = function(position,damage,distance,platformStand) |
| 428 | + | local _,pos=workspace:FindPartOnRay(ray,c); |
| 429 | - | for i,v in pairs (pls:children()) do |
| 429 | + | local dis=(aimTarget.p-pos).magnitude; |
| 430 | - | if v.ClassName == "Player" and v:FindFirstChild("Character") then
|
| 430 | + | 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); |
| 431 | - | local torso = v.Character:FindFirstChild("Torso")
|
| 431 | + | local rayPart=Instance.new('Part',rayModel);
|
| 432 | - | if torso and (torso.Position - position).magnitude < distance then |
| 432 | + | rayPart.Material='Neon'; |
| 433 | - | if v.Character.Humanoid.MaxHealth > 1000 then |
| 433 | + | rayPart.FormFactor='Custom'; |
| 434 | - | v.Character.Humanoid.MaxHealth = 100; |
| 434 | + | rayPart.Color=a(); |
| 435 | - | v.Character.Humanoid.Breakjoints() |
| 435 | + | rayPart.Anchored=true; |
| 436 | - | end |
| 436 | + | rayPart.CanCollide=false; |
| 437 | - | |
| 437 | + | rayPart.Shape='Cylinder'; |
| 438 | - | |
| 438 | + | rayPart.Size=Vector3.new(dis+400,17,17); |
| 439 | - | v.Character.Humanoid:TakeDamage(damage) |
| 439 | + | rayPart.CFrame=rayCFrame; |
| 440 | - | if platformStand == true then |
| 440 | + | gast:Destroy(); |
| 441 | - | v.Character.PlatformStand = platformStand |
| 441 | + | end); |
| 442 | - | end |
| 442 | + | end; |
| 443 | - | end |
| 443 | + | prepareCharacter(); |
| 444 | - | end |
| 444 | + | |
| 445 | - | end |
| 445 | + | local sine=0; |
| 446 | - | end |
| 446 | + | while wait()do |
| 447 | if Debounces.isFlash then | |
| 448 | - | -------------------------------------------------------- |
| 448 | + | if(tick()*8)%2>1 then |
| 449 | faceDecal.Texture='rbxassetid://400377503'; | |
| 450 | - | prepareCharacter() |
| 450 | + | else |
| 451 | faceDecal.Texture='rbxassetid://400387868'; | |
| 452 | - | -------------------------------------------------------- |
| 452 | + | end; |
| 453 | else | |
| 454 | - | spawn(function() |
| 454 | + | faceDecal.Texture='rbxassetid://400387868'; |
| 455 | - | local sine = 0 |
| 455 | + | end; |
| 456 | - | while wait() do |
| 456 | + | if Debounces.isAttacking==false and Debounces.isMoving==false and Debounces.Debounce==false and Debounces.isJumping==false then |
| 457 | - | pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100) |
| 457 | + | setLerp(.8); |
| 458 | - | if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then |
| 458 | + | local spasm=math.abs(math.sin(tick()*20))*1.1; |
| 459 | - | setLerp(.1) |
| 459 | + | local spasm2=math.abs(math.sin(tick()*20-2))*1.1; |
| 460 | - | if Debounces.isPassive == true then |
| 460 | + | local spasm3=math.abs(math.sin(tick()*20-2.3))*1.1; |
| 461 | - | setJointCFrames({
|
| 461 | + | setJointCFrames({
|
| 462 | - | CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0)); |
| 462 | + | CFrame.new(Vector3.new(0,0-spasm,0))*CFAngles(Vector3.new(0,0,0)); |
| 463 | - | 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)); |
| 463 | + | CFrame.new(Vector3.new(0,1.5,0))*CFAngles(Vector3.new(-0.011,-0.502,-1.177)); |
| 464 | - | CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51)); |
| 464 | + | CFrame.new(Vector3.new(-1.5-spasm2^2/3,-0.001,0))*CFAngles(Vector3.new(-2.344,7.899,-2.82+spasm3^2*-60)); |
| 465 | - | 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)); |
| 465 | + | CFrame.new(Vector3.new(1.569+spasm2^2/3,0,-0.1))*CFAngles(Vector3.new(4.822,1.123,6.383+spasm3^2*60)); |
| 466 | - | CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0)); |
| 466 | + | CFrame.new(Vector3.new(-0.61,-2+spasm/1.01,-.15))*CFAngles(Vector3.new(-2.206,0.767,-0.582)); |
| 467 | - | CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0)); |
| 467 | + | CFrame.new(Vector3.new(0.55,-2+spasm/1.01,-.1))*CFAngles(Vector3.new(-0.026,0.463,3.184)); |
| 468 | - | }) |
| 468 | + | }); |
| 469 | - | else |
| 469 | + | elseif Debounces.isAttacking==false and Debounces.isMoving==true and Debounces.Debounce==false and Debounces.isSprinting==false and Debounces.isJumping==false then |
| 470 | - | setJointCFrames({
|
| 470 | + | sine=tick()*18; |
| 471 | - | CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0)); |
| 471 | + | human.WalkSpeed=120; |
| 472 | - | 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)); |
| 472 | + | setLerp(.35); |
| 473 | - | CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51)); |
| 473 | + | setJointCFrames({
|
| 474 | - | 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)); |
| 474 | + | CFrame.new(Vector3.new(0,math.sin(sine)/50-.3,0))*CFAngles(Vector3.new(-30-math.sin(sine*2)*3,math.sin(sine*2)*15,0)); |
| 475 | - | CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0)); |
| 475 | + | CFrame.new(Vector3.new(0,1.48,0.099))*CFAngles(Vector3.new(14.999,-0.001,0)); |
| 476 | - | CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0)); |
| 476 | + | CFrame.new(Vector3.new(-1.5,-0.001,0.2+math.sin(sine*2+math.pi)*1.2))*CFAngles(Vector3.new(-25.001+math.sin(sine*2+math.pi)*-90,0,-15)); |
| 477 | - | }) |
| 477 | + | CFrame.new(Vector3.new(1.5,-0.001,0.2+math.sin(sine*2)*1.2))*CFAngles(Vector3.new(-25+math.sin(sine*2)*-90,-0.001,14.999)); |
| 478 | - | end |
| 478 | + | CFrame.new(Vector3.new(-0.501,-2+math.cos(sine*2+math.pi)/3,.3+math.sin(sine*2)))*CFAngles(Vector3.new(-25+math.sin(sine*2)*-70,0,-0.001)); |
| 479 | - | elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then |
| 479 | + | CFrame.new(Vector3.new(0.499,-2+math.cos(sine*2)/3,.3+math.sin(sine*2+math.pi)))*CFAngles(Vector3.new(-25+math.sin(sine*2)*70,0,0)); |
| 480 | - | sine = sine + math.rad(12) |
| 480 | + | }); |
| 481 | - | human.WalkSpeed = 15 |
| 481 | + | elseif Debounces.isAttacking==false and Debounces.isMoving==true and Debounces.Debounce==false and Debounces.isSprinting==true and Debounces.isJumping==false then |
| 482 | - | setLerp(.15) |
| 482 | + | sine=tick()*28; |
| 483 | - | setJointCFrames({
|
| 483 | + | human.WalkSpeed=400; |
| 484 | - | CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0)); |
| 484 | + | lerpBoom(); |
| 485 | - | CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001)); |
| 485 | + | setLerp(.65); |
| 486 | - | 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)); |
| 486 | + | setJointCFrames({
|
| 487 | - | 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)); |
| 487 | + | CFrame.new(Vector3.new(0,math.sin(sine)/50-.3,0))*CFAngles(Vector3.new(-30-math.sin(sine*2)*3,math.sin(sine*2)*15,0)); |
| 488 | - | 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)); |
| 488 | + | CFrame.new(Vector3.new(0,1.48,0.099))*CFAngles(Vector3.new(14.999,-0.001,0)); |
| 489 | - | 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)); |
| 489 | + | CFrame.new(Vector3.new(-1.5,-0.001,0.2+math.sin(sine*2+math.pi)*1.2))*CFAngles(Vector3.new(-25.001+math.sin(sine*2+math.pi)*-90,0,-15)); |
| 490 | - | }) |
| 490 | + | CFrame.new(Vector3.new(1.5,-0.001,0.2+math.sin(sine*2)*1.2))*CFAngles(Vector3.new(-25+math.sin(sine*2)*-90,-0.001,14.999)); |
| 491 | - | end |
| 491 | + | CFrame.new(Vector3.new(-0.501,-2+math.cos(sine*2+math.pi)/3,.3+math.sin(sine*2)))*CFAngles(Vector3.new(-25+math.sin(sine*2)*-70,0,-0.001)); |
| 492 | - | if Debounces.scalingDamage == true then |
| 492 | + | CFrame.new(Vector3.new(0.499,-2+math.cos(sine*2)/3,.3+math.sin(sine*2+math.pi)))*CFAngles(Vector3.new(-25+math.sin(sine*2)*70,0,0)); |
| 493 | - | takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true) |
| 493 | + | }); |
| 494 | - | end |
| 494 | + | elseif Debounces.isJumping==true and Debounces.Debounce==false then |
| 495 | - | end |
| 495 | + | setLerp(.14); |
| 496 | - | end) |
| 496 | + | human.WalkSpeed=45; |
| 497 | setJointCFrames({
| |
| 498 | - | human.Changed:connect(function(prop) |
| 498 | + | CFrame.new(Vector3.new(0,0,0))*CFAngles(Vector3.new(-8,0,0)); |
| 499 | - | if prop == "MoveDirection" then |
| 499 | + | CFrame.new(Vector3.new(0,1.5,-0.15))*CFAngles(Vector3.new(-10.138,3.687,0.306)); |
| 500 | - | if human.MoveDirection.magnitude > .02 then |
| 500 | + | CFrame.new(Vector3.new(-1.23,0.069,-0.56))*CFAngles(Vector3.new(50.809,0.672,18.704)); |
| 501 | - | Debounces.isMoving = true |
| 501 | + | CFrame.new(Vector3.new(0.929,-0.031,-1.0912))*CFAngles(Vector3.new(63.00,13.85,-36.416)); |
| 502 | - | else |
| 502 | + | CFrame.new(Vector3.new(-0.63,-1.82,-0.74))*CFAngles(Vector3.new(31.324,3.424,-1.249)); |
| 503 | - | Debounces.isMoving = false |
| 503 | + | CFrame.new(Vector3.new(0.619,-1.331,0.82))*CFAngles(Vector3.new(-59.644,0.998,9.776)); |
| 504 | - | end |
| 504 | + | }); |
| 505 | - | end |
| 505 | + | end; |
| 506 | - | end) |
| 506 | + | end; |
| 507 | end); | |
| 508 | - | uinps.InputBegan:connect(function(InputObject) |
| 508 | + | human.Changed:connect(function(prop) |
| 509 | - | 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 |
| 509 | + | if prop=='MoveDirection'then |
| 510 | - | Debounces.isBoosting = true |
| 510 | + | if human.MoveDirection.magnitude>.02 then |
| 511 | - | Debounces.damageLevel = 10 |
| 511 | + | Debounces.isMoving=true; |
| 512 | - | Debounces.scalingDamage = true |
| 512 | + | else |
| 513 | - | local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
|
| 513 | + | Debounces.isMoving=false; |
| 514 | - | setLerp(.15) |
| 514 | + | end; |
| 515 | - | setJointCFrames({
|
| 515 | + | end; |
| 516 | - | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20)); |
| 516 | + | end); |
| 517 | - | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837)); |
| 517 | + | uinps.InputBegan:connect(function(InputObj) |
| 518 | - | CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45)); |
| 518 | + | if InputObj.KeyCode==Enum.KeyCode.Slash then |
| 519 | - | CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45)); |
| 519 | + | local finishEvent=nil; |
| 520 | - | CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495)); |
| 520 | + | Debounces.isTyping=true |
| 521 | - | CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999)); |
| 521 | + | finishEvent=uinps.InputBegan:connect(function(InputObj) |
| 522 | - | }) |
| 522 | + | if InputObj.KeyCode==Enum.KeyCode.Return or InputObj.UserInputType==Enum.UserInputType.MouseButton1 then |
| 523 | - | local boostSpeed = 250 |
| 523 | + | Debounces.isTyping=false; |
| 524 | - | local efx = Instance.new("Sound",c.Head)
|
| 524 | + | finishEvent:disconnect(); |
| 525 | - | efx.SoundId = "rbxassetid://200632875" |
| 525 | + | end; |
| 526 | - | efx.Pitch = math.random(1100,1300)/1000 |
| 526 | + | end); |
| 527 | - | efx.Volume = .5 |
| 527 | + | end; |
| 528 | - | efx:Play() |
| 528 | + | end); |
| 529 | - | spawn(function() |
| 529 | + | mouse.KeyDown:connect(function(key) |
| 530 | - | wait(5) |
| 530 | + | if key=='0'then |
| 531 | - | efx:Destroy() |
| 531 | + | Debounces.isSprinting=true; |
| 532 | - | end) |
| 532 | + | playSound(160248522,c.Torso); |
| 533 | - | vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed |
| 533 | + | for i=1,3 do |
| 534 | - | vel.P = 1e3 |
| 534 | + | |
| 535 | - | vel.MaxForce = Vector3.new(math.huge,0,math.huge) |
| 535 | + | local e=Instance.new('Part',c);
|
| 536 | - | wait(.15) |
| 536 | + | e.Size=Vector3.new(1,1,1); |
| 537 | - | vel.P = 1000 |
| 537 | + | e.Material='Neon'; |
| 538 | - | vel.MaxForce = Vector3.new(3000,0,3000) |
| 538 | + | e.Color=a(); |
| 539 | - | vel.Velocity = Vector3.new() |
| 539 | + | e.Anchored=true; |
| 540 | - | wait(.3) |
| 540 | + | e.CFrame=c.HumanoidRootPart.CFrame*CFrame.Angles(0,0,-math.pi/2); |
| 541 | - | setLerp(.3) |
| 541 | + | e.CanCollide=false; |
| 542 | - | setJointCFrames({
|
| 542 | + | local rm=Instance.new('SpecialMesh',e);
|
| 543 | - | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13)); |
| 543 | + | rm.MeshType='FileMesh'; |
| 544 | - | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879)); |
| 544 | + | rm.MeshId='rbxassetid://3270017'; |
| 545 | - | CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45)); |
| 545 | + | rm.Scale=Vector3.new(3.2,3.2,10); |
| 546 | - | CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383)); |
| 546 | + | for x=1,30 do |
| 547 | - | CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457)); |
| 547 | + | wait(); |
| 548 | - | CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968)); |
| 548 | + | rm.Scale=rm.Scale:lerp(Vector3.new(i*30,i*30,(4-i)*450),.1); |
| 549 | - | }) |
| 549 | + | e.Transparency=x/30+.5; |
| 550 | - | wait(.2) |
| 550 | + | end; |
| 551 | - | vel:Destroy() |
| 551 | + | end); |
| 552 | - | Debounces.damageLevel = 0 |
| 552 | + | end; |
| 553 | - | Debounces.scalingDamage = false |
| 553 | + | c.HumanoidRootPart.Velocity=c.HumanoidRootPart.CFrame.lookVector*200; |
| 554 | - | Debounces.isBoosting = false |
| 554 | + | end; |
| 555 | - | end |
| 555 | + | end); |
| 556 | - | end) |
| 556 | + | mouse.KeyUp:connect(function(key) |
| 557 | if key=='0'then | |
| 558 | - | uinps.InputBegan:connect(function(InputObject) |
| 558 | + | Debounces.isSprinting=false; |
| 559 | - | 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 |
| 559 | + | end; |
| 560 | - | Debounces.isBoosting = true |
| 560 | + | end); |
| 561 | - | Debounces.damageLevel = 10 |
| 561 | + | mouse.KeyDown:connect(function(key) |
| 562 | - | Debounces.scalingDamage = true |
| 562 | + | if key=='v'then |
| 563 | - | local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
|
| 563 | + | playSound(201858087,c.Torso,math.random(90,120)/100); |
| 564 | - | setLerp(.15) |
| 564 | + | local oldPos=c.HumanoidRootPart.CFrame.p; |
| 565 | - | setJointCFrames({
|
| 565 | + | local mHit=mouse.Hit.p; |
| 566 | - | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15)); |
| 566 | + | for i=1,2 do |
| 567 | - | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645)); |
| 567 | + | |
| 568 | - | CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853)); |
| 568 | + | local pos |
| 569 | - | CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102)); |
| 569 | + | if i==1 then pos=oldPos else pos=mHit end |
| 570 | - | CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566)); |
| 570 | + | local p=Instance.new('Part',workspace);
|
| 571 | - | CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528)); |
| 571 | + | p.Anchored=true; |
| 572 | - | }) |
| 572 | + | p.CanCollide=false; |
| 573 | - | local boostSpeed = 250 |
| 573 | + | p.Color=a(); |
| 574 | - | local efx = Instance.new("Sound",c.Head)
|
| 574 | + | p.FormFactor='Custom'; |
| 575 | - | efx.SoundId = "rbxassetid://200632875" |
| 575 | + | p.CFrame=CFrame.new(pos+Vector3.new(0,500,0)); |
| 576 | - | efx.Pitch = math.random(1100,1300)/1000 |
| 576 | + | p.Transparency=.4; |
| 577 | - | efx.Volume = .5 |
| 577 | + | p.Size=Vector3.new(20,1000,20); |
| 578 | - | efx:Play() |
| 578 | + | for i=1,20 do |
| 579 | - | spawn(function() |
| 579 | + | wait(); |
| 580 | - | wait(5) |
| 580 | + | p.Transparency=.4+(i/10)*.6; |
| 581 | - | efx:Destroy() |
| 581 | + | p.Size=Vector3.new(20-i*1.5,1000,20-i*1.5); |
| 582 | - | end) |
| 582 | + | p.CFrame=CFrame.new(pos+Vector3.new(0,500,0)); |
| 583 | - | vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed |
| 583 | + | end; |
| 584 | - | vel.P = 1e3 |
| 584 | + | p:Destroy(); |
| 585 | - | vel.MaxForce = Vector3.new(math.huge,0,math.huge) |
| 585 | + | end); |
| 586 | - | wait(.15) |
| 586 | + | end; |
| 587 | - | vel.P = 1000 |
| 587 | + | if Debounces.isMoving then |
| 588 | - | vel.MaxForce = Vector3.new(3000,0,3000) |
| 588 | + | 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)); |
| 589 | - | vel.Velocity = Vector3.new() |
| 589 | + | else |
| 590 | - | wait(.3) |
| 590 | + | c.HumanoidRootPart.CFrame=CFrame.new(mouse.Hit.p+Vector3.new(0,4,0),Vector3.new(oldPos.x,mouse.Hit.p.y+4,oldPos.z)); |
| 591 | - | setLerp(.3) |
| 591 | + | end; |
| 592 | - | setJointCFrames({
|
| 592 | + | end; |
| 593 | - | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13)); |
| 593 | + | end); |
| 594 | - | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327)); |
| 594 | + | mouse.KeyDown:connect(function(key) |
| 595 | - | CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60)); |
| 595 | + | if key=='r'then |
| 596 | - | CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342)); |
| 596 | + | local pointTarget=mouse.Hit.p; |
| 597 | - | CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729)); |
| 597 | + | for i=1,20 do |
| 598 | - | CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999)); |
| 598 | + | wait(); |
| 599 | - | }) |
| 599 | + | 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)); |
| 600 | - | wait(.2) |
| 600 | + | end; |
| 601 | - | vel:Destroy() |
| 601 | + | wait(); |
| 602 | - | Debounces.damageLevel = 0 |
| 602 | + | largegasterBlast(CFrame.new(pointTarget+Vector3.new(0,35,0),pointTarget)); |
| 603 | - | Debounces.scalingDamage = false |
| 603 | + | end; |
| 604 | - | Debounces.isBoosting = false |
| 604 | + | end); |
| 605 | - | end |
| 605 | + | mouse.KeyDown:connect(function(key) |
| 606 | - | end) |
| 606 | + | if key=='f'then |
| 607 | local pointTarget=mouse.Hit.p; | |
| 608 | - | uinps.InputBegan:connect(function(InputObject) |
| 608 | + | for i=1,20 do |
| 609 | - | 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 |
| 609 | + | wait(); |
| 610 | - | Debounces.isBoosting = true |
| 610 | + | 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))); |
| 611 | - | Debounces.damageLevel = 10 |
| 611 | + | end; |
| 612 | - | Debounces.scalingDamage = true |
| 612 | + | largegasterBlast(CFrame.new(c.HumanoidRootPart.CFrame.p+Vector3.new(0,50,0),pointTarget):toWorldSpace(CFrame.new(0,0,-25))); |
| 613 | - | local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
|
| 613 | + | end; |
| 614 | - | setLerp(.15) |
| 614 | + | end); |
| 615 | - | setJointCFrames({
|
| 615 | + | mouse.Button1Down:connect(function() |
| 616 | - | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5)); |
| 616 | + | Debounces.isFlash=true; |
| 617 | - | CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878)); |
| 617 | + | end); |
| 618 | - | CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0)); |
| 618 | + | mouse.Button1Up:connect(function() |
| 619 | - | CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087)); |
| 619 | + | Debounces.isFlash=false; |
| 620 | - | CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5)); |
| 620 | + | end); |
| 621 | - | CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968)); |
| 621 | + | mouse.KeyDown:connect(function(key) |
| 622 | - | }) |
| 622 | + | if key=='k'then |
| 623 | - | local boostSpeed = 250 |
| 623 | + | if music.isPlaying then music:Stop();else music:Play();end; |
| 624 | - | local efx = Instance.new("Sound",c.Head)
|
| 624 | + | end; |
| 625 | - | efx.SoundId = "rbxassetid://200632875" |
| 625 | + | end); |
| 626 | - | efx.Pitch = math.random(1100,1300)/1000 |
| 626 | + | mouse.KeyDown:connect(function(key) |
| 627 | - | efx.Volume = .5 |
| 627 | + | if key=='j'then |
| 628 | - | efx:Play() |
| 628 | + | if music2.isPlaying then music2:Stop();else music2:Play();end; |
| 629 | - | spawn(function() |
| 629 | + | end; |
| 630 | - | wait(5) |
| 630 | + | end); |
| 631 | - | efx:Destroy() |
| 631 | + | mouse.KeyDown:connect(function(key) |
| 632 | - | end) |
| 632 | + | if key=='l'then |
| 633 | - | vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed |
| 633 | + | if music3.isPlaying then music3:Stop();else music3:Play();end; |
| 634 | - | vel.P = 1e3 |
| 634 | + | end; |
| 635 | - | vel.MaxForce = Vector3.new(math.huge,0,math.huge) |
| 635 | + | end); |
| 636 | - | wait(.15) |
| 636 | + | mouse.KeyDown:connect(function(key) |
| 637 | - | vel.P = 1000 |
| 637 | + | if key=='p'then |
| 638 | - | vel.MaxForce = Vector3.new(3000,0,3000) |
| 638 | + | if music4.isPlaying then music4:Stop();else music4:Play();end; |
| 639 | - | vel.Velocity = Vector3.new() |
| 639 | + | end; |
| 640 | - | wait(.3) |
| 640 | + | end); |
| 641 | - | setLerp(.3) |
| 641 | + | mouse.KeyDown:connect(function(key) |
| 642 | - | setJointCFrames({
|
| 642 | + | if key=='o'then |
| 643 | - | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13)); |
| 643 | + | if music5.isPlaying then music4:Stop();else music5:Play();end; |
| 644 | - | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327)); |
| 644 | + | end; |
| 645 | - | CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60)); |
| 645 | + | end); |
| 646 | - | CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342)); |
| 646 | + | mouse.KeyDown:connect(function(key) |
| 647 | - | CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729)); |
| 647 | + | if key=='e'then |
| 648 | - | CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999)); |
| 648 | + | gasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p,true); |
| 649 | - | }) |
| 649 | + | end; |
| 650 | - | wait(.2) |
| 650 | + | end); |
| 651 | - | vel:Destroy() |
| 651 | + | mouse.KeyDown:connect(function(key) |
| 652 | - | Debounces.damageLevel = 0 |
| 652 | + | if key=='c'then |
| 653 | - | Debounces.scalingDamage = false |
| 653 | + | largegasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p); |
| 654 | - | Debounces.isBoosting = false |
| 654 | + | end; |
| 655 | - | end |
| 655 | + | end); |
| 656 | - | end) |
| 656 | + | mouse.KeyDown:connect(function(key) |
| 657 | if key=='q'then | |
| 658 | - | uinps.InputBegan:connect(function(InputObject) |
| 658 | + | for i=1,5 do |
| 659 | - | 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 |
| 659 | + | wait(); |
| 660 | - | Debounces.isBoosting = true |
| 660 | + | gasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p); |
| 661 | - | Debounces.damageLevel = 10 |
| 661 | + | end; |
| 662 | - | Debounces.scalingDamage = true |
| 662 | + | largegasterBlast(c.Torso.CFrame.p+Vector3.new(0,25,0),mouse.Hit.p); |
| 663 | - | local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
|
| 663 | + | end; |
| 664 | - | setLerp(.15) |
| 664 | + | end); |
| 665 | - | setJointCFrames({
|
| 665 | + | mouse.KeyDown:connect(function(key) |
| 666 | - | CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0)); |
| 666 | + | if key=='t'then |
| 667 | - | CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093)); |
| 667 | + | local pointTarget=mouse.Hit.p; |
| 668 | - | CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939)); |
| 668 | + | for i=1,20 do |
| 669 | - | CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465)); |
| 669 | + | 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); |
| 670 | - | CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373)); |
| 670 | + | end; |
| 671 | - | CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968)); |
| 671 | + | wait(.2); |
| 672 | - | }) |
| 672 | + | for i=1,10 do |
| 673 | - | local boostSpeed = 150 |
| 673 | + | largegasterBlast(pointTarget+Vector3.new(math.sin(math.deg((360/20)*i))*25,20,math.cos(math.deg((360/20)*i))*25),pointTarget); |
| 674 | - | local boostSpeed = 250 |
| 674 | + | end; |
| 675 | - | local efx = Instance.new("Sound",c.Head)
|
| 675 | + | end; |
| 676 | - | efx.SoundId = "rbxassetid://200632875" |
| 676 | + | end); |
| 677 | - | efx.Pitch = math.random(1100,1300)/1000 |
| 677 | + | human.StateChanged:connect(function(os,ns) |
| 678 | - | efx.Volume = .5 |
| 678 | + | if c.HumanoidRootPart.Velocity.Y<.1 and Debounces.isJumping==true and ns==Enum.HumanoidStateType.Landed then |
| 679 | - | efx:Play() |
| 679 | + | Debounces.isJumping=false; |
| 680 | - | spawn(function() |
| 680 | + | end; |
| 681 | - | wait(5) |
| 681 | + | end); |
| 682 | - | efx:Destroy() |
| 682 | + | for i=1,#Joints do |
| 683 | - | end) |
| 683 | + | Joints[i].C1=CFrameZero(); |
| 684 | - | vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed |
| 684 | + | end; |
| 685 | - | vel.P = 1e3 |
| 685 | + | rs.RenderStepped:connect(function() |
| 686 | - | vel.MaxForce = Vector3.new(math.huge,0,math.huge) |
| 686 | + | Debounces.FPS=1/rs.RenderStepped:wait(); |
| 687 | - | wait(.15) |
| 687 | + | if Debounces.FPS<30 then |
| 688 | - | vel.P = 1000 |
| 688 | + | Debounces.FPS=30; |
| 689 | - | vel.MaxForce = Vector3.new(3000,0,3000) |
| 689 | + | end; |
| 690 | - | vel.Velocity = Vector3.new() |
| 690 | + | if Debounces.isSprinting then |
| 691 | - | wait(.3) |
| 691 | + | lerpBoom(); |
| 692 | - | setLerp(.3) |
| 692 | + | else |
| 693 | - | setJointCFrames({
|
| 693 | + | noBoom(); |
| 694 | - | CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0)); |
| 694 | + | end; |
| 695 | - | CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598)); |
| 695 | + | for _,v in pairs(rayModel:children())do |
| 696 | - | CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511)); |
| 696 | + | v.Transparency=v.Transparency+.06/(Debounces.FPS/60); |
| 697 | - | CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887)); |
| 697 | + | if v.Transparency>.99 then v:Destroy();return;end; |
| 698 | - | CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524)); |
| 698 | + | v.CanCollide=true; |
| 699 | - | CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631)); |
| 699 | + | local tParts=v:GetTouchingParts(); |
| 700 | - | }) |
| 700 | + | v.CanCollide=false; |
| 701 | - | wait(.2) |
| 701 | + | local vCFrame=v.CFrame; |
| 702 | - | vel:Destroy() |
| 702 | + | v.Size=v.Size+Vector3.new(0,1,1)/(Debounces.FPS/60); |
| 703 | - | Debounces.damageLevel = 0 |
| 703 | + | v.CFrame=vCFrame; |
| 704 | - | Debounces.scalingDamage = false |
| 704 | + | for _,x in pairs(tParts)do |
| 705 | - | Debounces.isBoosting = false |
| 705 | + | if x and x.Parent and x.Parent:FindFirstChild'Humanoid'and x.Parent.Humanoid:isA'Humanoid'and x.Parent~=c then |
| 706 | - | end |
| 706 | + | x.Parent.Humanoid:TakeDamage(1,2); |
| 707 | - | end) |
| 707 | + | end; |
| 708 | end; | |
| 709 | - | uinps.InputBegan:connect(function(InputObject) |
| 709 | + | end; |
| 710 | - | if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then |
| 710 | + | local FPSLerp=AnimStat.lerpSpeed/(Debounces.FPS/60); |
| 711 | - | local isLooping = true |
| 711 | + | for i=1,#Joints do |
| 712 | - | uinps.InputEnded:connect(function(InputObject2) |
| 712 | + | Joints[i].C0=Joints[i].C0:lerp(JointTargets[i],FPSLerp); |
| 713 | - | if InputObject2.KeyCode == Enum.KeyCode.Q then |
| 713 | + | end; |
| 714 | - | isLooping = false |
| 714 | + | end); |