I have a simple if statement:
if this and that
localvariableimade = true
but i want a result more like this:
if this and that
localvariableimade = true //but only for half a second! and then it goes false again.
i'd be happy if you guys could help!
You read the title. Specifically, need help with checking if the current p.mo.skin is touching a damaging object, but inside of a PlayerThink hook.
I'd be very happy if you guys could help, and thanks in advance for any advice.
In vanilla, if you use Metal's Hover and stand still mid-air, you will gradually lose height. Can someone guide me through a lua code that cancels that behavior?
I'm making a pk3, and inside my Lua folder there is a momentum.lua that I want to run only if, let's say, the momentum command is active.
So I type momentum on on the console, and only then, the game runs that specific .lua.
How do i do it?
This is my first lua script and my first addon, so please, enjoy.
Are you tired of the vanilla whirlwind shield, and its lame double jump? Well, say no more!
This lua script changes the behaviour of the whirlwind shield and makes it behave like the Wind shield from the fangame Sonic Time...
Kudos! system from Brawl Stars. You can use command 'kudos <player>' to 'commend' another player for skillful performance.
It comes with both leaderboard and in-game icons.
Have fun!
Your favorite cursor-chasing cat is ready to run around your screen in SRB2.
Use the oneko command to change how many cats you'd like:
Cats are not synced in multiplayer, so each player can set how many cats they'd like themselves.
This script was inspired by L_ManyMinorTweaks-v5.3.1 by EeveeEuphoria, it changes a few things in the game that I personally dislike.
Features
Dash Ghosts
Characters in Dash Mode will emit ghosts, like in Sonic Advance 2. It also gives Dash Mode to Sonic, Tails and Knuckles.
Slope Launch...
Ever played as Tails and thought "man, I really wish Tails was BETTER at speedrunning"?
...no?
Well, too bad - introducing SkyFox, product of the question "how can I make Tails even faster than he already is?", which then devolved into this monstrosity of a mod. Obligatory first mod warning -...
Welcome everyone, to my third released map! Probably my best looking one. ... Even if it's nothing compared to some other creators works. But don't let that fool you: Instead, come try it out. I swear, the best underwater zone in Classic Sonic has been given some justice.
The map id is MAPWP...
Important Disclaimer:
There may be confusion over permissions so let me clarify them immediately. You are free to repackage this in any way, but if you wish to add features to this, please get in contact with me so we can ensure there aren't any breaking changes, and implement new features for...
Reach blasting speeds with the power of rings!
Press Custom1 to get a boost of speed in exchange for 1 Ring, you can stack these boosts up to 30 times for some crazy speed! If you stack 20 boosts you'll enter Boost mode in which you can damage enemies by running into them.
You'll keep your...
EDIT! After testing a lot, I've found that this doesn't work on every wall. I dunno what's up with some of the walls but they just mess everything up. I'll edit the solution if I find a fix.
SOLUTION:
local wallNormal = R_PointToAngle2(line.v1.x, line.v1.y, line.v2.x, line.v2.y) //finds the...
Here's something old I dug out of my addons folder, Wile E. Time!
Created in April this year, here's a lua dedicated to the classic Warner Bros. cartoon logic of "gravity only applying if you look down" trope! Think of this as a more generous "coyote time!"
Gravity won't apply until you
1...
It's honestly quite shrimple...
You press WASD, you EXPLODE!!!
This was a lil' script I cobbled together in about a day or so.
A friend was doing a challenge run where they wouldn't use WASD, so I enhanced their experience a bit. :shitsfree:
This mod also removes the last minecart doors on...
Strap on your chin-straps; this is where the fun begins!
WELCOME F-ZERO 99 MACHINES!
Select Between TWELVE of the Original F-Zero Machines!
The Original Machines that appeared in the SNES/SFC F-Zero back in 1990-1991!
THE FAMICOM FOUR
The BSX F-Zero Machines that appeared in...
also need someone who knows lua and who can create a script for me that will do this: when sonic takes damage and he has a shield he will directly lose rings and keep the shield. If he has no more rings he dies and it must be activated in the soc level header
Yeah uh, idk what you want me to post here, it's Spark from Spark the Electric Jester. I'm just letting the word get out a little more
gifs:
if you wanna see more, then imma be posting more on a discord development server, just send me a message if you want to get the link, but I'll also...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.