#How to make Text

2 messages · Page 1 of 1 (latest)

shell epoch
#
local Part = game.Workspace.TouchPart
local RandomNumber = math.random(0,100)

Part.Touched:Connect(function(hit)
  local Humanoid = hit.Parent:FindFirstChild("Humanoid")
    if Humanoid  then
      print(RandomNumber)
    end
end)
#

there are 2 issues, at first when i touch the part it prints only 1 number alot of times.