Introduction
Hi, my name is LukeGabrieI and I was wondering if there is a possibility of making a Tool's GripPos smooth by using Tween Service. Here is some code.
local Tool = script.Parent
local Handle = Tool:WaitForChild("Handle")
local Position = Tool.GripPos
local TS = game:GetService("TweenService")
local d = true --Debounce
local function onRequestG()
if d then
d = false
Tool.rMovement.Disabled=true
Tool.lMovement.Disabled=true
Tool.HandValue.Value = 1
local tweenInfo = TweenInfo.new(
2,
Enum.EasingStyle.Quint,
Enum.EasingDirection.Out,
0,
false,
0
)
local tween = TS:Create(Handle, tweenInfo, {Position = Vector3.new(0.5, -0.5, -0.3)
wait(0.01) --this is where the code errors because I want to move the GripPos
Position = Vector3.new(0.5, -1, 0)
wait(0.01)
Position = Vector3.new(0.5, -1.5, 0.5)
wait(0.01)
Position = Vector3.new(0.5, -1.5, 1)
wait(0.01)
Position = Vector3.new(0.5, -1.5, 1.5)
wait(0.01)
Position = Vector3.new(0.5, -1, 2)
wait(0.01)
Position = Vector3.new(1, -0.5, 2.5)
wait(0.01)
Position = Vector3.new(1.5, 0, 3)
wait(0.01)
Position = Vector3.new(2, 0.5, 3)
wait(0.01)
Position = Vector3.new(2.5, 1, 3)
wait(0.01)
Position = Vector3.new(3, 1.5, 3)
wait(0.01)
Position = Vector3.new(2.5, 2, 2.5)
wait(0.01)
Position = Vector3.new(2, 2.5, 2)
wait(0.01)
Position = Vector3.new(1.5, 3, 1.5)
wait(0.01)
Position = Vector3.new(1, 3.5, 1)
wait(0.01)
Position = Vector3.new(0.5, 3, 0.5)
wait(0.01)
Position = Vector3.new(0.5, 2.5, 0)
wait()})
tween:Play()
wait(2)
tween:Cancel()
Tool.lMovement.Disabled=false
d=true
end
end
Conclusion
If anyone could clarify if this is either possible or impossible, I would gladly appreciate it. I also am not wanting to animate this because of various other reasons.
Sincerely, LukeGabrieI

2 comments
i know ur a ro ball scripter same here. But I dont thik you can i'm pretty sure you need to use motor6D welding if you want to make smooth basketballs like phenom. Once you've done that you need to animate that balls. I have no idea how to do it but some people told me xD
i know how, im just wondering if you can animate a tool's handle.