So, I've been trying to learn events, functions, etc. I got this script. There's no output errors (apart from some odd http://roblox.com/aspx stuff) and I just don't know what's wrong with it.~~~~~~~~~~~~~~~~~
local Franku = game.Workspace.Franku
function onTouch ()
Franku.Humanoid.Health = 0
end
local TextButton = game.StarterGui.Frame.ScreenGui.TextButton
TextButton.MouseButton1Down:connect(onTouch)

1 comment
@dyler3, for some reason, when I'm clicking the button, it just doesn't work. No output errors.. it's just not working.