You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
Make a simple nextbot that functions like Rush (from Roblox Doors) -
What is the issue? Include screenshots / videos if possible!
The TweenService does not move the entity to where it stops moving. - What solutions have you tried so far? Did you look for solutions on the Developer Hub? Yes, but none actually solved.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
-- Script (keep in mind this is parented to a Part.)
local debounce = false
local TWS = game:GetService("TweenService")
local goal = {['Position'] = game.Workspace.End.Position}
script.Parent.Touched:Connect(function(hit)
if debounce then return end
debounce = true
if hit.Parent:FindFirstChildWhichIsA("Humanoid") then
wait(3)
local entity = game.ReplicatedStorage.Entity:Clone()
entity.Parent = workspace
entity.Position = game.Workspace.Spawn.Position
local tweenInfo = TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 1, false, 0)
TWS:Create(entity, tweenInfo, goal)
end
end)
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.