#i cant fix my code please help

1 messages · Page 1 of 1 (latest)

copper tartan
#

i doing my first battleground and my animations dont work please help
I followed the guide, here is the guide itself: https://www.youtube.com/watch?v=E02er6mwsrI&list=PLH1di03gos6aX70lrhAVRittXJZaUA9dO

How To Make a BATTLEGROUNDS GAME In Roblox Studio 2024

Get all of my project files on my patreon:
https://bit.ly/3SOBP6J
JOIN THE DISCORD!
https://discord.gg/cztJHYSfVE
UI Model:
https://bit.ly/3VT9QFW

What is Roblox? ROBLOX is an online virtual playground and workshop, where kids of all ages can safely interact, create, have fun, and learn. ...

▶ Play video
tribal stone
#

In your ServerAttackHandler script, the first line is causing the issue

#

the variable for replicatedstorge should be

#
local ReplicatedStorage = game:GetService("ReplicatedStorge")
#

you got the user input service in the variable which is causing the error

copper tartan
#

thank you but i got new error
please can you help?

late igloo
copper tartan
copper tartan
subtle bolt
#

you should just declare the event instead of this just do local clickattack = ReplicatedStorage:FindFirstChild("ClickAttack") and then also why dont you implement the attack animation playingon the client?Cause that works just fine.Also starting slow,simply just create a new Instance of part as hitbox then weld it to the character humanoidrootpart

#

and also that error is because your PunchCombo Value is a string,like a bunch of letters,not numbers

#

so you comparing it to a number would return a error