So i want all players to spawn with a tea cup in hand, and i want all players to see each others tea cups, so i wrote this script
--Client
local REvent = game:GetService("ReplicatedStorage"):WaitForChild("TeaWelder")
REvent:FireServer()
--Server
local REvent = game:GetService("ReplicatedStorage"):WaitForChild("TeaWelder")
REvent.OnServerEvent:Connect(function(players)
local Character = players.CharacterAdded:Wait() or players.Character
local teaArm = game:GetService("Lighting").Assets["Tea Arm"]:Clone()
local leftArm = Character:WaitForChild("Left Arm")
local motor6D = Instance.new("Motor6D")
teaArm.Parent = Character
motor6D.Parent = leftArm
motor6D.Part0 = leftArm
motor6D.Part1 = teaArm
motor6D.Name = "Tea Arm"
end)
I playtest the game, but the teapot wont show (not even on the clients side)
help would be appreciated, thank you for your time