#Lances & spears debugging stuff idk how to make leaderboard

1 messages · Page 1 of 1 (latest)

knotty mason
#

Not the humanoid animation but like the tool itself will move (im tryna make a low budget spearing game and i want the spear to like move forward when i click it and retract after a second or two

gritty laurel
#

Hmm personally I would make a joint for the spear and animate it with the rig

knotty mason
#

Well i just animated the rig (r6) since idk how to do the other one

#

This script doesnt work

#

Oh wait i forgot to put the animation priority to action

#

Mb

#

Nvm it still doesnt work

pulsar cloak
#

use humanoid.Animator:LoadAnimation() instead of humanoid:LoadAnimation()

knotty mason
#

It still doesn't play the animation

pulsar cloak
#

weird

fair emberBOT
#

studio** You are now Level 3! **studio

pulsar cloak
#

is your tool empty

knotty mason
#

no

pulsar cloak
#

does it have a handle part

knotty mason
#

It has a handle and a mesh

#

a spear

#

Oh it works now

knotty mason
#

It keeps doing this thang when i equip it

#

I dont want it to go through walls tho

velvet delta
solid shell
#

Make sure the tool is unanchored @knotty mason

shy obsidian
knotty mason
knotty mason
#

dont mind mom jeans on the bg

#

I just don't know what to do with collision groups for the spear

#

And i have like 0 idea on how to make a leaderboard because my weapons use local damage

#

inside the mesh

#

Lances & spears debugging stuff

knotty mason
fair emberBOT
#

studio** You are now Level 5! **studio

knotty mason
#

Idk how to remove the overlapping gray thing but its within the scripts of the stealth script for the tall grass/stealth zone and the parry

quartz dagger
#

if you have local damage if you kill a player theyre only dead for you and vice versa

#

its like schizophrenia

knotty mason
#

Well not really i tried it with ny friends they die aswell in their perspective

quartz dagger
#

so its not local damage

knotty mason
#

Lances & spears debugging stuff idk how to make leaderboard

solid shell
#

Leaderboards display name and value numbers

#

-- Insert this script into ServerScriptService
local Players = game:GetService("Players")

local function leaderboardSetup(player)
-- Create the leaderstats folder
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player

-- Create the currency/stats to display
local coins = Instance.new("IntValue")
coins.Name = "Coins" -- This name appears on the leaderboard
coins.Value = 0 -- Initial value
coins.Parent = leaderstats

end

Players.PlayerAdded:Connect(leaderboardSetup)

knotty mason
#

Dingaling the leader board im tryna make is a k/d

knotty mason
#

And i need to change my damaging script into a damage event

#

Since it uses local

#

And local damage doesnt tag people

solid shell
knotty mason
#

I guess local damage still works

#

Although i made the scrip to tag them

#

t

#

with attackevent

knotty mason
#

Also added Stealthzone indicators when someone enters the tall grass

knotty mason