Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Player gets stuck in a certain position while trying to use the tool?

Everytime a player selects my gamepass given tool they get sent to a certain position with the gun in their hand and they are unable to move?! help please. Here is my gamepass script if anything is wrong?


local player = game.Players.LocalPlayer
local ownsGamepass = game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId,9027783)

if ownsGamepass then
 local sword = game:GetService("ReplicatedStorage"):WaitForChild("Flintlock"):Clone()
 sword.Parent = player.Backpack
end

local player = game.Players.LocalPlayer
local ownsGamepass = game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId,8981498)

if ownsGamepass then
 local sword = game:GetService("ReplicatedStorage"):WaitForChild("Rifle"):Clone()
 sword.Parent = player.Backpack
end

3 answers

You used anchor the tool and makes tool grip to force the people hold it. So remove the anchor on the tools.

2 comments

0

put them to the workspace and unanchor it, also remember make the handle named "Handle"

0

Nope, i've tried unanchoring it. The tools have a handle. This was super unhelpful thanks ;)

This discussion is preserved as it was. New answers, comments, and votes are closed.