SHOW:
|
|
- or go back to the newest paste.
| 1 | --Edited by refrop | |
| 2 | ||
| 3 | ||
| 4 | ID = '319332735' | |
| 5 | Looped = false | |
| 6 | ||
| 7 | Music=Instance.new("Sound" ,workspace)
| |
| 8 | Music.Name = "Music" | |
| 9 | if Looped == true then | |
| 10 | Music.Looped = true | |
| 11 | end | |
| 12 | Music.SoundId = "http://roblox.com/asset/?id=319332735" | |
| 13 | Music:Play() --Demonic Laugh. (Omega Flowey) You can remove if you wish. Its very loud (To not make play, remove 'Music:Play()') | |
| 14 | ||
| 15 | --full credit to krystal and rocky2u for below | |
| 16 | Fire = false | |
| 17 | ||
| 18 | Sparkles = false | |
| 19 | ||
| 20 | Box = false | |
| 21 | ||
| 22 | local Players = game.Players | |
| 23 | ||
| 24 | local Player = Players.LocalPlayer | |
| 25 | ||
| 26 | local Mouse = Player:GetMouse() | |
| 27 | ||
| 28 | ||
| 29 | local dist = 25 | |
| 30 | ||
| 31 | local trans = 0 | |
| 32 | ||
| 33 | local dwn=false | |
| 34 | ||
| 35 | local Bin = Instance.new("HopperBin")
| |
| 36 | ||
| 37 | Bin.Name = "Sans' Telekinesis" | |
| 38 | ||
| 39 | Bin.Parent = Player.Backpack | |
| 40 | ||
| 41 | ||
| 42 | local ScreenGUI = Instance.new("ScreenGui", Player.PlayerGui)
| |
| 43 | ||
| 44 | local Color = Instance.new("Color3Value", ScreenGUI)
| |
| 45 | ||
| 46 | local ColorValue = Color.Value | |
| 47 | ||
| 48 | local Blue = Instance.new("TextButton", ScreenGUI)
| |
| 49 | ||
| 50 | local Red = Instance.new("TextButton", ScreenGUI)
| |
| 51 | ||
| 52 | local Green = Instance.new("TextButton", ScreenGUI)
| |
| 53 | ||
| 54 | local Yellow = Instance.new("TextButton", ScreenGUI)
| |
| 55 | ||
| 56 | local Pink = Instance.new("TextButton", ScreenGUI)
| |
| 57 | ||
| 58 | local LightBlue = Instance.new("TextButton", ScreenGUI)
| |
| 59 | ||
| 60 | local White = Instance.new("TextButton", ScreenGUI)
| |
| 61 | ||
| 62 | local FireTrue = Instance.new("TextButton", ScreenGUI)
| |
| 63 | ||
| 64 | local FireFalse = Instance.new("TextButton", ScreenGUI)
| |
| 65 | ||
| 66 | local SparklesTrue = Instance.new("TextButton", ScreenGUI)
| |
| 67 | ||
| 68 | local SparklesFalse = Instance.new("TextButton", ScreenGUI)
| |
| 69 | ||
| 70 | local BoxTrue = Instance.new("TextButton", ScreenGUI)
| |
| 71 | ||
| 72 | local BoxFalse = Instance.new("TextButton", ScreenGUI)
| |
| 73 | ||
| 74 | Color.Name = "Color" | |
| 75 | ||
| 76 | Blue.BackgroundColor3 = BrickColor.new("Bright blue").Color
| |
| 77 | ||
| 78 | Blue.Transparency = 0.5 | |
| 79 | ||
| 80 | Blue.Size = UDim2.new(0, 20 ,0, 20) | |
| 81 | ||
| 82 | Blue.Position = UDim2.new(1, -35, 1, -35) | |
| 83 | ||
| 84 | Blue.Name = "Blue" | |
| 85 | ||
| 86 | Blue.Text = "" | |
| 87 | ||
| 88 | Blue.Visible = false | |
| 89 | ||
| 90 | Red.BackgroundColor3 = BrickColor.new("Bright red").Color
| |
| 91 | ||
| 92 | Red.Transparency = 0.5 | |
| 93 | ||
| 94 | Red.Size = UDim2.new(0, 20 ,0, 20) | |
| 95 | ||
| 96 | Red.Position = UDim2.new(1,-65, 1, -35) | |
| 97 | ||
| 98 | Red.Name = "Red" | |
| 99 | ||
| 100 | Red.Text = "" | |
| 101 | ||
| 102 | Red.Visible = false | |
| 103 | ||
| 104 | Green.BackgroundColor3 = BrickColor.new("Bright green").Color
| |
| 105 | ||
| 106 | Green.Transparency = 0.5 | |
| 107 | ||
| 108 | Green.Size = UDim2.new(0, 20 ,0, 20) | |
| 109 | ||
| 110 | Green.Position = UDim2.new(1,-95, 1, -35) | |
| 111 | ||
| 112 | Green.Name = "Green" | |
| 113 | ||
| 114 | Green.Text = "" | |
| 115 | ||
| 116 | Green.Visible = false | |
| 117 | ||
| 118 | Yellow.BackgroundColor3 = BrickColor.new("New Yeller").Color
| |
| 119 | ||
| 120 | Yellow.Transparency = 0.5 | |
| 121 | ||
| 122 | Yellow.Size = UDim2.new(0, 20 ,0, 20) | |
| 123 | ||
| 124 | Yellow.Position = UDim2.new(1,-125, 1, -35) | |
| 125 | ||
| 126 | Yellow.Name = "Yellow" | |
| 127 | ||
| 128 | Yellow.Text = "" | |
| 129 | ||
| 130 | Yellow.Visible = false | |
| 131 | ||
| 132 | Pink.BackgroundColor3 = BrickColor.new("Hot pink").Color
| |
| 133 | ||
| 134 | Pink.Transparency = 0.5 | |
| 135 | ||
| 136 | Pink.Size = UDim2.new(0, 20 ,0, 20) | |
| 137 | ||
| 138 | Pink.Position = UDim2.new(1,-155, 1, -35) | |
| 139 | ||
| 140 | Pink.Name = "Pink" | |
| 141 | ||
| 142 | Pink.Text = "" | |
| 143 | ||
| 144 | Pink.Visible = false | |
| 145 | ||
| 146 | LightBlue.BackgroundColor3 = BrickColor.new("Cyan").Color
| |
| 147 | ||
| 148 | LightBlue.Transparency = 0.5 | |
| 149 | ||
| 150 | LightBlue.Size = UDim2.new(0, 20 ,0, 20) | |
| 151 | ||
| 152 | LightBlue.Position = UDim2.new(1,-185, 1, -35) | |
| 153 | ||
| 154 | LightBlue.Name = "LightBlue" | |
| 155 | ||
| 156 | LightBlue.Text = "" | |
| 157 | ||
| 158 | LightBlue.Visible = false | |
| 159 | ||
| 160 | White.BackgroundColor3 = BrickColor.new("White").Color
| |
| 161 | ||
| 162 | White.Transparency = 0.5 | |
| 163 | ||
| 164 | White.Size = UDim2.new(0, 20 ,0, 20) | |
| 165 | ||
| 166 | White.Position = UDim2.new(1,-215, 1, -35) | |
| 167 | ||
| 168 | White.Name = "White" | |
| 169 | ||
| 170 | White.Text = "" | |
| 171 | ||
| 172 | White.Visible = false | |
| 173 | ||
| 174 | FireFalse.BackgroundColor3 = BrickColor.new("Really black").Color
| |
| 175 | ||
| 176 | FireFalse.Transparency = 0.5 | |
| 177 | ||
| 178 | FireFalse.Size = UDim2.new(0, 50 ,0, 20) | |
| 179 | ||
| 180 | FireFalse.Position = UDim2.new(1,-65, 1, -65) | |
| 181 | ||
| 182 | FireFalse.Name = "FireFalse" | |
| 183 | ||
| 184 | FireFalse.Text = "Fire: F" | |
| 185 | ||
| 186 | FireFalse.Visible = false | |
| 187 | ||
| 188 | FireFalse.FontSize = "Size12" | |
| 189 | ||
| 190 | FireFalse.Font = "ArialBold" | |
| 191 | ||
| 192 | FireFalse.TextColor = BrickColor.new(255,255,255) | |
| 193 | ||
| 194 | FireFalse.TextTransparency = 0 | |
| 195 | ||
| 196 | FireTrue.BackgroundColor3 = BrickColor.new("Really black").Color
| |
| 197 | ||
| 198 | FireTrue.Transparency = 0.5 | |
| 199 | ||
| 200 | FireTrue.Size = UDim2.new(0, 50 ,0, 20) | |
| 201 | ||
| 202 | FireTrue.Position = UDim2.new(1,-65, 1, -65) | |
| 203 | ||
| 204 | FireTrue.Name = "FireTrue" | |
| 205 | ||
| 206 | FireTrue.Text = "Fire: T" | |
| 207 | ||
| 208 | FireTrue.Visible = false | |
| 209 | ||
| 210 | FireTrue.FontSize = "Size12" | |
| 211 | ||
| 212 | FireTrue.Font = "ArialBold" | |
| 213 | ||
| 214 | FireTrue.TextColor = BrickColor.new(255,255,255) | |
| 215 | ||
| 216 | FireTrue.TextTransparency = 0 | |
| 217 | ||
| 218 | SparklesTrue.BackgroundColor3 = BrickColor.new("Really black").Color
| |
| 219 | ||
| 220 | SparklesTrue.Transparency = 0.5 | |
| 221 | ||
| 222 | SparklesTrue.Size = UDim2.new(0, 50 ,0, 20) | |
| 223 | ||
| 224 | SparklesTrue.Position = UDim2.new(1,-125, 1, -65) | |
| 225 | ||
| 226 | SparklesTrue.Name = "SparklesTrue" | |
| 227 | ||
| 228 | SparklesTrue.Text = "SP: T" | |
| 229 | ||
| 230 | SparklesTrue.Visible = false | |
| 231 | ||
| 232 | SparklesTrue.FontSize = "Size12" | |
| 233 | ||
| 234 | SparklesTrue.Font = "ArialBold" | |
| 235 | ||
| 236 | SparklesTrue.TextColor = BrickColor.new(255,255,255) | |
| 237 | ||
| 238 | SparklesTrue.TextTransparency = 0 | |
| 239 | ||
| 240 | SparklesFalse.BackgroundColor3 = BrickColor.new("Really black").Color
| |
| 241 | ||
| 242 | SparklesFalse.Transparency = 0.5 | |
| 243 | ||
| 244 | SparklesFalse.Size = UDim2.new(0, 50 ,0, 20) | |
| 245 | ||
| 246 | SparklesFalse.Position = UDim2.new(1,-125, 1, -65) | |
| 247 | ||
| 248 | SparklesFalse.Name = "SparklesFalse" | |
| 249 | ||
| 250 | SparklesFalse.Text = "SP: F" | |
| 251 | ||
| 252 | SparklesFalse.Visible = false | |
| 253 | ||
| 254 | SparklesFalse.FontSize = "Size12" | |
| 255 | ||
| 256 | SparklesFalse.Font = "ArialBold" | |
| 257 | ||
| 258 | SparklesFalse.TextColor = BrickColor.new(255,255,255) | |
| 259 | ||
| 260 | SparklesFalse.TextTransparency = 0 | |
| 261 | ||
| 262 | BoxTrue.BackgroundColor3 = BrickColor.new("Really black").Color
| |
| 263 | ||
| 264 | BoxTrue.Transparency = 0.5 | |
| 265 | ||
| 266 | BoxTrue.Size = UDim2.new(0, 50 ,0, 20) | |
| 267 | ||
| 268 | BoxTrue.Position = UDim2.new(1,-185, 1, -65) | |
| 269 | ||
| 270 | BoxTrue.Name = "BoxTrue" | |
| 271 | ||
| 272 | BoxTrue.Text = "Box: T" | |
| 273 | ||
| 274 | BoxTrue.Visible = false | |
| 275 | ||
| 276 | BoxTrue.FontSize = "Size12" | |
| 277 | ||
| 278 | BoxTrue.Font = "ArialBold" | |
| 279 | ||
| 280 | BoxTrue.TextColor = BrickColor.new(255,255,255) | |
| 281 | ||
| 282 | BoxTrue.TextTransparency = 0 | |
| 283 | ||
| 284 | BoxFalse.BackgroundColor3 = BrickColor.new("Really black").Color
| |
| 285 | ||
| 286 | BoxFalse.Transparency = 0.5 | |
| 287 | ||
| 288 | BoxFalse.Size = UDim2.new(0, 50 ,0, 20) | |
| 289 | ||
| 290 | BoxFalse.Position = UDim2.new(1,-185, 1, -65) | |
| 291 | ||
| 292 | BoxFalse.Name = "BoxFalse" | |
| 293 | ||
| 294 | BoxFalse.Text = "Box: F" | |
| 295 | ||
| 296 | BoxFalse.Visible = false | |
| 297 | ||
| 298 | BoxFalse.FontSize = "Size12" | |
| 299 | ||
| 300 | BoxFalse.Font = "ArialBold" | |
| 301 | ||
| 302 | BoxFalse.TextColor = BrickColor.new(255, 255, 255) | |
| 303 | ||
| 304 | BoxFalse.TextTransparency = 0 | |
| 305 | ||
| 306 | local Credits = Instance.new("ScreenGui",Player.PlayerGui)
| |
| 307 | ||
| 308 | local Text = Instance.new("TextLabel",Credits)
| |
| 309 | ||
| 310 | Text.BackgroundTransparency = 1 | |
| 311 | ||
| 312 | Text.Position = UDim2.new(0, 0, 1, -25) | |
| 313 | ||
| 314 | Text.Size = UDim2.new(0, 200, 0, 25) | |
| 315 | ||
| 316 | Text.Font = "SourceSans" | |
| 317 | ||
| 318 | Text.FontSize = "Size24" | |
| 319 | ||
| 320 | Text.Text = "By AzuLX, Issac and Pingu - GSans Script." | |
| 321 | ||
| 322 | Text.TextColor3 = Color3.new(255, 255, 255) | |
| 323 | ||
| 324 | Text.TextXAlignment = "Left" | |
| 325 | ||
| 326 | local bawl = Instance.new("Part", game.Lighting)
| |
| 327 | ||
| 328 | bawl.Name="TelekinesisGrab" | |
| 329 | ||
| 330 | local bp = Instance.new("BodyPosition", bawl)
| |
| 331 | ||
| 332 | local w = Instance.new("Weld", bawl)
| |
| 333 | ||
| 334 | function onButton1Down(mouse) | |
| 335 | ||
| 336 | bawl.Size = Vector3.new(2,2,2) | |
| 337 | ||
| 338 | bawl.Material="Neon" | |
| 339 | ||
| 340 | bawl.Shape=0 | |
| 341 | ||
| 342 | bawl.Transparency=trans | |
| 343 | ||
| 344 | bawl.Name="TelekinesisGrab" | |
| 345 | ||
| 346 | bawl.CanCollide = false | |
| 347 | ||
| 348 | bawl.Parent = game.Workspace | |
| 349 | ||
| 350 | w.Parent = bawl | |
| 351 | ||
| 352 | w.Name = "Weld" | |
| 353 | ||
| 354 | bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 355 | ||
| 356 | bp.Parent = bawl | |
| 357 | ||
| 358 | bp.Name="lolx" | |
| 359 | ||
| 360 | bawl.Parent = workspace | |
| 361 | ||
| 362 | if mouse ~= nil then | |
| 363 | ||
| 364 | if mouse.Target ~= nil then | |
| 365 | ||
| 366 | w.Part0 = mouse.Target | |
| 367 | ||
| 368 | w.Part1 = bawl | |
| 369 | ||
| 370 | dwn = true | |
| 371 | ||
| 372 | if mouse.Target.Parent:FindFirstChild("Humanoid") then
| |
| 373 | ||
| 374 | mouse.Target.Parent:FindFirstChild("Humanoid").PlatformStand=true
| |
| 375 | ||
| 376 | else | |
| 377 | ||
| 378 | print('no humanoid')
| |
| 379 | ||
| 380 | end | |
| 381 | ||
| 382 | end | |
| 383 | ||
| 384 | end | |
| 385 | ||
| 386 | spawn(function() | |
| 387 | ||
| 388 | while dwn == true do | |
| 389 | ||
| 390 | ypcall(function() | |
| 391 | ||
| 392 | bp.Parent = bawl | |
| 393 | ||
| 394 | bp.position = Player.Character.Torso.Position + (mouse.Hit.lookVector*dist) | |
| 395 | ||
| 396 | wait() | |
| 397 | ||
| 398 | end) | |
| 399 | ||
| 400 | end | |
| 401 | ||
| 402 | end) | |
| 403 | ||
| 404 | end | |
| 405 | ||
| 406 | function onButton1Up(mouse) | |
| 407 | ||
| 408 | dwn=false | |
| 409 | ||
| 410 | if bawl ~= nil then | |
| 411 | ||
| 412 | bawl.Parent=game.Lighting | |
| 413 | ||
| 414 | else | |
| 415 | ||
| 416 | print('not found')
| |
| 417 | ||
| 418 | end | |
| 419 | ||
| 420 | end | |
| 421 | ||
| 422 | function onKeyDown(key, mouse) | |
| 423 | ||
| 424 | key:lower() | |
| 425 | ||
| 426 | if key == "r" then | |
| 427 | ||
| 428 | if bawl ~= nil then | |
| 429 | ||
| 430 | --bawl.Parent=nil | |
| 431 | ||
| 432 | end | |
| 433 | ||
| 434 | elseif key == "e" then | |
| 435 | ||
| 436 | local p = Instance.new("Part", workspace)
| |
| 437 | ||
| 438 | p.Size = Vector3.new(3,3,3) | |
| 439 | ||
| 440 | p.Material = "Neon" | |
| 441 | ||
| 442 | p.Position = mouse.Hit.p + Vector3.new(0,2,0) | |
| 443 | ||
| 444 | p.BrickColor = bawl.BrickColor | |
| 445 | ||
| 446 | p.Shape = "Ball" | |
| 447 | ||
| 448 | p.BottomSurface = "Smooth" | |
| 449 | ||
| 450 | p.TopSurface = "Smooth" | |
| 451 | ||
| 452 | elseif key == "h" then | |
| 453 | ||
| 454 | if bawl ~= nil then | |
| 455 | ||
| 456 | if bawl:FindFirstChild("Weld") ~= nil then
| |
| 457 | ||
| 458 | if bawl:FindFirstChild("Weld").Part0 ~= nil then
| |
| 459 | ||
| 460 | bawl:FindFirstChild("Weld").Part0.Anchored=false
| |
| 461 | ||
| 462 | end | |
| 463 | ||
| 464 | end | |
| 465 | ||
| 466 | end | |
| 467 | ||
| 468 | elseif key == "g" then | |
| 469 | ||
| 470 | if bawl ~= nil then | |
| 471 | ||
| 472 | local x = Instance.new("Explosion",workspace)
| |
| 473 | ||
| 474 | x.Position=bawl.Position | |
| 475 | ||
| 476 | else | |
| 477 | ||
| 478 | print('some sort of error')
| |
| 479 | ||
| 480 | end | |
| 481 | ||
| 482 | elseif key == "x" then | |
| 483 | ||
| 484 | dist=dist - 5 | |
| 485 | ||
| 486 | elseif key == "c" then | |
| 487 | ||
| 488 | dist=15 | |
| 489 | ||
| 490 | elseif key == "v" then | |
| 491 | ||
| 492 | dist=100 | |
| 493 | ||
| 494 | elseif key == "z" then | |
| 495 | ||
| 496 | dist=dist + 5 | |
| 497 | ||
| 498 | end | |
| 499 | ||
| 500 | end | |
| 501 | ||
| 502 | FireX = 0 | |
| 503 | ||
| 504 | FireY = 0 | |
| 505 | ||
| 506 | FireZ = 0 | |
| 507 | ||
| 508 | SPX = 0 | |
| 509 | ||
| 510 | SPY = 0 | |
| 511 | ||
| 512 | SPZ = 0 | |
| 513 | ||
| 514 | BoxColor = "White" | |
| 515 | ||
| 516 | FireFalse.MouseButton1Down:connect(function () | |
| 517 | ||
| 518 | local Fire = Instance.new("Fire", bawl)
| |
| 519 | Fire.Color = Color3.new(FireX,FireY,FireZ) | |
| 520 | ||
| 521 | Player.PlayerGui.ScreenGui.FireFalse.Visible = false | |
| 522 | ||
| 523 | Player.PlayerGui.ScreenGui.FireTrue.Visible = true | |
| 524 | ||
| 525 | Fire.Color = Color3.new(FireX,FireY,FireZ) | |
| 526 | ||
| 527 | end) | |
| 528 | ||
| 529 | FireTrue.MouseButton1Down:connect(function () | |
| 530 | ||
| 531 | bawl.Fire:remove() | |
| 532 | ||
| 533 | Player.PlayerGui.ScreenGui.FireFalse.Visible = true | |
| 534 | ||
| 535 | Player.PlayerGui.ScreenGui.FireTrue.Visible = false | |
| 536 | ||
| 537 | end) | |
| 538 | ||
| 539 | SparklesFalse.MouseButton1Down:connect(function () | |
| 540 | ||
| 541 | local SP = Instance.new("Sparkles", bawl)
| |
| 542 | SP.Color = Color3.new(SPX,SPY,SPZ) | |
| 543 | ||
| 544 | Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false | |
| 545 | ||
| 546 | Player.PlayerGui.ScreenGui.SparklesTrue.Visible = true | |
| 547 | ||
| 548 | end) | |
| 549 | ||
| 550 | SparklesTrue.MouseButton1Down:connect(function () | |
| 551 | ||
| 552 | bawl.Sparkles:remove() | |
| 553 | ||
| 554 | Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true | |
| 555 | ||
| 556 | Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false | |
| 557 | ||
| 558 | end) | |
| 559 | ||
| 560 | BoxFalse.MouseButton1Down:connect(function () | |
| 561 | ||
| 562 | local Box = Instance.new("SelectionBox", bawl)
| |
| 563 | Box.Color = BrickColor.new(BoxColor) | |
| 564 | Box.Adornee = Box.Parent | |
| 565 | ||
| 566 | Player.PlayerGui.ScreenGui.BoxFalse.Visible = false | |
| 567 | ||
| 568 | Player.PlayerGui.ScreenGui.BoxTrue.Visible = true | |
| 569 | ||
| 570 | end) | |
| 571 | ||
| 572 | BoxTrue.MouseButton1Down:connect(function () | |
| 573 | ||
| 574 | bawl.SelectionBox:remove() | |
| 575 | ||
| 576 | Player.PlayerGui.ScreenGui.BoxFalse.Visible = true | |
| 577 | ||
| 578 | Player.PlayerGui.ScreenGui.BoxTrue.Visible = false | |
| 579 | ||
| 580 | end) | |
| 581 | ||
| 582 | Blue.MouseButton1Down:connect(function () | |
| 583 | ||
| 584 | if bawl ~= nil then | |
| 585 | ||
| 586 | bawl.BrickColor = BrickColor.new("Bright blue")
| |
| 587 | ||
| 588 | FireX = 0 | |
| 589 | FireY = 0 | |
| 590 | FireZ = 255 | |
| 591 | ||
| 592 | SPX = 0 | |
| 593 | SPY = 0 | |
| 594 | SPZ = 255 | |
| 595 | ||
| 596 | BoxColor = "Bright blue" | |
| 597 | ||
| 598 | game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,0,255) | |
| 599 | ||
| 600 | game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,0,255) | |
| 601 | ||
| 602 | game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright blue")
| |
| 603 | ||
| 604 | end | |
| 605 | ||
| 606 | end) | |
| 607 | ||
| 608 | Red.MouseButton1Down:connect(function () | |
| 609 | ||
| 610 | if bawl ~= nil then | |
| 611 | ||
| 612 | bawl.BrickColor = BrickColor.new("Bright red")
| |
| 613 | ||
| 614 | FireX = 255 | |
| 615 | FireY = 0 | |
| 616 | FireZ = 0 | |
| 617 | ||
| 618 | SPX = 255 | |
| 619 | SPY = 0 | |
| 620 | SPZ = 0 | |
| 621 | ||
| 622 | BoxColor = "Bright red" | |
| 623 | ||
| 624 | game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,0) | |
| 625 | ||
| 626 | game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,0) | |
| 627 | ||
| 628 | game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright red")
| |
| 629 | ||
| 630 | end | |
| 631 | ||
| 632 | end) | |
| 633 | ||
| 634 | Green.MouseButton1Down:connect(function () | |
| 635 | ||
| 636 | if bawl ~= nil then | |
| 637 | ||
| 638 | bawl.BrickColor = BrickColor.new("Bright green")
| |
| 639 | ||
| 640 | FireX = 0 | |
| 641 | FireY = 255 | |
| 642 | FireZ = 0 | |
| 643 | ||
| 644 | SPX = 0 | |
| 645 | SPY = 255 | |
| 646 | SPZ = 0 | |
| 647 | ||
| 648 | BoxColor = "Bright green" | |
| 649 | ||
| 650 | game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,0) | |
| 651 | ||
| 652 | game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,0) | |
| 653 | ||
| 654 | game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright green")
| |
| 655 | ||
| 656 | end | |
| 657 | ||
| 658 | end) | |
| 659 | ||
| 660 | Yellow.MouseButton1Down:connect(function () | |
| 661 | ||
| 662 | if bawl ~= nil then | |
| 663 | ||
| 664 | bawl.BrickColor = BrickColor.new("New Yeller")
| |
| 665 | ||
| 666 | FireX = 255 | |
| 667 | FireY = 255 | |
| 668 | FireZ = 0 | |
| 669 | ||
| 670 | SPX = 255 | |
| 671 | SPY = 255 | |
| 672 | SPZ = 0 | |
| 673 | ||
| 674 | BoxColor = "New Yeller" | |
| 675 | ||
| 676 | game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,0) | |
| 677 | ||
| 678 | game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,0) | |
| 679 | ||
| 680 | game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("New Yeller")
| |
| 681 | ||
| 682 | end | |
| 683 | ||
| 684 | end) | |
| 685 | ||
| 686 | Pink.MouseButton1Down:connect(function () | |
| 687 | ||
| 688 | if bawl ~= nil then | |
| 689 | ||
| 690 | bawl.BrickColor = BrickColor.new("Hot pink")
| |
| 691 | ||
| 692 | FireX = 255 | |
| 693 | FireY = 0 | |
| 694 | FireZ = 255 | |
| 695 | ||
| 696 | SPX = 255 | |
| 697 | SPY = 0 | |
| 698 | SPZ = 255 | |
| 699 | ||
| 700 | BoxColor = "Hot pink" | |
| 701 | ||
| 702 | game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,255) | |
| 703 | ||
| 704 | game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,255) | |
| 705 | ||
| 706 | game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Hot pink")
| |
| 707 | ||
| 708 | end | |
| 709 | ||
| 710 | end) | |
| 711 | ||
| 712 | LightBlue.MouseButton1Down:connect(function () | |
| 713 | ||
| 714 | if bawl ~= nil then | |
| 715 | ||
| 716 | bawl.BrickColor = BrickColor.new("Cyan")
| |
| 717 | ||
| 718 | FireX = 0 | |
| 719 | FireY = 255 | |
| 720 | FireZ = 255 | |
| 721 | ||
| 722 | SPX = 0 | |
| 723 | SPY = 255 | |
| 724 | SPZ = 255 | |
| 725 | ||
| 726 | BoxColor = "Cyan" | |
| 727 | ||
| 728 | game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,255) | |
| 729 | ||
| 730 | game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,255) | |
| 731 | ||
| 732 | game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Cyan")
| |
| 733 | ||
| 734 | end | |
| 735 | ||
| 736 | end) | |
| 737 | ||
| 738 | ||
| 739 | White.MouseButton1Down:connect(function () | |
| 740 | ||
| 741 | if bawl ~= nil then | |
| 742 | ||
| 743 | bawl.BrickColor = BrickColor.new("White")
| |
| 744 | ||
| 745 | FireX = 255 | |
| 746 | FireY = 255 | |
| 747 | FireZ = 255 | |
| 748 | ||
| 749 | SPX = 255 | |
| 750 | SPY = 255 | |
| 751 | SPZ = 255 | |
| 752 | ||
| 753 | BoxColor = "White" | |
| 754 | ||
| 755 | game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,255) | |
| 756 | ||
| 757 | game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,255) | |
| 758 | ||
| 759 | game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("White")
| |
| 760 | ||
| 761 | end | |
| 762 | ||
| 763 | end) | |
| 764 | ||
| 765 | Bin.Selected:connect(function () | |
| 766 | ||
| 767 | Fire = false | |
| 768 | ||
| 769 | Player.PlayerGui.ScreenGui.Blue.Visible = true | |
| 770 | ||
| 771 | Player.PlayerGui.ScreenGui.Red.Visible = true | |
| 772 | ||
| 773 | Player.PlayerGui.ScreenGui.Green.Visible = true | |
| 774 | ||
| 775 | Player.PlayerGui.ScreenGui.Yellow.Visible = true | |
| 776 | ||
| 777 | Player.PlayerGui.ScreenGui.Pink.Visible = true | |
| 778 | ||
| 779 | Player.PlayerGui.ScreenGui.LightBlue.Visible = true | |
| 780 | ||
| 781 | Player.PlayerGui.ScreenGui.White.Visible = true | |
| 782 | ||
| 783 | Player.PlayerGui.ScreenGui.FireFalse.Visible = true | |
| 784 | ||
| 785 | Player.PlayerGui.ScreenGui.FireTrue.Visible = false | |
| 786 | ||
| 787 | Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true | |
| 788 | ||
| 789 | Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false | |
| 790 | ||
| 791 | Player.PlayerGui.ScreenGui.BoxFalse.Visible = true | |
| 792 | ||
| 793 | Player.PlayerGui.ScreenGui.BoxTrue.Visible = false | |
| 794 | ||
| 795 | end) | |
| 796 | ||
| 797 | Bin.Deselected:connect(function () | |
| 798 | ||
| 799 | Fire = false | |
| 800 | ||
| 801 | Player.PlayerGui.ScreenGui.Blue.Visible = false | |
| 802 | ||
| 803 | Player.PlayerGui.ScreenGui.Red.Visible = false | |
| 804 | ||
| 805 | Player.PlayerGui.ScreenGui.Green.Visible = false | |
| 806 | ||
| 807 | Player.PlayerGui.ScreenGui.Yellow.Visible = false | |
| 808 | ||
| 809 | Player.PlayerGui.ScreenGui.Pink.Visible = false | |
| 810 | ||
| 811 | Player.PlayerGui.ScreenGui.LightBlue.Visible = false | |
| 812 | ||
| 813 | Player.PlayerGui.ScreenGui.White.Visible = false | |
| 814 | ||
| 815 | Player.PlayerGui.ScreenGui.FireFalse.Visible = false | |
| 816 | ||
| 817 | Player.PlayerGui.ScreenGui.FireTrue.Visible = false | |
| 818 | ||
| 819 | Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false | |
| 820 | ||
| 821 | Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false | |
| 822 | ||
| 823 | Player.PlayerGui.ScreenGui.BoxFalse.Visible = false | |
| 824 | ||
| 825 | Player.PlayerGui.ScreenGui.BoxTrue.Visible = false | |
| 826 | ||
| 827 | end) | |
| 828 | ||
| 829 | Bin.Selected:connect(function(mouse) | |
| 830 | ||
| 831 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
| 832 | ||
| 833 | mouse.Button1Up:connect(function() onButton1Up(mouse) end) | |
| 834 | ||
| 835 | mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end) | |
| 836 | ||
| 837 | end) | |
| 838 | print 'Telek script has loaded, credit to Krystal and rocky2u' | |
| 839 | dot = false | |
| 840 | des = false | |
| 841 | local ChatService = game:GetService("Chat")
| |
| 842 | local player = game.Players.LocalPlayer | |
| 843 | char = player.Character | |
| 844 | hum = char.Humanoid | |
| 845 | torso = hum.Torso | |
| 846 | lig = Instance.new("PointLight",player.Character.Torso)
| |
| 847 | lig.Color=Color3.new(0,255,255) | |
| 848 | m=player:GetMouse() | |
| 849 | bb = Instance.new("BillboardGui",player.Character.Head)
| |
| 850 | bb.Enabled = true | |
| 851 | bb.AlwaysOnTop = true | |
| 852 | bb.Size = UDim2.new(0,200,0,50) | |
| 853 | bb.StudsOffset = Vector3.new(0,1,0) | |
| 854 | gui=Instance.new("TextBox",bb)
| |
| 855 | gui.Text = "* " | |
| 856 | gui.Size = UDim2.new(0,133,0,45) | |
| 857 | gui.Position=UDim2.new(0,57,0,-40) | |
| 858 | gui.TextColor3 = Color3.new(255,255,255) | |
| 859 | gui.BackgroundColor3=Color3.new(0,0,0) | |
| 860 | gui.TextWrapped = true | |
| 861 | gui.TextScaled = true | |
| 862 | gui.TextXAlignment = "Left" | |
| 863 | gui.TextYAlignment = "Top" | |
| 864 | gui.Visible = false | |
| 865 | gui.BorderColor3 = Color3.new(0,0,0) | |
| 866 | ||
| 867 | gui1=Instance.new("TextButton",bb)
| |
| 868 | gui1.Position=UDim2.new(0,5,0,-43) | |
| 869 | gui1.Size = UDim2.new(0,190,0,51) | |
| 870 | ||
| 871 | gui1.TextColor3 = Color3.new(255,255,255) | |
| 872 | gui1.BackgroundColor3=Color3.new(255,255,255) | |
| 873 | ||
| 874 | gui1.Visible = false | |
| 875 | img = Instance.new("ImageLabel",bb)
| |
| 876 | img.Size = UDim2.new(0,46,0,47) | |
| 877 | img.Position = UDim2.new(0,10,0,-41) | |
| 878 | img.Image = "rbxassetid://388166921" | |
| 879 | img.BorderColor3 = Color3.new(0,0,0) | |
| 880 | img.Visible = false | |
| 881 | asd = Instance.new("Sound",player.Character.Torso)
| |
| 882 | asd.SoundId = "http://www.roblox.com/asset/?id = 358280695" | |
| 883 | ||
| 884 | asd1 = Instance.new("Sound",player.Character.Torso)
| |
| 885 | asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695" | |
| 886 | ||
| 887 | asd2 = Instance.new("Sound",player.Character.Torso)
| |
| 888 | asd2.SoundId = "http://www.roblox.com/asset/?id = 306370481" | |
| 889 | asd2.Looped = true | |
| 890 | asd3 = Instance.new("Sound",player.Character.Torso)
| |
| 891 | asd3.SoundId = "http://www.roblox.com/asset/?id = 316014309" | |
| 892 | asd3.Looped = true | |
| 893 | asd4 = Instance.new("Sound",player.Character.Torso)
| |
| 894 | asd4.SoundId = "http://www.roblox.com/asset/?id = 366168126" | |
| 895 | asd4.Looped = false | |
| 896 | asd5 = Instance.new("Sound",player.Character.Torso)
| |
| 897 | asd5.SoundId = "http://www.roblox.com/asset/?id = 0" | |
| 898 | asd5.Looped = true | |
| 899 | dunkd = Instance.new("Sound",player.Character.Torso)
| |
| 900 | dunkd.SoundId = "http://www.roblox.com/asset/?id = 382893859" | |
| 901 | dunkd.Looped = false | |
| 902 | function play(play) | |
| 903 | asd:Play() | |
| 904 | asd1:Play() | |
| 905 | end | |
| 906 | eye = Instance.new("Part",player.Character)
| |
| 907 | eye.BrickColor = BrickColor.new("Toothpaste")
| |
| 908 | eye.Material = "Neon" | |
| 909 | eye.FormFactor = 3 | |
| 910 | eye.Shape = "Ball" | |
| 911 | eye.Size = Vector3.new(0.37,0.37,0.1) | |
| 912 | weld = Instance.new("Weld",eye)
| |
| 913 | weld.Part0 = eye | |
| 914 | weld.Part1 = player.Character.Head | |
| 915 | weld.C0 = CFrame.new(0.1,-0.2,0.45) | |
| 916 | eye.Transparency = 1 | |
| 917 | -- listen for their chatting | |
| 918 | player.Chatted:connect(function(message) | |
| 919 | a = string.len(message) | |
| 920 | gui.Text = "* " | |
| 921 | gui.Visible = true | |
| 922 | gui1.Visible = true | |
| 923 | des = false | |
| 924 | img.Visible = true | |
| 925 | print(a) | |
| 926 | if dot == false then | |
| 927 | for i = 1,string.len(message) do wait(0.07) | |
| 928 | gui.Text =gui.Text..message:sub(i,i) | |
| 929 | ||
| 930 | play() | |
| 931 | end | |
| 932 | end | |
| 933 | ||
| 934 | des = true | |
| 935 | end) | |
| 936 | m.KeyDown:connect(function(k) | |
| 937 | if k == "g" then | |
| 938 | asd2:Play() | |
| 939 | eye.Transparency = 0 | |
| 940 | ||
| 941 | end | |
| 942 | end) | |
| 943 | m.KeyDown:connect(function(k) | |
| 944 | if k == "p" then | |
| 945 | eye.Transparency = 1 | |
| 946 | asd3:Play() | |
| 947 | end | |
| 948 | end) | |
| 949 | m.KeyDown:connect(function(k) | |
| 950 | if k == "r" then | |
| 951 | eye.Transparency = 0 | |
| 952 | asd4:Play() | |
| 953 | end | |
| 954 | end) | |
| 955 | m.KeyDown:connect(function(k) | |
| 956 | if k == "q" then | |
| 957 | eye.Transparency = 1 | |
| 958 | asd5:Play() | |
| 959 | end | |
| 960 | end) | |
| 961 | m.KeyDown:connect(function(k) | |
| 962 | if k == "z" then | |
| 963 | ||
| 964 | img.Image = "rbxassetid://414178632" | |
| 965 | end | |
| 966 | end) | |
| 967 | m.KeyDown:connect(function(k) | |
| 968 | if k == "c" then | |
| 969 | img.Image = "rbxassetid://333660171" | |
| 970 | end | |
| 971 | end) | |
| 972 | m.KeyDown:connect(function(k) | |
| 973 | if k == "n" then | |
| 974 | img.Image = "rbxassetid://309482690" | |
| 975 | end | |
| 976 | end) | |
| 977 | m.KeyDown:connect(function(k) | |
| 978 | if k == "b" then | |
| 979 | img.Image = "rbxassetid://356477236" | |
| 980 | end | |
| 981 | end) | |
| 982 | m.KeyDown:connect(function(k) | |
| 983 | if k == "m" then | |
| 984 | img.Image = "rbxassetid://392578302" | |
| 985 | end | |
| 986 | end) | |
| 987 | m.KeyDown:connect(function(k) | |
| 988 | if k == "v" then | |
| 989 | img.Image = "rbxassetid://359052889" | |
| 990 | end | |
| 991 | end) | |
| 992 | m.KeyDown:connect(function(k) | |
| 993 | if k == "h" then | |
| 994 | img.Image = "rbxassetid://339763092" | |
| 995 | end | |
| 996 | end) | |
| 997 | m.KeyDown:connect(function(k) | |
| 998 | if k == "j" then | |
| 999 | img.Image = "rbxassetid://384795061" | |
| 1000 | end | |
| 1001 | end) | |
| 1002 | m.KeyDown:connect(function(k) | |
| 1003 | if k == "l" then | |
| 1004 | img.Image = "rbxassetid://378214121" | |
| 1005 | print("You take your very last breath...")
| |
| 1006 | asdd = Instance.new("Sound",player.Character.Torso)
| |
| 1007 | asdd.SoundId = "http://www.roblox.com/asset/?id = 357417055" | |
| 1008 | asdd.Looped = false | |
| 1009 | spawn(function() | |
| 1010 | wait() | |
| 1011 | asdd:Play() | |
| 1012 | end) | |
| 1013 | wait(2) | |
| 1014 | asddd = Instance.new("Sound",player.Character.Torso)
| |
| 1015 | asddd.SoundId = "http://www.roblox.com/asset/?id = 387183672" | |
| 1016 | asddd.Looped = false | |
| 1017 | spawn(function() | |
| 1018 | wait() | |
| 1019 | asddd:Play() | |
| 1020 | end) | |
| 1021 | wait(2) | |
| 1022 | asdded = Instance.new("Sound",player.Character.Torso)
| |
| 1023 | asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707" | |
| 1024 | asdded.Looped = false | |
| 1025 | spawn(function() | |
| 1026 | wait() | |
| 1027 | asdded:Play() | |
| 1028 | end) | |
| 1029 | char:BreakJoints() | |
| 1030 | end | |
| 1031 | end) | |
| 1032 | m.KeyDown:connect(function(k) | |
| 1033 | if k == "x" then | |
| 1034 | if des == true then | |
| 1035 | gui.Visible = false | |
| 1036 | gui.Text = "* " | |
| 1037 | gui1.Visible = false | |
| 1038 | img.Visible = false | |
| 1039 | end | |
| 1040 | end | |
| 1041 | end) | |
| 1042 | m.KeyDown:connect(function(k) | |
| 1043 | if k == "f" then | |
| 1044 | asd3:Stop() | |
| 1045 | asd2:Stop() | |
| 1046 | asd4:Stop() | |
| 1047 | dunkd:Stop() | |
| 1048 | eye.Transparency = 1 | |
| 1049 | asd5:Stop() | |
| 1050 | end | |
| 1051 | end) | |
| 1052 | m.KeyDown:connect(function(k) | |
| 1053 | if k == "u" then | |
| 1054 | dunkd = Instance.new("Sound",player.Character.Torso)
| |
| 1055 | dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694" | |
| 1056 | dunkd.Looped = false | |
| 1057 | dunkd:Play() | |
| 1058 | end | |
| 1059 | end) | |
| 1060 | m.KeyDown:connect(function(k) | |
| 1061 | if k == "y" then | |
| 1062 | img.Image = "rbxassetid://378198656" | |
| 1063 | end | |
| 1064 | end) | |
| 1065 | -- my god... | |
| 1066 | -- Suck_HiyaThere moves to arizona | |
| 1067 | ||
| 1068 | -------------------------------------------------------- | |
| 1069 | ||
| 1070 | pls = game:GetService'Players' | |
| 1071 | rs = game:GetService'RunService' | |
| 1072 | uinps = game:GetService'UserInputService' | |
| 1073 | lp = pls.LocalPlayer | |
| 1074 | mouse = lp:GetMouse() | |
| 1075 | c = lp.Character | |
| 1076 | human = c.Humanoid | |
| 1077 | human.MaxHealth = 50000 | |
| 1078 | soundVol = 0 | |
| 1079 | wait() | |
| 1080 | human.Health = 50000 | |
| 1081 | c.Health:Destroy() | |
| 1082 | ||
| 1083 | -------------------------------------------------------- | |
| 1084 | ||
| 1085 | Debounces = {
| |
| 1086 | AnimationCycles = 0; | |
| 1087 | FPS = 0; | |
| 1088 | scalingDamage = false; | |
| 1089 | damageLevel = 0; | |
| 1090 | attackNumber = 0; | |
| 1091 | isAttacking = false; | |
| 1092 | isMoving = false; | |
| 1093 | isSprinting = false; | |
| 1094 | isBoosting = false; | |
| 1095 | isPassive = false; | |
| 1096 | isTyping = false; | |
| 1097 | } | |
| 1098 | ||
| 1099 | -------------------------------------------------------- | |
| 1100 | ||
| 1101 | numLerp = function(start, goal, alpha) | |
| 1102 | return(((goal - start) * alpha) + start) | |
| 1103 | end | |
| 1104 | ||
| 1105 | CFrameZero = function() | |
| 1106 | return CFrame.new(Vector3.new()) | |
| 1107 | end | |
| 1108 | ||
| 1109 | rad = function(value) | |
| 1110 | return math.rad(value) | |
| 1111 | end | |
| 1112 | ||
| 1113 | CFAngles = function(Vector) | |
| 1114 | return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z)) | |
| 1115 | end | |
| 1116 | ||
| 1117 | -------------------------------------------------------- | |
| 1118 | ||
| 1119 | AnimStat = {
| |
| 1120 | lerpSpeed = .2; | |
| 1121 | lerpSpeed2 = .35; | |
| 1122 | lerpTween = 0; | |
| 1123 | } | |
| 1124 | ||
| 1125 | Joints = {
| |
| 1126 | c.HumanoidRootPart.RootJoint; | |
| 1127 | c.Torso.Neck; | |
| 1128 | c.Torso['Left Shoulder']; | |
| 1129 | c.Torso['Right Shoulder']; | |
| 1130 | c.Torso['Left Hip']; | |
| 1131 | c.Torso['Right Hip']; | |
| 1132 | } | |
| 1133 | ||
| 1134 | JointTargets = {
| |
| 1135 | CFrameZero(); | |
| 1136 | CFrameZero(); | |
| 1137 | CFrameZero(); | |
| 1138 | CFrameZero(); | |
| 1139 | CFrameZero(); | |
| 1140 | CFrameZero(); | |
| 1141 | } | |
| 1142 | ||
| 1143 | -------------------------------------------------------- | |
| 1144 | ||
| 1145 | BodyColors = {
| |
| 1146 | HeadColor = BrickColor.new("Institutional white");
| |
| 1147 | LeftArmColor = BrickColor.new("Institutional white");
| |
| 1148 | RightArmColor = BrickColor.new("Institutional white");
| |
| 1149 | LeftLegColor = BrickColor.new("Institutional white");
| |
| 1150 | RightLegColor = BrickColor.new("Institutional white");
| |
| 1151 | TorsoColor = BrickColor.new("Mid gray");
| |
| 1152 | } | |
| 1153 | ||
| 1154 | Customs = {
| |
| 1155 | Face = "http://www.roblox.com/asset/?id=382064533"; | |
| 1156 | Shirt = "http://www.roblox.com/asset/?id=380669878"; | |
| 1157 | Pants = "http://www.roblox.com/asset/?id=415270659"; | |
| 1158 | } | |
| 1159 | ||
| 1160 | -------------------------------------------------------- | |
| 1161 | ||
| 1162 | prepareCharacter = function() | |
| 1163 | local transPoints = {
| |
| 1164 | NumberSequenceKeypoint.new(0,0,0), | |
| 1165 | NumberSequenceKeypoint.new(.4,.05,0), | |
| 1166 | NumberSequenceKeypoint.new(.8,.16,0), | |
| 1167 | NumberSequenceKeypoint.new(1,.25,0) | |
| 1168 | } | |
| 1169 | local sizePoints = {
| |
| 1170 | NumberSequenceKeypoint.new(0,.5,0), | |
| 1171 | NumberSequenceKeypoint.new(.18,.5,0), | |
| 1172 | NumberSequenceKeypoint.new(.49,.69,0), | |
| 1173 | NumberSequenceKeypoint.new(.74,.5,0), | |
| 1174 | NumberSequenceKeypoint.new(.92,.25,0), | |
| 1175 | NumberSequenceKeypoint.new(1,.0625,0) | |
| 1176 | } | |
| 1177 | local Size = NumberSequence.new(sizePoints) | |
| 1178 | local Transparency = NumberSequence.new(transPoints) | |
| 1179 | rayModel = Instance.new("Model",c)
| |
| 1180 | efxBlock = Instance.new("Part",c)
| |
| 1181 | efxBlock.Material = "Neon" | |
| 1182 | efxBlock.FormFactor = "Custom" | |
| 1183 | efxBlock.Size = Vector3.new(.3,.3,.3) | |
| 1184 | light = Instance.new("PointLight",c.Head)
| |
| 1185 | light.Range = 8 | |
| 1186 | light.Color = Color3.new(1,1,1) | |
| 1187 | light.Shadows = false | |
| 1188 | local particles = Instance.new("ParticleEmitter",efxBlock)
| |
| 1189 | particles.Color = ColorSequence.new(Color3.new(.85,.85,.85),Color3.new(1,1,1)) | |
| 1190 | particles.ZOffset = 1 | |
| 1191 | particles.LightEmission = .96 | |
| 1192 | particles.Size = Size | |
| 1193 | particles.Name = "Fire" | |
| 1194 | particles.Transparency = Transparency | |
| 1195 | particles.LockedToPart = true | |
| 1196 | particles.Rate = 25 | |
| 1197 | particles.EmissionDirection = "Right" | |
| 1198 | particles.Acceleration = Vector3.new(-.5,0,0) | |
| 1199 | particles.Texture = "rbxassetid://24378732" | |
| 1200 | particles.Lifetime = NumberRange.new(.25,.25) | |
| 1201 | particles.Speed = NumberRange.new(-.5,5) | |
| 1202 | script.Parent = efxBlock | |
| 1203 | fire = particles | |
| 1204 | local offset = Vector3.new(0.2, .23, -0.5) | |
| 1205 | local weld = Instance.new("Weld",c.Head)
| |
| 1206 | weld.Part0 = c.Head | |
| 1207 | weld.Part1 = efxBlock | |
| 1208 | weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
| 1209 | efxBlock.Parent = c | |
| 1210 | local music = Instance.new("Sound",c.Torso)
| |
| 1211 | music.SoundId = "rbxassetid://316012176" | |
| 1212 | music.Looped = true | |
| 1213 | music.Volume = soundVol | |
| 1214 | fight = music | |
| 1215 | local music2 = Instance.new("Sound",c.Torso)
| |
| 1216 | music2.SoundId = "rbxassetid://316014309" | |
| 1217 | music2.Looped = true | |
| 1218 | music2.Volume = soundVol | |
| 1219 | sans = music2 | |
| 1220 | pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
| |
| 1221 | pointGyro.P = 1e7 | |
| 1222 | pointGyro.D = 1e3 | |
| 1223 | pointGyro.MaxTorque = Vector3.new(0,1e7,0) | |
| 1224 | animator = c.Humanoid:FindFirstChild("Animator")
| |
| 1225 | if animator then | |
| 1226 | animator:Destroy() | |
| 1227 | end | |
| 1228 | c.Torso.roblox:Destroy() | |
| 1229 | for i,v in pairs (c.Head:children()) do | |
| 1230 | if v.ClassName == "Sound" then | |
| 1231 | v:Destroy() | |
| 1232 | end | |
| 1233 | end | |
| 1234 | for i = 1,#Joints do | |
| 1235 | Joints[i].C1 = CFrame.new(Vector3.new()) | |
| 1236 | end | |
| 1237 | human.WalkSpeed = 0 | |
| 1238 | human.JumpPower = 0 | |
| 1239 | end | |
| 1240 | ||
| 1241 | uinps.InputBegan:connect(function(InputObject) | |
| 1242 | if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then | |
| 1243 | Debounces.isPassive = not Debounces.isPassive | |
| 1244 | end | |
| 1245 | end) | |
| 1246 | ||
| 1247 | setJointCFrames = function(table) | |
| 1248 | for i = 1,#table do | |
| 1249 | JointTargets[i] = table[i] | |
| 1250 | end | |
| 1251 | AnimationCycles = 0 | |
| 1252 | end | |
| 1253 | ||
| 1254 | setLerp = function(speed) | |
| 1255 | AnimStat.lerpSpeed = speed | |
| 1256 | end | |
| 1257 | ||
| 1258 | setTween = function(tween) | |
| 1259 | AnimStat.lerpTween = tween | |
| 1260 | end | |
| 1261 | ||
| 1262 | takeDamage = function(position,damage,distance,platformStand) | |
| 1263 | for i,v in pairs (pls:children()) do | |
| 1264 | if v.ClassName == "Player" and v:FindFirstChild("Character") then
| |
| 1265 | local torso = v.Character:FindFirstChild("Torso")
| |
| 1266 | if torso and (torso.Position - position).magnitude < distance then | |
| 1267 | if v.Character.Humanoid.MaxHealth > 1000 then | |
| 1268 | v.Character.Humanoid.MaxHealth = 100; | |
| 1269 | v.Character.Humanoid.Breakjoints() | |
| 1270 | end | |
| 1271 | ||
| 1272 | ||
| 1273 | v.Character.Humanoid:TakeDamage(damage) | |
| 1274 | if platformStand == true then | |
| 1275 | v.Character.PlatformStand = platformStand | |
| 1276 | end | |
| 1277 | end | |
| 1278 | end | |
| 1279 | end | |
| 1280 | end | |
| 1281 | local plr = game:GetService("Players").LocalPlayer
| |
| 1282 | local char = plr.Character | |
| 1283 | ||
| 1284 | function FindInTable(t, n) | |
| 1285 | for i,v in pairs(t) do | |
| 1286 | if v == n then | |
| 1287 | return true | |
| 1288 | end | |
| 1289 | end | |
| 1290 | return false | |
| 1291 | end | |
| 1292 | --Transformaaaaation-- | |
| 1293 | char["Left Arm"].BrickColor = BrickColor.new("Medium stone")
| |
| 1294 | char["Right Arm"].BrickColor = BrickColor.new("Medium stone")
| |
| 1295 | char.Head.BrickColor = BrickColor.new("Medium stone")
| |
| 1296 | char["Left Leg"].BrickColor = BrickColor.new("Medium stone")
| |
| 1297 | char["Right Leg"].BrickColor = BrickColor.new("Medium stone")
| |
| 1298 | ||
| 1299 | for i,v in pairs(char:children'') do | |
| 1300 | local toremove = {"CharacterMesh", "Shirt", "Pants", "ShirtGraphic", "Accessory"}
| |
| 1301 | if FindInTable(toremove, v.ClassName) then v:Destroy() end | |
| 1302 | if v.ClassName == "BodyColors" then | |
| 1303 | v.HeadColor = BrickColor.new("Really black")
| |
| 1304 | v.LeftArmColor = BrickColor.new("Really black")
| |
| 1305 | v.LeftLegColor = BrickColor.new("Really black")
| |
| 1306 | v.RightArmColor = BrickColor.new("Really black")
| |
| 1307 | v.RightLegColor = BrickColor.new("Really black")
| |
| 1308 | v.TorsoColor = BrickColor.new("Really black")
| |
| 1309 | end | |
| 1310 | end | |
| 1311 | wait(1) | |
| 1312 | plr = game.Players.LocalPlayer | |
| 1313 | char = plr.Character | |
| 1314 | mouse = plr:GetMouse() | |
| 1315 | whitecolor = Color3.new(1,1,1) | |
| 1316 | epicmode = false | |
| 1317 | normal = true | |
| 1318 | for i,v in pairs(char:GetChildren()) do | |
| 1319 | if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then | |
| 1320 | v:Destroy() | |
| 1321 | end | |
| 1322 | end | |
| 1323 | local shirt = Instance.new("Shirt",char)
| |
| 1324 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=535102167" | |
| 1325 | local pants = Instance.new("Pants",char)
| |
| 1326 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=540008761" | |
| 1327 | local bdycolors = char["Body Colors"] | |
| 1328 | ||
| 1329 | for i,v in pairs(char:GetChildren()) do | |
| 1330 | if v.ClassName == "Hat" or v.ClassName == "Accessory" then | |
| 1331 | v:Destroy() | |
| 1332 | end | |
| 1333 | end | |
| 1334 | ||
| 1335 | -- Face | |
| 1336 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=543498118" | |
| 1337 | ||
| 1338 | -- Chat | |
| 1339 | local talksound = Instance.new("Sound",char.Torso)
| |
| 1340 | talksound.SoundId = "rbxassetid://928210219" | |
| 1341 | talksound.Volume = 4 | |
| 1342 | local blastsound = Instance.new("Sound",char.Torso)
| |
| 1343 | blastsound.Name = "blast_sound" | |
| 1344 | blastsound.SoundId = "rbxassetid://345052019" | |
| 1345 | blastsound.Volume = 4 | |
| 1346 | function swait(num) | |
| 1347 | if num==0 or num==nil then | |
| 1348 | game:service'RunService'.Stepped:wait(0) | |
| 1349 | else | |
| 1350 | for i=0,num do | |
| 1351 | game:service'RunService'.Stepped:wait(0) | |
| 1352 | end | |
| 1353 | end | |
| 1354 | end | |
| 1355 | ||
| 1356 | function chatfunc(text) | |
| 1357 | local chat = coroutine.wrap(function() | |
| 1358 | if char:FindFirstChild("TalkingBillBoard") ~= nil then
| |
| 1359 | char:FindFirstChild("TalkingBillBoard"):Destroy()
| |
| 1360 | end | |
| 1361 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 1362 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 1363 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 1364 | naeeym2.Adornee = char.Head | |
| 1365 | naeeym2.Name = "TalkingBillBoard" | |
| 1366 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 1367 | tecks2.BackgroundTransparency = 1 | |
| 1368 | tecks2.BorderSizePixel = 0 | |
| 1369 | tecks2.Text = "" | |
| 1370 | tecks2.Font = "Arcade" | |
| 1371 | tecks2.TextSize = 30 | |
| 1372 | tecks2.TextStrokeTransparency = 0 | |
| 1373 | tecks2.TextColor3 = Color3.new(255, 89, 89) | |
| 1374 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 1375 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1376 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 1377 | tecks3.BackgroundTransparency = 1 | |
| 1378 | tecks3.BorderSizePixel = 0 | |
| 1379 | tecks3.Text = "" | |
| 1380 | tecks3.Font = "Arcade" | |
| 1381 | tecks3.TextSize = 30 | |
| 1382 | tecks3.TextStrokeTransparency = 0 | |
| 1383 | tecks3.TextColor3 = Color3.new(0,0,0) | |
| 1384 | tecks3.TextStrokeColor3 = Color3.new(1,1,1) | |
| 1385 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 1386 | for i = 1,string.len(text),1 do | |
| 1387 | tecks2.Text = string.sub(text,1,i) | |
| 1388 | tecks3.Text = string.sub(text,1,i) | |
| 1389 | talksound:Play() | |
| 1390 | wait(0.01) | |
| 1391 | end | |
| 1392 | wait(2) | |
| 1393 | for i = 1, 50 do | |
| 1394 | swait() | |
| 1395 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 1396 | tecks2.Rotation = tecks2.Rotation - .8 | |
| 1397 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 1398 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 1399 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 1400 | tecks3.Rotation = tecks2.Rotation + .8 | |
| 1401 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 1402 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 1403 | end | |
| 1404 | naeeym2:Destroy() | |
| 1405 | end) | |
| 1406 | chat() | |
| 1407 | end | |
| 1408 | function onChatted(msg) | |
| 1409 | chatfunc(msg) | |
| 1410 | end | |
| 1411 | plr.Chatted:connect(onChatted) | |
| 1412 | wait(2) | |
| 1413 | chatfunc("Edited by Refrop")
| |
| 1414 | wait(2) | |
| 1415 | chatfunc("What do we have here?")
| |
| 1416 | wait(2) | |
| 1417 | chatfunc("Another AU...")
| |
| 1418 | wait(2) | |
| 1419 | chatfunc("Code of this world is really trashy.")
| |
| 1420 | wait(2) | |
| 1421 | chatfunc("I guess I am just gonna...")
| |
| 1422 | wait(2) | |
| 1423 | chatfunc("END THIS WORLD")
| |
| 1424 | wait(0.5) | |
| 1425 | char.Humanoid.Name = "Sans" | |
| 1426 | local music = Instance.new("Sound",char.Torso)
| |
| 1427 | music.SoundId = "rbxassetid://377241339" | |
| 1428 | music.Volume = 30 | |
| 1429 | music.Looped = true | |
| 1430 | music:Play() | |
| 1431 | LeyeColor = BrickColor.new("Really red")
| |
| 1432 | local eyemodel = Instance.new("Model",char)
| |
| 1433 | eyemodel.Name = "Eyes" | |
| 1434 | local reye = Instance.new("Part",eyemodel)
| |
| 1435 | reye.Name = "BurningEff" | |
| 1436 | reye.Color = Color3.new(1,1,1) | |
| 1437 | reye.Material = "Neon" | |
| 1438 | reye.Transparency = 1 | |
| 1439 | local reyemesh = Instance.new("SpecialMesh",reye)
| |
| 1440 | reyemesh.MeshType = "Sphere" | |
| 1441 | reye.Size = Vector3.new(0.12, 0.37, 0.27) | |
| 1442 | local reyeweld = Instance.new("Weld",reye)
| |
| 1443 | reyeweld.Part0 = reye | |
| 1444 | reyeweld.Part1 = char.Head | |
| 1445 | reyeweld.C0 = CFrame.new(-0.551300049, -0.19681406, -0.198293686, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 1446 | local leye = Instance.new("Part",eyemodel)
| |
| 1447 | leye.Name = "LeftEye" | |
| 1448 | leye.BrickColor = LeyeColor | |
| 1449 | leye.Material = "Neon" | |
| 1450 | leye.Size = Vector3.new(0.2,0.2,0.2) | |
| 1451 | local leyemesh = Instance.new("SpecialMesh",leye)
| |
| 1452 | leyemesh.MeshType = "Sphere" | |
| 1453 | leyemesh.Scale = Vector3.new(0.7,1.1,0.7) | |
| 1454 | local leyeweld = Instance.new("Weld",leye)
| |
| 1455 | leyeweld.Part0 = leye | |
| 1456 | leyeweld.Part1 = char.Head | |
| 1457 | leyeweld.C0 = CFrame.new(-0.109999999, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1458 | local leyeclone = leye:Clone() | |
| 1459 | leyeclone.Transparency = 1 | |
| 1460 | leyeclone.Name = "RightEye" | |
| 1461 | leyeclone.Parent = eyemodel | |
| 1462 | for i,v in pairs(leyeclone:GetChildren()) do | |
| 1463 | if v.ClassName == "Weld" then | |
| 1464 | v:Destroy() | |
| 1465 | end | |
| 1466 | end | |
| 1467 | local leyeweld2 = Instance.new("Weld",leyeclone)
| |
| 1468 | leyeweld2.Part0 = leyeclone | |
| 1469 | leyeweld2.Part1 = char.Head | |
| 1470 | leyeweld2.C0 = CFrame.new(0.0864697844, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1471 | local fire = Instance.new("Fire",reye)
| |
| 1472 | fire.Heat = 25000 | |
| 1473 | fire.Color = leye.BrickColor.Color | |
| 1474 | fire.Size = 2 | |
| 1475 | -- welds xd | |
| 1476 | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
| 1477 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
| |
| 1478 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
| 1479 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
| 1480 | rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) | |
| 1481 | local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
| 1482 | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
| |
| 1483 | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
| 1484 | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] | |
| 1485 | lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) | |
| 1486 | for i = 0,1 ,0.03 do | |
| 1487 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.925931931, -0.0977840424, 0.974765539, 0.886040092, -0.463608712, -1.69641942e-06, 0.405292064, 0.774584651, 0.485548228, -0.225103036, -0.430215806, 0.87421),i) | |
| 1488 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.881086826, -0.201818228, 0.747067213, 0.882895231, 0.4695701, 1.00883415e-06, -0.397803098, 0.747956276, 0.531332433, 0.249497056, -0.469111204, 0.847163498),i) | |
| 1489 | game:GetService("RunService").RenderStepped:wait()
| |
| 1490 | end | |
| 1491 | local slapsound = Instance.new("Sound",char.Torso)
| |
| 1492 | slapsound.SoundId = "rbxassetid://511340819" | |
| 1493 | slapsound.Volume = 4 | |
| 1494 | -- Funcs | |
| 1495 | function Blast(AAA) | |
| 1496 | if AAA == "f" then | |
| 1497 | local chatmath = math.random(1,3) | |
| 1498 | if chatmath == 1 then | |
| 1499 | chatfunc("FIRE!")
| |
| 1500 | end | |
| 1501 | if chatmath == 2 then | |
| 1502 | chatfunc("Do you have an ERROR in ur system?")
| |
| 1503 | end | |
| 1504 | if chatmath == 3 then | |
| 1505 | chatfunc("help i have an error... wait...")
| |
| 1506 | end | |
| 1507 | local gasterblaster = Instance.new("Part",char.Torso)
| |
| 1508 | gasterblaster.Size = Vector3.new(7, 16, 4) | |
| 1509 | gasterblaster.CanCollide = false | |
| 1510 | local gasterblastermesh = Instance.new("FileMesh",gasterblaster)
| |
| 1511 | gasterblastermesh.MeshId = "rbxassetid://431908407" | |
| 1512 | gasterblastermesh.Scale = Vector3.new(0.05,0.05,0.05) | |
| 1513 | local gasterblastertexture = Instance.new("Decal",gasterblaster)
| |
| 1514 | gasterblastertexture.Face = "Back" | |
| 1515 | gasterblastertexture.Texture = "http://www.roblox.com/asset/?id=451087762" | |
| 1516 | local weeld = Instance.new("Weld",gasterblaster)
| |
| 1517 | weeld.Part0 = gasterblaster | |
| 1518 | weeld.Part1 = char.Torso | |
| 1519 | weeld.C0 = CFrame.new(3.71674585, -11.54426, -0.129204988, -0.999741375, 0, 0.0227420069, 0, 1, 0, -0.0227420069, 0, -0.999741375) | |
| 1520 | blastsound:Play() | |
| 1521 | char.Head.Anchored = true | |
| 1522 | wait(1) | |
| 1523 | local blast = Instance.new("Part",gasterblaster)
| |
| 1524 | blast.Size = Vector3.new(39.07, 16.36, 367.54) | |
| 1525 | blast.Transparency = 0.7 | |
| 1526 | blast.Material = "Neon" | |
| 1527 | blast.Color = Color3.new(255, 0, 0) | |
| 1528 | blast.CanCollide = true | |
| 1529 | local blastweld = Instance.new("Weld",blast)
| |
| 1530 | blastweld.Part0 = blast | |
| 1531 | blastweld.Part1 = gasterblaster | |
| 1532 | blastweld.C0 = CFrame.new(-0.430000305, 1.73999977, -40.1399994, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1533 | blast.Touched:connect(function(part) | |
| 1534 | part.Parent:FindFirstChildOfClass("Humanoid"):Destroy() -- Makes them not able to move
| |
| 1535 | end) | |
| 1536 | wait(2) | |
| 1537 | char.Head.Anchored = false | |
| 1538 | blast:Destroy() | |
| 1539 | gasterblaster:Destroy() | |
| 1540 | end | |
| 1541 | end | |
| 1542 | mouse.KeyDown:connect(Blast) | |
| 1543 | ||
| 1544 | ||
| 1545 | function Death() | |
| 1546 | music:Stop() | |
| 1547 | local deadsound = Instance.new("Sound",char.Torso)
| |
| 1548 | deadsound.SoundId = "rbxassetid://427025525" | |
| 1549 | deadsound.Volume = 4 | |
| 1550 | deadsound:Play() | |
| 1551 | for i,v in pairs(char:GetChildren()) do | |
| 1552 | if v.ClassName == "Part" then | |
| 1553 | v.Transparency = 1 | |
| 1554 | end | |
| 1555 | leye.Transparency = 1 | |
| 1556 | fire:Destroy() | |
| 1557 | char.Head.face.Transparency = 1 | |
| 1558 | end | |
| 1559 | end | |
| 1560 | char.Sans.Died:connect(Death) | |
| 1561 | ||
| 1562 | ||
| 1563 | function Transform(key) | |
| 1564 | if key == "t" then | |
| 1565 | music.SoundId = "rbxassetid://424026286" | |
| 1566 | music:Stop() | |
| 1567 | music:Play() | |
| 1568 | chatfunc("Bro, Let me show you my true power")
| |
| 1569 | leyeclone.Transparency = 0 | |
| 1570 | local fire2 = Instance.new("Fire",leyeclone)
| |
| 1571 | fire2.Heat = 25000 | |
| 1572 | fire2.Color = leye.BrickColor.Color | |
| 1573 | fire2.Size = 2 | |
| 1574 | end | |
| 1575 | end | |
| 1576 | mouse.KeyDown:connect(Transform) | |
| 1577 | ||
| 1578 | ||
| 1579 | function SLAP(key) | |
| 1580 | if key == "y" then | |
| 1581 | if normal and not epicmode then | |
| 1582 | for i = 0,1 , 0.05 do | |
| 1583 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.50000024, 0.405028582, -0.494292736, 0.752350092, -0.658763528, -1.01652529e-06, 0.014031955, 0.0160269327, -0.999769807, 0.658614039, 0.752179325, 0.0213016756),i) | |
| 1584 | game:GetService("RunService").RenderStepped:wait()
| |
| 1585 | end | |
| 1586 | local hurtbox = Instance.new("Part",char["Right Arm"])
| |
| 1587 | hurtbox.Name = "Hurtbox" | |
| 1588 | hurtbox.Size = Vector3.new(1, 0.23, 1) | |
| 1589 | hurtbox.Transparency = 1 | |
| 1590 | hurtbox.CanCollide = false | |
| 1591 | local hurtboxweld = Instance.new("Weld",hurtbox)
| |
| 1592 | hurtboxweld.Part0 = hurtbox | |
| 1593 | hurtboxweld.Part1 = char["Right Arm"] | |
| 1594 | hurtboxweld.C0 = CFrame.new(0, 0.924999475, 3.09944153e-06, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) | |
| 1595 | wait(0.5) | |
| 1596 | for i = 0,1 , 0.05 do | |
| 1597 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.50000024, 0.405025482, -0.494292736, 0.999977887, 0.0066490462, 2.196479e-05, -0.000119999582, 0.0213499293, -0.999768794, -0.00664799893, 0.999750018, 0.0213503242),i) | |
| 1598 | game:GetService("RunService").RenderStepped:wait()
| |
| 1599 | end | |
| 1600 | function onTouched(brick) | |
| 1601 | local humanoid = brick.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1602 | if humanoid then | |
| 1603 | humanoid:Destroy() | |
| 1604 | slapsound:Play() | |
| 1605 | end | |
| 1606 | end | |
| 1607 | hurtbox.Touched:connect(onTouched) | |
| 1608 | wait(1) | |
| 1609 | hurtbox:Destroy() | |
| 1610 | for i = 0,1 , 0.03 do | |
| 1611 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.881086826, -0.201818228, 0.747067213, 0.882895231, 0.4695701, 1.00883415e-06, -0.397803098, 0.747956276, 0.531332433, 0.249497056, -0.469111204, 0.847163498),i) | |
| 1612 | game:GetService("RunService").RenderStepped:wait()
| |
| 1613 | end | |
| 1614 | end | |
| 1615 | end | |
| 1616 | end | |
| 1617 | mouse.KeyDown:connect(SLAP) |