24kDxrxk

Snail FE

Jul 31st, 2024
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.08 KB | None | 0 0
  1. --[[
  2. ,."""""""""""""".,
  3. .d" "b.
  4. .d b.
  5. ." .. depso .. ".
  6. P z$*" "*e. 9.
  7. A d" "b A
  8. J J .e*""""""%c A L
  9. A A d" $ L A
  10. # % d d**y 'L % #
  11. # % $ $ ,, Y .$ % # _ _
  12. # % $ * """ F % # (@)@)
  13. # V 4. $. .e" Y # % %
  14. # $ *. """" .Y V $ $
  15. # 'b "b. ..e* Y .eeee
  16. V '$ ""eeee"" eP A %
  17. Y eb ..d*" _# O %
  18. I _e%*""""*$ee......ee$*"eeeeeeeezee$**" $
  19. V ," B
  20. J' _,e=""
  21. .'#######################################DWB''
  22.  
  23. Made by Depso - mastersmzscripts.com
  24. The SNAIL Script V2
  25.  
  26. To update the config, run the script again.
  27. ]]
  28.  
  29. _G.Snail_Config = {
  30. Speed = 0.4,
  31. TunnelSpeed = 2,
  32.  
  33. --// Offsets
  34. Offset = CFrame.new(0,-1,0),
  35. TunnelOffset = CFrame.new(0,-2,0), -- This is added to the Offset
  36.  
  37. --// Control
  38. Teleport = Enum.KeyCode.E,
  39. Tunnel = Enum.KeyCode.Q,
  40. ResetCamera = Enum.KeyCode.R,
  41.  
  42. TunnelIsToggle = false,
  43. DistanceChangesSpeed = true,
  44. UseCameraRotaton = false, -- Old movement
  45.  
  46. Distance = 5,
  47.  
  48. --// Animations
  49. RotationEffect = false,
  50. Enabled = true, -- If disabled, the script will not run after death
  51. DirtParticles = true,
  52. Sounds = true,
  53.  
  54. --// Trail Style
  55. Color = ColorSequence.new{ -- Time Position, Value
  56. ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 171, 3)),
  57. ColorSequenceKeypoint.new(1.00, Color3.fromRGB(132, 255, 0))
  58. },
  59. Transparency = NumberSequence.new{
  60. NumberSequenceKeypoint.new(0.00, 0.40),
  61. NumberSequenceKeypoint.new(1.00, 1.00)
  62. },
  63. Length = 0.3, -- 0: Disabled
  64.  
  65. --// Dirt style
  66. DirtColor = ColorSequence.new{ -- Time Position, Value
  67. ColorSequenceKeypoint.new(0, Color3.fromRGB(193, 135, 0)),
  68. ColorSequenceKeypoint.new(1, Color3.fromRGB(158, 84, 0))
  69. },
  70. DirtSize = NumberSequence.new{
  71. NumberSequenceKeypoint.new(0, 0.2),
  72. NumberSequenceKeypoint.new(1, 0.25)
  73. },
  74.  
  75. --// Sounds
  76. Audios = {
  77. Teleport = {
  78. SoundId = 507863457
  79. },
  80. Tunnel = {
  81. SoundId = 9114127078,
  82. Looped = true,
  83. PlaybackSpeed = 1.2
  84. },
  85. },
  86.  
  87. --// Misc (Advanced)
  88. Max_Height = 15,
  89. Root_Height = 4,
  90. }
  91.  
  92. ------------------------------
  93.  
  94. if _G.Snail_Ran then return end
  95. loadstring(game:HttpGet('https://raw.githubusercontent.com/MastersMZ-Scripts/Scripts/master/Snail%20Script/Snail%20Script%20V2.lua'))()
  96.  
  97.  
  98. --
  99.  
  100.  
  101. getgenv().Time = .1 -- Adjust the time waited before adding the items
  102.  
  103. getgenv().Head = {
  104. 6660331473,
  105. 0000000000
  106. -- Add more head accessory IDs
  107. }
  108.  
  109. getgenv().Torso = {
  110. 0000000000
  111. -- Add more torso accessory IDs
  112. }
  113.  
  114. --//------------------------------------------------------------------------------------------\\--
  115.  
  116. local function weldParts(part0, part1, c0, c1)
  117. local weld = Instance.new("Weld")
  118. weld.Part0 = part0
  119. weld.Part1 = part1
  120. weld.C0 = c0
  121. weld.C1 = c1
  122. weld.Parent = part0
  123. return weld
  124. end
  125.  
  126. local function findAttachment(rootPart, name)
  127. for _, descendant in pairs(rootPart:GetDescendants()) do
  128. if descendant:IsA("Attachment") and descendant.Name == name then
  129. return descendant
  130. end
  131. end
  132. end
  133.  
  134. local function addAccessoryToCharacter(accessoryId, parentPart)
  135. local accessory = game:GetObjects("rbxassetid://" .. tostring(accessoryId))[1]
  136. local character = game.Players.LocalPlayer.Character
  137.  
  138. accessory.Parent = game.Workspace
  139.  
  140. local handle = accessory:FindFirstChild("Handle")
  141. if handle then
  142. local attachment = handle:FindFirstChildOfClass("Attachment")
  143. if attachment then
  144. local parentAttachment = findAttachment(parentPart, attachment.Name)
  145. if parentAttachment then
  146. weldParts(parentPart, handle, parentAttachment.CFrame, attachment.CFrame)
  147. end
  148. else
  149. local parent = character:FindFirstChild(parentPart.Name)
  150. if parent then
  151. local attachmentPoint = accessory.AttachmentPoint
  152. weldParts(parent, handle, CFrame.new(0, 0.5, 0), attachmentPoint.CFrame)
  153. end
  154. end
  155. end
  156.  
  157. accessory.Parent = game.Players.LocalPlayer.Character
  158. end
  159.  
  160. local function onCharacterAdded(character)
  161. wait(getgenv().Time) -- Wait for the character to fully load
  162.  
  163. for _, accessoryId in ipairs(getgenv().Head) do
  164. addAccessoryToCharacter(accessoryId, character.Head)
  165. end
  166.  
  167. for _, accessoryId in ipairs(getgenv().Torso) do
  168. addAccessoryToCharacter(accessoryId, character:FindFirstChild("UpperTorso") or character:FindFirstChild("Torso"))
  169. end
  170. end
  171.  
  172. game.Players.LocalPlayer.CharacterAdded:Connect(onCharacterAdded)
  173.  
  174. if game.Players.LocalPlayer.Character then
  175. onCharacterAdded(game.Players.LocalPlayer.Character)
  176. end
Advertisement
Add Comment
Please, Sign In to add comment