idkllal

Untitled

Mar 8th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. --Made by OpTic Wisdom/LikeATrollFace
  2.  
  3.  
  4.  
  5. game:GetObjects("rbxassetid://501559112")[1].Parent=game.Workspace
  6. wait(0.5)
  7. game.Workspace.Towers:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector* 30)
  8. wait(2)
  9. x = game:GetService("InsertService"):LoadAsset(163348575)
  10. for i,v in pairs(x:GetChildren()) do
  11. v.Parent = game.Players.LocalPlayer.Backpack
  12. end
  13.  
  14. Instance.new("ForceField" ,game.Players.LocalPlayer.Character)
  15.  
  16. kek = game.Players.LocalPlayer.Name
  17.  
  18. local children = game.Workspace.Towers.Tower2:GetChildren()
  19. for _, child in pairs(children) do
  20. for _, child in pairs(child:GetChildren()) do
  21. table.insert(children, child)
  22. end
  23.  
  24. if child:IsA("BasePart") then
  25.  
  26.  
  27. local function handleTouch(otherPart)
  28. local character = otherPart.Parent
  29. local humanoid = character:FindFirstChild(kek.."'s Plane")
  30. if humanoid then
  31. child.Anchored = false
  32. fire2 = Instance.new("Fire")
  33. fire2.Parent = child
  34. explo1 = Instance.new("Explosion")
  35. explo1.Parent = child
  36. explo1.BlastPressure = 10
  37. explo1.Position = child.Position
  38. end
  39. end
  40.  
  41. child.Touched:connect(handleTouch)
  42. end
  43. end
  44.  
  45. local children = game.Workspace.Towers.Tower1:GetChildren()
  46. for _, child in pairs(children) do
  47. for _, child in pairs(child:GetChildren()) do
  48. table.insert(children, child)
  49. end
  50.  
  51. if child:IsA("BasePart") then
  52.  
  53.  
  54. local function handleTouch(otherPart)
  55. local character = otherPart.Parent
  56. local humanoid = character:FindFirstChild(kek.."'s Plane")
  57. if humanoid then
  58. child.Anchored = false
  59. fire1 = Instance.new("Fire")
  60. fire1.Parent = child
  61. explo2 = Instance.new("Explosion")
  62. explo2.Parent = child
  63. explo2.BlastPressure = 10
  64. explo2.Position = child.Position
  65. end
  66. end
  67.  
  68. child.Touched:connect(handleTouch)
  69. end
  70. end
Add Comment
Please, Sign In to add comment