I attempted at altering some scripts I found online to play an animation on the player’s character when a proximity prompt is activated but to no avail. I don’t have any experience in scripting so I’m a bit confused as to what the problem is!
Here is what I tried:
local Animation = script.AnimationOpen local promptbrick = workspace.animtest.ProximityPrompt promptbrick.Triggered:Connect(function(Player) local Animation = Player.Character:WaitForChild("Humanoid"):LoadAnimation(10511590770) Animation:Play() end)
Thank you so much for your time