Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

My scripts work for me, but nobody else in Team Create, any fixes to this?

Hey guys, so I asked a similar question a few days ago but never got a response. So I do a Team Create with some friends for our game, and my scripts work perfectly for me, but when they test it, it just doesn't work. They say there's nothing extra in output and nothing at all happens. Is there a reason for this? Here's an example of a script.

local isAnimating = false

script.Parent.Equipped:Connect(function(Mouse)
    Mouse.Button1Down:Connect(function()
        local animation = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent.Animation)
		if isAnimating == false then
	        animation:Play()
			script.Parent.StickDamage.Disabled = false
			isAnimating = true
			wait(1)
			script.Parent.StickDamage.Disabled = true
			isAnimating = false
		end
	end)
end)

3 comments

0

Where is the local script located?

0

It's located directly in my tool in StarterPack, and it replicates to the player just fine

1 answer

✓ Accepted answer

You need to commit the draft. It's a new update, here's how. 1: Open View>Drafts 2:Right click whatever script that has been changed you'd like to commit to. 3:Commit Draft.

2 comments

0

oh my god man, thank you so much, real lifesaver, seriously

0

No problem!

This discussion is preserved as it was. New answers, comments, and votes are closed.