Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 3 years 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)

0
just unanchor it lol SpriteGamerHD 47 — 3y

1 answer

Log in to vote
0
Answered by 3 years 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 — 3y
0
Check the tool's children then. Sarturex857 109 — 3y
Ad

Answer this question