Skip to content

Instantly share code, notes, and snippets.

@lansing
Created July 17, 2008 20:38
Show Gist options
  • Select an option

  • Save lansing/16 to your computer and use it in GitHub Desktop.

Select an option

Save lansing/16 to your computer and use it in GitHub Desktop.
UIDeviceOrientation orientation = [[UIDevice currentDevice] orientation];
if (orientation == UIInterfaceOrientationLandscapeRight || orientation == UIInterfaceOrientationLandscapeLeft ) {
NSLog(@"Landscape");
self.pageWidth = size.width;
self.pageHeight = size.height;
}
else {
NSLog(@"Portrait");
self.pageWidth = size.height;
self.pageHeight = size.width;
}
@Xuantho78

Copy link
Copy Markdown

Ok

@ssunti93-del

Copy link
Copy Markdown

-- นำสคริปต์นี้ไปใส่ใน Script ของ Part หรือ NPC ในเกมของคุณ
local part = script.Parent

-- ฟังก์ชันสำหรับตรวจสอบและตีบอลอัตโนมัติเมื่อลูกบอลเข้าใกล้
local function autoHitBall(ball)
if ball and ball:FindFirstChild("AssemblyLinearVelocity") then
-- พุ่งตัวหรือส่งแรงสะท้อนกลับไปยังลูกบอล
ball.AssemblyLinearVelocity = Vector3.new(0, 50, -50)
print("Auto Hit Triggered!")
end
end

-- ตรวจจับการสัมผัสหรือลูกบอลที่เข้ามาใกล้
part.Touched:Connect(function(hit)
if hit.Name == "Ball" then
autoHitBall(hit)
end
end)

@Sumitkumar8283

Copy link
Copy Markdown

Dear BGMI Support Team,

I am writing to respectfully request a review of my banned BGMI account. I believe the ban may have occurred due to an error or incorrect detection.

I kindly request you to manually review my account, ban reason, login history, and account activity. If the restriction was applied mistakenly, please consider removing the ban and restoring access to my account.

My account details are:

  • UID: [55691797637]
  • In-Game Name: [EGOēHEART]
  • Device: [VIVO Y 200 PRO 5G]
  • Login Method: [Google]
  • Last Login Date: [21/09/2026]
  • Ban Date: [21/09/2026]

I respect BGMI's rules and assure you that I will continue to follow all fair-play and security guidelines. I would be very grateful if you could reconsider my case and help me recover my account.

Thank you for your time and support.

Sincerely,
[Sumit]

@Sumitkumar8283

Copy link
Copy Markdown

Dear BGMI Support Team,

I am writing to respectfully request a review of my banned BGMI account. I believe the ban may have occurred due to an error or incorrect detection.

I kindly request you to manually review my account, ban reason, login history, and account activity. If the restriction was applied mistakenly, please consider removing the ban and restoring access to my account.

My account details are:

  • UID: [55691797637]
  • In-Game Name: [EGOēHEART]
  • Device: [VIVO Y 200 PRO 5G]
  • Login Method: [Google]
  • Last Login Date: [21/09/2026]
  • Ban Date: [21/09/2026]

I respect BGMI's rules and assure you that I will continue to follow all fair-play and security guidelines. I would be very grateful if you could reconsider my case and help me recover my account.

Thank you for your time and support.

Sincerely,
[Sumit]
Uploading 74824.jpg…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment