cat_rebellion
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Blogs
Events
Store
Downloads
Posts posted by cat_rebellion
-
-
so i am making a enchant that make's the player get a litle boost in speeed and it works but when i tried to make it a function it dident work this is what i have
and it gives me these erors
error #3variables cant be used heare
error 1 variables cant be used heare push the {_p} forward at speed {_F} parsed as numbererror 2 cant understand condition if {_waited} is less than {_Time} - {_en} seconds:
error 3 cant be set to uncolored lore of player's/{_p} held item set {_lore::*} to uncolored lore of {_p} held item
function Fly(p: player
set {_lore::*} to uncolored lore of {_p} held itemloop {_lore::*}:set {_en} to loop-valureplace all "Fly" with "" in {_en}set {_F} to {_force} + 0.25 * {_en}set {_waited} to difference between {fly.%{_p}%.lastused} and nowif {_waited} is less than {_Time} - {_en} seconds:message "&8&l[&a&lServer&8&l] &cPlease wait &3%difference between {_Time} - {_en} seconds and {_waited}% seconds before trying again" to {_p}stoppush the {_p} forward at speed {_F} parsed as numberset {fly.%{_p}%.lastused} to now

i am making a fly enchant and i cant make it a function
in Help
Posted
the original skript