(02-21-2012, 11:17 AM)SharpestWord Wrote: ♦ Power-Ups Scripts (I need help with the Power-Ups e.g. Speed, 2x Damage Etc.)
That should be really easy. Something like
[lua]
box = script.Parent
player = hit.Name
function onCollide(hit)
game.Players.player.Speed = 8.0 --Can be changed to desired speed
sleep(10) --Time Powerup lasts (seconds)
game.Players.player.Speed = 4.0
end
link(box.Collided, onCollide)
[/lua]