Help with bypassing max horse speed.

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

SoulCeption

Member
Jun 18, 2024
2
0
1
23
I'm trying to make a skript that basically can see the parent's speed attribute then it adds a random number between 0.1 and 0.3 to it and sets the child's attribute to that. However, I'm getting an error on the 3rd line of the skript about it not understanding it. I'm using SkBee, and I'm wondering if theres a fix. The rest works fine.

on entity breed:
if breeding mother is a horse:
set {speed.%event-entity%} to mother's generic movement speed
set {random} to a random integer between 0.1 and 0.3
set child's generic movement speed attribute to {speed.%event-entity%} + {random}