PacaTea
(KingTea)
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.
1 Like
I think it’s because your handle is welded to your right hand instead of joined by a motor6d
PacaTea
(KingTea)
3
What do you mean?
So the Motor6D is not fully joined?
It probably is but the weld prevents it from fully playing the animation
PacaTea
(KingTea)
5
I removed the weld from the tool to see what happened but its the same problem
This tutorial will help a lot
PacaTea
(KingTea)
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
Like your arms facing towards the mouse or the character? Or just the gun in hand?
PacaTea
(KingTea)
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
(KingTea)
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.
2 Likes
PacaTea
(KingTea)
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
(KingTea)
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
(KingTea)
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.