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