errors in Line 24 and 7 Red Shifter and Titan is not valid member of local script what did i wrong?
Asked by
6 years ago Edited 6 years ago
wait(1)
repeat
wait(0.1)
until game.Players.LocalPlayer.Character
local Player = game.Players.LocalPlayer
local shifter
if Player.Name == script["Red Shifter"].Value then
shifter = script["Red Shifter"]
elseif Player.Name == script["Black Shifter"].Value then
shifter = script["Black Shifter"]
elseif Player.Name == script["Yellow Shifter"].Value then
shifter = script["Yellow Shifter"]
elseif Player.Name == script["King Shifter"].Value then
shifter = script["King Shifter"]
elseif Player.Name == script["Green Shifter"].Value then
shifter = script["Green Shifter"]
elseif Player.Name == script["Orange Shifter"].Value then
shifter = script["Orange Shifter"]
else
script:remove()
script.Disabled = true
end
local mouse = Player:GetMouse()
local OrigTitan = script.Titan
local NewTitan
local Debounce = false
local ChN = #script:GetChildren()
local enabled = false
local cooldown = false