RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"create a tool that lets the player throw parts"
-- local script local tool = script.Parent local partToThrow = tool.PartToThrow local function onActivated() local character = tool.Parent local part = partToThrow:Clone() part.Parent = workspace part:SetNetworkOwner(character) part:SetNetworkOwner(nil) part:SetNetworkOwner(character) part:SetNetworkOwner(nil) part.Velocity = character.Head.CFrame.LookVector * 50 end tool.Activated:Connect(onActivated)