J

@jozzy

sheathe script

Lua
2 years ago
game.Players.PlayerAdded:Connect(function(plr) plr.CharacterAdded:Connect(function(char) local humrp = char:WaitForChild("HumanoidRootPart") char.ChildAdded:Connect(function(child) if child:IsA("Tool") then

One Weapon System

Lua
2 years ago
--// SERVICES \\-- local ReplicatedStorage = game:GetService("ReplicatedStorage") local Debris = game:GetService("Debris") local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(plr) local char = plr.Character or plr.

Inventory System

Lua
2 years ago
--// SERVICES \\-- local ReplicatedStorage = game:GetService("ReplicatedStorage") local Players = game:GetService("Players") --// PLAYER SETTINGS \\-- local Player = Players.LocalPlayer local PlayerGui = Player:WaitForChild("PlayerGui")

Running Attack

Lua
2 years ago
function wait(t) local start = os.time() + t/10 repeat until os.time() > start end --LOCALSCRIPT-- --// SERVICES \\-- for fov = 1, 20 do

sword script

Lua
2 years ago
--// Game SERVICES \\-- local Players = game:GetService("Players") local RS = game:GetService("ReplicatedStorage") local SS = game:GetService("ServerStorage") local Debris = game:GetService("Debris") local TS = game:GetService("TweenService") --//

NPC System [ROBLOX]

Lua
2 years ago
--// SERVICES \\-- local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local Mobs = workspace:FindFirstChild("Mobs") local Target = nil

quest system

Lua
2 years ago
local RP = game:GetService("ReplicatedStorage") local Remotes = RP:WaitForChild("Remotes") local players = game:GetService("Players") players.PlayerAdded:Connect(function(plr) local Quest = Instance.new("Folder", plr) Quest.Name = "Quest"

num test

Lua
2 years ago
--SCROLL TO BOTTOM FOR FURTHER DETAILS local xN = {} function xN.short(bnum) bnum = xN.errorcorrection(bnum) local SNumber = bnum[2] local SNumber1 = bnum[1] local leftover = math.fmod(SNumber, 3) SNumber = math.floor(SNumber / 3)

bnum test

Lua
2 years ago
-- made by idontthinkofacool -- put number in input as 1e(any number as long ad it has less than 303 0s) dont put parentheses though -- example(1e100) or (1e8303447937337) -- bnum used for getting numbers past the lua limit --BigNum mode in Eternity

Ore Chances

Lua
2 years ago
local ores = { ["Dirt"] = 8.5, ["Stone"] = 6.5, ["Coal"] = 5, ["Tin"] = 4.2, ["Silver"] = 3.5, ["Gold"] = 2.3, ["Platinum"] = 1.4, ["Diamond"] = 0.7, ["Opal"] = 0.4,

scripts while doing in school

Lua
2 years ago
local value = io.read() print(os.clock() * value ^ value) local CompletedQuests = {} local plr = game:GetService("Players").PlayerAdded:Wait() local RS = game:GetService("ReplicatedStorage") local Remotes = RS:WaitForChild("Remotes") local Tools