Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function angledGun:rotateAngledGunUp()
- self.TurnSpeed = self.TurnSpeed or 0.5
- if self.display.rotation < 0 or self.display.rotation > 45 then
- self.TurnSpeed = -self.TurnSpeed
- end
- self.display:rotate(self.TurnSpeed)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement