#how would i make a sword tool with a click combo (like 5-6 different animations then a knockback)

356 messages · Page 1 of 1 (latest)

iron bane
#

help

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

the animations is just an animation table

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

yeah but how would i make it as a combo

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

like that

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

increase a counter every time the player clicks

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#
CurrentAnimCounter += 1
Humanoid:LoadAnimation(Animations[CurrentAnimCounter])
golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

basically

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

the thing i have the most trouble with is hitboxes

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

the knockback happens in the end, but unless you want it to specifically happen when you positively hit someone N ammount of times

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

ah

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

do you have an animation problem or a hit box problem

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

what's your question then 😅

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

hitbox

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

defo

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

sorry i should have worded it better

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

definitely, most straight forward way is using a part as a hitbox, either welded to the arm of your character

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

or constantly being updated there

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

up to you how you tackle that

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

you would use touching parts

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

GetTouchingParts

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

like should i use a server script to detect that

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

or

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

the same script that triggers the animation

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

well it depends, is up to you. just remember that having that having that client sided involves not having replication

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

as in the server will ignore any update you do to any value

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

so you have to send whatever data you modified for the server to change through a remote

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

and well that's a security problem there

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

but it's up to you what you want to do there

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

I recommend a server script

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

okay

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

it'll be laggy, but in the mean time don't worry about it

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

then i can make it run a function or something when the part is touched

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

yeah

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

alright

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

thanks

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

im gonna go try this solve out

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

alr

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

im not very experienced at all though

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

so im probs gonna fuck it up

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

welp, that's part of learning

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

go and fuck it up. How else would you learn?

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

lol

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

true

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

i been learning for a year now

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

that's a bit now

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

yeah

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

but well everyone learns at their pace I guess

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

the important thing is to be constant

iron bane
#

i have terrible memory

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

just remember it's not "memorizing"

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

ok but then i wont remember how certain stuff works

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

alright i need to shut up

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

alright, good luck

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

thanks again

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

no worries

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

hey uh

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

i dont remember how tables work

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

@haughty thicket could you guys fix the darn bot perms ;-;

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

that question has an easy answer

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

wait dont i just

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

make the table

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

called Animations

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

then

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

oh my god im such a fucking idiot

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

not really

haughty thicket
#

Bruh null

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

sorry

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

haughty thicket
#

Jesus fuck

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

DUDE

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

haughty thicket
#

@crystal sluice Save me

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

how would i put the animations in the table

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

if i try naming it 1 or 2 or whatever

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

it will just have an error

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

i got this script so far

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

local tool = script.Parent

local Humanoid = tool.Parent.Parent.Humanoid

local CurrentAnimCounter = 0

local 1 = game.ReplicatedStorage.GoofyAnims.One

local Animations = {

}

CurrentAnimCounter += 1
Humanoid:LoadAnimation(Animations[CurrentAnimCounter])

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

how would i add the animations as a number to the table

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

that said you're tackling problem Y w/o knowing X

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

if you don't know how to tables work, do a refresher and then use that to come back to this, you're just bashing your head against a wall right now.

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

i do know im just confused

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

i checked again on how it works

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

pastel isle
#

please make up your mind, it's starting to become annoying, good luck ^^

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

no like i re did it

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

i remember now

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

how to do it

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

im sorry for annoying you

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

iron bane
#

ill stop talking here

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

regal belfry
golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

regal belfry
golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

waxen orioleBOT
#

studio** You are now Level 9! **studio

haughty thicket
#

@naive spade how do I fix the bot

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

naive spade
golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

naive spade
#

It had has all the permissions

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

haughty thicket
golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

naive spade
#

Since it’s clearly talking here

golden torrentBOT
#

I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.

naive spade
#

I removed its access

#

@haughty thicket

haughty thicket
#

Alright ty

naive spade
#

Next time just set the view channel permissions for the bot to X

haughty thicket
#

Got it. I appreciate the help.

naive spade
#

np

#

gn

haughty thicket
#

Gn

iron bane
regal belfry
# iron bane im very stupid so i kinda gave up since i dont get how to do hitboxes
local function hb(size, cframe, ignore, char)
    local hb = Instance.new("Part", workspace.Fx)
    hb.Anchored = true
    hb.CanCollide = false
    hb.Transparency = .6
    hb.Name = "hb"
    hb.Material = Enum.Material.ForceField
    hb.CanQuery = false
    hb.Size = size
    hb.CFrame = cframe
    
    local con
    con = hb.Touched:Connect(function()
        con:Disconnect()
    end)
iron bane
#

i mean like making it damage ONCE then disapearing

regal belfry
#

