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

Equipped Function not working?

Asked by 6 years ago
Edited 6 years ago

I was making a kamehameha tool but I it doesn't print Equipped

1tool.Equipped:Connect(function()
2    Equipped = true
3    print(Equipped)
4    m.Icon = 'rbxgameasset://Images/'..'Gun Aim'
5end)

If you know why then tell me.

You asked for it, the whole script

001function startkame()
002    if debounce == false and Equippe then
003        if toggle == false then
004            print ('Passed')
005            debounce = true
006            toggle = true
007            hax = true
008            print('Will it play?')
009            chargetrack:Play()
010            print('PLAYED')
011            startkame = Instance.new("Part")
012            print("made")
013            startkame.Shape = 'Ball'
014            print('ball')
015            startkame.Material = 'Neon'
View all 104 lines...
0
I didn't put the whole script but if you need it i'll give you it HappyTimIsHim 652 — 6y

1 answer

Log in to vote
1
Answered by
Sorukan 240 Moderation Voter
6 years ago
Edited 6 years ago

It's a string so you do

1print("Equipped")
0
You're just printing it wrong, the script after the equipped function should work Sorukan 240 — 6y
0
k HappyTimIsHim 652 — 6y
0
still ain't working HappyTimIsHim 652 — 6y
0
what i was going for was a print true or print false HappyTimIsHim 652 — 6y
View all comments (6 more)
0
What does the output window say? Sorukan 240 — 6y
0
Equipped isn't a variable, it's an event so you can't just set it to true or false Sorukan 240 — 6y
0
nothing just my other prints HappyTimIsHim 652 — 6y
0
oh HappyTimIsHim 652 — 6y
0
either way the Equipped function isn't working HappyTimIsHim 652 — 6y
0
Are you sure it's the equipped function that's not working or the entire script itself because from the looks of it you're using a free model which often don't work. Sorukan 240 — 6y
Ad

Answer this question