C00lkidd27

R6/R15 Script

Oct 19th, 2024
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. -- R6/R15 Dönüşüm GUI Script
  2.  
  3. -- GUI ayarları
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local MainFrame = Instance.new("Frame")
  6. local TitleLabel = Instance.new("TextLabel")
  7. local R6Button = Instance.new("TextButton")
  8. local R15Button = Instance.new("TextButton")
  9. local CloseButton = Instance.new("TextButton")
  10.  
  11. -- GUI bileşenlerini ayarla
  12. ScreenGui.Parent = game.CoreGui
  13.  
  14. MainFrame.Parent = ScreenGui
  15. MainFrame.Size = UDim2.new(0, 300, 0, 200)
  16. MainFrame.Position = UDim2.new(0.5, -150, 0.5, -100)
  17. MainFrame.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  18.  
  19. TitleLabel.Parent = MainFrame
  20. TitleLabel.Size = UDim2.new(1, 0, 0, 50)
  21. TitleLabel.Text = "R6/R15 Dönüşüm"
  22. TitleLabel.TextColor3 = Color3.new(1, 1, 1)
  23. TitleLabel.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  24.  
  25. R6Button.Parent = MainFrame
  26. R6Button.Size = UDim2.new(0, 250, 0, 50)
  27. R6Button.Position = UDim2.new(0.5, -125, 0.3, 0)
  28. R6Button.Text = "R6'ya Dön"
  29. R6Button.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3)
  30.  
  31. R15Button.Parent = MainFrame
  32. R15Button.Size = UDim2.new(0, 250, 0, 50)
  33. R15Button.Position = UDim2.new(0.5, -125, 0.5, 0)
  34. R15Button.Text = "R15'e Dön"
  35. R15Button.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3)
  36.  
  37. CloseButton.Parent = MainFrame
  38. CloseButton.Size = UDim2.new(0, 100, 0, 50)
  39. CloseButton.Position = UDim2.new(0.5, -50, 0.8, 0)
  40. CloseButton.Text = "Kapat"
  41. CloseButton.BackgroundColor3 = Color3.new(1, 0.2, 0.2)
  42.  
  43. -- R6/R15 dönüşüm fonksiyonları
  44. R6Button.MouseButton1Click:Connect(function()
  45. local player = game.Players.LocalPlayer
  46. player.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Freefall) -- Düşme durumu
  47. player.Character.Humanoid.RigType = Enum.HumanoidRigType.R6
  48. end)
  49.  
  50. R15Button.MouseButton1Click:Connect(function()
  51. local player = game.Players.LocalPlayer
  52. player.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Freefall) -- Düşme durumu
  53. player.Character.Humanoid.RigType = Enum.HumanoidRigType.R15
  54. end)
  55.  
  56. -- Kapatma fonksiyonu
  57. CloseButton.MouseButton1Click:Connect(function()
  58. ScreenGui:Destroy()
  59. end)
  60.  
  61.  
Advertisement
Add Comment
Please, Sign In to add comment