(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]


![[Image: 76561197975251923.png]](http://badges.steamprofile.com/profile/default/steam/76561197975251923.png)
![[Image: n54lfl.jpg]](http://oi53.tinypic.com/n54lfl.jpg)
![[Image: k1ouq9.jpg]](http://oi55.tinypic.com/k1ouq9.jpg)