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)

01if canGive == false then
02 
03    canGive = true
04 
05    local clone = tool:Clone()
06 
07    clone.Parent = player.Backpack
08 
09    wait(1)
10 
11    canGive = false
12 
13 
14end

end

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

1GiveTool(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