Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Trying to make a script to make custom body attachments? [READ DESC]

Asked by 5 years ago

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.

0
Why is your tail in lighting? User#19524 175 — 5y
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 Vulkarin 581 — 5y

Answer this question