Jump to content

Can anyone help me with this skript?


Cweepr

Recommended Posts

I tried to make a skript where if you are on fire and you right click with a water bottle if will put the fire out and where it is impossible to drink the water bottle. Here is my attempt:

on right click with water bottle:
    if player is on fire:
        remove fire effect from player

It didn't work.. can anyone help?

Edited by Cweepr
Link to comment
Share on other sites

Expanding from ApexSplat, you should attempt to try find fixes on doc pages before asking people as they are very useful and will be able to help with nearly all* basic logic and syntax errors you receive.
Doc: https://skripthub.net/docs/

Just in-case you struggle here should be the fixed code (untested):
 

on right click with water bottle:
    if player is on fire:
        extinguish the player

If you like what I post or I've helped you please leave a like or upvote my posts! Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...