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

Why won't the mouse function connect?

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)


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.