xvc200

no chat natural disaster script made by Lukas

Jan 7th, 2025
9,781
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.34 KB | None | 0 0
  1. --[[
  2. WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
  3. ]]
  4. local Players = game:GetService("Players")
  5. local RunService = game:GetService("RunService")
  6. local UserInputService = game:GetService("UserInputService")
  7. local LocalPlayer = Players.LocalPlayer
  8. local Workspace = game:GetService("Workspace")
  9.  
  10. local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
  11. local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
  12.  
  13. local Folder = Instance.new("Folder", Workspace)
  14. local Part = Instance.new("Part", Folder)
  15. local Attachment1 = Instance.new("Attachment", Part)
  16. Part.Anchored = true
  17. Part.CanCollide = false
  18. Part.Transparency = 1
  19.  
  20. if not getgenv().Network then
  21. getgenv().Network = {
  22. BaseParts = {},
  23. Velocity = Vector3.new(14.46262424, 14.46262424, 14.46262424)
  24. }
  25.  
  26. Network.RetainPart = function(Part)
  27. if typeof(Part) == "Instance" and Part:IsA("BasePart") and Part:IsDescendantOf(Workspace) then
  28. table.insert(Network.BaseParts, Part)
  29. Part.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  30. Part.CanCollide = false
  31. end
  32. end
  33.  
  34. local function EnablePartControl()
  35. LocalPlayer.ReplicationFocus = Workspace
  36. RunService.Heartbeat:Connect(function()
  37. sethiddenproperty(LocalPlayer, "SimulationRadius", math.huge)
  38. for _, Part in pairs(Network.BaseParts) do
  39. if Part:IsDescendantOf(Workspace) then
  40. Part.Velocity = Network.Velocity
  41. end
  42. end
  43. end)
  44. end
  45.  
  46. EnablePartControl()
  47. end
  48.  
  49. local function ForcePart(v)
  50. if v:IsA("Part") and not v.Anchored and not v.Parent:FindFirstChild("Humanoid") and not v.Parent:FindFirstChild("Head") and v.Name ~= "Handle" then
  51. for _, x in next, v:GetChildren() do
  52. if x:IsA("BodyAngularVelocity") or x:IsA("BodyForce") or x:IsA("BodyGyro") or x:IsA("BodyPosition") or x:IsA("BodyThrust") or x:IsA("BodyVelocity") or x:IsA("RocketPropulsion") then
  53. x:Destroy()
  54. end
  55. end
  56. if v:FindFirstChild("Attachment") then
  57. v:FindFirstChild("Attachment"):Destroy()
  58. end
  59. if v:FindFirstChild("AlignPosition") then
  60. v:FindFirstChild("AlignPosition"):Destroy()
  61. end
  62. if v:FindFirstChild("Torque") then
  63. v:FindFirstChild("Torque"):Destroy()
  64. end
  65. v.CanCollide = false
  66. local Torque = Instance.new("Torque", v)
  67. Torque.Torque = Vector3.new(100000, 100000, 100000)
  68. local AlignPosition = Instance.new("AlignPosition", v)
  69. local Attachment2 = Instance.new("Attachment", v)
  70. Torque.Attachment0 = Attachment2
  71. AlignPosition.MaxForce = 9999999999999999
  72. AlignPosition.MaxVelocity = math.huge
  73. AlignPosition.Responsiveness = 200
  74. AlignPosition.Attachment0 = Attachment2
  75. AlignPosition.Attachment1 = Attachment1
  76. end
  77. end
  78.  
  79.  
  80.  
  81. local Players = game:GetService("Players")
  82. local RunService = game:GetService("RunService")
  83. local UserInputService = game:GetService("UserInputService")
  84. local SoundService = game:GetService("SoundService")
  85. local StarterGui = game:GetService("StarterGui")
  86. local TextChatService = game:GetService("TextChatService")
  87.  
  88. local LocalPlayer = Players.LocalPlayer
  89.  
  90. -- Sound Effects
  91. local function playSound(soundId)
  92. local sound = Instance.new("Sound")
  93. sound.SoundId = "rbxassetid://" .. soundId
  94. sound.Parent = SoundService
  95. sound:Play()
  96. sound.Ended:Connect(function()
  97. sound:Destroy()
  98. end)
  99. end
  100.  
  101. -- Play initial sound
  102. playSound("2865227271")
  103.  
  104. -- GUI Creation
  105. local ScreenGui = Instance.new("ScreenGui")
  106. ScreenGui.Name = "SuperRingPartsGUI"
  107. ScreenGui.ResetOnSpawn = false
  108. ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
  109.  
  110. local MainFrame = Instance.new("Frame")
  111. MainFrame.Size = UDim2.new(0, 220, 0, 190)
  112. MainFrame.Position = UDim2.new(0.5, -110, 0.5, -95)
  113. MainFrame.BackgroundColor3 = Color3.fromRGB(204, 0, 0) -- Light brown
  114. MainFrame.BorderSizePixel = 0
  115. MainFrame.Parent = ScreenGui
  116.  
  117. -- Make the GUI round
  118. local UICorner = Instance.new("UICorner")
  119. UICorner.CornerRadius = UDim.new(0, 20)
  120. UICorner.Parent = MainFrame
  121.  
  122. local Title = Instance.new("TextLabel")
  123. Title.Size = UDim2.new(1, 0, 0, 40)
  124. Title.Position = UDim2.new(0, 0, 0, 0)
  125. Title.Text = "Super Ring Parts v4"
  126. Title.TextColor3 = Color3.fromRGB(153, 0, 0) -- Dark brown
  127. Title.BackgroundColor3 = Color3.fromRGB(255, 51, 51) -- Lighter brown
  128. Title.Font = Enum.Font.Fondamento -- More elegant font
  129. Title.TextSize = 22
  130. Title.Parent = MainFrame
  131.  
  132. -- Round the title
  133. local TitleCorner = Instance.new("UICorner")
  134. TitleCorner.CornerRadius = UDim.new(0, 20)
  135. TitleCorner.Parent = Title
  136.  
  137. local ToggleButton = Instance.new("TextButton")
  138. ToggleButton.Size = UDim2.new(0.8, 0, 0, 35)
  139. ToggleButton.Position = UDim2.new(0.1, 0, 0.3, 0)
  140. ToggleButton.Text = "Ring Parts Off"
  141. ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 0, 255) -- Sienna
  142. ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) -- Cornsilk
  143. ToggleButton.Font = Enum.Font.Fondamento
  144. ToggleButton.TextSize = 18
  145. ToggleButton.Parent = MainFrame
  146.  
  147. -- Round the toggle button
  148. local ToggleCorner = Instance.new("UICorner")
  149. ToggleCorner.CornerRadius = UDim.new(0, 10)
  150. ToggleCorner.Parent = ToggleButton
  151.  
  152. local DecreaseRadius = Instance.new("TextButton")
  153. DecreaseRadius.Size = UDim2.new(0.2, 0, 0, 35)
  154. DecreaseRadius.Position = UDim2.new(0.1, 0, 0.6, 0)
  155. DecreaseRadius.Text = "<"
  156. DecreaseRadius.BackgroundColor3 = Color3.fromRGB(255, 153, 153) -- Saddle brown
  157. DecreaseRadius.TextColor3 = Color3.fromRGB(255, 255, 255) -- Cornsilk
  158. DecreaseRadius.Font = Enum.Font.Fondamento
  159. DecreaseRadius.TextSize = 18
  160. DecreaseRadius.Parent = MainFrame
  161.  
  162. -- Round the decrease button
  163. local DecreaseCorner = Instance.new("UICorner")
  164. DecreaseCorner.CornerRadius = UDim.new(0, 10)
  165. DecreaseCorner.Parent = DecreaseRadius
  166.  
  167. local IncreaseRadius = Instance.new("TextButton")
  168. IncreaseRadius.Size = UDim2.new(0.2, 0, 0, 35)
  169. IncreaseRadius.Position = UDim2.new(0.7, 0, 0.6, 0)
  170. IncreaseRadius.Text = ">"
  171. IncreaseRadius.BackgroundColor3 = Color3.fromRGB(255, 153, 153) -- Saddle brown
  172. IncreaseRadius.TextColor3 = Color3.fromRGB(255, 255, 255) -- Cornsilk
  173. IncreaseRadius.Font = Enum.Font.Fondamento
  174. IncreaseRadius.TextSize = 18
  175. IncreaseRadius.Parent = MainFrame
  176.  
  177. -- Round the increase button
  178. local IncreaseCorner = Instance.new("UICorner")
  179. IncreaseCorner.CornerRadius = UDim.new(0, 10)
  180. IncreaseCorner.Parent = IncreaseRadius
  181.  
  182. local RadiusDisplay = Instance.new("TextLabel")
  183. RadiusDisplay.Size = UDim2.new(0.4, 0, 0, 35)
  184. RadiusDisplay.Position = UDim2.new(0.3, 0, 0.6, 0)
  185. RadiusDisplay.Text = "Radius: 50"
  186. RadiusDisplay.BackgroundColor3 = Color3.fromRGB(255, 0, 0) -- Tan
  187. RadiusDisplay.TextColor3 = Color3.fromRGB(255, 255, 255) -- Dark brown
  188. RadiusDisplay.Font = Enum.Font.Fondamento
  189. RadiusDisplay.TextSize = 18
  190. RadiusDisplay.Parent = MainFrame
  191.  
  192. -- Round the radius display
  193. local RadiusCorner = Instance.new("UICorner")
  194. RadiusCorner.CornerRadius = UDim.new(0, 10)
  195. RadiusCorner.Parent = RadiusDisplay
  196.  
  197. local Watermark = Instance.new("TextLabel")
  198. Watermark.Size = UDim2.new(1, 0, 0, 20)
  199. Watermark.Position = UDim2.new(0, 0, 1, -20)
  200. Watermark.Text = "Super Ring [V4] by lukas"
  201. Watermark.TextColor3 = Color3.fromRGB(255, 255, 255) -- Dark brown
  202. Watermark.BackgroundTransparency = 1
  203. Watermark.Font = Enum.Font.Fondamento
  204. Watermark.TextSize = 14
  205. Watermark.Parent = MainFrame
  206.  
  207. -- Add minimize button
  208. local MinimizeButton = Instance.new("TextButton")
  209. MinimizeButton.Size = UDim2.new(0, 30, 0, 30)
  210. MinimizeButton.Position = UDim2.new(1, -35, 0, 5)
  211. MinimizeButton.Text = "-"
  212. MinimizeButton.BackgroundColor3 = Color3.fromRGB(0, 0, 255) -- Saddle brown
  213. MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255) -- Cornsilk
  214. MinimizeButton.Font = Enum.Font.Fondamento
  215. MinimizeButton.TextSize = 18
  216. MinimizeButton.Parent = MainFrame
  217.  
  218. -- Round the minimize button
  219. local MinimizeCorner = Instance.new("UICorner")
  220. MinimizeCorner.CornerRadius = UDim.new(0, 15)
  221. MinimizeCorner.Parent = MinimizeButton
  222.  
  223. -- Minimize functionality
  224. local minimized = false
  225. MinimizeButton.MouseButton1Click:Connect(function()
  226. minimized = not minimized
  227. if minimized then
  228. MainFrame:TweenSize(UDim2.new(0, 220, 0, 40), "Out", "Quad", 0.3, true)
  229. MinimizeButton.Text = "+"
  230. ToggleButton.Visible = false
  231. DecreaseRadius.Visible = false
  232. IncreaseRadius.Visible = false
  233. RadiusDisplay.Visible = false
  234. Watermark.Visible = false
  235. else
  236. MainFrame:TweenSize(UDim2.new(0, 220, 0, 190), "Out", "Quad", 0.3, true)
  237. MinimizeButton.Text = "-"
  238. ToggleButton.Visible = true
  239. DecreaseRadius.Visible = true
  240. IncreaseRadius.Visible = true
  241. RadiusDisplay.Visible = true
  242. Watermark.Visible = true
  243. end
  244. playSound("12221967")
  245. end)
  246.  
  247. -- Make GUI draggable
  248. local dragging
  249. local dragInput
  250. local dragStart
  251. local startPos
  252.  
  253. local function update(input)
  254. local delta = input.Position - dragStart
  255. MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  256. end
  257.  
  258. MainFrame.InputBegan:Connect(function(input)
  259. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  260. dragging = true
  261. dragStart = input.Position
  262. startPos = MainFrame.Position
  263.  
  264. input.Changed:Connect(function()
  265. if input.UserInputState == Enum.UserInputState.End then
  266. dragging = false
  267. end
  268. end)
  269. end
  270. end)
  271.  
  272. MainFrame.InputChanged:Connect(function(input)
  273. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  274. dragInput = input
  275. end
  276. end)
  277.  
  278. UserInputService.InputChanged:Connect(function(input)
  279. if input == dragInput and dragging then
  280. update(input)
  281. end
  282. end)
  283.  
  284. -- Ring Parts Logic
  285. if not getgenv().Network then
  286. getgenv().Network = {
  287. BaseParts = {},
  288. Velocity = Vector3.new(14.46262424, 14.46262424, 14.46262424)
  289. }
  290. Network.RetainPart = function(Part)
  291. if typeof(Part) == "Instance" and Part:IsA("BasePart") and Part:IsDescendantOf(workspace) then
  292. table.insert(Network.BaseParts, Part)
  293. Part.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  294. Part.CanCollide = false
  295. end
  296. end
  297. local function EnablePartControl()
  298. LocalPlayer.ReplicationFocus = workspace
  299. RunService.Heartbeat:Connect(function()
  300. sethiddenproperty(LocalPlayer, "SimulationRadius", math.huge)
  301. for _, Part in pairs(Network.BaseParts) do
  302. if Part:IsDescendantOf(workspace) then
  303. Part.Velocity = Network.Velocity
  304. end
  305. end
  306. end)
  307. end
  308. EnablePartControl()
  309. end
  310.  
  311. local radius = 50
  312. local height = 100
  313. local rotationSpeed = 1
  314. local attractionStrength = 1000
  315. local ringPartsEnabled = false
  316.  
  317. local function RetainPart(Part)
  318. if Part:IsA("BasePart") and not Part.Anchored and Part:IsDescendantOf(workspace) then
  319. if Part.Parent == LocalPlayer.Character or Part:IsDescendantOf(LocalPlayer.Character) then
  320. return false
  321. end
  322.  
  323. Part.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  324. Part.CanCollide = false
  325. return true
  326. end
  327. return false
  328. end
  329.  
  330. local parts = {}
  331. local function addPart(part)
  332. if RetainPart(part) then
  333. if not table.find(parts, part) then
  334. table.insert(parts, part)
  335. end
  336. end
  337. end
  338.  
  339. local function removePart(part)
  340. local index = table.find(parts, part)
  341. if index then
  342. table.remove(parts, index)
  343. end
  344. end
  345.  
  346. for _, part in pairs(workspace:GetDescendants()) do
  347. addPart(part)
  348. end
  349.  
  350. workspace.DescendantAdded:Connect(addPart)
  351. workspace.DescendantRemoving:Connect(removePart)
  352.  
  353. RunService.Heartbeat:Connect(function()
  354. if not ringPartsEnabled then return end
  355.  
  356. local humanoidRootPart = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
  357. if humanoidRootPart then
  358. local tornadoCenter = humanoidRootPart.Position
  359. for _, part in pairs(parts) do
  360. if part.Parent and not part.Anchored then
  361. local pos = part.Position
  362. local distance = (Vector3.new(pos.X, tornadoCenter.Y, pos.Z) - tornadoCenter).Magnitude
  363. local angle = math.atan2(pos.Z - tornadoCenter.Z, pos.X - tornadoCenter.X)
  364. local newAngle = angle + math.rad(rotationSpeed)
  365. local targetPos = Vector3.new(
  366. tornadoCenter.X + math.cos(newAngle) * math.min(radius, distance),
  367. tornadoCenter.Y + (height * (math.abs(math.sin((pos.Y - tornadoCenter.Y) / height)))),
  368. tornadoCenter.Z + math.sin(newAngle) * math.min(radius, distance)
  369. )
  370. local directionToTarget = (targetPos - part.Position).unit
  371. part.Velocity = directionToTarget * attractionStrength
  372. end
  373. end
  374. end
  375. end)
  376.  
  377. -- Button functionality
  378. ToggleButton.MouseButton1Click:Connect(function()
  379. ringPartsEnabled = not ringPartsEnabled
  380. ToggleButton.Text = ringPartsEnabled and "Ring Parts On" or "Ring Parts Off"
  381. ToggleButton.BackgroundColor3 = ringPartsEnabled and Color3.fromRGB(50, 205, 50) or Color3.fromRGB(160, 82, 45)
  382. playSound("12221967")
  383. end)
  384.  
  385. DecreaseRadius.MouseButton1Click:Connect(function()
  386. radius = math.max(1, radius - 2)
  387. RadiusDisplay.Text = "Radius: " .. radius
  388. playSound("12221967")
  389. end)
  390.  
  391. IncreaseRadius.MouseButton1Click:Connect(function()
  392. radius = math.min(1000, radius + 2)
  393. RadiusDisplay.Text = "Radius: " .. radius
  394. playSound("12221967")
  395. end)
  396.  
  397. -- Get player thumbnail
  398. local userId = Players:GetUserIdFromNameAsync("Robloxlukasgames")
  399. local thumbType = Enum.ThumbnailType.HeadShot
  400. local thumbSize = Enum.ThumbnailSize.Size420x420
  401. local content, isReady = Players:GetUserThumbnailAsync(userId, thumbType, thumbSize)
  402.  
  403. StarterGui:SetCore("SendNotification", {
  404. Title = "Super ring parts V4",
  405. Text = "enjoy",
  406. Icon = content,
  407. Duration = 5
  408. })
  409.  
Advertisement
Add Comment
Please, Sign In to add comment