PacaTea
(PacaTea)
#1
Hello! I hope you all are doing well.
I’m very confused as to how to make the tool move as it does in the animation:
But when the tool is equipped it does this:
Here is the Local Script:
local tool = script.Parent
local player = game.Players.LocalPlayer
local Char = game.Workspace:FindFirstChild(player.Name)
local GUITYPE = game:GetService("StarterGui")
local UIS = game:GetService("UserInputService")
local module = require(tool.ST.General)
local Weld = tool.Attach
tool.Equipped:Connect(function()
Weld.Part0 = module.RArm
Weld.Part1 = tool.Handle
GUITYPE:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
module.Animations.Equip:Play()
wait(module.EquipTime)
module.Animations.Idle:Play()
GUITYPE:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
end)
tool.Unequipped:Connect(function()
module.Animations.Equip:Stop()
module.Animations.Idle:Stop()
end)
Please get back to me as soon as you can as I’m very desperate to solve this problem.
Trulineo
(4O4)
#2
I think it’s because your handle is welded to your right hand instead of joined by a motor6d
PacaTea
(PacaTea)
#3
What do you mean?
So the Motor6D is not fully joined?
Trulineo
(4O4)
#4
It probably is but the weld prevents it from fully playing the animation
PacaTea
(PacaTea)
#5
I removed the weld from the tool to see what happened but its the same problem
Trulineo
(4O4)
#6
This tutorial will help a lot
PacaTea
(PacaTea)
#7
If I use this, Will I be able to make a function where the gun faces towards the mouse?
I saw someone say that this cant happen unless its welded to the right hand
Trulineo
(4O4)
#8
Like your arms facing towards the mouse or the character? Or just the gun in hand?
PacaTea
(PacaTea)
#9
Yeah, as in the gun and players arm points towards the players mouse
Trulineo
(4O4)
#10
Yeah, it wouldn’t work with that, but something that might would be a ViewModel setup.
PacaTea
(PacaTea)
#11
Alright thank you for the help.
1 Like
Trulineo
(4O4)
#12
After some trial and error, I found a method of doing it without ViewModel, if you’re still interested.
1 Like
PacaTea
(PacaTea)
#13
I just fixed it.
It was because the name of the BasePart was called “Handle” So it would act like as if it was actually a handle.
Thank you for the help though.
1 Like
I know this is an old post, but I want to know how you managed to weld the handle to the hand while still animating it?
PacaTea
(PacaTea)
#15
In this one, I had to reanimate, a solution could be if you Disable “require handle” on your tool
Could you send me your tool files so I could compare them? Ive tried multiple things and it still is welded to the hand for some reason
PacaTea
(PacaTea)
#17
Its been 2 years im less likely to have the same tools. sorry.
That sucks, can you at least remember how you did it?
system
(system)
Closed
#19
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.