SHOW:
|
|
- or go back to the newest paste.
| 1 | -- [ SANIIIC HES ON DA RAWN ] -- | |
| 2 | wait() | |
| 3 | thing = 0 | |
| 4 | LoudVolume = false | |
| 5 | Submerged = false | |
| 6 | Music = true | |
| 7 | script.Name = "SANIIIIC" | |
| 8 | Player = game.Players.LocalPlayer | |
| 9 | c = game.Players.LocalPlayer.Character | |
| 10 | Head = c.Head | |
| 11 | Humanoid = c.Humanoid | |
| 12 | anim = c.Humanoid.Animator | |
| 13 | rage = false | |
| 14 | p = game.Players.LocalPlayer | |
| 15 | Music = false | |
| 16 | anim = Humanoid.Animator | |
| 17 | local Effects = {}
| |
| 18 | attack = false | |
| 19 | local attacking = falselocal | |
| 20 | - | local attacking = false |
| 20 | + | Plr = Plrs.LocalPlayer |
| 21 | local Char = Plr.Character | |
| 22 | local Hum = Char:FindFirstChildOfClass'Humanoid' | |
| 23 | local RArm = Char["Right Arm"] | |
| 24 | local LArm = Char["Left Arm"] | |
| 25 | local RLeg = Char["Right Leg"] | |
| 26 | local LLeg = Char["Left Leg"] | |
| 27 | local Root = Char:FindFirstChild'HumanoidRootPart' | |
| 28 | local Torso = Char.Torso | |
| 29 | local Head = Char.Head | |
| 30 | local NeutralAnims = true | |
| 31 | local Attack = false | |
| 32 | local Debounces = {Debounces={}}
| |
| 33 | local Mouse = Plr:GetMouse() | |
| 34 | local Hit = {}
| |
| 35 | local Sine = 0 | |
| 36 | local Change = 1 | |
| 37 | local BloodPuddles = {}
| |
| 38 | local CliccAttack = 0; | |
| 39 | vt = Vector3.new | |
| 40 | bc = BrickColor.new | |
| 41 | br = BrickColor.random | |
| 42 | it = Instance.new | |
| 43 | cf = CFrame.new | |
| 44 | euler = CFrame.fromEulerAnglesXYZ | |
| 45 | angles = CFrame.Angles | |
| 46 | matr = math.random | |
| 47 | mouse = Player:GetMouse() | |
| 48 | ||
| 49 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 50 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 51 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 52 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 53 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 54 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 55 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 56 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 57 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 58 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 59 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 60 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 61 | RS = c.Torso:FindFirstChild("Right Shoulder")
| |
| 62 | LS = c.Torso:FindFirstChild("Left Shoulder")
| |
| 63 | RH = c.Torso:FindFirstChild("Right Hip")
| |
| 64 | LH = c.Torso:FindFirstChild("Left Hip")
| |
| 65 | RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
| |
| 66 | N = c.Torso:FindFirstChild("Neck")
| |
| 67 | cf = CFrame.new | |
| 68 | ang = CFrame.Angles | |
| 69 | rd = math.rad | |
| 70 | rd2 = math.random | |
| 71 | ||
| 72 | --[[mainShirt = c.Shirt | |
| 73 | mainPants = c.Pants | |
| 74 | mainBColors = c["Body Colors"] | |
| 75 | mainShirt.ShirtTemplate = "rbxassetid://769869277" | |
| 76 | mainPants.PantsTemplate = "rbxassetid://805486769" | |
| 77 | mainBColors.HeadColor = BrickColor.new("Pastel brown")
| |
| 78 | mainBColors.LeftArmColor = BrickColor.new("Pastel brown")
| |
| 79 | mainBColors.LeftLegColor = BrickColor.new("Pastel brown")
| |
| 80 | mainBColors.RightArmColor = BrickColor.new("Pastel brown")
| |
| 81 | mainBColors.RightLegColor = BrickColor.new("Pastel brown")
| |
| 82 | mainBColors.TorsoColor = BrickColor.new("Pastel brown")]]
| |
| 83 | function swait(num) | |
| 84 | if num==0 or num==nil then | |
| 85 | game:service'RunService'.Heartbeat:wait(0) | |
| 86 | else | |
| 87 | for i=0,num do | |
| 88 | game:service'RunService'.Heartbeat:wait(0) | |
| 89 | end | |
| 90 | end | |
| 91 | end | |
| 92 | ||
| 93 | - | local S2 = Instance.new("Sound",c.HumanoidRootPart)S2.SoundId = "rbxassetid://1246460167" S2.Volume = 0 S2.PlaybackSpeed = 0 S2.Looped = true S2:Play()
|
| 93 | + | |
| 94 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
| 95 | end | |
| 96 | function resetlerp() | |
| 97 | RJ.C0 = RJC0 | |
| 98 | RJ.C1 = RJC1 | |
| 99 | N.C0 = NC0 | |
| 100 | N.C1 = NC1 | |
| 101 | RS.C0 = RSC0 | |
| 102 | RS.C1 = RSC1 | |
| 103 | LS.C0 = LSC0 | |
| 104 | LS.C1 = LSC1 | |
| 105 | RH.C0 = RHC0 | |
| 106 | RH.C1 = RHC1 | |
| 107 | LH.C0 = LHC0 | |
| 108 | LH.C1 = LHC1 | |
| 109 | end | |
| 110 | ||
| 111 | local S2 = Instance.new("Sound",c.HumanoidRootPart)S2.SoundId = "rbxassetid://654094806" S2.Volume = 0 S2.PlaybackSpeed = 0 S2.Looped = true S2:Play()
| |
| 112 | c.Head.face:remove() | |
| 113 | ||
| 114 | local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new(0/255,170/255,255/255)),ColorSequenceKeypoint.new(1, Color3.new(0/255,170/255,255/255))}
| |
| 115 | local att1 = Instance.new("Attachment", c["Right Leg"])
| |
| 116 | att1.Name = "att1" | |
| 117 | att1.Position = Vector3.new(0.5, 1, 0.5) | |
| 118 | local att2 = Instance.new("Attachment", c["Right Leg"])
| |
| 119 | att2.Name = "att2" | |
| 120 | att2.Position = Vector3.new(-0.5, 1, 0.5) | |
| 121 | local att3 = Instance.new("Attachment", c["Right Leg"])
| |
| 122 | att3.Name = "att3" | |
| 123 | att3.Position = Vector3.new(0.5, -1, 0.5) | |
| 124 | local att4 = Instance.new("Attachment", c["Right Leg"])
| |
| 125 | att4.Name = "att4" | |
| 126 | att4.Position = Vector3.new(-0.5, -1, 0.5) | |
| 127 | ||
| 128 | local attt1 = Instance.new("Attachment", c["Left Leg"])
| |
| 129 | attt1.Name = "att1" | |
| 130 | attt1.Position = Vector3.new(0.5, 1, 0.5) | |
| 131 | local attt2 = Instance.new("Attachment", c["Left Leg"])
| |
| 132 | attt2.Name = "att2" | |
| 133 | attt2.Position = Vector3.new(-0.5, 1, 0.5) | |
| 134 | local attt3 = Instance.new("Attachment", c["Left Leg"])
| |
| 135 | attt3.Name = "att3" | |
| 136 | attt3.Position = Vector3.new(0.5, -1, 0.5) | |
| 137 | local attt4 = Instance.new("Attachment", c["Left Leg"])
| |
| 138 | attt4.Name = "att4" | |
| 139 | attt4.Position = Vector3.new(-0.5, -1, 0.5) | |
| 140 | ||
| 141 | local trailtop1 = Instance.new("Trail", c["Right Leg"])
| |
| 142 | trailtop1.Enabled = true | |
| 143 | trailtop1.Texture = "rbxassetid://16607923" | |
| 144 | trailtop1.Name = "toptrail" | |
| 145 | trailtop1.MinLength = 0 | |
| 146 | trailtop1.Lifetime = 0.1 | |
| 147 | ||
| 148 | trailtop1.Color = ColorSequence.new(ColorArray) | |
| 149 | ||
| 150 | trailtop1.Attachment0 = att1 | |
| 151 | trailtop1.Attachment1 = att2 | |
| 152 | trailtop1.Transparency = NumberSequence.new({
| |
| 153 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 154 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 155 | ||
| 156 | local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
| |
| 157 | local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
| |
| 158 | local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
| |
| 159 | local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
| |
| 160 | local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
| |
| 161 | local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
| |
| 162 | local HW1 = Weld(Main,RArm,CF.N(0,.47,0)*CF.A(0,M.R(-90),0)) | |
| 163 | local HW2 = Weld(Main2,LArm,CF.N(0,.47,0)*CF.A(0,M.R(90),0)) | |
| 164 | local CW = Weld(MainCl,LArm,CF.N(.55,.45,0)) | |
| 165 | ||
| 166 | local LSC0 = LS.C0 | |
| 167 | local RSC0 = RS.C0 | |
| 168 | local NKC0 = NK.C0 | |
| 169 | local LHC0 = LH.C0 | |
| 170 | local RHC0 = RH.C0 | |
| 171 | local RJC0 = RJ.C0 | |
| 172 | ||
| 173 | }) | |
| 174 | ||
| 175 | local trailbot1 = Instance.new("Trail", c["Right Leg"])
| |
| 176 | trailbot1.Enabled = true | |
| 177 | trailbot1.Texture = "rbxassetid://16607923" | |
| 178 | trailbot1.Name = "bottrail" | |
| 179 | trailbot1.MinLength = 0 | |
| 180 | trailbot1.Lifetime = 0.1 | |
| 181 | ||
| 182 | trailbot1.Color = ColorSequence.new(ColorArray) | |
| 183 | ||
| 184 | trailbot1.Attachment0 = att3 | |
| 185 | trailbot1.Attachment1 = att4 | |
| 186 | trailbot1.Transparency = NumberSequence.new({
| |
| 187 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 188 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 189 | }) | |
| 190 | ||
| 191 | local trailside1 = Instance.new("Trail", c["Right Leg"])
| |
| 192 | trailside1.Enabled = true | |
| 193 | trailside1.Texture = "rbxassetid://16607923" | |
| 194 | trailside1.Name = "sidetrail1" | |
| 195 | trailside1.MinLength = 0 | |
| 196 | trailside1.Lifetime = 0.1 | |
| 197 | ||
| 198 | trailside1.Color = ColorSequence.new(ColorArray) | |
| 199 | ||
| 200 | trailside1.Attachment0 = att1 | |
| 201 | trailside1.Attachment1 = att3 | |
| 202 | trailside1.Transparency = NumberSequence.new({
| |
| 203 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 204 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 205 | }) | |
| 206 | ||
| 207 | local trailside2 = Instance.new("Trail", c["Right Leg"])
| |
| 208 | trailside2.Enabled = true | |
| 209 | trailside2.Texture = "rbxassetid://16607923" | |
| 210 | trailside2.Name = "sidetrail2" | |
| 211 | trailside2.MinLength = 0 | |
| 212 | trailside2.Lifetime = 0.1 | |
| 213 | spawn(function() | |
| 214 | while true do wait() | |
| 215 | trailside2.Color = ColorSequence.new(ColorArray) | |
| 216 | end | |
| 217 | end) | |
| 218 | trailside2.Attachment0 = att2 | |
| 219 | trailside2.Attachment1 = att4 | |
| 220 | trailside2.Transparency = NumberSequence.new({
| |
| 221 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 222 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 223 | }) | |
| 224 | ||
| 225 | ||
| 226 | local trailtop12 = Instance.new("Trail", c["Left Leg"])
| |
| 227 | trailtop12.Enabled = true | |
| 228 | trailtop12.Texture = "rbxassetid://16607923" | |
| 229 | trailtop12.Name = "toptrail" | |
| 230 | trailtop12.MinLength = 0 | |
| 231 | trailtop12.Lifetime = 0.1 | |
| 232 | spawn(function() | |
| 233 | while true do wait() | |
| 234 | trailtop12.Color = ColorSequence.new(ColorArray) | |
| 235 | end | |
| 236 | end) | |
| 237 | trailtop12.Attachment0 = attt1 | |
| 238 | trailtop12.Attachment1 = attt2 | |
| 239 | trailtop12.Transparency = NumberSequence.new({
| |
| 240 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 241 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 242 | }) | |
| 243 | ||
| 244 | local trailbot2 = Instance.new("Trail", c["Left Leg"])
| |
| 245 | trailbot2.Enabled = true | |
| 246 | trailbot2.Texture = "rbxassetid://16607923" | |
| 247 | trailbot2.Name = "bottrail" | |
| 248 | trailbot2.MinLength = 0 | |
| 249 | trailbot2.Lifetime = 0.1 | |
| 250 | ||
| 251 | trailbot2.Color = ColorSequence.new(ColorArray) | |
| 252 | ||
| 253 | trailbot2.Attachment0 = attt3 | |
| 254 | trailbot2.Attachment1 = attt4 | |
| 255 | trailbot2.Transparency = NumberSequence.new({
| |
| 256 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 257 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 258 | }) | |
| 259 | ||
| 260 | local trailside12 = Instance.new("Trail", c["Left Leg"])
| |
| 261 | trailside12.Enabled = true | |
| 262 | trailside12.Texture = "rbxassetid://16607923" | |
| 263 | trailside12.Name = "sidetrail1" | |
| 264 | trailside12.MinLength = 0 | |
| 265 | trailside12.Lifetime = 0.1 | |
| 266 | ||
| 267 | trailside12.Color = ColorSequence.new(ColorArray) | |
| 268 | ||
| 269 | trailside12.Attachment0 = attt1 | |
| 270 | trailside12.Attachment1 = attt3 | |
| 271 | trailside12.Transparency = NumberSequence.new({
| |
| 272 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 273 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 274 | }) | |
| 275 | ||
| 276 | local trailside22 = Instance.new("Trail", c["Left Leg"])
| |
| 277 | trailside22.Enabled = true | |
| 278 | trailside22.Texture = "rbxassetid://16607923" | |
| 279 | trailside22.Name = "sidetrail2" | |
| 280 | trailside22.MinLength = 0 | |
| 281 | trailside22.Lifetime = 0.1 | |
| 282 | ||
| 283 | trailside22.Color = ColorSequence.new(ColorArray) | |
| 284 | ||
| 285 | trailside22.Attachment0 = attt2 | |
| 286 | trailside22.Attachment1 = attt4 | |
| 287 | trailside22.Transparency = NumberSequence.new({
| |
| 288 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 289 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 290 | }) | |
| 291 | ||
| 292 | ||
| 293 | local att1 = Instance.new("Attachment", c["Right Arm"])
| |
| 294 | att1.Name = "att1" | |
| 295 | att1.Position = Vector3.new(0.5, 1, 0.5) | |
| 296 | local att2 = Instance.new("Attachment", c["Right Arm"])
| |
| 297 | att2.Name = "att2" | |
| 298 | att2.Position = Vector3.new(-0.5, 1, 0.5) | |
| 299 | local att3 = Instance.new("Attachment", c["Right Arm"])
| |
| 300 | att3.Name = "att3" | |
| 301 | att3.Position = Vector3.new(0.5, -1, 0.5) | |
| 302 | local att4 = Instance.new("Attachment", c["Right Arm"])
| |
| 303 | att4.Name = "att4" | |
| 304 | att4.Position = Vector3.new(-0.5, -1, 0.5) | |
| 305 | ||
| 306 | local attt1 = Instance.new("Attachment", c["Left Arm"])
| |
| 307 | attt1.Name = "att1" | |
| 308 | attt1.Position = Vector3.new(0.5, 1, 0.5) | |
| 309 | local attt2 = Instance.new("Attachment", c["Left Arm"])
| |
| 310 | attt2.Name = "att2" | |
| 311 | attt2.Position = Vector3.new(-0.5, 1, 0.5) | |
| 312 | local attt3 = Instance.new("Attachment", c["Left Arm"])
| |
| 313 | attt3.Name = "att3" | |
| 314 | attt3.Position = Vector3.new(0.5, -1, 0.5) | |
| 315 | local attt4 = Instance.new("Attachment", c["Left Arm"])
| |
| 316 | attt4.Name = "att4" | |
| 317 | attt4.Position = Vector3.new(-0.5, -1, 0.5) | |
| 318 | ||
| 319 | local trailtop1 = Instance.new("Trail", c["Right Arm"])
| |
| 320 | trailtop1.Enabled = true | |
| 321 | trailtop1.Texture = "rbxassetid://16607923" | |
| 322 | trailtop1.Name = "toptrail" | |
| 323 | trailtop1.MinLength = 0 | |
| 324 | trailtop1.Lifetime = 0.1 | |
| 325 | ||
| 326 | trailtop1.Color = ColorSequence.new(ColorArray) | |
| 327 | ||
| 328 | trailtop1.Attachment0 = att1 | |
| 329 | trailtop1.Attachment1 = att2 | |
| 330 | trailtop1.Transparency = NumberSequence.new({
| |
| 331 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 332 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 333 | }) | |
| 334 | ||
| 335 | local trailbot1 = Instance.new("Trail", c["Right Arm"])
| |
| 336 | trailbot1.Enabled = true | |
| 337 | trailbot1.Texture = "rbxassetid://16607923" | |
| 338 | trailbot1.Name = "bottrail" | |
| 339 | trailbot1.MinLength = 0 | |
| 340 | trailbot1.Lifetime = 0.1 | |
| 341 | spawn(function() | |
| 342 | while true do wait() | |
| 343 | trailbot1.Color = ColorSequence.new(ColorArray) | |
| 344 | end | |
| 345 | end) | |
| 346 | trailbot1.Attachment0 = att3 | |
| 347 | trailbot1.Attachment1 = att4 | |
| 348 | trailbot1.Transparency = NumberSequence.new({
| |
| 349 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 350 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 351 | }) | |
| 352 | ||
| 353 | local trailside1 = Instance.new("Trail", c["Right Arm"])
| |
| 354 | trailside1.Enabled = true | |
| 355 | trailside1.Texture = "rbxassetid://16607923" | |
| 356 | trailside1.Name = "sidetrail1" | |
| 357 | trailside1.MinLength = 0 | |
| 358 | trailside1.Lifetime = 0.1 | |
| 359 | ||
| 360 | trailside1.Color = ColorSequence.new(ColorArray) | |
| 361 | ||
| 362 | trailside1.Attachment0 = att1 | |
| 363 | trailside1.Attachment1 = att3 | |
| 364 | trailside1.Transparency = NumberSequence.new({
| |
| 365 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 366 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 367 | }) | |
| 368 | ||
| 369 | local trailside2 = Instance.new("Trail", c["Right Arm"])
| |
| 370 | trailside2.Enabled = true | |
| 371 | trailside2.Texture = "rbxassetid://16607923" | |
| 372 | trailside2.Name = "sidetrail2" | |
| 373 | trailside2.MinLength = 0 | |
| 374 | trailside2.Lifetime = 0.1 | |
| 375 | ||
| 376 | trailside2.Color = ColorSequence.new(ColorArray) | |
| 377 | ||
| 378 | trailside2.Attachment0 = att2 | |
| 379 | trailside2.Attachment1 = att4 | |
| 380 | trailside2.Transparency = NumberSequence.new({
| |
| 381 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 382 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 383 | }) | |
| 384 | ||
| 385 | ||
| 386 | local trailtop12 = Instance.new("Trail", c["Left Arm"])
| |
| 387 | trailtop12.Enabled = true | |
| 388 | trailtop12.Texture = "rbxassetid://16607923" | |
| 389 | trailtop12.Name = "toptrail" | |
| 390 | trailtop12.MinLength = 0 | |
| 391 | trailtop12.Lifetime = 0.1 | |
| 392 | ||
| 393 | trailtop12.Color = ColorSequence.new(ColorArray) | |
| 394 | ||
| 395 | trailtop12.Attachment0 = attt1 | |
| 396 | trailtop12.Attachment1 = attt2 | |
| 397 | trailtop12.Transparency = NumberSequence.new({
| |
| 398 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 399 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 400 | }) | |
| 401 | ||
| 402 | local trailbot2 = Instance.new("Trail", c["Left Arm"])
| |
| 403 | trailbot2.Enabled = true | |
| 404 | trailbot2.Texture = "rbxassetid://16607923" | |
| 405 | trailbot2.Name = "bottrail" | |
| 406 | trailbot2.MinLength = 0 | |
| 407 | trailbot2.Lifetime = 0.1 | |
| 408 | ||
| 409 | trailbot2.Color = ColorSequence.new(ColorArray) | |
| 410 | ||
| 411 | trailbot2.Attachment0 = attt3 | |
| 412 | trailbot2.Attachment1 = attt4 | |
| 413 | trailbot2.Transparency = NumberSequence.new({
| |
| 414 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 415 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 416 | }) | |
| 417 | ||
| 418 | local trailside12 = Instance.new("Trail", c["Left Arm"])
| |
| 419 | trailside12.Enabled = true | |
| 420 | trailside12.Texture = "rbxassetid://16607923" | |
| 421 | trailside12.Name = "sidetrail1" | |
| 422 | trailside12.MinLength = 0 | |
| 423 | trailside12.Lifetime = 0.1 | |
| 424 | ||
| 425 | trailside12.Color = ColorSequence.new(ColorArray) | |
| 426 | ||
| 427 | trailside12.Attachment0 = attt1 | |
| 428 | trailside12.Attachment1 = attt3 | |
| 429 | trailside12.Transparency = NumberSequence.new({
| |
| 430 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 431 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 432 | }) | |
| 433 | ||
| 434 | local trailside22 = Instance.new("Trail", c["Left Arm"])
| |
| 435 | trailside22.Enabled = true | |
| 436 | trailside22.Texture = "rbxassetid://16607923" | |
| 437 | trailside22.Name = "sidetrail2" | |
| 438 | trailside22.MinLength = 0 | |
| 439 | trailside22.Lifetime = 0.1 | |
| 440 | ||
| 441 | trailside22.Color = ColorSequence.new(ColorArray) | |
| 442 | ||
| 443 | trailside22.Attachment0 = attt2 | |
| 444 | trailside22.Attachment1 = attt4 | |
| 445 | trailside22.Transparency = NumberSequence.new({
| |
| 446 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 447 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 448 | ||
| 449 | local REGENSOUND = 300208779 | |
| 450 | for _, c in pairs(Char:GetDescendants()) do | |
| 451 | if c and c.Parent then | |
| 452 | if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then | |
| 453 | local ACCESSORY = c.Parent | |
| 454 | c.Parent = Char | |
| 455 | if c then | |
| 456 | if(c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment"))then
| |
| 457 | --weldBetween(Head,c) | |
| 458 | Weld(Head,c,CF.N(),c.CFrame:inverse()*Head.CFrame) | |
| 459 | else | |
| 460 | --weldBetween(Torso,c) | |
| 461 | Weld(Torso,c,CF.N(),c.CFrame:inverse()*Head.CFrame) | |
| 462 | end | |
| 463 | end | |
| 464 | ACCESSORY:remove() | |
| 465 | end | |
| 466 | end | |
| 467 | end | |
| 468 | wait() | |
| 469 | local BODY = {}
| |
| 470 | local FULLREGEN = false | |
| 471 | for _, c in pairs(Char:GetDescendants()) do | |
| 472 | if c:IsA("BasePart") and not c.Parent.Name:lower():find'secret' then
| |
| 473 | if(c ~= Root and c ~= Torso and c ~= Head and c ~= RArm and c ~= LArm and c ~= RLeg and c ~= LLeg)then | |
| 474 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 475 | end | |
| 476 | local REGENVALUE = IN("BoolValue",c)
| |
| 477 | REGENVALUE.Name = "IsRegening" | |
| 478 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE})
| |
| 479 | elseif c:IsA("JointInstance") and c.Name ~= "AccessoryWeld" then
| |
| 480 | table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil,nil})
| |
| 481 | end | |
| 482 | end | |
| 483 | ||
| 484 | function FullBodyRegen() -- thanks shack bb | |
| 485 | if not FULLREGEN then | |
| 486 | Sound(Head,REGENSOUND,M.RNG(80,120)/100,3,false,true,true) | |
| 487 | FULLREGEN = true | |
| 488 | Hum.MaxHealth = "inf" | |
| 489 | Hum.Health = "inf" | |
| 490 | Hum.Parent = nil | |
| 491 | Char.Parent = workspace | |
| 492 | for e = 1, #BODY do | |
| 493 | if BODY[e] ~= nil then | |
| 494 | local STUFF = BODY[e] | |
| 495 | local PART = STUFF[1] | |
| 496 | local PARENT = STUFF[2] | |
| 497 | local MATERIAL = STUFF[3] | |
| 498 | local COLOR = STUFF[4] | |
| 499 | local TRANSPARENCY = STUFF[5] | |
| 500 | --local SIZE = STUFF[6] | |
| 501 | local NAME = STUFF[7] | |
| 502 | local VALUE = STUFF[8] | |
| 503 | PART.Parent = PARENT | |
| 504 | }) | |
| 505 | ||
| 506 | local att1 = Instance.new("Attachment", c["Torso"])
| |
| 507 | att1.Name = "att1" | |
| 508 | att1.Position = Vector3.new(1, 1, 0.5) | |
| 509 | local att2 = Instance.new("Attachment", c["Torso"])
| |
| 510 | att2.Name = "att2" | |
| 511 | att2.Position = Vector3.new(-1, 1, 0.5) | |
| 512 | local att3 = Instance.new("Attachment", c["Torso"])
| |
| 513 | att3.Name = "att3" | |
| 514 | att3.Position = Vector3.new(1, -1, 0.5) | |
| 515 | local att4 = Instance.new("Attachment", c["Torso"])
| |
| 516 | att4.Name = "att4" | |
| 517 | att4.Position = Vector3.new(-1, -1, 0.5) | |
| 518 | ||
| 519 | local attt1 = Instance.new("Attachment", c["Head"])
| |
| 520 | attt1.Name = "att1" | |
| 521 | attt1.Position = Vector3.new(.55, .55, 0.025) | |
| 522 | local attt2 = Instance.new("Attachment", c["Head"])
| |
| 523 | attt2.Name = "att2" | |
| 524 | attt2.Position = Vector3.new(-.55, .55, 0.025) | |
| 525 | local attt3 = Instance.new("Attachment", c["Head"])
| |
| 526 | attt3.Name = "att3" | |
| 527 | attt3.Position = Vector3.new(.55, -.5, 0.025) | |
| 528 | local attt4 = Instance.new("Attachment", c["Head"])
| |
| 529 | attt4.Name = "att4" | |
| 530 | attt4.Position = Vector3.new(-.55, -.5, 0.025) | |
| 531 | local trailtop1 = Instance.new("Trail", c["Torso"])
| |
| 532 | trailtop1.Enabled = true | |
| 533 | trailtop1.Texture = "rbxassetid://16607923" | |
| 534 | trailtop1.Name = "toptrail" | |
| 535 | trailtop1.MinLength = 0 | |
| 536 | trailtop1.Lifetime = 0.1 | |
| 537 | ||
| 538 | trailtop1.Color = ColorSequence.new(ColorArray) | |
| 539 | ||
| 540 | trailtop1.Attachment0 = att1 | |
| 541 | trailtop1.Attachment1 = att2 | |
| 542 | trailtop1.Transparency = NumberSequence.new({
| |
| 543 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 544 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 545 | }) | |
| 546 | local trailbot1 = Instance.new("Trail", c["Torso"])
| |
| 547 | trailbot1.Enabled = true | |
| 548 | trailbot1.Texture = "rbxassetid://16607923" | |
| 549 | trailbot1.Name = "bottrail" | |
| 550 | trailbot1.MinLength = 0 | |
| 551 | trailbot1.Lifetime = 0.1 | |
| 552 | ||
| 553 | trailbot1.Color = ColorSequence.new(ColorArray) | |
| 554 | ||
| 555 | trailbot1.Attachment0 = att3 | |
| 556 | trailbot1.Attachment1 = att4 | |
| 557 | trailbot1.Transparency = NumberSequence.new({
| |
| 558 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 559 | - | local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://131026421" S.Volume = 2 S:Play()
|
| 559 | + | |
| 560 | }) | |
| 561 | local trailside1 = Instance.new("Trail", c["Torso"])
| |
| 562 | trailside1.Enabled = true | |
| 563 | trailside1.Texture = "rbxassetid://16607923" | |
| 564 | trailside1.Name = "sidetrail1" | |
| 565 | trailside1.MinLength = 0 | |
| 566 | trailside1.Lifetime = 0.1 | |
| 567 | ||
| 568 | trailside1.Color = ColorSequence.new(ColorArray) | |
| 569 | ||
| 570 | trailside1.Attachment0 = att1 | |
| 571 | trailside1.Attachment1 = att3 | |
| 572 | trailside1.Transparency = NumberSequence.new({
| |
| 573 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 574 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 575 | }) | |
| 576 | local trailside2 = Instance.new("Trail", c["Torso"])
| |
| 577 | trailside2.Enabled = true | |
| 578 | trailside2.Texture = "rbxassetid://16607923" | |
| 579 | trailside2.Name = "sidetrail2" | |
| 580 | trailside2.MinLength = 0 | |
| 581 | trailside2.Lifetime = 0.1 | |
| 582 | ||
| 583 | trailside2.Color = ColorSequence.new(ColorArray) | |
| 584 | ||
| 585 | trailside2.Attachment0 = att2 | |
| 586 | trailside2.Attachment1 = att4 | |
| 587 | trailside2.Transparency = NumberSequence.new({
| |
| 588 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 589 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 590 | }) | |
| 591 | local trailtop12 = Instance.new("Trail", c["Head"])
| |
| 592 | trailtop12.Enabled = true | |
| 593 | trailtop12.Texture = "rbxassetid://16607923" | |
| 594 | trailtop12.Name = "toptrail" | |
| 595 | trailtop12.MinLength = 0 | |
| 596 | trailtop12.Lifetime = 0.1 | |
| 597 | ||
| 598 | trailtop12.Color = ColorSequence.new(ColorArray) | |
| 599 | ||
| 600 | trailtop12.Attachment0 = attt1 | |
| 601 | trailtop12.Attachment1 = attt2 | |
| 602 | trailtop12.Transparency = NumberSequence.new({
| |
| 603 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 604 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 605 | }) | |
| 606 | local trailbot2 = Instance.new("Trail", c["Head"])
| |
| 607 | trailbot2.Enabled = true | |
| 608 | trailbot2.Texture = "rbxassetid://16607923" | |
| 609 | trailbot2.Name = "bottrail" | |
| 610 | trailbot2.MinLength = 0 | |
| 611 | trailbot2.Lifetime = 0.1 | |
| 612 | ||
| 613 | trailbot2.Color = ColorSequence.new(ColorArray) | |
| 614 | ||
| 615 | trailbot2.Attachment0 = attt3 | |
| 616 | trailbot2.Attachment1 = attt4 | |
| 617 | trailbot2.Transparency = NumberSequence.new({
| |
| 618 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 619 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 620 | }) | |
| 621 | local trailside12 = Instance.new("Trail", c["Head"])
| |
| 622 | - | local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://537371462" S.Volume = 10 S:Play()
|
| 622 | + | |
| 623 | trailside12.Texture = "rbxassetid://16607923" | |
| 624 | trailside12.Name = "sidetrail1" | |
| 625 | trailside12.MinLength = 0 | |
| 626 | trailside12.Lifetime = 0.1 | |
| 627 | ||
| 628 | trailside12.Color = ColorSequence.new(ColorArray) | |
| 629 | ||
| 630 | trailside12.Attachment0 = attt1 | |
| 631 | trailside12.Attachment1 = attt3 | |
| 632 | trailside12.Transparency = NumberSequence.new({
| |
| 633 | NumberSequenceKeypoint.new(0, 0.5, 0), | |
| 634 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 635 | }) | |
| 636 | local trailside22 = Instance.new("Trail", c["Head"])
| |
| 637 | trailside22.Enabled = true | |
| 638 | trailside22.Texture = "rbxassetid://16607923" | |
| 639 | trailside22.Name = "sidetrail2" | |
| 640 | trailside22.MinLength = 0 | |
| 641 | trailside22.Lifetime = 0.1 | |
| 642 | ||
| 643 | trailside22.Color = ColorSequence.new(ColorArray) | |
| 644 | ||
| 645 | trailside22.Attachment0 = attt2 trailside22.Attachment1 = attt4 | |
| 646 | trailside22.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0),NumberSequenceKeypoint.new(1, 1, 0)})
| |
| 647 | ||
| 648 | Sped = 0 | |
| 649 | ||
| 650 | function ragplayer(cactus) | |
| 651 | local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://1031558085" S.Volume = 2 S:Play()
| |
| 652 | cactus.Humanoid.PlatformStand = true cactus:findFirstChild("Humanoid").Health = 0.01
| |
| 653 | if cactus["Right Arm"]~=nil and cactus.Torso:FindFirstChild("Right Shoulder") then
| |
| 654 | cactus.Torso:FindFirstChild("Right Shoulder"):Destroy()
| |
| 655 | makegloo(cactus.Torso, RSC0, RSC1, cactus.Torso, cactus["Right Arm"], "Right Shoulder") | |
| 656 | maketouchy(cactus["Right Arm"], cactus["Right Arm"], CFrame.new(0, 0.5, 0)) | |
| 657 | end | |
| 658 | if cactus["Left Arm"]~=nil and cactus.Torso:FindFirstChild("Left Shoulder") then
| |
| 659 | cactus.Torso:FindFirstChild("Left Shoulder"):Destroy()
| |
| 660 | makegloo(cactus.Torso, LSC0, LSC1, cactus.Torso, cactus["Left Arm"], "Left Shoulder") | |
| 661 | maketouchy(cactus["Left Arm"], cactus["Left Arm"], CFrame.new(0, 0.5, 0)) | |
| 662 | end | |
| 663 | if cactus["Right Leg"]~=nil and cactus.Torso:FindFirstChild("Right Hip") then
| |
| 664 | cactus.Torso:FindFirstChild("Right Hip"):Destroy()
| |
| 665 | makegloo(cactus.Torso, RHC0, RHC1, cactus.Torso, cactus["Right Leg"], "Right Hip") | |
| 666 | maketouchy(cactus["Right Leg"], cactus["Right Leg"], CFrame.new(0, 0.5, 0)) | |
| 667 | end | |
| 668 | if cactus["Left Leg"]~=nil and cactus.Torso:FindFirstChild("Left Hip") then
| |
| 669 | cactus.Torso:FindFirstChild("Left Hip"):Destroy()
| |
| 670 | makegloo(cactus.Torso, LHC0, LHC1, cactus.Torso, cactus["Left Leg"], "Left Hip") | |
| 671 | maketouchy(cactus["Left Leg"], cactus["Left Leg"], CFrame.new(0, 0.5, 0)) | |
| 672 | end | |
| 673 | cactus.Parent = game.Workspace game.Debris:AddItem(cactus,15) | |
| 674 | end | |
| 675 | function makegloo(paren, co, ci, parto, parti, nam) local gloo = Instance.new("Glue") gloo.Name = nam gloo.C0 = co gloo.C1 = ci gloo.Part0 = parto gloo.Part1 = parti gloo.Parent = paren end
| |
| 676 | ||
| 677 | function maketouchy(parent, limb, cframe) local pr = Instance.new("Part") pr.Name = "touchy" pr.Size = Vector3.new(1, 1, 1) pr.Transparency = 1 pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) pr.CanCollide = true pr.Anchored = false pr.Parent = parent local w = Instance.new("Weld") w.Part0 = pr w.Part1 = limb w.C0 = cframe w.Parent = pr end
| |
| 678 | ||
| 679 | local hitz = false | |
| 680 | c.HumanoidRootPart.Touched:connect(function(Hit) | |
| 681 | if thing >= 100 then | |
| 682 | if hitz == false then hitz = true | |
| 683 | ragplayer(c) local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://386946017" S.Volume = 6 S:Play()
| |
| 684 | wait(15) | |
| 685 | end | |
| 686 | end | |
| 687 | end) | |
| 688 | ||
| 689 | function Spin() | |
| 690 | attack = true | |
| 691 | while attack == true do Sped = Sped + 0.25 | |
| 692 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(Sped*Sped*5), rd(0), rd(0)), 1) | |
| 693 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(60), rd(0), rd(0)), 1) | |
| 694 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(15), rd(25), rd(25)), 1) | |
| 695 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 696 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(15), rd(-25), rd(-25)), 1) | |
| 697 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 698 | lerpz(RH, "C0", RHC0 * cf(0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 699 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 700 | lerpz(LH, "C0", LHC0 * cf(-0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 701 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 702 | swait() | |
| 703 | end | |
| 704 | end | |
| 705 | ||
| 706 | SanicScreams = {585370931,202427593}
| |
| 707 | ||
| 708 | mouse.KeyDown:connect(function(key) | |
| 709 | if attack == true then return end | |
| 710 | if key == "q" then | |
| 711 | Spin() | |
| 712 | end | |
| 713 | if key == "e" then | |
| 714 | local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://130774824" S.Volume = 10 S:Play()
| |
| 715 | wait(1.25) | |
| 716 | local Sanic = SanicScreams[math.random(1,#SanicScreams)] | |
| 717 | local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://"..Sanic S.Volume = 10 S:Play()
| |
| 718 | spawn(function() | |
| 719 | local Sp = Instance.new("Part",game.Workspace)Sp.BrickColor = BrickColor.new("Cyan")Sp.Material = "Neon" Sp.Size = Vector3.new(1,1,1) Sp.Anchored = true Sp.CanCollide = false
| |
| 720 | local SPM = Instance.new("SpecialMesh",Sp)SPM.MeshType = "Sphere" Sp.CFrame = c.HumanoidRootPart.CFrame
| |
| 721 | for i = 1,25 do | |
| 722 | SPM.Scale = SPM.Scale + Vector3.new(4,4,4) | |
| 723 | Sp.Transparency = Sp.Transparency + 1/25 | |
| 724 | swait() | |
| 725 | end | |
| 726 | end) | |
| 727 | local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://214444596" S.Volume = 10 S:Play()
| |
| 728 | Sped = 10000000000 | |
| 729 | end | |
| 730 | end) | |
| 731 | ||
| 732 | mouse.KeyUp:connect(function(key) | |
| 733 | if key == "q" then | |
| 734 | attack = false | |
| 735 | end | |
| 736 | end) | |
| 737 | ||
| 738 | local P = Instance.new("Part",game.Workspace.CurrentCamera)P.CanCollide = true P.Anchored = true P.Size = Vector3.new(15,1,15)
| |
| 739 | P.CFrame = CFrame.new(c.HumanoidRootPart.Position)*CFrame.new(0,-3.5,0)P.Transparency = 0 P.Name = "FlightPart" | |
| 740 | P.BrickColor = BrickColor.new("Dark green") P.TopSurface = "Smooth" P.Material = "Grass"
| |
| 741 | spawn(function() | |
| 742 | while true do | |
| 743 | P.CFrame = CFrame.new(c.HumanoidRootPart.Position.X,-0.6,c.HumanoidRootPart.Position.Z) | |
| 744 | swait() | |
| 745 | end | |
| 746 | end) | |
| 747 | ||
| 748 | anim.Parent = nil | |
| 749 | sine = 0 | |
| 750 | ||
| 751 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 752 | if attack == false then | |
| 753 | thing = (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 754 | game.Workspace.CurrentCamera.FieldOfView = 70+thing/100 | |
| 755 | if c.HumanoidRootPart.Velocity.Y > 1 then sine = sine + 1 | |
| 756 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(sine*thing*0.75), rd(0), rd(0)), 1) | |
| 757 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(60), rd(0), rd(0)), 1) | |
| 758 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(15), rd(25), rd(25)), 1) | |
| 759 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 760 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(15), rd(-25), rd(-25)), 1) | |
| 761 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 762 | lerpz(RH, "C0", RHC0 * cf(0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 763 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 764 | lerpz(LH, "C0", LHC0 * cf(-0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 765 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 766 | elseif (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 2 then | |
| 767 | sine = sine + 1 Sped = Sped + 0.1 | |
| 768 | if thing <= 200 then | |
| 769 | if S2.PlaybackSpeed >= 1 then | |
| 770 | S2.PlaybackSpeed = 1 | |
| 771 | else | |
| 772 | S2.PlaybackSpeed = thing/80 | |
| 773 | end | |
| 774 | c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped | |
| 775 | S2.Volume = thing/20 | |
| 776 | end | |
| 777 | if thing <= 200 then | |
| 778 | c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped | |
| 779 | S2.Volume = thing/20 | |
| 780 | else | |
| 781 | c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped | |
| 782 | end | |
| 783 | if thing <= 100 then | |
| 784 | for i,v in pairs(c:children()) do | |
| 785 | if v.ClassName == "Part" then | |
| 786 | for i,v2 in pairs(v:children()) do | |
| 787 | if v2.ClassName == "Trail" then | |
| 788 | v2.Enabled = false | |
| 789 | v2.LightEmission = 1 | |
| 790 | end | |
| 791 | end | |
| 792 | end | |
| 793 | end | |
| 794 | else | |
| 795 | for i,v in pairs(c:children()) do | |
| 796 | if v.ClassName == "Part" then | |
| 797 | for i,v2 in pairs(v:children()) do | |
| 798 | if v2.ClassName == "Trail" then | |
| 799 | v2.Lifetime = 2 | |
| 800 | v2.Enabled = true | |
| 801 | end | |
| 802 | end | |
| 803 | end | |
| 804 | end | |
| 805 | end | |
| 806 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(thing/7), rd(0), rd(0)), 1) | |
| 807 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 808 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-thing/1.5)), 1) | |
| 809 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 810 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(thing/1.5)), 1) | |
| 811 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 812 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2))*thing/1.25), 1) | |
| 813 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 814 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2))*thing/1.25), 1) | |
| 815 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) | |
| 816 | else c.Humanoid.WalkSpeed = 16 Sped = 0 sine = sine + 1 S2.Volume = 0 S2.PlaybackSpeed = 0 | |
| 817 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 818 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 819 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/24)*4)), 0.5) | |
| 820 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 821 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/24)*4)), 0.5) | |
| 822 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 823 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 824 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 825 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 826 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 827 | end | |
| 828 | for i,v in pairs (c:children()) do | |
| 829 | if v.ClassName == "Accessory" then | |
| 830 | for i,v2 in pairs (v:children()) do | |
| 831 | if v2.ClassName == "Part" then | |
| 832 | v2.Anchored = false | |
| 833 | end | |
| 834 | end | |
| 835 | end | |
| 836 | for i,v in pairs (c:children()) do | |
| 837 | if v.ClassName == "Part" then | |
| 838 | v.Anchored = false | |
| 839 | end | |
| 840 | end | |
| 841 | end | |
| 842 | end | |
| 843 | end) |