hey guys just asking, why can the npc move to anywhere else in explorer, like for example it can move to startergui, serverstorage, serverscriptservice, but for some reason it just wont move to workspace no matter what
local serverStorage = game:GetService("ServerStorage")
local part = script.Parent
part.Touched:Connect(function()
local npc = serverStorage.NPC:Clone()
npc.Parent = workspace
end)
This script is likely working, you’re just doing literally nothing. You’re setting the NPC’s Parent to workspace, but it’s already in workspace (game.Workspace.NPC.Parent = game.Workspace). Can you go more in-depth on the problem you’re having?