Ad
Log in to vote
0

How to make my tool dont stuck when im equipping it?

Asked by 1 year ago

Idk how to make it dont stuck. I made my own part, it adds in my inventory, but when i put it out it just stuck in its spawn.

There is a script:

local tool = game.ServerStorage.Tablet

local giver = script.Parent

local canGive = false

local function GiveTool(player)

if canGive == false then 

    canGive = true

    local clone = tool:Clone()

    clone.Parent = player.Backpack

    wait(1)

    canGive = false


end

end

giver.ClickDetector.MouseClick:Connect(function(player)

GiveTool(player)

end)

2 answers

Log in to vote
0
Answered by 1 year ago

First, I don't think you should make 2 questions for the same thing, and second, you should check Tool's handle and it's children(there is something inside the tool that makes it stuck in it's position)

0
Nothing in handle, only ServerStorage - Tool (Tablet) - Handle. SashaPro336 47 — 1y
0
Check the tool's children then. Sarturex857 109 — 1y
Ad
Log in to vote
0
Answered by 1 year ago

just unanchor it lol

Answer this question