Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function partTouched(otherPart)
- --local player = Players:GetPlayerFromCharacter(otherPart.Parent)
- local player = game.Players:GetPlayerFromCharacter(otherPart.Parent)
- if player then
- givePoints(player)
- end
- end
- pointPart.Touched:Connect(partTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement