local Player = script.Parent.Parent
wait(.5)
local Character = Player.Character
local Humanoid = Character.Humanoid
local Mouse = Player:GetMouse()
Mouse.Button1Down:Connect(function()
Humanoid:LoadAnimation(script.Parent.Animation):Play()
end)
COMMUNITY QUESTION
Why won't the mouse function connect?
1 answer
local Player = game.Players.LocalPlayer
Correct me if I'm wrong. You've provided no imagery of where your script is and what type of script it is.
This discussion is preserved as it was. New answers, comments, and votes are closed.
