Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Output appears to not seem to find a problem, however there Is a problem?

Asked by 2 years ago

So I am making a fan-made glove for a game called "Slap Battles". Anyway one of the abilities Is to make the glove (Which Ill call It the hitbox) very big (Or how I call It WIDE) However the problem Is that the hitbox does not appear to become big rather stay In Its original size, the ability Is to make the hitbox big then after 10-20 seconds It will shorten Its size back to the original size, however In this case It appears to not become big

And yes Im using a math.random() feature for this glove

Script:

if RandomEvent == 2 then
        local WIDESOUND = tool.FuniSounds.WIDE
        WIDESOUND:Play()
        MessageText.Text = "WIDE HAND"

        Glove.Size = Vector3.new(4.918, 4.063, 2)

        wait(1)
        MessageText.Text = "..."
        wait(math.random(10,20))
        MessageText.Text = "Ooooh no wide hand Is gone :("

        Glove.Size = Vector3.new(2.88, 2.718, 2)

    end
1
Did you put a print() to see if it is reached and did you forget to change the hitbox size? User#47934 5 — 2y

Answer this question