Dev Help please (code in disc)
-- script 1, this script adds the points
local addPoints = game.ReplicatedStorage:WaitForChild("AddPoints")
addPoints.OnServerEvent:Connect(function(player)
local leaderstats = player:WaitForChild("leaderstats")
local rebirths = leaderstats:WaitForChild("Rebirths")
local adds = 1 * rebirths.Value
if adds == 0 then
adds = 1
end
player.leaderstats.Steps.Value += adds
end)
-- script 2, the shop script (also instead of the angled brackets, beecause of youtube it will be replaced with ) and ( )
local function gogo()
local plr = game.Players.LocalPlayer
local leaderstats = plr:WaitForChild("leaderstats")
local steps = leaderstats.Steps
local rebirths = leaderstats.Rebirths
local traildata = leaderstats.Trail
local randomval = math.random(1,5)
if steps.Value )= 5000 then
steps.Value = steps.Value - 5000
traildata.Value = randomval
end
end
script.Parent.MouseButton1Click:Connect(gogo)
Other Videos By Kn1ght
2022-10-05 | Kiriko is kinda insane (play of the game) |
2022-09-03 | Valorant is fun |
2022-09-03 | Top 3 Organs You Can Live Without |
2022-08-22 | Enter The Gungeon but i suck |
2022-08-22 | Geometry Dash x PORTAL || Random Game Facts || |
2022-07-11 | Minecraft on a stupid realm i have no freinds on java :( |
2022-07-06 | beat saber but its just normal |
2022-06-12 | Bored Valorant With A Guy Who Cant Play Valorant! |
2022-05-22 | gimmy jerry box now |
2022-05-22 | JERRY IS HERE |
2022-04-20 | Dev Help please (code in disc) |
2022-04-13 | Valorant But Im Stuck In Iron |
2022-03-11 | Valorant With Viewers |
2022-03-10 | Valorant With Da Bois (i have no friends) |
2022-03-10 | Valorant With Da Bois (i have no friends) |
2022-03-06 | “IM NOT HACKING I AM JUST GOOD” - The Movie |
2022-01-25 | My Train Burned Down In Rail Frenzy |
2022-01-03 | Beatsaber is epiccc |
2022-01-03 | Beatsaber is epiccc |
2021-12-31 | Playin Games Cuz I Dont Know What Else To Do On New Years Eve |Kn1ght| |
2021-11-28 | valorant for my first time kinda |
Other Statistics
Roblox Statistics For Kn1ght
Kn1ght presently has 490 views for Roblox across 15 videos, and about 4 hours worth of Roblox videos were uploaded to his channel. This makes up 14.24% of the content that Kn1ght has uploaded to YouTube.