How To Make A Part.Touched Function | ROBLOX Script Tutorial

Аватар автора
Впечатляющие Геймерские Моменты
First you want to add a Part. Then customize it and make sure Archivable, Anchored, CanCollide, And CanTouch are all on. Then add a Script into Part and type... local function PlayerTouched(Part) local Parent = Part.Parent if game.Players:GetPlayerFromCharacter(Parent) then --Type whatever you want to happen here end end script.Parent.Touched:Connect(PlayerTouched) into the Script. These are the steps in making a Part.Touched function.

0/0


0/0

0/0

0/0