#Lances & spears debugging stuff idk how to make leaderboard
1 messages · Page 1 of 1 (latest)
Hmm personally I would make a joint for the spear and animate it with the rig
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
use humanoid.Animator:LoadAnimation() instead of humanoid:LoadAnimation()
It still doesn't play the animation
weird
** You are now Level 3! **
is your tool empty
no
does it have a handle part
Youd have to make a script for that or some kind like collision detection bullshit
Make sure the tool is unanchored @knotty mason
Throwable?
disable collision
the thing is, i have a trowel tool and i dont want the spear to go through it
collision groups
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
** You are now Level 5! **
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
youre gonna wanna change that now
if you have local damage if you kill a player theyre only dead for you and vice versa
its like schizophrenia
Well not really i tried it with ny friends they die aswell in their perspective
so its not local damage
500 exploiters
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)
Dingaling the leader board im tryna make is a k/d
And i need to change my damaging script into a damage event
Since it uses local
And local damage doesnt tag people
take ur time
I guess local damage still works
Although i made the scrip to tag them
t
with attackevent
Also added Stealthzone indicators when someone enters the tall grass
But uh yeah this very much helped just changed the stats