Advertisement
Upscalefanatic3

GIANT FALLING TOWER TROLL SCRIPT

Oct 19th, 2016
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. --Made by victiny1223
  2. print("Have fun lol")
  3. repeat wait() until game.Players.LocalPlayer
  4.  
  5. lplr = game.Players.LocalPlayer
  6. gMouse = lplr:GetMouse()
  7. v3 = Vector3.new
  8. bc = BrickColor.new
  9. function touchKill(victim)
  10. local myChar = lplr.Character
  11. local myHum = myChar:FindFirstChild("Humanoid")
  12. local humPart = myChar:FindFirstChild("HumanoidRootPart")
  13.  
  14. if victim.Parent.Name ~= (lplr.Name) then
  15.  
  16. tHum=victim.Parent:FindFirstChild("Humanoid")
  17. victim.Parent:BreakJoints()
  18.  
  19. end
  20. end
  21.  
  22. function FallCube()
  23. local myChar = lplr.Character
  24. local myHum = myChar:FindFirstChild("Humanoid")
  25. local humPart = myChar:FindFirstChild("HumanoidRootPart")
  26. local active = false
  27. game.Players:Chat("Look up!")
  28. FC = Instance.new("Part", workspace)
  29. FC.CFrame = humPart.CFrame + v3(0, 1000, 0)
  30. FC.BrickColor = bc(255, 255, 255)
  31. FC.Anchored = false
  32. FC.Size = v3(100, 1000, 100)
  33. FC.CanCollide = false
  34. FC.Material = Enum.Material.Neon
  35. FC.Touched:connect(touchKill)
  36. end
  37.  
  38. gMouse.KeyDown:connect(function(key)
  39. if (key == "m") then
  40. FallCube()
  41. end
  42. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement