Advertisement
Guest User

Ice Age Roblox script

a guest
Feb 4th, 2016
541
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. local enabled = true
  2. Player = script.Parent.Parent
  3. me = Player
  4. mouse = Player:GetMouse()
  5. run = game:GetService("RunService")
  6. waittime = 5
  7. LeftHip = Player.Character.Torso["Left Hip"]
  8. RightHip = Player.Character.Torso["Right Hip"]
  9. LeftShoulder = Player.Character.Torso["Left Shoulder"]
  10. RightShoulder = Player.Character.Torso["Right Shoulder"]
  11.  
  12. function onKeyDown(key)
  13. if not enabled then return end
  14. enabled = false
  15. Key = key:lower()
  16.  
  17.  
  18.  
  19.  
  20.  
  21. if key == "v" then
  22.  
  23. local player = game.Players.LocalPlayer
  24. if player == nil then return end
  25.  
  26. function Talk(msg)
  27. game:GetService("Chat"):Chat(player.Character.Head, msg, Enum.ChatColor.Blue)
  28. end
  29.  
  30. enabled = false
  31. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  32.  
  33. bleh = 0
  34.  
  35. bleh = 44
  36. pp = Instance.new("Part")
  37. pp.Parent = game.Workspace
  38. pp.Size = Vector3.new(10, 0 ,10)
  39. pp.CanCollide = false
  40. pp.Transparency = 0
  41. pp.Material = "Ice"
  42. pp.TopSurface = "Smooth"
  43. pp.BottomSurface = "Smooth"
  44. pp.Shape = "Block"
  45. pp.Anchored = true
  46. pp.BrickColor = BrickColor.new("Pastel Blue")
  47. pp.CFrame = me.Character.Torso.CFrame *CFrame.new(0, -1, -25)
  48. me.Character.Humanoid.WalkSpeed = 16
  49. asdf = Instance.new("SpecialMesh")
  50. asdf.Parent = pp
  51. asdf.MeshType = "Brick"
  52. asdf.Scale = Vector3.new(1, 0, 1)
  53.  
  54. game.Debris:AddItem(pp, 4)
  55.  
  56. for i = 1,10 do
  57. asdf.Scale = asdf.Scale + Vector3.new(4, 0.2, 4)
  58. stuff = game.Workspace:GetChildren()
  59. for i = 1 , #stuff do
  60. if stuff[i] ~= pp then
  61.  
  62. if stuff[i].className == "Part" then
  63. if stuff[i].Anchored == false then
  64. if (stuff[i].Position-pp.Position).magnitude <= bleh then
  65. stuff[i].Transparency = 1
  66. v = stuff[i]
  67. f = v:findFirstChild("BodyVelocity")
  68. if f ~= nil then
  69. f.velocity = f.velocity * Vector3.new(-1, 1, -1)
  70. b = v:findFirstChild("Firedamage")
  71. if b ~= nil then
  72. b:Remove()
  73. end
  74. end
  75. end
  76. end
  77. end
  78.  
  79. if stuff[i].className == "Model" then
  80. if stuff[i].Name ~= me.Name then
  81. hax = stuff[i]:findFirstChild("Torso")
  82. if hax ~= nil then
  83.  
  84. humanoid = hax.Parent:findFirstChild("Humanoid")
  85. if humanoid ~= nil then
  86. if (hax.Position-pp.Position).magnitude <= bleh then
  87. humanoid.Health = humanoid.Health - 3
  88. end
  89. end
  90.  
  91.  
  92. end
  93.  
  94. end
  95. end
  96. end
  97.  
  98.  
  99.  
  100.  
  101.  
  102. end
  103.  
  104. me.Character.Torso.CFrame = me.Character.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  105. pp.CFrame = me.Character.Torso.CFrame *CFrame.new(0, -3, -25)
  106. wait(0.05)
  107.  
  108. end
  109.  
  110. me.Character.Humanoid.WalkSpeed = 16
  111.  
  112.  
  113.  
  114. wait(10)
  115. end
  116. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  117. enabled = true
  118. end
  119.  
  120.  
  121.  
  122.  
  123. mouse.KeyDown:connect(onKeyDown)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement