I was trying to make a food script when I'm having a hard time figuring out how to clip the spoon into the left hand. Here is what the glitch looks like : https://media.discordapp.net/attachments/587279792152248320/709702702933737512/RobloxScreenShot20200512_174319195.png
--load
repeat wait() until game.Players.LocalPlayer
--obj
local ps = game:GetService("Players")
local p = ps.LocalPlayer
local f = script.Parent;
enabled = false
local a = f.eat
local h = f.Handle
local m = p:GetMouse()
local s = f.mp
--sub
local b = 10
local cg = false
local sn = true
local mbd = 100
repeat wait() until {ps,p,f,a,h,m,s,b,cg,sn,mbd}
print("all assets loaded")
function onEquipped()
local w = Instance.new("Motor")
local lh = f.Parent:FindFirstChild("LeftHand")
w.Part0 = lh
w.Part1 = s
w.Parent = lh
--lh.Position = Vector3.new(s.Position.X,s.Position.Y,s.Position.Z)
end
function onActivated()
if not enabled then
return
end
enabled = true
end
f.Equipped:Connect(onEquipped)
