#Not Working :(
1 messages · Page 1 of 1 (latest)
I dont know whaat that issue means
i dont think the character is being loaded, but I cant figure out why.
I also dont know where else to look to see if character is initialized or not somewhere else in the game
** You are now Level 1! **
where do I change it to local script
wym 😭
replace this Script with LocalScript in explorer
how bro, ive been doing this for an hour total, i dont know where or how to dooo thattt
this is what you using
you need this
im looking for anywhere that says SCRIPT BUT THERES NOWHERE THAT SAYS IT
bro 😭
this blue icon
ye
no
and this
yeah
game.ReplicatedStorage:WaitForChild("MainEvent"):FireServer()
its better to make a variable for an event
so like this?
** You are now Level 2! **
yeah
then smth wrong with your animation
nah
do this
i mean try 😭
give me this script
local UIS = game:GetService("UserInputService")
local plr = game.Players.LocalPlayer
local Character = plr.Character or plr.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local M1 = Humanoid.Animator:LoadAnimation(script.Animations.M1)
UIS.InputEnded:Connect(function(I,E)
if E then return end
if I.UserInputType == Enum.UserInputType.MouseButton1 then
print("punch")
game.ReplicatedStorage:WaitForChild("MainEvent"):FireServer()
M1:Play()
end
end)
can I download it as a file instead
local UIS = game:GetService("UserInputService")
local plr = game.Players.LocalPlayer
local Character = plr.Character or plr.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local M1 = Humanoid:WaitForChild("Animator"):LoadAnimation(script.Animations.M1)
local remote = game:GetService("ReplicatedStorage"):WaitForChild("MainEvent")
UIS.InputEnded:Connect(function(I,E)
if E then return end
if I.UserInputType == Enum.UserInputType.MouseButton1 then
print("punch")
remote:FireServer()
M1:Play()
end
end)