then if you want to make one

#
local hitTarg = hb(Vector3.new(4,2,2), character.PrimaryPart.CFrame * CFrame.new(0,0,-3), {character}, character)
iron bane
#

damn

regal belfry
#
if hitTarg then 
    local data = {
        ["Target"] = hitTarg,
        ["Character"] = character,
        ["Combo"] = combo,
        ["Action"] = "m1",
    }
#

thats how im doing it

iron bane
#

damn

#

well uh

regal belfry
#

im also very new tho

#

ive only learned this stuff very recently

iron bane
#

im terrible at scripting

regal belfry
#

same

iron bane
#

the script i made

#

is terrible

#

i dont even want to show it its that bad

regal belfry
#

dw ive done worse stuff

iron bane
#

bro i couldnt work out how to do a hitbox

#

so the dumbass that i am

#

made a damage brick appear when the player clicked the key

#

but it didnt damage the player

#

con was that it hit MULTIPLE times

regal belfry
#
areb.MouseEnter:Connect(PlayHover)
solb.MouseEnter:Connect(PlayHover)
advb.MouseEnter:Connect(PlayHover)
cusb.MouseEnter:Connect(PlayHover)
slob.MouseEnter:Connect(PlayHover)
custb.MouseEnter:Connect(PlayHover)
duob.MouseEnter:Connect(PlayHover)
ranb.MouseEnter:Connect(PlayHover)
bacb.MouseEnter:Connect(PlayHover)

areb.MouseButton1Up:Connect(PlaySound)
solb.MouseButton1Up:Connect(PlaySound)
advb.MouseButton1Up:Connect(PlaySound)
cusb.MouseButton1Up:Connect(PlaySound)
slob.MouseButton1Up:Connect(PlaySound)
custb.MouseButton1Up:Connect(PlaySound)
duob.MouseButton1Up:Connect(PlaySound)
ranb.MouseButton1Up:Connect(PlaySound)
bacb.MouseButton1Up:Connect(PlaySound)
#

that was my gui code

#

lmfao

regal belfry
#

omg

iron bane
#

yeah i know

regal belfry
#

dude people used to reply to me with just the word debounce

iron bane
#

im stupid

regal belfry
#

and i was like wtf

iron bane
#

yeah but its a terrible way to run it

#

exploiters could crash the game

#

easily

regal belfry
#

ya idk if u wanna figure out this stuff together im down

iron bane
#

with the one i made

regal belfry
#

right now im trying to figure out

iron bane
#

sure

regal belfry
#

how to detect if you are touched by a hitbox

iron bane
#

im working on an adventure game actually

#

i know how

regal belfry
#

cuz as you can see the ignore list in my hitbox is the character

iron bane
#

i had a script a while ago

#

but its for single hit non combo moves

regal belfry
iron bane
#

oh cool

regal belfry
iron bane
#

so first

#

you need to fire a remote event

regal belfry
iron bane
#

then a server script will clone the hitbox from serverstorage

#

then run a function when that hitbox gets touched

#

but

#

in the

#

