Slomcal

MESOZOICO

Jan 6th, 2026 (edited)
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.67 KB | None | 0 0
  1. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4. Name = "DISCONTINUED AS OF 1/11/2026///CONTINUED AS OF 2/21/2026",
  5. Icon = 0,
  6. LoadingTitle = "Rayfield Interface Suite",
  7. LoadingSubtitle = "by Sirius",
  8. ShowText = "Rayfield",
  9. Theme = "Default",
  10. ToggleUIKeybind = "K",
  11. DisableRayfieldPrompts = false,
  12. DisableBuildWarnings = false,
  13. ConfigurationSaving = {
  14. Enabled = true,
  15. FolderName = nil,
  16. FileName = "slommy hub"
  17. },
  18. Discord = {
  19. Enabled = false,
  20. Invite = "noinvitelink",
  21. RememberJoins = true
  22. },
  23. KeySystem = false,
  24. KeySettings = {
  25. Title = "Untitled",
  26. Subtitle = "Key System",
  27. Note = "No method of obtaining the key is provided",
  28. FileName = "Key",
  29. SaveKey = true,
  30. GrabKeyFromSite = false,
  31. Key = {"Hello"}
  32. }
  33. })
  34.  
  35. local Tab = Window:CreateTab("Auto stuff idk", 4483362458)
  36.  
  37. local function AUTOEAT()
  38. print("PLACE HOLDER")
  39. end
  40.  
  41. local Button = Tab:CreateButton({
  42. Name = "PLACE HOLDER FOR FUTURE FEATURE",
  43. Callback = function()
  44. AUTOEAT()
  45. end,
  46. })
  47.  
  48. local function LAYHEAL()
  49. local args = {"Sitting"}
  50. game:GetService("ReplicatedStorage"):WaitForChild("Rest"):FireServer(unpack(args))
  51. print("layy heall enabledddd")
  52. end
  53.  
  54. local Button = Tab:CreateButton({
  55. Name = "Lay Heal",
  56. Callback = function()
  57. LAYHEAL()
  58. Rayfield:Notify({
  59. Title = "Notice",
  60. Content = "Dont Lay After enabling ts(pls appear)",
  61. Duration = 6.5,
  62. Image = 4483362458,
  63. })
  64. end,
  65. })
  66.  
  67. local Players = game:GetService("Players")
  68. local LocalPlayer = Players.LocalPlayer
  69. local RunService = game:GetService("RunService")
  70.  
  71. -- Variables for neck size
  72. local neckSize = 25
  73. local neckConnection = nil
  74. local trackedNecks = {}
  75. local isActive = false
  76.  
  77. local function autoneck()
  78. if neckConnection then
  79. neckConnection:Disconnect()
  80. neckConnection = nil
  81. end
  82.  
  83. for neckPart, _ in pairs(trackedNecks) do
  84. if neckPart and neckPart.Parent then
  85. neckPart:Destroy()
  86. end
  87. end
  88. trackedNecks = {}
  89.  
  90. isActive = true
  91.  
  92. local function processNeckPart(neckPart, character)
  93. if character == LocalPlayer.Character then return end
  94. if neckPart:IsA("BasePart") then
  95. neckPart.Size = Vector3.new(neckSize, neckSize, neckSize)
  96. neckPart.Transparency = 0.9
  97. trackedNecks[neckPart] = character
  98. end
  99. end
  100.  
  101. local function isDead(character)
  102. local humanoid = character:FindFirstChildOfClass("Humanoid")
  103. if humanoid then return humanoid.Health <= 0 end
  104. return false
  105. end
  106.  
  107. local function cleanupDeadNecks()
  108. for neckPart, character in pairs(trackedNecks) do
  109. if not neckPart or not neckPart.Parent or not character or not character.Parent or isDead(character) then
  110. if neckPart and neckPart.Parent then
  111. neckPart:Destroy()
  112. end
  113. trackedNecks[neckPart] = nil
  114. end
  115. end
  116. end
  117.  
  118. for _, descendant in pairs(workspace:GetDescendants()) do
  119. if descendant:IsA("Humanoid") then
  120. local character = descendant.Parent
  121. if character and character ~= LocalPlayer.Character then
  122. local neck = character:FindFirstChild("Neck")
  123. if neck then processNeckPart(neck, character) end
  124. for i = 1, 22 do
  125. local neckPart = character:FindFirstChild("Neck" .. i)
  126. if neckPart then processNeckPart(neckPart, character) end
  127. end
  128. end
  129. end
  130. end
  131.  
  132. neckConnection = RunService.RenderStepped:Connect(function()
  133. if not isActive then return end
  134. cleanupDeadNecks()
  135. for neckPart, _ in pairs(trackedNecks) do
  136. if neckPart and neckPart.Parent then
  137. if neckPart.Size ~= Vector3.new(neckSize, neckSize, neckSize) then
  138. neckPart.Size = Vector3.new(neckSize, neckSize, neckSize)
  139. end
  140. if neckPart.Transparency ~= 0.9 then
  141. neckPart.Transparency = 0.9
  142. end
  143. end
  144. end
  145. end)
  146.  
  147. workspace.DescendantAdded:Connect(function(descendant)
  148. if not isActive then return end
  149. if descendant:IsA("BasePart") then
  150. local isNeck = descendant.Name == "Neck" or descendant.Name:match("^Neck%d+$")
  151. if isNeck then
  152. local character = descendant.Parent
  153. if character and character ~= LocalPlayer.Character then
  154. processNeckPart(descendant, character)
  155. end
  156. end
  157. end
  158. end)
  159. end
  160.  
  161. local Button = Tab:CreateButton({
  162. Name = "Neck Hurt",
  163. Callback = function()
  164. autoneck()
  165. Rayfield:Notify({
  166. Title = "Neck Hurt",
  167. Content = "Enabled - Necks deleted on death",
  168. Duration = 5,
  169. Image = 4483362458,
  170. })
  171. end,
  172. })
  173.  
  174. local Slider = Tab:CreateSlider({
  175. Name = "Neck Size",
  176. Range = {1, 100},
  177. Increment = 1,
  178. Suffix = "Studs",
  179. CurrentValue = 25,
  180. Flag = "NeckSizeSlider",
  181. Callback = function(Value)
  182. neckSize = Value
  183. end,
  184. })
  185.  
  186. local function AUTOMINIGAME()
  187. while true do
  188. game:GetService("ReplicatedStorage"):WaitForChild("AddMinigameCount"):FireServer()
  189. wait(1.5)
  190. end
  191. end
  192.  
  193. local Button = Tab:CreateButton({
  194. Name = "AUTO MINIGAME 1.5sec",
  195. Callback = function()
  196. AUTOMINIGAME()
  197. end,
  198. })
  199.  
  200. -- ========== ESP TAB ==========
  201. local Tab2 = Window:CreateTab("ESP", 4483362458)
  202.  
  203. local ESPEnabled = false
  204. local MaxDistance = 10000
  205. local ESPObjects = {}
  206. local ESPConnections = {}
  207.  
  208. local function ClearESP()
  209. for _, v in pairs(ESPObjects) do
  210. if v and v.Parent then pcall(function() v:Destroy() end) end
  211. end
  212. ESPObjects = {}
  213. end
  214.  
  215. local function CreateESP(CreatureModel)
  216. if not CreatureModel then return end
  217. if not CreatureModel.Parent then return end
  218.  
  219. if CreatureModel == LocalPlayer.Character then return end
  220. if CreatureModel.Name == LocalPlayer.Name then return end
  221.  
  222. local hrp = CreatureModel:FindFirstChild("HumanoidRootPart")
  223. if not hrp then return end
  224.  
  225. local humanoid = CreatureModel:FindFirstChildOfClass("Humanoid")
  226. if not humanoid then return end
  227.  
  228. local TrueCreature = CreatureModel:FindFirstChild("TrueCreature")
  229. local CreatureNameVal = CreatureModel:FindFirstChild("CreatureName")
  230. local CreatureName = ""
  231.  
  232. if TrueCreature and TrueCreature:IsA("StringValue") and TrueCreature.Value ~= "" then
  233. CreatureName = TrueCreature.Value
  234. elseif CreatureNameVal and CreatureNameVal:IsA("StringValue") and CreatureNameVal.Value ~= "" then
  235. CreatureName = CreatureNameVal.Value
  236. else
  237. return
  238. end
  239.  
  240. local Username = CreatureModel.Name
  241. local Health = math.floor(humanoid.Health)
  242. local MaxHealth = math.floor(humanoid.MaxHealth)
  243.  
  244. -- Calculate distance from local player
  245. local Distance = 0
  246. local myChar = LocalPlayer.Character
  247. if myChar then
  248. local myHrp = myChar:FindFirstChild("HumanoidRootPart")
  249. if myHrp then
  250. Distance = math.floor((myHrp.Position - hrp.Position).Magnitude)
  251. end
  252. end
  253.  
  254. local fillColor, outlineColor
  255. local lowerName = string.lower(CreatureName)
  256. if string.find(lowerName, "tyrannosaurus") or string.find(lowerName, "rex") then
  257. fillColor = Color3.fromRGB(255, 80, 80)
  258. outlineColor = Color3.fromRGB(255, 0, 0)
  259. elseif string.find(lowerName, "gallimimus") then
  260. fillColor = Color3.fromRGB(100, 255, 100)
  261. outlineColor = Color3.fromRGB(0, 255, 0)
  262. else
  263. fillColor = Color3.fromRGB(255, 255, 100)
  264. outlineColor = Color3.fromRGB(255, 255, 0)
  265. end
  266.  
  267. -- Apply highlights to all parts EXCEPT necks
  268. pcall(function()
  269. for _, child in pairs(CreatureModel:GetDescendants()) do
  270. if child:IsA("BasePart") then
  271. local isNeckPart = child.Name == "Neck" or child.Name:match("^Neck%d+$")
  272.  
  273. if not isNeckPart then
  274. local h = Instance.new("Highlight")
  275. h.FillTransparency = 0.5
  276. h.OutlineTransparency = 0.3
  277. h.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
  278. h.FillColor = fillColor
  279. h.OutlineColor = outlineColor
  280. h.Parent = child
  281. table.insert(ESPObjects, h)
  282. end
  283. end
  284. end
  285. end)
  286.  
  287. -- Create Billboard
  288. local success2, Billboard = pcall(function()
  289. local b = Instance.new("BillboardGui")
  290. b.Adornee = hrp
  291. b.Size = UDim2.new(0, 200, 0, 50)
  292. b.StudsOffset = Vector3.new(0, 5, 0)
  293. b.AlwaysOnTop = true
  294. b.MaxDistance = MaxDistance
  295. b.LightInfluence = 0
  296. b.Parent = CreatureModel
  297.  
  298. local Frame = Instance.new("Frame")
  299. Frame.Size = UDim2.new(1, 0, 1, 0)
  300. Frame.BackgroundTransparency = 1
  301. Frame.Parent = b
  302.  
  303. local UIListLayout = Instance.new("UIListLayout")
  304. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  305. UIListLayout.Parent = Frame
  306.  
  307. -- Creature Name + Health + Distance (TOP)
  308. local NameLabel = Instance.new("TextLabel")
  309. NameLabel.BackgroundTransparency = 1
  310. NameLabel.Size = UDim2.new(1, 0, 0, 18)
  311. NameLabel.Text = CreatureName .. " [" .. Health .. "/" .. MaxHealth .. "] [Dist:" .. Distance .. "]"
  312. NameLabel.TextColor3 = Color3.new(1, 1, 1)
  313. NameLabel.TextStrokeTransparency = 0
  314. NameLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
  315. NameLabel.Font = Enum.Font.Code
  316. NameLabel.TextSize = 14
  317. NameLabel.LayoutOrder = 1
  318. NameLabel.Parent = Frame
  319.  
  320. -- Username (BELOW)
  321. local UserLabel = Instance.new("TextLabel")
  322. UserLabel.BackgroundTransparency = 1
  323. UserLabel.Size = UDim2.new(1, 0, 0, 18)
  324. UserLabel.Text = Username
  325. UserLabel.TextColor3 = Color3.fromRGB(180, 180, 180)
  326. UserLabel.TextStrokeTransparency = 0
  327. UserLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
  328. UserLabel.Font = Enum.Font.Code
  329. UserLabel.TextSize = 12
  330. UserLabel.LayoutOrder = 2
  331. UserLabel.Parent = Frame
  332.  
  333. return b
  334. end)
  335.  
  336. if success2 and Billboard then
  337. table.insert(ESPObjects, Billboard)
  338. end
  339. end
  340.  
  341. local function ScanAndESP()
  342. if not ESPEnabled then return end
  343. ClearESP()
  344.  
  345. local scanCoroutine = coroutine.create(function()
  346. for _, obj in pairs(workspace:GetChildren()) do
  347. if not ESPEnabled then break end
  348. if obj:IsA("Model") then
  349. pcall(function() CreateESP(obj) end)
  350. end
  351. wait()
  352. end
  353. end)
  354. coroutine.resume(scanCoroutine)
  355. end
  356.  
  357. local function UpdateMaxDistance(newDistance)
  358. MaxDistance = newDistance
  359. for _, obj in pairs(ESPObjects) do
  360. if obj and obj.Parent and obj:IsA("BillboardGui") then
  361. obj.MaxDistance = MaxDistance
  362. end
  363. end
  364. end
  365.  
  366. local function DisconnectAll()
  367. for _, conn in pairs(ESPConnections) do
  368. if conn then pcall(function() conn:Disconnect() end) end
  369. end
  370. ESPConnections = {}
  371. end
  372.  
  373. -- Main ESP Toggle
  374. local ESPToggle = Tab2:CreateToggle({
  375. Name = "PLAYER ESP",
  376. CurrentValue = false,
  377. Flag = "CreatureESP_Main",
  378. Callback = function(Value)
  379. ESPEnabled = Value
  380. if ESPEnabled then
  381. ScanAndESP()
  382.  
  383. local childAddedConn = workspace.ChildAdded:Connect(function(child)
  384. if not ESPEnabled then return end
  385. task.wait(1.5)
  386. if child:IsA("Model") then
  387. pcall(function() CreateESP(child) end)
  388. end
  389. end)
  390. table.insert(ESPConnections, childAddedConn)
  391.  
  392. else
  393. ClearESP()
  394. DisconnectAll()
  395. end
  396. end,
  397. })
  398.  
  399. -- Max Distance Slider
  400. local MaxDistanceSlider = Tab2:CreateSlider({
  401. Name = "ESP Max Distance",
  402. Range = {100, 20000},
  403. Increment = 100,
  404. Suffix = "studs",
  405. CurrentValue = 10000,
  406. Flag = "ESP_MaxDistance",
  407. Callback = function(Value)
  408. UpdateMaxDistance(Value)
  409. end,
  410. })
  411.  
  412. -- ===== FOOD ESP =====
  413. local FoodESPEnabled = false
  414. local FoodESPObjects = {}
  415. local FoodConnections = {}
  416.  
  417. local function ClearFoodESP()
  418. for _, v in pairs(FoodESPObjects) do
  419. if v and v.Parent then pcall(function() v:Destroy() end) end
  420. end
  421. FoodESPObjects = {}
  422. end
  423.  
  424. local function CreateFoodESP(FoodModel)
  425. if not FoodModel or not FoodModel.Parent then return end
  426.  
  427. local CreatureName = FoodModel:FindFirstChild("CreatureName")
  428. local isCorpse = CreatureName ~= nil
  429.  
  430. local EdibleBush = FoodModel:FindFirstChild("EdibleBush")
  431. local isFruit = EdibleBush and EdibleBush:FindFirstChild("IsFruit")
  432.  
  433. if not isCorpse and not isFruit then return end
  434.  
  435. local RootPart = FoodModel:FindFirstChild("HumanoidRootPart") or FoodModel:FindFirstChildWhichIsA("BasePart")
  436. if not RootPart then return end
  437.  
  438. local fillColor, outlineColor, labelText
  439. if isCorpse then
  440. fillColor = Color3.fromRGB(200, 50, 50)
  441. outlineColor = Color3.fromRGB(150, 0, 0)
  442. labelText = CreatureName:IsA("StringValue") and ("Corpse: " .. CreatureName.Value) or "Corpse"
  443. else
  444. fillColor = Color3.fromRGB(255, 100, 255)
  445. outlineColor = Color3.fromRGB(200, 0, 200)
  446. labelText = "Fruit"
  447. end
  448.  
  449. pcall(function()
  450. local Highlight = Instance.new("Highlight")
  451. Highlight.FillTransparency = 0.5
  452. Highlight.OutlineTransparency = 0.3
  453. Highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
  454. Highlight.FillColor = fillColor
  455. Highlight.OutlineColor = outlineColor
  456. Highlight.Parent = FoodModel
  457. table.insert(FoodESPObjects, Highlight)
  458. end)
  459.  
  460. pcall(function()
  461. local Billboard = Instance.new("BillboardGui")
  462. Billboard.Adornee = RootPart
  463. Billboard.Size = UDim2.new(0, 150, 0, 20)
  464. Billboard.StudsOffset = Vector3.new(0, 3, 0)
  465. Billboard.AlwaysOnTop = true
  466. Billboard.MaxDistance = 700
  467. Billboard.LightInfluence = 0
  468. Billboard.Parent = FoodModel
  469.  
  470. local NameLabel = Instance.new("TextLabel")
  471. NameLabel.BackgroundTransparency = 1
  472. NameLabel.Size = UDim2.new(1, 0, 1, 0)
  473. NameLabel.Text = labelText
  474. NameLabel.TextColor3 = Color3.new(1, 1, 1)
  475. NameLabel.TextStrokeTransparency = 0
  476. NameLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
  477. NameLabel.Font = Enum.Font.Code
  478. NameLabel.TextSize = 14
  479. NameLabel.Parent = Billboard
  480.  
  481. table.insert(FoodESPObjects, Billboard)
  482. end)
  483. end
  484.  
  485. local function ScanAndFoodESP()
  486. if not FoodESPEnabled then return end
  487. ClearFoodESP()
  488.  
  489. local FoodFolder = workspace:FindFirstChild("Food")
  490. if not FoodFolder then return end
  491.  
  492. for _, obj in pairs(FoodFolder:GetChildren()) do
  493. if not FoodESPEnabled then break end
  494. if obj:IsA("Model") then
  495. pcall(function() CreateFoodESP(obj) end)
  496. end
  497. end
  498. end
  499.  
  500. local function DisconnectFoodESP()
  501. for _, conn in pairs(FoodConnections) do
  502. if conn then pcall(function() conn:Disconnect() end) end
  503. end
  504. FoodConnections = {}
  505. end
  506.  
  507. -- Food ESP Toggle
  508. local FoodESPToggle = Tab2:CreateToggle({
  509. Name = "Food ESP",
  510. CurrentValue = false,
  511. Flag = "FoodESP_Main",
  512. Callback = function(Value)
  513. FoodESPEnabled = Value
  514. if FoodESPEnabled then
  515. ScanAndFoodESP()
  516.  
  517. local FoodFolder = workspace:FindFirstChild("Food")
  518. if FoodFolder then
  519. local childAddedConn = FoodFolder.ChildAdded:Connect(function(child)
  520. if not FoodESPEnabled then return end
  521. task.wait(0.5)
  522. if child:IsA("Model") then
  523. pcall(function() CreateFoodESP(child) end)
  524. end
  525. end)
  526. table.insert(FoodConnections, childAddedConn)
  527. end
  528. else
  529. ClearFoodESP()
  530. DisconnectFoodESP()
  531. end
  532. end,
  533. })
  534.  
  535. print("Script loaded!")
Advertisement
Add Comment
Please, Sign In to add comment