Remote missile help

How can I make this kind of rocket system?

A missile will be launched from the surface and, after 5 seconds, will become controllable with a mouse. I have no idea how to do this, can you help?

1 Like

Well you could launch the missile,
and then say…
use a force object like assemblylinearvelocity or something else to have a constant forward force,
and then just bind to runservice.heartbeat and set the rotation of the missile to the camera’s rotation, this way the user can use their mouse to rotate their camera, which adjusts the missile.

local unreliableRemoteEvent = --my unreliable remote event
local cam = workspace.CurrentCamera
local runservice = game:GetService("RunService")

runservice.HeartBeat:Connect(function(delta) 
   unreliableRemoteEvent:FireServer(cam.CFrame.Orientation)
end)
local unreliableRemoteEvent = --your remote here..
local missile = --missile

unreliableRemoteEvent.OnServerEvent:Connect(function(plr,orientation) 
    missile.CFrame.Orientation = orientation
end)

and then just have the missile have a velocity.

I am not going to code the entire system here, but these are simplified examples on how you could do it.

There are other ways to do this, but okay.

1 Like

can you help me more?
actually i new at roblox studio

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.