Event.OnServerEvent:Connect(Function()

#

turn it into

#

Event.OnServerEvent:Connect(Function(Player)

#

then make the ignore list

#

put the player's character or whatever in there

#

then in the function for when the hitbox gets touched

#

put

#

if hit (thats what im gonna call it) if hit.Humanoid.Parent = (thing in ignore list)

#

before putting that

#

do

#

if hit.Parent.Humanoid ~= nil then

#

if hit.Parent.Humanoid ~= nil then

#

if hit (thats what im gonna call it) if hit.Humanoid.Parent = (thing in ignore list)

#

then

#

return

#

end

#

then type the damaging and stuff

#

its hard to explain

#

ill give the script wait

regal belfry
#

here could i show you what I have?

iron bane
#

sure

regal belfry
#

i see what you mean though

iron bane
#

im not very good at combat scripting

regal belfry
#
local remote = game.ReplicatedStorage.CombatEvent
local parryEvent = game.ReplicatedStorage.ParryEvent
local HitSound = game.ReplicatedStorage.HitSound
local player = game.Players.LocalPlayer
duration = .7

remote.OnServerEvent:Connect(function(client, data)
    if data.Action == "m1" then
            data.Target.Humanoid:TakeDamage(10)
        end
        if data.Combo == 3 then
            local bv = Instance.new("BodyVelocity", data.Character.PrimaryPart)
            bv.Velocity = data.Character.PrimaryPart.CFrame.LookVector * 0 -- last m1 player movement
            bv.MaxForce = Vector3.new(99999,99999,99999)
            bv.Name = "Velocity"
            game.Debris:AddItem(bv, .2)
            wait(.2)
            local bv = Instance.new("BodyVelocity", data.Target.PrimaryPart)
            bv.Velocity = data.Character.PrimaryPart.CFrame.LookVector * 30 -- last m1 enemy knockback
            bv.MaxForce = Vector3.new(99999,99999,99999)
            bv.Name = "Velocity"
            game.Debris:AddItem(bv, .2)    
        else
            local bv = Instance.new("BodyVelocity", data.Character.PrimaryPart)
            bv.Velocity = data.Character.PrimaryPart.CFrame.LookVector * 0
            bv.MaxForce = Vector3.new(99999,99999,99999)
            bv.Name = "Velocity"
            game.Debris:AddItem(bv, .2)
            local bv = Instance.new("BodyVelocity", data.Target.PrimaryPart)
            bv.Velocity = data.Character.PrimaryPart.CFrame.LookVector * 0
            bv.MaxForce = Vector3.new(99999,99999,99999)
            bv.Name = "Velocity"
            game.Debris:AddItem(bv, .2)
        end
    end)
iron bane
#

but i managed to make a triple jump, dive, slide

regal belfry
#

thats my server script

iron bane
#

yeah thats what i mean

#

well kinda

#

i did manage to make a combat script though

#

without m1 combos

#

let me grab a bit of it

#

so first

#

i made a script in starterpack

#

which was

#

local Player = game:GetService("Players").LocalPlayer
local Character = Player.CharacterAdded:Wait() or Player.Character

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Event = ReplicatedStorage:FindFirstChild("SUNFIST")
local UInput = game:GetService("UserInputService")

local Debounce = false
local Cooldown = 15

UInput.InputBegan:Connect(function(input,IsTyping)
if IsTyping then
return
elseif input.KeyCode == Enum.KeyCode.R then
if Character:FindFirstChild("UsingMove").Value == false then
if Debounce == false then
Debounce = true
Character.Humanoid:LoadAnimation(script.PlrAnim):Play()
Event:FireServer()
wait(Cooldown)
Debounce = false
end
end
end

#

then in the server script

#

local event = game.ReplicatedStorage.SUNFIST

event.OnServerEvent:Connect(function(Player)
Player.Character.UsingMove.Value = true
local char = Player.Character
local plrname = Player.Name
local hitbox = game.ServerStorage.hitboxes.fiststarhitbox:Clone()
hitbox.real.Disabled = false
hitbox.Parent = char
hitbox.Position = char.UpperTorso.Position
Player.Character.UsingMove.Value = false
wait(1)
char.RightHand.charge:Destroy()
hitbox:Destroy()
end)

#

i put a damage script in the hitbox

#

which detected if its hitting the player

#

so

#

it works really well

#

and i fixed the issue

#

by making it destroy itself after damaging

regal belfry
#

hmmm

#

that does seem pretty good

#

ftr this system im making rn is like my first combat system ever and the only thing Ive scripted before this was a GUI lol

iron bane
#

a

waxen orioleBOT
#

studio** You are now Level 4! **studio

regal belfry
#

so that script was for a dedicated move?

iron bane
#

yes

#

oh yeah btw

#

the hitbox can do knockback

#

and a hit animation

regal belfry
iron bane
#

i started messing around with cameras too

#

and i made a goofy ahh cutscene

#

im bad at camera angles

regal belfry
#

lmaooo

iron bane
#

thats all

regal belfry
#

so like the move would cause a cutscene?

#

and the hitbox in server storage could save the data for the knockback and a hit animation?

#

i really wanna try this out in a new game

iron bane
#

here ill send a video

#

i mean

#

the cutscene will be in a different area or something

#

i guess

#

or i could try that

#

i havent done a move with a cutscene

regal belfry
#

im not worried about a cutscene i dont want any of that for my game specifically i was just curious

regal belfry
iron bane
#

yes

#

it works

#

it actually works

#

and the using move stops movestacking

regal belfry
#

oh ok i use gpe

#

i think theres a difference idk

#

not sure what game processed events there would be other then chat

iron bane
#

if they are redeeming codes (im not gonna add that but maybe that)

regal belfry
#

ok so ive put what you gave and i renamed the event combat event

iron bane
#

put the local script in starterpack

#

or it wont detect when the player is typing or using move

#

btw

#

usingmove is an IntValue in starterCharacterScripts

regal belfry
#

where?

#

like an attribute?

#

"if Character:FindFirstChild("UsingMove").Value == false then" cuz i see this

iron bane
#

no

#

just insert a intvalue in workspace first

#

name it

#

UsingMove

#

then move it to where the local script is