--Title says it all
Player = script.Parent.Parent
Char = Player.Character
mouse = Player:GetMouse()
function keydown(key)
key:lower()
if key == "v" then
SandPool = Instance.new("Part")
SandPool.Parent = Char["Torso"]
SandPool.CFrame = CFrame.new(Char["Right Leg"].Position)
SandPool.Size = Vector3.new(1,.2,1)
SandPool.BrickColor = BrickColor.new("Daisy orange")
SandPool.Name = "SP"
SandPlate = Instance.new("CylinderMesh")
SandPlate.Parent = SandPool
game:GetService("Chat"):Chat(Player.Character.Head, "Sand Pool!")
SandPool.Anchored = true
Char["Right Leg"].Transparency = 1
Char["Left Leg"].Transparency = 1
for i = 1,10 do
SandPool.Size = SandPool.Size+Vector3.new(3,0,3)
wait(.1)
end
for i = 1,10 do
SandPool.Size = SandPool.Size+Vector3.new(-3,0,-3)
wait(.1)
Char["Right Leg"].Transparency = 0
Char["Left Leg"].Transparency = 0
end
end
end
mouse.KeyDown:connect(keydown)

1 comment
http://wiki.roblox.com/index.php?title=API:Class/BasePart/Touched , http://wiki.roblox.com/index.php?title=API:Class/Humanoid/TakeDamage