Put this Script into your Body, Fall from a Large Height, and your Camera will SHAKE!
#1
[lua]function shakeCamera()
i = 1
while i > 0 do
local vec = Vec2D(math.random(1, 3), math.random(1, 3)):mul(Vec2D(i, i))
local rotation = math.random(-4, 4) * i
if math.random() > 0.5 then
vec = vec:mul(Vec2D(-1, -1))
end
game.CurrentCamera.Offset = vec
game.CurrentCamera.RotationOffset = rotation
i = i - 0.25
sleep(0.02)
end
game.CurrentCamera.Offset = Vec2D(0, 0)
game.CurrentCamera.RotationOffset = 0
end
link(script.Parent.Collided, function(part, velocity) if math.abs(velocity.y) > 20 then shakeCamera() end end)
[/lua]

This was Added to the Client, and Stuff, but I showed it off, anyways. ^_^
All the Way across the Sky.
Reply
#2
*facepalm* WHO ARE YOU.
[Image: TehPwner9001.png] [Image: 76561198041259354.png]
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)