Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can I make a Tool, which by clicking, the character jumps?

Hello everyone, I'm trying to make a tool, that when you click, you jump, plus I can not, first I did this test with a block, so... I tried this:

function onTouched()
	local Jump = 50
	local h = Handle.Parent:findFirstChild("Humanoid")
	h.Jump = true
script.Parent.Touched:Connect(onTouched)

1 answer

You would have to do this for the tool

function Jumpy()
local h = script.Parent.Parent:FindFirstChild("Humanoid")
h:Jump()
end
script.Parent.Activated:Connect(Jumpy())

This discussion is preserved as it was. New answers, comments, and votes are closed.