I should've mentioned a example script in case you didn't know so here you go: local function tweenModel(model, cframe, time) local cframeValue = Instance.new("CFrameValue") cframeValue.Value = model:GetPrimaryPartCFrame() cframeValue:GetPropertyChangedSignal("Value"):connect(function() model:SetPrimaryPartCFrame(cframeValue.Value) end) local info = TweenInfo.new(time, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut) local tween = game:GetService("TweenService"):Create(cframeValue, info, {Value = cframe}) tween:Play() tween.Completed:connect(function() cframeValue:Destroy() end) end tweenModel(workspace.PartName,workspace.PartName.Pos2(This is where the PartName will move to).CFrame,How long the tween will move Ex: 20) Ex: local function tweenModel(model, cframe, time) local cframeValue = Instance.new("CFrameValue") cframeValue.Value = model:GetPrimaryPartCFrame() cframeValue:GetPropertyChangedSignal("Value"):connect(function() model:SetPrimaryPartCFrame(cframeValue.Value) end) local info = TweenInfo.new(time, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut) local tween = game:GetService("TweenService"):Create(cframeValue, info, {Value = cframe}) tween:Play() tween.Completed:connect(function() cframeValue:Destroy() end) end tweenModel(workspace.Part,workspace.Part.Pos2.CFrame,5)
I'm sorry to hear but I can't just give away my account to some random person without good reasoning. Plus I would need time to think about it. Thing is my account also has very valuable bots and I don't want to restart my progress I worked hard on.
Takes a while to extend.
I set it to 20 for the test.
How can i make the smooth move script? (with models)
Use tween model.
I should've mentioned a example script in case you didn't know so here you go:
local function tweenModel(model, cframe, time)
local cframeValue = Instance.new("CFrameValue")
cframeValue.Value = model:GetPrimaryPartCFrame()
cframeValue:GetPropertyChangedSignal("Value"):connect(function()
model:SetPrimaryPartCFrame(cframeValue.Value)
end)
local info = TweenInfo.new(time, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
local tween = game:GetService("TweenService"):Create(cframeValue, info, {Value = cframe})
tween:Play()
tween.Completed:connect(function()
cframeValue:Destroy()
end)
end
tweenModel(workspace.PartName,workspace.PartName.Pos2(This is where the PartName will move to).CFrame,How long the tween will move Ex: 20)
Ex:
local function tweenModel(model, cframe, time)
local cframeValue = Instance.new("CFrameValue")
cframeValue.Value = model:GetPrimaryPartCFrame()
cframeValue:GetPropertyChangedSignal("Value"):connect(function()
model:SetPrimaryPartCFrame(cframeValue.Value)
end)
local info = TweenInfo.new(time, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
local tween = game:GetService("TweenService"):Create(cframeValue, info, {Value = cframe})
tween:Play()
tween.Completed:connect(function()
cframeValue:Destroy()
end)
end
tweenModel(workspace.Part,workspace.Part.Pos2.CFrame,5)
Can I have your war robots account I got scam on my account 😟😭
I'm sorry to hear but I can't just give away my account to some random person without good reasoning. Plus I would need time to think about it. Thing is my account also has very valuable bots and I don't want to restart my progress I worked hard on.