Advertisement
Prokri43

Xyzcmds v2 for lite

Aug 29th, 2024
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.13 KB | None | 0 0
  1. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  2. Text = "Loaded!";
  3. Color = Color3.new(0, 0, 0);
  4. Font = Enum.Font.SourceSansBold;
  5. FontSize = Enum.FontSize.Size24;
  6. })
  7.  
  8. task.wait(2)
  9.  
  10. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  11. Text = "Welcome "..user.." ("..user2..") to XyzCmds";
  12. Color = Color3.new(0, 0, 0);
  13. Font = Enum.Font.SourceSansBold;
  14. FontSize = Enum.FontSize.Size24;
  15. })
  16.  
  17. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  18. Text = "Say ,cmds for a list of cmds (perfix is comma)";
  19. Color = Color3.new(0, 0, 0);
  20. Font = Enum.Font.SourceSansBold;
  21. FontSize = Enum.FontSize.Size24;
  22. })
  23.  
  24.  
  25. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  26. if msg == ",house" then game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x, 28.3, 82.4)
  27. x = x - 4
  28. wait(0.01)
  29. end
  30. end)
  31. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  32. if msg == ",pads" then game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x, 28.3, 106.4)
  33. x = x - 4
  34. wait(0.01)
  35. end
  36. end)
  37.  
  38.  
  39. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  40.  
  41. if msg == ",spawn" then game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x, 20, -42)
  42. x = x - 4
  43. wait(0.01)
  44. end
  45. end)
  46.  
  47. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  48.  
  49. if msg == ",hop" then game.Players:Chat("!newserver")
  50. end
  51. end)
  52.  
  53. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  54.  
  55. if msg == ",pc" then game.Players:Chat(":partcount")
  56. end
  57. end)
  58.  
  59. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  60.  
  61. if msg == ",rj" then game.Players:Chat("!rejoin")
  62. end
  63. end)
  64.  
  65. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  66.  
  67. if msg == ",clean" then game.Players:Chat(":free all | :starterremove all all | :re all | :music | :uncharaudio all | :clr | :clrt | :wait 1 | :flynoclip | :f3x | :god all | :ff all")
  68. end
  69. end)
  70.  
  71. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  72.  
  73. if msg == ",admin" then
  74. workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
  75. local hrp = game.Players.LocalPlayer.Character.HumanoidRootPart
  76. local PlrPos = hrp.CFrame
  77. local AdminPadPos= 13.6
  78. for I = 1, 9, 1 do
  79. hrp.CFrame = CFrame.new(AdminPadPos, 26.5, 105.5)
  80. AdminPadPos = AdminPadPos - 4
  81. task.wait(0)
  82. end
  83. hrp.CFrame = PlrPos
  84. workspace.CurrentCamera.CameraType = Enum.CameraType.Track
  85. end
  86. end)
  87.  
  88. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  89.  
  90. if msg == ",reset" then
  91. local plr = game.Players
  92. local plr2 = game.Players.LocalPlayer
  93. local hrp = game.Players.LocalPlayer.Character.HumanoidRootPart
  94. local PlrPos = hrp.CFrame
  95. for I = 1, 2, 1 do
  96. hrp.CFrame = CFrame.new(22, 28.5, 105.5)
  97. fireclickdetector(game.workspace.SecureParts.ResetPads.ClickDetector)
  98. task.wait(0)
  99. fireclickdetector(game.workspace.SecureParts.ResetPads.ClickDetector)
  100. task.wait(0)
  101. fireclickdetector(game.workspace.SecureParts.ResetPads.ClickDetector)
  102. task.wait(0)
  103. fireclickdetector(game.workspace.SecureParts.ResetPads.ClickDetector)
  104. task.wait(0)
  105. end
  106. hrp.CFrame = PlrPos
  107. end
  108. end)
  109.  
  110. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  111. if msg == ",cmds" then local user = game.Players.LocalPlayer.DisplayName
  112. local user2 = game.Players.LocalPlayer.Name
  113. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  114. Text = "Welcome "..user.." ("..user2..") to XyzCmds";
  115. Color = Color3.new(0, 0, 0);
  116. Font = Enum.Font.SourceSansBold;
  117. FontSize = Enum.FontSize.Size24;
  118. })
  119. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  120. Text = "Perfix is , (comma)";
  121. Color = Color3.new(0, 0, 0);
  122. Font = Enum.Font.SourceSansBold;
  123. FontSize = Enum.FontSize.Size24;
  124. })
  125. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  126. Text = ",house (Tps you to the admin house)";
  127. Color = Color3.new(0, 0, 0);
  128. Font = Enum.Font.SourceSansBold;
  129. FontSize = Enum.FontSize.Size24;
  130. })
  131. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  132. Text = ",pads (Tps you infornt of the pads)";
  133. Color = Color3.new(0, 0, 0);
  134. Font = Enum.Font.SourceSansBold;
  135. FontSize = Enum.FontSize.Size24;
  136. })
  137. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  138. Text = ",admin (Gets you admin)";
  139. Color = Color3.new(0, 0, 0);
  140. Font = Enum.Font.SourceSansBold;
  141. FontSize = Enum.FontSize.Size24;
  142. })
  143.  
  144. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  145. Text = ",pc (just partcount I needed that ;-;)";
  146. Color = Color3.new(0, 0, 0);
  147. Font = Enum.Font.SourceSansBold;
  148. FontSize = Enum.FontSize.Size24;
  149. })
  150. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  151. Text = ",clean (cleans the server I tried)";
  152. Color = Color3.new(0, 0, 0);
  153. Font = Enum.Font.SourceSansBold;
  154. FontSize = Enum.FontSize.Size24;
  155. })
  156. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  157. Text = ",hop (server hop)";
  158. Color = Color3.new(0, 0, 0);
  159. Font = Enum.Font.SourceSansBold;
  160. FontSize = Enum.FontSize.Size24;
  161. })
  162.  
  163. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  164. Text = ",rj (rejoin)";
  165. Color = Color3.new(0, 0, 0);
  166. Font = Enum.Font.SourceSansBold;
  167. FontSize = Enum.FontSize.Size24;
  168. })
  169.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement