The title says it all.
Here's the code;
plr = script.Parent.Parent
UIS = game:GetService("UserInputService")
Aura = game.ServerStorage:WaitForChild("ChronosAura")
obool = true
if script.Parent.Parent.Name == "Player1" then
print("He's here.. giving aura to Chronos/Waiting for on key")
UIS.InputBegan:connect(function(Input,gameProcessed)
if Input.KeyCode == Enum.KeyCode.Q then
if obool == true then
print("AURA LOADING IN!!")
wait()
if plr.Character.Head:FindFirstChild("Lightning") then
wait()
plr.Character.Head.Lightning.Enabled = true
plr.Character["Left Arm"].Lightning.Enabled = true
plr.Character["Right Arm"].Lightning.Enabled = true
plr.Character["Left Leg"].Lightning.Enabled = true
plr.Character["Right Leg"].Lightning.Enabled = true
plr.Character.Torso.Lightning.Enabled = true
else
print("doesnt have aura")
Aura.Head.Lightning.Parent = plr.Character.Head
Aura["Left Arm"].Lightning.Parent = plr.Character["Left Arm"]
Aura["Right Arm"].Lightning.Parent = plr.Character["Right Arm"]
Aura["Left Leg"].Lightning.Parent = plr.Character["Left Leg"]
Aura["Right Leg"].Lightning.Parent = plr.Character["Right Leg"]
Aura.Torso.Lightning.Parent = plr.Character.Torso
end
bool = true
obool = false
end
else
end
end)
UIS.InputBegan:connect(function(input,gameProcessed)
if input.KeyCode == Enum.KeyCode.Q then
if bool == true then
print("aura closing")
wait()
plr.Character.Head.Lightning.Enabled = false
plr.Character["Left Arm"].Lightning.Enabled = false
plr.Character["Right Arm"].Lightning.Enabled = false
plr.Character["Left Leg"].Lightning.Enabled = false
plr.Character["Right Leg"].Lightning.Enabled = false
plr.Character.Torso.Lightning.Enabled = false
obool = true
bool = false
end
end
end)
end
That code is getting particles from a model called 'ChronosAura' in ServerStorage and when i play in server it says chronosaura is not a valid member of serverstorage..
This code is located in a LocalScript in StarterPack and the game is not filtering enabled.
If you need anymore details ask

2 comments
Ok thank's I will try that.
Thanks a lot it worked, i learned from this and it will help me a lot in the future.. if you want credit for your help post an answer