re
Paste
Login
JavaScript needs to be enabled for the correct display of the page.
patriik
/
Unnamed Paste
Lasso
265 Bytes
6
5 months ago
5 months ago
local laser = peripheral.wrap("left") local radius = 10 local speed = 0.01 while true do local t = os.epoch("utc") * speed local yaw = math.cos(t) * radius local pitch = -90 + math.sin(t) * radius laser.fire(yaw, pitch, 0.5, false) end
local laser = peripheral.wrap("left") local radius = 10 local speed = 0.01 while true do local t = os.epoch("utc") * speed local yaw = math.cos(t) * radius local pitch = -90 + math.sin(t) * radius laser.fire(yaw, pitch, 0.5, false) end