i dont mean that parameters are useless but sometimes i see scripts that have parameters for no reason :
game.workspace.Part.Touched:Connect(function(hit)
print("hit") ---- but what is hit?
end)
i only know that parameters can be used like this :
function kill(PlayerName)
local player = game.workspace:WaitForChild(PlayerName)
Player:FindFirstChild("HumanoidRootPart"):Destroy()
end
kill("leoonardo101max1")
if you know pls answer this

3 comments
Hey!
Hey! game.workspace.Part.Touched:Connect(function(hit) -- hit = what is touched the part and dont print("hit") thats print(hit.Name)
You have discord? i can help you with scripting but not in this comment section