Hey there,
I wanted to know how do I make this item get stuck to the player but every time I launch the game it falls off.
here is the script for it -
local tool = script.Parent
local UIS = game:GetService("UserInputService")
--local player = game.Players.LocalPlayer
-- dont need this player line, bc im not going to use it
local upper = tool:WaitForChild("upper")
local upper1 = tool:WaitForChild("upper1")
local neon = tool:WaitForChild("neon")
local yellow = tool:WaitForChild("yellow")
local handle = tool:WaitForChild("Handle")
tool.Equipped:Connect(function()
local Character = tool.Parent
local rightuparm = Character:WaitForChild("RightUpperArm")
local rightlowarm = Character:WaitForChild("RightLowerArm")
local motor6d = Instance.new("ManualWeld")
handle.CFrame = rightlowarm.CFrame
motor6d.Part0 = rightlowarm
motor6d.Part1 = handle
motor6d.C0 = rightlowarm.CFrame:Inverse()
motor6d.C1 = handle.CFrame:Inverse()
motor6d.Parent = motor6d.Part0
end)
tool.Unequipped:Connect(function()
local Character = tool.Parent
for number, motors in pairs(Character:GetChildren())do
if Character:FindFirstChild("Motor6d")then
game.Debris:AddItem(motors,0)
wait()
end
end
end)
and this is activation
local tool = script.Parent
local UIS = game:GetService("UserInputService")
--local player = game.Players.LocalPlayer
-- dont need this player line, bc im not going to use it
local upper = tool:WaitForChild("upper")
local upper1 = tool:WaitForChild("upper1")
local neon = tool:WaitForChild("neon")
local yellow = tool:WaitForChild("yellow")
local handle = tool:WaitForChild("Handle")
tool.Equipped:Connect(function()
local Character = tool.Parent
local rightuparm = Character:WaitForChild("RightUpperArm")
local rightlowarm = Character:WaitForChild("RightLowerArm")
local motor6d = Instance.new("ManualWeld")
motor6d.Part0 = rightlowarm
motor6d.Part1 = handle
motor6d.C0 = Vector3.new(0,0,0)
--motor6d.C0 = motor6d.Part0.CFrame:toObjectSpace(motor6d.Part1.CFrame)
motor6d.Parent = motor6d.Part0
local motor6d = Instance.new("ManualWeld")
motor6d.Part0 = handle
motor6d.Part1 = yellow
motor6d.C0 = motor6d.Part0.CFrame:toObjectSpace(motor6d.Part1.CFrame)
motor6d.Parent = motor6d.Part0
local motor6d = Instance.new("ManualWeld")
motor6d.Part0 = yellow
motor6d.Part1 = neon
motor6d.C0 = motor6d.Part0.CFrame:toObjectSpace(motor6d.Part1.CFrame)
motor6d.Parent = motor6d.Part0
end)
tool.Unequipped:Connect(function()
local Character = tool.Parent
for number, motors in pairs(Character:GetChildren())do
if Character:FindFirstChild("Motor6d")then
game.Debris:AddItem(motors,0)
wait()
end
end
end)
Hope you can help me 
