HOW TO MAKE A GAME LIKE SANS MULTIVERSAL BATTLES - PART 1 | Roblox Studio Tutorial
Give Weapon (Bonezone or BlasterGaster) Script:
local item = game:GetService("ReplicatedStorage"):WaitForChild("GasterBlaster") -- u can remove the blaster gaster to what tool u want !
local db = true
script.Parent.Touched:connect(function(part)
if part.Parent:FindFirstChild("Humanoid") ~= nil then
local player = game.Players:GetPlayerFromCharacter(part.Parent)
if player ~= nil then
if player.Backpack ~= nil then
if db == true then
db = false
item:Clone().Parent = player.Backpack
wait(1)
db = true
end
end
end
end
end)
Give Bone Weapon:
local debounce = false
function getPlayer(humanoid)
local players = game.Players:children()
for i = 1, #players do
if players[i].Character.Humanoid == humanoid then return players[i] end
end
return nil
end
function onTouch(part)
local human = part.Parent:findFirstChild("Humanoid")
if (human ~= nil) and debounce == false then
debounce = true
local player = getPlayer(human)
if (player == nil) then return end
script.Parent:clone().Parent = player.Backpack
wait(2)
debounce = false
end
end
Teleport Script:
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild('Humanoid') then
hit.Parent.Head.CFrame = CFrame.new(Value)
end
end)
Other Videos By Kiritokrm
Other Statistics
Roblox Statistics For Kiritokrm
Currently, Kiritokrm has 424,432 views for Roblox across 29 videos. There's close to 2 hours worth of content for Roblox published on his channel, or 11.74% of the total watchable video on Kiritokrm's YouTube channel.