How do i make this script work on mobile

this script doesnt work on mobile, does anyone know a way you could easily make this work on mobile with the same functionality:

local tool = script.Parent
script.Parent.Activated:Connect(function()
	script.Parent.Handle.WEEE.MaxForce = Vector3.new(0,math.huge,0)
	tool.tube.Attachment.Fire.Enabled = true
	tool.tube2.Attachment.Fire.Enabled = true
	tool.Handle.Swoosh:Play()
	tool.Parent.Humanoid.WalkSpeed = 80
end)

script.Parent.Deactivated:Connect(function()
	script.Parent.Handle.WEEE.MaxForce = Vector3.new(0,0,0)
	tool.tube.Attachment.Fire.Enabled = false
	tool.tube2.Attachment.Fire.Enabled = false
	tool.Handle.Swoosh:Stop()
	tool.Parent.Humanoid.WalkSpeed = 16
end)
2 Likes

What happens on mobile? Does nothing happen?

1 Like

No you cant use activated on mobile

1 Like

I know, but what happens on mobile. Is there an error?

1 Like

Nope, it just does nothing. . . . .

1 Like

You can use activated on mobile, could you please show me the tool properties?

1 Like

thats the only script everything is welded and works on pc

1 Like

Could I still see the properties?

1 Like

there isnt an anything to show just parts to make a model of a jetpack and welds to the other pieces

1 Like

Are you using the Roblox’s PC mobile controls? Have you tried using actual mobile?

2 Likes

mobile. . . . . . . . . it just doesnt work from what i see the other tools that work with mobile have a local script for this

1 Like

Pardon? You explained that horribly. So you are using mobile, and not Roblox studios mobile controls.

1 Like

i tested it on an actual mobile device

2 Likes

I’m guessing a third party is messing it up. Cause there is no reason this wouldn’t work.

Also I would still like to see those properties.

Does it still makes the noises? Maybe try turning off handle required.

1 Like

Never mind, thought you were working with UI.

Add a print() somewhere to make sure the Activated event is even being fired.

1 Like

it does get fired a a a a a a aa a