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

Jumping and Data Changed?

  1. I was trying to make something that could restrict or enhance how high a player could jump,but i am not really sure how i would allow them to jump higher or lower. Help?

  2. I was also wondering how i could use the Changed function to only respond to a certain value being changed like

game.Workspace.Part.Color.Changed:connect(function()

if you only know the answer to one question i will be happy to hear it.

3 comments

0

Try effecting the player's gravity if you can do that, and for number towo, you can, but it would be part.brickcolor not color

0

How would i change a players gravity? And sorry i know that.

1

bodyForce

1 answer

✓ Accepted answer

@ Question #2

To check what value was changed during the changed event you do

game.Workspace.Part.Changed:connect(function(property)
	if property == "BrickColor" then
		print("Brick color changed!")
	end
end)

For a little more explanation (not by much) go look at this documentation

1 comment

0

^ So true it does not explain very much.

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