CC_1204
(Zech)
July 27, 2021, 8:35pm
1
I know this is probably a very simple issue, but I’ve been trying to make a keycard melee viewmodel using FE GunKit/MeleeKit. The viewmodel itself works fine, but when I equip the tool in third person, the player isn’t holding the tool from the handle.
Also sorry if this is in the wrong category
Here is the issue:
Any help would be appreciated, thank you!
Hello, @CC_1204 Can you show me your script also I’m a bit confused is it a card or a gun?
CC_1204
(Zech)
July 27, 2021, 8:37pm
3
Hey yeah sorry for the confusion I’m using the FE Gunkit so as to make it like a first person viewmodel, but not using any of the actual gun components if that makes sense.
Let me know if it works.
Try this:
local equipped = false
local tool = script.Parent
local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()
tool.Equipped:Connect(function()
equipped = true
end)
tool.Unequipped:Connect(function()
equipped = false
end)
mouse.Button1Down:Connect(function()
if equipped then
game.ReplicatedStorage.Events.EatDonut:FireServer()
end
end)
Its probably the grip position on the tool. You can use a grip editor plugin to fix it.
CC_1204
(Zech)
July 27, 2021, 8:41pm
6
I dont think I have a remote event/bindable event called EatDonut in that folder.
Can you please show me your script?
CC_1204
(Zech)
July 27, 2021, 8:41pm
8
Ok, I will try your suggestion out.
CC_1204
(Zech)
July 27, 2021, 8:42pm
9
It just uses the FE Gunkit scripts. They are pretty long so I’m not sure if I should post them.
His issue isnt with the scripts, its just the tool’s GripPos
1 Like
Ah! the You can use a grip editor plugin !
CC_1204
(Zech)
July 27, 2021, 8:48pm
12
Yep, that worked, thank you for the help!
Please Flag this as solved! So the community knows that this issue has been resolved.
CC_1204
(Zech)
August 7, 2021, 4:18am
14
I’m pretty sure I already have I think.
Nope you did not mark it yet. This just helps keep the community clean.