🗺️ Military Tycoon ®
18.5k Views
1.1k Executions

Collect all laser truck event batteries (but with toggle)

Military Tycoon
Bebedi
Bebedi
Verified Badge
Verified User
1M views
4 years ago
Please login to perform these actions:

Collect all laser truck event batteries (but with toggle) is a Military Tycoon script for Roblox, uploaded to ScriptBlox on Jul 24, 2022.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

idk i was just bored

View Raw
getgenv().acollect = true

while getgenv().acollect do
	wait()
	for _, v in pairs(game:GetService("Workspace").EventsFolder.BatteryEvent:GetDescendants()) do
		if v.Name == "TouchInterest" then
			if not getgenv().acollect then break end
        	local tween_s = game:GetService('TweenService')
            local tweeninfo = TweenInfo.new(1,Enum.EasingStyle.Linear)
            local lp = game.Players.LocalPlayer
                        
            if lp.Character and 
            lp.Character:FindFirstChild('HumanoidRootPart') then
                local cf = CFrame.new(v.Parent.Position)
                local a = tween_s:Create(lp.Character.HumanoidRootPart,tweeninfo,{CFrame=cf})
                a:Play()
            end
			wait(1)
		end
	end
end


Comments

6
Log in to join the conversation. Login
yeyeyet82's profile picture
yeyeyet824 years ago(edited)

now do it for the new event :D

1
Pretender's profile picture
Pretender4 years ago(edited)

awesome script thanks

1
calanuunuu1's profile picture
calanuunuu14 years ago(edited)

works now ty

1
Bebedi's profile picture
BebediVerified
Verified Badge
Verified User
Uploader4 years ago(edited)

@Gorgeous change the "getgenv().acollect = false" to "getgenv().acollect = true" and try again

1
Gorgeous's profile picture
Gorgeous4 years ago(edited)

It’s not working at all. Maybe it requires something? Doesn’t work.

1
Bebedi's profile picture
BebediVerified
Verified Badge
Verified User
Uploader4 years ago(edited)

bruh the script is literally working perfectly and still i got 3 dislikes

1