I have made a script to make a custom tail spawn onto a player but one thing is it don't work in the output there is no errors but the tail is not there I have made it able to weld I think,

local T = game.Players.LocalPlayer.Character.Torso
local K = game.Lighting.Kagune

function onSpawn()
local kag = K:Clone()
kag.Name = "Tail"
kag.Parent = game.Workspace
wait(0.001)
kag.Parent = T.Parent
local Weld = Instance.new("Weld")
Weld.Parent = K.WeldPart
wait()
Weld.Part0 = K.WeldPart
Weld.Part1 = T
end

game.Players.PlayerAdded:connect(function(player)
	player.CharacterAdded:connect(function(onSpawn)
		end)
	end)

If you can help thanks.

2 comments

0

Why is your tail in lighting?

0

You are cloning a part via a local script and its just simply not going to replicate with filter enabled. Make sure you understand how filter enabled works and remote events/functions  http://robloxdev.com/articles/Building-Games-with-Experimental-Mode-Off  http://wiki.roblox.com/index.php?title=Remote_Functions_%26_Events