script.Parent.MouseButton1Click:Connect(function()
local HRP = game.Players.LocalPlayer.Character.HumanoidRootPart
local model = game.ReplicatedStorage.Turret
local distance = 10
local pos = HRP.Position + (HRP.CFrame.LookVector)*distance
model.Parent = workspace
model:MoveTo(pos)
end)
COMMUNITY QUESTION
How do i send this to the server so the items imported from RepStorage actually work?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
