RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"if tool touches humanoid throw player up"
-- local script local tool = script.Parent local function onTouched(otherPart) local humanoid = otherPart.Parent:FindFirstChildWhichIsA("Humanoid") if humanoid then local character = humanoid.Parent local force = Vector3.new(0,50,0) character:SetPrimaryPartCFrame(CFrame.new(character:GetPrimaryPartCFrame().p + force)) end end tool.Touched:Connect(onTouched)