Okay so the first question is I am not good at using Remote Events for clients... so i would like to know... How could i make this punch System FE

--For an example 
local RM = game.ReplicatedStorage:WaitForChild("AmLikeDoritos")
CanDoDmg = true 
Keybind = "f" 
dmg = 6 


local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()

mouse.KeyDown:Connect(function(key)
	if key == Keybind then
		local anim = script.Parent.Humanoid:LoadAnimation(script.Animation)
		anim:Play()
		script.Parent.RightHand.Touched:connect(function(hit)
			if hit.Parent.Humanoid and CanDoDmg == true then
				hit.Parent.Humanoid:TakeDamage(dmg) --?
                                RM:FireServer() 
				CanDoDmg = false
				wait(1)
				CanDoDmg = true
			end
		end)
	end
end)

How could i make this FE?

And another Question... How could i use User Input Key bind when they're holding shift to a billboard... they get cash?

2 comments

0

This shouldn't be too hard. Just simply fire a remote event to the server and do the exact same things your doing in this script.

0

Thats the thing... im bad at Server events when there being used on a client... I only use server events for like things that happens on the Server... I mean... if i even did client... How would i even start?