How move model in particular speed?

image

I want to set particular speed(ex.stud per sec) and move this model.

image

Its Form :
only primarypart anchored and others welded,

and script ‘roll’ makes the inner rock ‘begock’ rolling,

while wait(0.03) do -- script 'roll'
	script.Parent.begock.Orientation += Vector3.new(0,0,2)
end

(and I can give more info you comment)

How move this in particular speed?
I used Velocity but it didnt move.

script.Parent.PrimaryPart.Velocity = game.Workspace.Center.a.CFrame.LookVector * 500
script.Parent.Parent = game.Workspace
 -- parent of model is Serverstorage
2 Likes

Instead of this:

script.Parent.PrimaryPart.Velocity = game.Workspace.Center.a.CFrame.LookVector * 500
script.Parent.Parent = game.Workspace

Do this:

script.Parent.Parent = game.Workspace
local bv = Instance.new("BodyVelocity", script.Parent)
bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
bv.Velocity = workspace.Center.a.CFrame.LookVector * 500
keirea = game.ServerStorage.plaot.unsu1:Clone()
keirea.PrimaryPart.Orientation = game.Workspace.unsucarino:FindFirstChild("bumoo"..whatbum).raly.Orientation
keirea.Parent = game.Workspace

local bv = Instance.new("BodyVelocity", keirea)
bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
bv.Velocity = game.Workspace.Center.a.CFrame.LookVector * 500

Thx but I put your feedback in script, but it did not work…

As you see, it worked well until line3 but not moved

Try unanchoring your primary part, and then do this instead with the body velocity:

local bv = Instance.new("BodyVelocity")
bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
bv.Velocity = game.Workspace.Center.a.CFrame.LookVector * 500
bv.Parent = keirea.PrimaryPart
1 Like

Pretty good!
You gave them life haha!
Sorry for too late answer

1 Like

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