How can I make a speed gamepass?

In a script you can do it too, on local script it’s not really safe lol

my bad, I should’ve noticed that earlier :sweat_smile:

Use “WalkSpeed” instead of “Walkspeed”.

1 Like

Forgot change Walkspeed to WalkSpeed

1 Like

There i edited it if you need :slight_smile:

1 Like

I don’t think we need to use ChildAdded for this tho
PlayerAdded and CharacterAdded should be used instead

Do you get any errors when you run the game? If so, what are they?

It was something about player.CharacterAdded().

local Character = Player.Character or Player.CharacterAdded:Wait()

should be used to get the character

1 Like

Okay. Instead of doing character added there, after game.Players.PlayerAdded:Connect(function(player) write a line under it:
player.Character.CharacterAdded:Connect(function(char)

1 Like

Then you can say: local humanoid = char.Humanoid
Then delete the 3 lines at the top which are the ones with local player, local char and local humanoid.

1 Like

@Ojnim0702
did you try @AtomTostcuOzgurUsta’s script yet?

that is literally all you need

1 Like

Will normal players who doesn’t have the gamepass not get 28 speed?

I did try it try @AtomTostcuOzgurUsta’s script.

Did my posts help you with anything or does the script still have an error?

1 Like

I don’t see how their script wouldn’t work?

1 Like

I think I will just use @AtomTostcuOzgurUsta or @iiNeZoXii’s script if I could.

2 Likes

I never said @AtomTostcuOzgurUsta’s script didn’t work, It worked.

Okay I hope your game is successful!

2 Likes

Thanks, I am putting a lot of effort to my game to be completed!

1 Like