Skip to content

Instantly share code, notes, and snippets.

@stellar-4242
Created January 7, 2022 07:19
Show Gist options
  • Save stellar-4242/69204e23fdd0bb4e7940b7e10bbd8bdc to your computer and use it in GitHub Desktop.
Save stellar-4242/69204e23fdd0bb4e7940b7e10bbd8bdc to your computer and use it in GitHub Desktop.
Find The Markers Grab All
workspace.Gravity = 0
game:GetService('RunService').Stepped:Connect(function()
if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
end
end)
for k, v in next, workspace:GetDescendants() do
if v.ClassName == 'TouchTransmitter' and v:FindFirstAncestorOfClass('Model') and v:FindFirstAncestorOfClass('Model').Name:find('Marker') then
for i = 1, 65 do
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Parent.CFrame + Vector3.new(0, -1, 0)
task.wait(0.1)
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Parent.CFrame + Vector3.new(0, 1, 0)
end
end
end
workspace.Gravity = 196
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment