Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i get a weapon from "Lighting" for a killer?

Asked by 10 years ago

This is my script:

local wep = Game.Lighting:findFirstChild("Blade")
if player == "Dominator" then
blade = dominator.StarterPack
gearplace = blade.StarterGear

it dosent work. can somewone help me?

1 answer

Log in to vote
1
Answered by 10 years ago

Use the Clone method

local Wep = game.Lighting:findFirstChild("Blade"):Clone()
Wep.Parent = player.StarterPack
Wep.Parent  = player.StarterGear

Ad

Answer this question