You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
I want a holster on the back if a player has a gun
- What is the issue? Include screenshots / videos if possible!
The gun model isn’t showing
- What solutions have you tried so far? Did you look for solutions on the Creator Hub?
I tried but nothing has happened.
I need help. Got the script right here.
local ReplicatedStorage = game:GetService(“ReplicatedStorage”)
local Players = game:GetService(“Players”)
local StarterCharacter = game.StarterPlayer.StarterCharacter
local MK18OnBack = ReplicatedStorage.GunsOnBack.MK18OnBack
game.Players.PlayerAdded:Connect(function(Player : Player)
Player.CharacterAdded:Connect(function()
local Character = Player.Character
local MK18OnBack = ReplicatedStorage.GunsOnBack.MK18OnBack:Clone()
print("step 1 worked")
MK18OnBack.Parent = Character.HumanoidRootPart
print("step 2 worked")
local Weld = Instance.new("WeldConstraint")
Weld.Parent = MK18OnBack
Weld.Part0 = MK18OnBack
Weld.Part1 = Character.HumanoidRootPart
print("step 3 worked")
--local MK18 = StarterCharacter:FindFirstChild("MK18")
--local MK18 = Player.Backpack:FindFirstChild("MK18")
print("MK18 is on back")
end)
end)
