--Script((Located under "Charlie" the Remote event
local W = game.Workspace
local C = W:WaitForChild("Charlie")
local R = script.Parent.Parent.Red
local function OnFired(player)
print("Currently, recieving.")
repeat
R:Resize("Top", 1)
wait(0.01)
until false
end
C.OnServerEvent:Connect(OnFired)
I've tried the wiki, in fact I wrote it just like it, just changed the names and put what I wanted it to do in.
--Local script((Located under Part))
local W = game.Workspace
local C = W:WaitForChild("Charlie")
local R = script.Parent.Parent.Red
while script.Parent.Touched == true do
C:FireServer()
end
I have my unfiltered vision as well, which another question.
If I just have the server script, will that require a remoteevent/remotefunction still, or does Filtering enabled just apply to player created events?
local Red = script.Parent.Parent.Red
local i = Red.Size
local countdown = 1
local CR = false
function run()
if CR == false then
if countdown == 1 then
CR = true
repeat
countdown = countdown + 1
Red:Resize("Top", 1)
wait(0.01)
until countdown == 10
CR = false
else
if countdown == 10 then
CR = true
repeat
countdown = countdown - 1
Red:Resize("Top", -1)
wait(0.01)
until countdown == 1
CR = false
end
end
elseif CR == true then
end
end
script.Parent.Touched:Connect(run)
Thank you for your assistance ;u;

1 comment
Ohhh. Okay! Thank you ;u;