This might be a useless topic but i know what it means but im just questiong why is it happening
– Here is a simple CFrame script
local Event = (MyRemoteEventLocation)
local Cframe = CFrame.new(0,0,0) -- example CFrame
Event:FireServer(Cframe)
------ and on the server script
local Event = (myRemoteEventLocation)
local NPC = (myNPCLocation)
Event.OnServerEvent:Connect(function(cframe)
print(cframe)
NPC:SetPrimaryPartCFrame(cframe) -- Primary Part Is Set
end)
UIS.InputBegan:Connect(function(input, processed)
if processed then
return
end
if TowerToAdd then
if input.UserInputType == Enum.UserInputType.MouseButton1 then
print(TowerToAdd.PrimaryPart.CFrame)
game.ReplicatedStorage.AddTower:FireServer(TowerToAdd.Name, TowerToAdd.PrimaryPart.CFrame)
RemovePlaceHolderTower()
end
end
end)