Advertisement
ForkFullFight

Untitled

Jul 19th, 2023 (edited)
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- [[ Name: Commander CR by ??? ]] --
  2. -- [[ Converted: By Melon ]] --
  3. -- [[ Reanimate: By Emper ]] --
  4. -- [[ Description: nothing to put ]] --
  5.  
  6. -- [[ Hats ]] --
  7.  
  8. -- [[ Free ]] --
  9. -- [[ www.roblox.com/catalog/4819740796/Robox ]] --
  10. -- [[ www.roblox.com/catalog/3409612660/International-Fedora-USA ]] --
  11. -- [[ www.roblox.com/catalog/3398308134/International-Fedora-Canada ]] --
  12. -- [[ www.roblox.com/catalog/3033908130/International-Fedora-France ]] --
  13. -- [[ www.roblox.com/catalog/3033910400/International-Fedora-Germany ]] --
  14.  
  15. -- [[ Paid (1) ]] --
  16. -- [[ www.roblox.com/catalog/14255528083/Torso-Extension ]] --
  17. -- [[ www.roblox.com/catalog/14255556501/Extra-Right-White-Arm ]] --
  18. -- [[ www.roblox.com/catalog/14255554762/Extra-Left-White-Arm ]] --
  19. -- [[ www.roblox.com/catalog/14768693948/White-Extended-Right-Arm ]] --
  20. -- [[ www.roblox.com/catalog/14768701869/White-Extended-Left-Arm ]] --
  21.  
  22. -- [[ Paid (2) ]] --
  23. -- [[ www.roblox.com/catalog/14255528083/Torso-Extension ]] --
  24. -- [[ www.roblox.com/catalog/11159410305/Rectangle-Head-For-Headless ]] --
  25. -- [[ www.roblox.com/catalog/11263254795/Dummy-Head-For-Headless ]] --
  26. -- [[ www.roblox.com/catalog/12344545199/Extra-Left-hand-moving-Blocky-white ]] --
  27. -- [[ www.roblox.com/catalog/12344591101/Extra-Right-hand-moving-Blocky-white ]] --
  28.  
  29. -- [[ Guns ]] --
  30.  
  31. -- [[ www.roblox.com/catalog/13760686814/Classic-MARKA-17M-Valkan-Left ]] --
  32. -- [[ www.roblox.com/catalog/4623059912/Starslayer-Railgun ]] --
  33. -- [[ www.roblox.com/catalog/14683431575/Law-Enforcement-Beanbag ]] --
  34. -- [[ www.roblox.com/catalog/5136154487/DG-40-Archangel-Sniper-Rifle-Black ]] --
  35. -- [[ www.roblox.com/catalog/12830271515/White-Cyber-Heavy-Revolver-Left ]] --
  36. -- [[ * FREE * www.roblox.com/catalog/10775031176/The-Pogo ]] --
  37. -- [[ * FREE * www.roblox.com/catalog/5552252553/Kinetic-Staff ]] --
  38. -- [[ The list above is the supported hats. ]] --
  39.  
  40. game:GetService("StarterGui"):SetCore("SendNotification", {
  41. Title = "Melon's (FE) Converts/Scripts";
  42. Text = "Thanks for using!";
  43. Icon = "rbxthumb://type=Asset&id=11561641603&w=150&h=150"})
  44. Duration = 3;
  45.  
  46. if not game:IsLoaded() then
  47. game.Loaded:Wait()
  48. end
  49.  
  50. local function FindInstance(Parent, ClassName, Name)
  51. for _, Instance in pairs(Parent:GetChildren()) do
  52. if Instance:IsA(ClassName) and Instance.Name == Name then
  53. return Instance
  54. end
  55. end
  56. end
  57.  
  58. local function WaitForClass(Parent, ClassName)
  59. local Instance = Parent:FindFirstChildOfClass(ClassName)
  60.  
  61. while not Instance and Parent do
  62. Parent.ChildAdded:Wait()
  63. Instance = Parent:FindFirstChildOfClass(ClassName)
  64. end
  65.  
  66. return Instance
  67. end
  68.  
  69. local function WaitForClassOfName(Parent, ...)
  70. local Instance = FindInstance(Parent, ...)
  71.  
  72. while not Instance and Parent do
  73. Parent.ChildAdded:Wait()
  74. Instance = FindInstance(Parent, ...)
  75. end
  76.  
  77. return Instance
  78. end
  79.  
  80. local Fling = { }
  81. local Aligns = { }
  82. local Blacklist = { }
  83. local Accessories = { }
  84. local Attachments = { }
  85.  
  86. local Instancenew = Instance.new
  87.  
  88. local taskwait = task.wait
  89. local taskspawn = task.spawn
  90. local taskdefer = task.defer
  91.  
  92. local mathabs = math.abs
  93. local mathcos = math.cos
  94. local mathrandom = math.random
  95.  
  96. local stringmatch = string.match
  97.  
  98. local osclock = os.clock
  99.  
  100. local tableinsert = table.insert
  101. local tableclear = table.clear
  102. local tablefind = table.find
  103.  
  104. local CFramenew = CFrame.new
  105. local CFrameAngles = CFrame.Angles
  106. local CFrameidentity = CFrame.identity
  107.  
  108. local Vector3new = Vector3.new
  109. local Vector3zero = Vector3.zero
  110.  
  111. local Sleep = CFrameidentity
  112. local Velocity = Vector3new(0, 16384, 0)
  113. local Angular = 0
  114. local Linear = 0
  115.  
  116. local Workspace = game:FindFirstChildOfClass("Workspace")
  117. local CurrentCamera = Workspace.CurrentCamera
  118.  
  119. local Players = game:FindFirstChildOfClass("Players")
  120.  
  121. local LocalPlayer = Players.LocalPlayer
  122. local Mouse = LocalPlayer:GetMouse()
  123.  
  124. local PostSimulation = game:FindFirstChildOfClass("RunService").PostSimulation
  125.  
  126. local Character = LocalPlayer.Character
  127. local CharacterClone = Instancenew("Model")
  128.  
  129. local StarterGui = game:FindFirstChildOfClass("StarterGui")
  130. local BindableEvent = Instancenew("BindableEvent")
  131.  
  132. local UserInputService = game:FindFirstChildOfClass("UserInputService")
  133. local UserInputType = Enum.UserInputType
  134.  
  135. local MouseButton1 = UserInputType.MouseButton1
  136. local Touch = UserInputType.Touch
  137.  
  138. local InputBegan = UserInputService.InputBegan:Connect(function(Input, GameProcessed)
  139. local Type = Input.UserInputType
  140.  
  141. if not GameProcessed and ( Type == MouseButton1 or Type == Touch ) then
  142. local Target = Mouse.Target
  143. if Target and not Target.Anchored and not Target:IsDescendantOf(CharacterClone) and not Target:IsDescendantOf(Character) and not tablefind(Fling, Target) then
  144. local Parent = Target.Parent
  145.  
  146. if Parent:IsA("Model") and Parent ~= Character and Parent:FindFirstChildOfClass("Humanoid") then
  147. local HumanoidRootPart = FindInstance(Parent, "BasePart", "HumanoidRootPart") or FindInstance(Parent, "BasePart", "Torso") or FindInstance(Parent, "BasePart", "Head")
  148.  
  149. if HumanoidRootPart and not tablefind(Fling, HumanoidRootPart) then
  150. tableinsert(Fling, HumanoidRootPart)
  151. return
  152. end
  153. end
  154.  
  155. tableinsert(Fling, Target)
  156. end
  157. end
  158. end)
  159.  
  160. local function Part(Name, Size)
  161. local Part = Instancenew("Part")
  162. Part.Name = Name
  163. Part.Size = Size
  164. Part.Transparency = 1
  165. Part.Parent = CharacterClone
  166.  
  167. return Part
  168. end
  169.  
  170. local function Motor6D(Name, Part0, Part1, C0, C1)
  171. local Motor6D = Instancenew("Motor6D")
  172. Motor6D.Name = Name
  173. Motor6D.Part0 = Part0
  174. Motor6D.Part1 = Part1
  175. Motor6D.C0 = C0
  176. Motor6D.C1 = C1
  177. Motor6D.Parent = Part0
  178.  
  179. return Motor6D
  180. end
  181.  
  182. local function Attachment(Name, CFrame, Parent)
  183. local Attachment = Instancenew("Attachment")
  184. Attachment.Name = Name
  185. Attachment.CFrame = CFrame
  186. Attachment.Parent = Parent
  187.  
  188. tableinsert(Attachments, Attachment)
  189. return Attachment
  190. end
  191.  
  192. local LimbSize = Vector3new(1, 2, 1)
  193. local TorsoSize = Vector3new(2, 2, 1)
  194.  
  195. local Head = Part("Head", Vector3new(2, 1, 1))
  196. local Torso = Part("Torso", TorsoSize)
  197. local LeftArm = Part("Left Arm", LimbSize)
  198. local RightArm = Part("Right Arm", LimbSize)
  199. local LeftLeg = Part("Left Leg", LimbSize)
  200. local RightLeg = Part("Right Leg", LimbSize)
  201. local HumanoidRootPart = Part("HumanoidRootPart", TorsoSize)
  202.  
  203. local FakeRA = Instance.new("Part")
  204. FakeRA.Size = Vector3.new(1,2,1)
  205. FakeRA.Transparency = 1
  206. FakeRA.BrickColor = BrickColor.new("Institutional White")
  207. FakeRA.Parent = RightArm
  208.  
  209. local FRAW = Instance.new("Weld")
  210. FRAW.Part0 = RightArm
  211. FRAW.Part1 = FakeRA
  212. FRAW.C0 = CFrame.new(0, 0, 0)
  213. FRAW.Parent = RightArm
  214.  
  215. local FakeLA = Instance.new("Part")
  216. FakeLA.Size = Vector3.new(1,2,1)
  217. FakeLA.Transparency = 1
  218. FakeLA.BrickColor = BrickColor.new("Institutional White")
  219. FakeLA.Parent = LeftArm
  220.  
  221. local FLAW = Instance.new("Weld")
  222. FLAW.Part0 = LeftArm
  223. FLAW.Part1 = FakeLA
  224. FLAW.C0 = CFrame.new(0, 0, 0)
  225. FLAW.Parent = LeftArm
  226.  
  227. local Part = nil
  228.  
  229. if Character then
  230. Part = FindInstance(Character, "BasePart", "HumanoidRootPart") or FindInstance(Character, "BasePart", "Head") or FindInstance(Character, "BasePart", "Torso") or FindInstance(Character, "BasePart", "UpperTorso")
  231. end
  232.  
  233. if Part then
  234. HumanoidRootPart.CFrame = Part.CFrame
  235. else
  236. local SpawnLocations = { }
  237.  
  238. for _, SpawnLocation in pairs(Workspace:GetDescendants()) do
  239. if SpawnLocation:IsA("SpawnLocation") then
  240. tableinsert(SpawnLocations, SpawnLocation)
  241. end
  242. end
  243.  
  244. local Amount = # SpawnLocations
  245.  
  246. if Amount > 0 then
  247. local SpawnLocation = SpawnLocations[mathrandom(1, Amount)]
  248. HumanoidRootPart.CFrame = SpawnLocation.CFrame * CFramenew(0, SpawnLocation.Size.Y / 2 + 3, 0)
  249. else
  250. HumanoidRootPart.CFrame = CFrameidentity
  251. end
  252. end
  253.  
  254. local face = Instancenew("Decal")
  255. face.Name = "face"
  256. face.Parent = Head
  257.  
  258. local AccessoryTable = {
  259. -- Paid --
  260. { Mesh = "14241018198", Texture = "14251599953", Instance = Torso },
  261. { Mesh = "14255522247", Texture = "14255543546", Instance = RightArm, CFrame = CFrameAngles(0, 1.57, 1.57) },
  262. { Mesh = "14255522247", Texture = "14255543546", Instance = LeftArm, CFrame = CFrameAngles(0, - 1.57, 1.57) },
  263. { Mesh = "14768684979", Texture = "14768683674", Instance = RightLeg, CFrame = CFrameAngles(0, - 1.57, 1.57) },
  264. { Mesh = "14768684979", Texture = "14768683674", Instance = LeftLeg, CFrame = CFrameAngles(0, 1.57, 1.57) },
  265.  
  266. -- Paid (2) --
  267. { Mesh = "14241018198", Texture = "14251599953", Instance = Torso },
  268. { Mesh = "12344206657", Texture = "12344206675", Instance = RightArm, CFrame = CFrameAngles(-115, 0, 0) },
  269. { Mesh = "12344207333", Texture = "12344207341", Instance = LeftArm, CFrame = CFrameAngles(-115, 0, 0) },
  270. { Mesh = "11159370334", Texture = "11159284657", Instance = RightLeg, CFrame = CFrameAngles(0, - 1.57, 1.57) },
  271. { Mesh = "11263221350", Texture = "11263219250", Instance = LeftLeg, CFrame = CFrameAngles(0, 1.57, 1.57) },
  272.  
  273. -- Free --
  274. { Mesh = "4819720316", Texture = "4819722776", Instance = Torso, CFrame = CFrameAngles(0, 0, 105) },
  275. { Mesh = "3030546036", Texture = "3033903209", Instance = RightArm, CFrame = CFrameAngles(-90, 0, -89.5) },
  276. { Mesh = "3030546036", Texture = "3360978739", Instance = LeftArm, CFrame = CFrameAngles(-90, 0, 89.5) },
  277. { Mesh = "3030546036", Texture = "3409604993", Instance = RightLeg, CFrame = CFrameAngles(-90, 0, -89.5) },
  278. { Mesh = "3030546036", Texture = "3033898741", Instance = LeftLeg, CFrame = CFrameAngles(-90, 0, 89.5) },
  279.  
  280. -- DG 40 --
  281. { Mesh = "5135810417", Texture = "5135790044", Instance = FakeRA, CFrame = CFrameAngles(-0.10, -1.55, 1.45) * CFramenew(-2.55,0.35,0.15)},
  282. -- Cyber Heavy Revolver --
  283. { Mesh = "12830091831", Texture = "9990288940", Instance = FakeRA, CFrame = CFrameAngles(0.55, 0, 0) * CFramenew(0,-1.15,0.15)},
  284. -- Beanbag Shotgun --
  285. { Mesh = "14682184097", Texture = "14682167931", Instance = FakeRA, CFrame = CFrameAngles(0.05, 0, 3.15) * CFramenew(0,1.35,-0.25)},
  286. -- Starslayer Railgun --
  287. { Mesh = "4615369575", Texture = "4615393635", Instance = FakeRA, CFrame = CFrameAngles(-0.80, 1.55, 0) * CFramenew(1.45,-1,0)},
  288. -- MARKA-17M --
  289. { Mesh = "13753961447", Texture = "13760652946", Instance = FakeRA, CFrame = CFramenew(0,-1.45,-0.65) * CFrameAngles(0, -1.50, 0.75) },
  290. -- Pogo Stick --
  291. { Mesh = "10775011914", Texture = "10774853167", Instance = FakeRA, CFrame = CFramenew(0,-2.55,-0.65) * CFrameAngles(0, -1.55, 0.65) },
  292. -- Crystal Staff --
  293. { Mesh = "5548423017", Texture = "5548423938", Instance = FakeRA, CFrame = CFramenew(0,-1.65,-0) * CFrameAngles(0, -1.55, 0.60) },
  294.  
  295. }
  296.  
  297. for _, Table in pairs(AccessoryTable) do
  298. if type(Table.Mesh) ~= "string" then
  299. Table.Mesh = ""
  300. end
  301. if type(Table.Texture) ~= "string" then
  302. Table.Texture = ""
  303. end
  304. end
  305.  
  306. Motor6D("Right Shoulder", Torso, RightArm, CFramenew(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), CFramenew(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0))
  307. Motor6D("Left Shoulder", Torso, LeftArm, CFramenew(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), CFramenew(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0))
  308. Motor6D("Right Hip", Torso, RightLeg, CFramenew(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), CFramenew(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0))
  309. Motor6D("Left Hip", Torso, LeftLeg, CFramenew(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), CFramenew(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0))
  310. Motor6D("Neck", Torso, Head, CFramenew(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CFramenew(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0))
  311. Motor6D("RootJoint", HumanoidRootPart, Torso, CFramenew(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CFramenew(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0))
  312.  
  313. Attachment("HairAttachment", CFramenew(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
  314. Attachment("HatAttachment", CFramenew(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
  315. Attachment("FaceFrontAttachment", CFramenew(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
  316. Attachment("FaceCenterAttachment", CFramenew(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
  317. Attachment("NeckAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  318. Attachment("BodyFrontAttachment", CFramenew(0, 0, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  319. Attachment("BodyBackAttachment", CFramenew(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  320. Attachment("LeftCollarAttachment", CFramenew(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  321. Attachment("RightCollarAttachment", CFramenew(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  322. Attachment("WaistFrontAttachment", CFramenew(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  323. Attachment("WaistCenterAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  324. Attachment("WaistBackAttachment", CFramenew(0, -1, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  325. Attachment("LeftShoulderAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftArm)
  326. Attachment("LeftGripAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftArm)
  327. Attachment("RightShoulderAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightArm)
  328. Attachment("RightGripAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightArm)
  329. Attachment("LeftFootAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftLeg)
  330. Attachment("RightFootAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightLeg)
  331. Attachment("RootAttachment", CFramenew(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), HumanoidRootPart)
  332.  
  333. local Humanoid = Instancenew("Humanoid", CharacterClone)
  334. Instancenew("Animator", Humanoid)
  335.  
  336. Instancenew("LocalScript", CharacterClone).Name = "Animate"
  337.  
  338. CharacterClone.PrimaryPart = Head
  339. CharacterClone.Parent = Workspace
  340.  
  341. local function DescendantAdded(Instance)
  342. if Instance:IsA("Accessory") then
  343. taskspawn(function()
  344. local Handle = WaitForClassOfName(Instance, "BasePart", "Handle")
  345. local Attachment = WaitForClass(Handle, "Attachment")
  346.  
  347. local Clone = Instance:Clone()
  348.  
  349. local CloneHandle = FindInstance(Clone, "BasePart", "Handle")
  350. CloneHandle.Transparency = 1
  351. CloneHandle:BreakJoints()
  352.  
  353. local AccessoryWeld = Instancenew("Weld")
  354. AccessoryWeld.Name = "AccessoryWeld"
  355. AccessoryWeld.Part0 = CloneHandle
  356. AccessoryWeld.C0 = Attachment.CFrame
  357.  
  358. local Name = Attachment.Name
  359.  
  360. for _, TableAttachment in pairs(Attachments) do
  361. if TableAttachment.Name == Name then
  362. AccessoryWeld.Part1 = TableAttachment.Parent
  363. AccessoryWeld.C1 = TableAttachment.CFrame
  364. end
  365. end
  366.  
  367. AccessoryWeld.Parent = CloneHandle
  368. Clone.Parent = CharacterClone
  369.  
  370. tableinsert(Accessories, Clone)
  371.  
  372. local IsAMeshPart = CloneHandle:IsA("MeshPart")
  373. local Mesh = IsAMeshPart and CloneHandle or WaitForClass(CloneHandle, "SpecialMesh")
  374. local Id = IsAMeshPart and "TextureID" or "TextureId"
  375.  
  376. for _, Table in pairs(AccessoryTable) do
  377. local Instance = Table.Instance
  378.  
  379. if Instance then
  380. if stringmatch(Mesh.MeshId, Table.Mesh) and stringmatch(Mesh[Id], Table.Texture) and not tablefind(Blacklist, Instance) then
  381. tableinsert(Blacklist, Instance)
  382. tableinsert(Aligns, { Handle, Instance, Table.CFrame or CFrameidentity })
  383. return
  384. end
  385. end
  386. end
  387.  
  388. tableinsert(Aligns, { Handle, CloneHandle, CFrameidentity })
  389. end)
  390. elseif Instance:IsA("JointInstance") then
  391. taskspawn(function()
  392. taskwait()
  393. Instance:Destroy()
  394. end)
  395. end
  396. end
  397.  
  398. local function CharacterAdded(Character)
  399. if Character ~= CharacterClone then
  400. PostSimulation:Wait()
  401.  
  402. local Backpack = LocalPlayer:FindFirstChildOfClass("Backpack")
  403.  
  404. if Backpack then
  405. Backpack:ClearAllChildren()
  406. end
  407.  
  408. tableclear(Aligns)
  409. tableclear(Blacklist)
  410.  
  411. for _, Accessory in pairs(Accessories) do
  412. Accessory:Destroy()
  413. end
  414.  
  415. local CurrentCameraCFrame = CurrentCamera.CFrame
  416.  
  417. LocalPlayer.Character = CharacterClone
  418. CurrentCamera.CameraSubject = CharacterClone.Head
  419.  
  420. taskspawn(function()
  421. CurrentCamera:GetPropertyChangedSignal("CFrame"):Wait()
  422. CurrentCamera.CFrame = CurrentCameraCFrame
  423. end)
  424.  
  425. local CharacterHumanoidRootPart = WaitForClassOfName(Character, "BasePart", "HumanoidRootPart")
  426.  
  427. for Index, Value in pairs(Fling) do
  428. local BasePart = nil
  429.  
  430. if typeof(Value) == "Instance" then
  431. if Value:IsA("BasePart") then
  432. BasePart = Value
  433. elseif Value:IsA("Humanoid") then
  434. local Model = Value.Parent
  435.  
  436. if Model ~= Character and Model:IsA("Model") then
  437. BasePart = FindInstance(Model, "BasePart", "HumanoidRootPart") or FindInstance(Model, "BasePart", "Head") or Model:FindFirstChildOfClass("BasePart")
  438. end
  439. elseif Value:IsA("Model") and Value ~= Character then
  440. BasePart = FindInstance(Value, "BasePart", "HumanoidRootPart") or FindInstance(Value, "BasePart", "Head") or Value:FindFirstChildOfClass("BasePart")
  441. end
  442. end
  443.  
  444. if BasePart then
  445. local clock = osclock()
  446.  
  447. while CharacterHumanoidRootPart and BasePart and osclock() - clock <= 1 and BasePart.AssemblyLinearVelocity.Magnitude <= 60 do
  448. CharacterHumanoidRootPart.AssemblyAngularVelocity = Velocity
  449. CharacterHumanoidRootPart.AssemblyLinearVelocity = Velocity
  450.  
  451. CharacterHumanoidRootPart.CFrame = BasePart.CFrame + Vector3new(0, - 1, 0)
  452. PostSimulation:Wait()
  453. end
  454. end
  455. end
  456.  
  457. tableclear(Fling)
  458.  
  459. if CharacterHumanoidRootPart then
  460. CharacterHumanoidRootPart.AssemblyAngularVelocity = Vector3zero
  461. CharacterHumanoidRootPart.AssemblyLinearVelocity = Vector3zero
  462.  
  463. CharacterHumanoidRootPart.CFrame = CFramenew(HumanoidRootPart.Position + Vector3new(mathrandom(- 32, 32), 0, mathrandom(- 32, 32)))
  464. PostSimulation:Wait()
  465. end
  466.  
  467. Character:BreakJoints()
  468.  
  469. for _, Instance in pairs(Character:GetDescendants()) do
  470. DescendantAdded(Instance)
  471. end
  472.  
  473. Character.DescendantAdded:Connect(DescendantAdded)
  474. end
  475. end
  476.  
  477. local function Align(Part0, Part1, CFrame)
  478. if Part0.ReceiveAge == 0 and not Part0.Anchored and # Part0:GetJoints() == 0 then
  479. Part0.AssemblyAngularVelocity = Vector3new(0, Angular, 0)
  480.  
  481. local Part1CFrame = Part1.CFrame
  482. local LinearVelocity = Part1.AssemblyLinearVelocity * Linear
  483. local Magnitude = LinearVelocity.Magnitude < Linear
  484.  
  485. if Magnitude then
  486. local LookVector = Part1CFrame.LookVector * Linear
  487. Part0.AssemblyLinearVelocity = Vector3new(LookVector.X, Linear, LookVector.Z)
  488. else
  489. Part0.AssemblyLinearVelocity = Vector3new(LinearVelocity.X, Linear, LinearVelocity.Z)
  490. end
  491.  
  492. Part0.CFrame = Part1CFrame * ( Magnitude and Sleep or CFrameidentity ) * CFrame
  493. end
  494. end
  495.  
  496. if Character then
  497. CharacterAdded(Character)
  498. end
  499.  
  500. local Added = LocalPlayer.CharacterAdded:Connect(CharacterAdded)
  501.  
  502. local Connection = game:FindFirstChildOfClass("RunService").PostSimulation:Connect(function()
  503. local osclock = osclock()
  504. local Axis = 0.004 * mathcos(osclock * 17.5)
  505.  
  506. Sleep = CFramenew(0, Axis, 0)
  507. Angular = mathcos(osclock)
  508. Linear = 26
  509.  
  510. for _, Table in pairs(Aligns) do
  511. Align(Table[1], Table[2], Table[3])
  512. end
  513.  
  514. if sethiddenproperty then
  515. sethiddenproperty(LocalPlayer, "SimulationRadius", 10000000)
  516. end
  517.  
  518. StarterGui:SetCore("ResetButtonCallback", BindableEvent) -- This is if it gets overriden, just like in MyWorld testing place.
  519. end)
  520.  
  521. local function Event()
  522. CharacterClone:Destroy()
  523. end
  524.  
  525. BindableEvent.Event:Connect(Event)
  526.  
  527. CharacterClone:GetPropertyChangedSignal("Parent"):Connect(function()
  528. if not CharacterClone.Parent then
  529. Added:Disconnect()
  530. Connection:Disconnect()
  531.  
  532. CharacterClone:Destroy()
  533.  
  534. if BindableEvent then
  535. BindableEvent:Destroy()
  536. end
  537.  
  538. StarterGui:SetCore("ResetButtonCallback", true)
  539. end
  540. end)
  541.  
  542. BindableEvent:GetPropertyChangedSignal("Parent"):Connect(Event)
  543.  
  544. game:GetService("StarterGui"):SetCore("SendNotification", {
  545. Title = "Melon's (FE) Converts/Scripts";
  546. Text = "Loaded successfully!";
  547. Icon = "rbxthumb://type=Asset&id=11561641603&w=150&h=150"})
  548. Duration = 3;
  549.  
  550. script = game:GetObjects("rbxassetid://13198284674")[1]
  551. Chillmusic = Instance.new("Sound", workspace)
  552. Chillmusic.Parent = game.Chat
  553. Chillmusic.Volume = 8
  554. Chillmusic.SoundId = "rbxassetid://1221694420"
  555. Chillmusic.Looped = true
  556. Chillmusic:Play()
  557.  
  558. local txt = Instance.new("BillboardGui", char)
  559. txt.Adornee = char.Head
  560. txt.Name = "_status"
  561. txt.Size = UDim2.new(2, 0, 1.2, 0)
  562. txt.StudsOffset = Vector3.new(-9, 8, 0)
  563. local text = Instance.new("TextLabel", txt)
  564. text.Size = UDim2.new(10, 0, 7, 0)
  565. text.FontSize = "Size24"
  566. text.TextScaled = true
  567. text.TextTransparency = 0
  568. text.BackgroundTransparency = 1
  569. text.TextTransparency = 0
  570. text.TextStrokeTransparency = 0
  571. text.Font = "Arcade"
  572. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  573. v = Instance.new("Part")
  574. v.Name = "ColorBrick"
  575. v.Parent = workspace["CloneCharacter"]
  576. v.FormFactor = "Symmetric"
  577. v.Anchored = true
  578. v.CanCollide = false
  579. v.BottomSurface = "Smooth"
  580. v.TopSurface = "Smooth"
  581. v.Size = Vector3.new(10, 5, 3)
  582. v.Transparency = 1
  583. v.CFrame = char.Torso.CFrame
  584. v.BrickColor = BrickColor.new("Really black")
  585. v.Transparency = 1
  586. spawn(function()
  587. TweenService = game:GetService("TweenService")
  588. Colours = {Color3.fromRGB(0,100,200),Color3.fromRGB(4, 175, 236)}
  589. Int = 0
  590. while wait(2) do
  591. if Int == #Colours then Int = 0 end
  592. Int = Int+1
  593. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  594. end
  595. end)
  596. v.Shape = "Block"
  597. text.Text = "~»Chill Af«~"
  598. Player = game:GetService("Players").LocalPlayer
  599. Character = workspace["CloneCharacter"]
  600. PlayerGui = Player.PlayerGui
  601. Backpack = Player.Backpack
  602. Torso = Character.Torso
  603. Head = Character.Head
  604. Humanoid = Character.Humanoid
  605. m = Instance.new("Model", Character)
  606. LeftArm = Character["Left Arm"]
  607. LeftLeg = Character["Left Leg"]
  608. RightArm = Character["Right Arm"]
  609. RightLeg = Character["Right Leg"]
  610. LS = Torso["Left Shoulder"]
  611. LH = Torso["Left Hip"]
  612. RS = Torso["Right Shoulder"]
  613. RH = Torso["Right Hip"]
  614. Face = Head.face
  615. Neck = Torso.Neck
  616. it = Instance.new
  617. attacktype = 1
  618. vt = Vector3.new
  619. cf = CFrame.new
  620. bc = BrickColor.new
  621. br = BrickColor.random
  622. it = Instance.new
  623. euler = CFrame.fromEulerAnglesXYZ
  624. angles = CFrame.Angles
  625. cloaked = false
  626. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  627. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  628. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  629. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  630. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  631. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  632. RootPart = Character.HumanoidRootPart
  633. RootJoint = RootPart.RootJoint
  634. RootCF = euler(-1.57, 0, 3.14)
  635. attack = false
  636. attackdebounce = false
  637. equipped = false
  638. trispeed = 0.2
  639. attackmode = "none"
  640. local idle = 0
  641. local Anim = "Idle"
  642. Head.face.Texture = "rbxassetid://206844132"
  643.  
  644. local Trail = Instance.new("Trail",char)
  645. local attachment0 = Instance.new("Attachment",char["Right Arm"])
  646. attachment0.Name = "TrailAttachment0"
  647. attachment0.CFrame = CFrame.new(-0.25,-1,0)
  648. local attachment1 = Instance.new("Attachment",char["Right Arm"])
  649. attachment1.CFrame = CFrame.new(0.25,-1,0)
  650. attachment1.Name = "TrailAttachment1"
  651. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  652. Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
  653. Trail.Lifetime = 0.5
  654. Trail.Attachment0 = attachment0
  655. Trail.Attachment1 = attachment1
  656.  
  657. local Trail = Instance.new("Trail",char)
  658. local attachment0 = Instance.new("Attachment",char["Left Arm"])
  659. attachment0.Name = "TrailAttachment0"
  660. attachment0.CFrame = CFrame.new(-0.25,-1,0)
  661. local attachment1 = Instance.new("Attachment",char["Left Arm"])
  662. attachment1.CFrame = CFrame.new(0.25,-1,0)
  663. attachment1.Name = "TrailAttachment1"
  664. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  665. Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
  666. Trail.Lifetime = 0.5
  667. Trail.Attachment0 = attachment0
  668. Trail.Attachment1 = attachment1
  669.  
  670. local Trail = Instance.new("Trail",char)
  671. local attachment0 = Instance.new("Attachment",char["Right Leg"])
  672. attachment0.Name = "TrailAttachment0"
  673. attachment0.CFrame = CFrame.new(-0.25,-1,0)
  674. local attachment1 = Instance.new("Attachment",char["Right Leg"])
  675. attachment1.CFrame = CFrame.new(0.25,-1,0)
  676. attachment1.Name = "TrailAttachment1"
  677. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  678. Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
  679. Trail.Lifetime = 0.5
  680. Trail.Attachment0 = attachment0
  681. Trail.Attachment1 = attachment1
  682.  
  683. local Trail = Instance.new("Trail",char)
  684. local attachment0 = Instance.new("Attachment",char["Left Leg"])
  685. attachment0.Name = "TrailAttachment0"
  686. attachment0.CFrame = CFrame.new(-0.25,-1,0)
  687. local attachment1 = Instance.new("Attachment",char["Left Leg"])
  688. attachment1.CFrame = CFrame.new(0.25,-1,0)
  689. attachment1.Name = "TrailAttachment1"
  690. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  691. Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
  692. Trail.Lifetime = 0.5
  693. Trail.Attachment0 = attachment0
  694. Trail.Attachment1 = attachment1
  695.  
  696.  
  697. Humanoid.Animator.Parent = nil
  698. Character.Animate.Parent = nil
  699. function FindNearestTorso(Position, Distance, SinglePlayer)
  700. if SinglePlayer then
  701. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  702. end
  703. local List = {}
  704. for i, v in pairs(workspace:GetChildren()) do
  705. if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and Distance >= (v.Torso.Position - Position).magnitude then
  706. table.insert(List, v)
  707. end
  708. end
  709. return List
  710. end
  711. function lerp(a, b, t)
  712. return a + (b - a) * t
  713. end
  714. function slerp(a, b, t)
  715. dot = a:Dot(b)
  716. if dot > 0.99999 or dot < -0.99999 then
  717. return t <= 0.5 and a or b
  718. else
  719. r = math.acos(dot)
  720. return (a * math.sin((1 - t) * r) + b * math.sin(t * r)) / math.sin(r)
  721. end
  722. end
  723. function matrixInterpolate(a, b, t)
  724. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  725. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  726. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx, by, bz), t)
  727. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t)
  728. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t)
  729. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t)
  730. local t = v1:Dot(v2)
  731. if not (t < 0) and t ~= 0 and not (t > 0) then
  732. return CFrame.new()
  733. end
  734. return CFrame.new(v0.x, v0.y, v0.z, v1.x, v1.y, v1.z, v2.x, v2.y, v2.z, v3.x, v3.y, v3.z)
  735. end
  736. function genWeld(a, b)
  737. local w = Instance.new("Weld", a)
  738. w.Part0 = a
  739. w.Part1 = b
  740. return w
  741. end
  742. function weld(a, b)
  743. local weld = Instance.new("Weld")
  744. weld.Name = "W"
  745. weld.Part0 = a
  746. weld.Part1 = b
  747. weld.C0 = a.CFrame:inverse() * b.CFrame
  748. weld.Parent = a
  749. return weld
  750. end
  751. function Lerp(c1, c2, al)
  752. local com1 = {
  753. c1.X,
  754. c1.Y,
  755. c1.Z,
  756. c1:toEulerAnglesXYZ()
  757. }
  758. local com2 = {
  759. c2.X,
  760. c2.Y,
  761. c2.Z,
  762. c2:toEulerAnglesXYZ()
  763. }
  764. for i, v in pairs(com1) do
  765. com1[i] = v + (com2[i] - v) * al
  766. end
  767. return CFrame.new(com1[1], com1[2], com1[3]) * CFrame.Angles(select(4, unpack(com1)))
  768. end
  769. function clerp(a, b, t)
  770. local qa = {
  771. QuaternionFromCFrame(a)
  772. }
  773. local qb = {
  774. QuaternionFromCFrame(b)
  775. }
  776. local ax, ay, az = a.x, a.y, a.z
  777. local bx, by, bz = b.x, b.y, b.z
  778. local _t = 1 - t
  779. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  780. end
  781. function QuaternionFromCFrame(cf)
  782. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  783. local trace = m00 + m11 + m22
  784. if trace > 0 then
  785. local s = math.sqrt(1 + trace)
  786. local recip = 0.5 / s
  787. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  788. else
  789. local i = 0
  790. if m00 < m11 then
  791. i = 1
  792. end
  793. if m22 > (i == 0 and m00 or m11) then
  794. i = 2
  795. end
  796. if i == 0 then
  797. local s = math.sqrt(m00 - m11 - m22 + 1)
  798. local recip = 0.5 / s
  799. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  800. elseif i == 1 then
  801. local s = math.sqrt(m11 - m22 - m00 + 1)
  802. local recip = 0.5 / s
  803. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  804. elseif i == 2 then
  805. local s = math.sqrt(m22 - m00 - m11 + 1)
  806. local recip = 0.5 / s
  807. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  808. end
  809. end
  810. end
  811. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  812. local xs, ys, zs = x + x, y + y, z + z
  813. local wx, wy, wz = w * xs, w * ys, w * zs
  814. local xx = x * xs
  815. local xy = x * ys
  816. local xz = x * zs
  817. local yy = y * ys
  818. local yz = y * zs
  819. local zz = z * zs
  820. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  821. end
  822. function QuaternionSlerp(a, b, t)
  823. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  824. local startInterp, finishInterp
  825. if cosTheta >= 1.0E-4 then
  826. if 1 - cosTheta > 1.0E-4 then
  827. local theta = math.acos(cosTheta)
  828. local invSinTheta = 1 / math.sin(theta)
  829. startInterp = math.sin((1 - t) * theta) * invSinTheta
  830. finishInterp = math.sin(t * theta) * invSinTheta
  831. else
  832. startInterp = 1 - t
  833. finishInterp = t
  834. end
  835. elseif 1 + cosTheta > 1.0E-4 then
  836. local theta = math.acos(-cosTheta)
  837. local invSinTheta = 1 / math.sin(theta)
  838. startInterp = math.sin((t - 1) * theta) * invSinTheta
  839. finishInterp = math.sin(t * theta) * invSinTheta
  840. else
  841. startInterp = t - 1
  842. finishInterp = t
  843. end
  844. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  845. end
  846. function rayCast(Pos, Dir, Max, Ignore)
  847. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  848. end
  849. function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  850. local fp = it("Part")
  851. fp.formFactor = formfactor
  852. fp.Parent = parent
  853. fp.Reflectance = reflectance
  854. fp.Transparency = transparency
  855. fp.CanCollide = false
  856. fp.Locked = true
  857. fp.BrickColor = brickcolor
  858. fp.Name = name
  859. fp.Size = size
  860. fp.Position = Torso.Position
  861. fp.BottomSurface = "Smooth"
  862. fp.TopSurface = "Smooth"
  863. fp:BreakJoints()
  864. return fp
  865. end
  866. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  867. local mesh = it(Mesh)
  868. mesh.Parent = part
  869. if Mesh == "SpecialMesh" then
  870. mesh.MeshType = meshtype
  871. mesh.MeshId = meshid
  872. end
  873. mesh.Offset = offset
  874. mesh.Scale = scale
  875. return mesh
  876. end
  877. function weld(parent, part0, part1, c0)
  878. local weld = it("Weld")
  879. weld.Parent = parent
  880. weld.Part0 = part0
  881. weld.Part1 = part1
  882. weld.C0 = c0
  883. return weld
  884. end
  885. function rayCast(Pos, Dir, Max, Ignore)
  886. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  887. end
  888. RSH, LSH = nil, nil
  889. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  890. RW.Name = "Right Shoulder"
  891. LW.Name = "Left Shoulder"
  892. LH = Torso["Left Hip"]
  893. RH = Torso["Right Hip"]
  894. TorsoColor = Torso.BrickColor
  895. function NoOutline(Part)
  896. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  897. end
  898. player = Player
  899. ch = Character
  900. RSH = ch.Torso["Right Shoulder"]
  901. LSH = ch.Torso["Left Shoulder"]
  902. RSH.Parent = nil
  903. LSH.Parent = nil
  904. RW.Name = "Right Shoulder"
  905. RW.Part0 = ch.Torso
  906. RW.C0 = cf(1.5, 0.5, 0)
  907. RW.C1 = cf(0, 0.5, 0)
  908. RW.Part1 = ch["Right Arm"]
  909. RW.Parent = ch.Torso
  910. LW.Name = "Left Shoulder"
  911. LW.Part0 = ch.Torso
  912. LW.C0 = cf(-1.5, 0.5, 0)
  913. LW.C1 = cf(0, 0.5, 0)
  914. LW.Part1 = ch["Left Arm"]
  915. LW.Parent = ch.Torso
  916. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  917. local wld = Instance.new("Weld", wp1)
  918. wld.Part0 = wp0
  919. wld.Part1 = wp1
  920. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  921. end
  922. newWeld(RootPart, Torso, 0, -1, 0)
  923. Torso.Weld.C1 = CFrame.new(0, -1, 0)
  924. newWeld(Torso, LeftLeg, -0.5, -1, 0)
  925. LeftLeg.Weld.C1 = CFrame.new(0, 1, 0)
  926. newWeld(Torso, RightLeg, 0.5, -1, 0)
  927. RightLeg.Weld.C1 = CFrame.new(0, 1, 0)
  928. Player = game:GetService("Players").LocalPlayer
  929. Character = workspace["CloneCharacter"]
  930. mouse = Player:GetMouse()
  931. m = Instance.new("Model", Character)
  932. local weldBetween = function(a, b)
  933. local weldd = Instance.new("ManualWeld")
  934. weldd.Part0 = a
  935. weldd.Part1 = b
  936. weldd.C0 = CFrame.new()
  937. weldd.C1 = b.CFrame:inverse() * a.CFrame
  938. weldd.Parent = a
  939. return weldd
  940. end
  941. ArtificialHB = Instance.new("BindableEvent", script)
  942. ArtificialHB.Name = "Heartbeat"
  943. script:WaitForChild("Heartbeat")
  944. frame = 0.016666666666666666
  945. tf = 0
  946. allowframeloss = false
  947. tossremainder = false
  948. lastframe = tick()
  949. script.Heartbeat:Fire()
  950. game:GetService("RunService").Heartbeat:connect(function(s, p)
  951. tf = tf + s
  952. if tf >= frame then
  953. if allowframeloss then
  954. script.Heartbeat:Fire()
  955. lastframe = tick()
  956. else
  957. for i = 1, math.floor(tf / frame) do
  958. script.Heartbeat:Fire()
  959. end
  960. lastframe = tick()
  961. end
  962. if tossremainder then
  963. tf = 0
  964. else
  965. tf = tf - frame * math.floor(tf / frame)
  966. end
  967. end
  968. end)
  969. function swait(num)
  970. if num == 0 or num == nil then
  971. ArtificialHB.Event:wait()
  972. else
  973. for i = 0, num do
  974. ArtificialHB.Event:wait()
  975. end
  976. end
  977. end
  978. mouse.KeyDown:connect(function(key)
  979. if key == "c" then
  980. repeat
  981. swait()
  982. Chillmusic.Volume = Chillmusic.Volume - 0.05
  983. until Chillmusic.Volume == 0
  984. Chillmusic:Stop()
  985. swait()
  986. Chillmusic2:Play()
  987. Chillmusic.Volume = 1
  988. end
  989. end)
  990. mouse.KeyDown:connect(function(key)
  991. if key == "f" then
  992. text.Text = "Guys why not just chill?"
  993. wait(1)
  994. text.Text = "It's just the way life should be."
  995. wait(1)
  996. text.Text = "Chill is life."
  997. wait(1)
  998. text.Text = "Chill is love."
  999. wait(1)
  1000. text.Text = "Chill is for the best."
  1001. wait(1)
  1002. text.Text = "Maybe if you were chill you wouldn't be a skid..."
  1003. wait(3)
  1004. text.Text = "But some people cant handle the chill can they."
  1005. wait(3)
  1006. text.Text = "Chill Af"
  1007. end
  1008. end)
  1009. mouse.KeyDown:connect(function(key)
  1010. if key == "v" then
  1011. repeat
  1012. swait()
  1013. Chillmusic2.Volume = Chillmusic2.Volume - 0.05
  1014. until Chillmusic2.Volume == 0
  1015. Chillmusic2:Stop()
  1016. swait()
  1017. Chillmusic:Play()
  1018. Chillmusic2.Volume = 1
  1019. end
  1020. end)
  1021. mouse.KeyDown:connect(function(key)
  1022. if key == "b" then
  1023. text.Text = "Be back scrubs."
  1024. wait(1)
  1025. text.Text = "Afk nibba..."
  1026. end
  1027. end)
  1028. mouse.KeyDown:connect(function(key)
  1029. if key == "n" then
  1030. text.Text = "K back you nubs's!"
  1031. wait(1)
  1032. text.Text = "Chill Af"
  1033. end
  1034. end)
  1035. m = Instance.new("ForceField", Character)
  1036. m.Visible = false
  1037. Character.Humanoid.WalkSpeed = 4
  1038. mouse.KeyDown:connect(function(key)
  1039. if string.byte(key) == 48 then
  1040. Swing = 2
  1041. Character.Humanoid.WalkSpeed = 40
  1042. end
  1043. end)
  1044. mouse.KeyUp:connect(function(key)
  1045. if string.byte(key) == 48 then
  1046. Swing = 1
  1047. Character.Humanoid.WalkSpeed = 4
  1048. end
  1049. end)
  1050. local sine = 0
  1051. local change = 1
  1052. local val = 0
  1053. spawn(function()
  1054. while true do
  1055. swait()
  1056. sine = sine + change
  1057. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1058. local velderp = RootPart.Velocity.y
  1059. hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1060. if equipped == true or equipped == false then
  1061. if attack == false then
  1062. idle = idle + 1
  1063. Character.Humanoid.MaxHealth = math.huge
  1064. Character.Humanoid.Health = math.huge
  1065. else
  1066. idle = 0
  1067. end
  1068. if not (idle >= 500) or attack == false then
  1069. end
  1070. if torvel < 1 and hitfloor ~= nil then
  1071. Anim = "Chill"
  1072. if attack == false then
  1073. Humanoid.CameraOffset = Vector3.new(0, 10.25 - 5.45 * math.cos(sine / 65), 0)
  1074. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 10.25 - 5.45 * math.cos(sine / 65), 0) * CFrame.Angles(math.rad(90 + 15 * math.sin(sine / 60)), math.rad(0), math.rad(0)), 0.8)
  1075. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20 + 20 * math.cos(sine / 60)), math.rad(0 + 4 * math.sin(sine / 60)), math.rad(0)), 0.2)
  1076. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-90 + 25 * math.cos(sine / 60)), math.rad(0 + 20 * math.sin(sine / 60)), math.rad(0 + 55 * math.sin(sine / 60))), 0.3)
  1077. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-90 + 25 * math.cos(sine / 60)), math.rad(-20 - 20 * math.sin(sine / 60)), math.rad(0 - 55 * math.sin(sine / 60))), 0.3)
  1078. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.86 + 0.03 * math.cos(sine / 65), -0.4) * CFrame.Angles(math.rad(15 - 45 * math.cos(sine / 70)), math.rad(3), math.rad(-4)), 0.8)
  1079. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1 + 0.05 * math.cos(sine / 65), -0.4) * CFrame.Angles(math.rad(15 - 35 * math.cos(sine / 65)), math.rad(-3), math.rad(4)), 0.8)
  1080. end
  1081. elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  1082. Anim = "Walk"
  1083. if attack == false then
  1084. Humanoid.CameraOffset = Vector3.new(0, 6 - 2.55 * math.cos(sine / 48.5), 0)
  1085. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.2)
  1086. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 6 - 2.55 * math.cos(sine / 48.5), 0) * CFrame.Angles(math.rad(-90 + 5 * math.cos(sine / 45)), math.rad(180 * math.cos(sine / 48.5)), math.rad(0)), 0.8)
  1087. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-4 + 2 * math.sin(sine / 48)), math.rad(0), math.rad(0)), 0.2)
  1088. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 45), 0) * angles(math.rad(90), math.rad(0), math.rad(90 - 20.5 * math.cos(sine / 45))), 0.3)
  1089. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 45), 0) * angles(math.rad(90), math.rad(0), math.rad(-90 + 20.5 * math.cos(sine / 45))), 0.3)
  1090. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1 - 0.05 * math.cos(sine / 45), 0) * CFrame.Angles(math.rad(0), math.rad(3), math.rad(-4)), 0.8)
  1091. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1 + 0.05 * math.cos(sine / 45), 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(4)), 0.8)
  1092. end
  1093. elseif torvel >= 22 and hitfloor ~= nil then
  1094. Anim = "Run"
  1095. if attack == false then
  1096. Humanoid.CameraOffset = Vector3.new(0, 6 - 1.55 * math.cos(sine / 68.5), 0)
  1097. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 6 - 1.55 * math.cos(sine / 68.5), -0.2) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.2)
  1098. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 6 - 1.55 * math.cos(sine / 68.5), 0) * CFrame.Angles(math.rad(-40 + 20 * math.sin(sine / 68.5)), 0, 0), 0.8)
  1099. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-12 + 17 * math.cos(sine / 68.5)), math.rad(0), math.rad(0)), 0.2)
  1100. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(40 - 20 * math.cos(sine / 68.5))), 0.2)
  1101. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(-40 + 20 * math.cos(sine / 68.5))), 0.2)
  1102. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.87, -0.25) * CFrame.Angles(math.rad(-45 - 10 * math.cos(sine / 68.5)), math.rad(0), math.rad(0)), 0.8)
  1103. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, -0.1) * CFrame.Angles(math.rad(-35 - 10 * math.cos(sine / 68.5)), math.rad(0), math.rad(0)), 0.8)
  1104. end
  1105. end
  1106. end
  1107. end
  1108. end)
  1109.  
  1110.  
  1111.  
  1112. -- Objects
  1113.  
  1114. local Chill_Gui_Bro = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  1115. local Header = Instance.new("Frame")
  1116. local BackGround = Instance.new("Frame")
  1117. local Chill_Gui_Label = Instance.new("TextLabel")
  1118. local Play_ID_Button = Instance.new("TextButton")
  1119. local ID_Box = Instance.new("TextBox")
  1120. local Set_Vol_Button = Instance.new("TextButton")
  1121. local Vol_Box = Instance.new("TextBox")
  1122. local Set_Tpos_Button = Instance.new("TextButton")
  1123. local Tpos_Box = Instance.new("TextBox")
  1124. local Set_Text_Button = Instance.new("TextButton")
  1125. local Tpos_Box_2 = Instance.new("TextBox")
  1126. local Toggle_Chat_Button = Instance.new("TextButton")
  1127. local Chat_Toggle_Label = Instance.new("TextLabel")
  1128. local Current_Song_Label = Instance.new("TextLabel")
  1129.  
  1130. -- Properties
  1131.  
  1132. Chill_Gui_Bro.Name = "Chill_Gui_Bro"
  1133.  
  1134. Header.Name = "Header"
  1135. Header.Parent = Chill_Gui_Bro
  1136. Header.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1137. Header.BorderSizePixel = 0
  1138. Header.Draggable = true
  1139. Header.Active = true
  1140. Header.Selectable = true
  1141. Header.Position = UDim2.new(0.469539374, 0, 0.147921771, 0)
  1142. Header.Size = UDim2.new(0, 250, 0, 45)
  1143.  
  1144. BackGround.Name = "BackGround"
  1145. BackGround.Parent = Header
  1146. BackGround.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  1147. BackGround.BorderSizePixel = 0
  1148. BackGround.Draggable = true
  1149. BackGround.Position = UDim2.new(0, 0, 1, 0)
  1150. BackGround.Size = UDim2.new(0, 250, 0, 299)
  1151.  
  1152. Chill_Gui_Label.Name = "Chill_Gui_Label"
  1153. Chill_Gui_Label.Parent = Header
  1154. Chill_Gui_Label.BackgroundColor3 = Color3.new(1, 1, 1)
  1155. Chill_Gui_Label.BackgroundTransparency = 1
  1156. Chill_Gui_Label.BorderSizePixel = 0
  1157. Chill_Gui_Label.Draggable = true
  1158. Chill_Gui_Label.Size = UDim2.new(0, 250, 0, 45)
  1159. Chill_Gui_Label.Font = Enum.Font.Arcade
  1160. Chill_Gui_Label.Text = "~»Chill Gui«~"
  1161. Chill_Gui_Label.TextColor3 = Color3.new(1, 1, 1)
  1162. Chill_Gui_Label.TextScaled = true
  1163. Chill_Gui_Label.TextSize = 14
  1164. Chill_Gui_Label.TextWrapped = true
  1165.  
  1166. Play_ID_Button.Name = "Play_ID_Button"
  1167. Play_ID_Button.Parent = Header
  1168. Play_ID_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1169. Play_ID_Button.BorderColor3 = Color3.new(0, 0, 0)
  1170. Play_ID_Button.BorderSizePixel = 0
  1171. Play_ID_Button.Position = UDim2.new(0.0520000011, 0, 1.22222221, 0)
  1172. Play_ID_Button.Size = UDim2.new(0, 68, 0, 35)
  1173. Play_ID_Button.Font = Enum.Font.Arcade
  1174. Play_ID_Button.Text = "Play ID"
  1175. Play_ID_Button.TextColor3 = Color3.new(1, 1, 1)
  1176. Play_ID_Button.TextSize = 20
  1177. Play_ID_Button.TextWrapped = true
  1178.  
  1179. ID_Box.Name = "ID_Box"
  1180. ID_Box.Parent = Header
  1181. ID_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1182. ID_Box.BorderColor3 = Color3.new(0, 0, 0)
  1183. ID_Box.BorderSizePixel = 0
  1184. ID_Box.Position = UDim2.new(0.356000006, 0, 1.22222221, 0)
  1185. ID_Box.Size = UDim2.new(0, 140, 0, 35)
  1186. ID_Box.Font = Enum.Font.Arcade
  1187. ID_Box.Text = "ID here"
  1188. ID_Box.TextColor3 = Color3.new(1, 1, 1)
  1189. ID_Box.TextSize = 35
  1190. ID_Box.TextWrapped = true
  1191.  
  1192. Set_Vol_Button.Name = "Set_Vol_Button"
  1193. Set_Vol_Button.Parent = Header
  1194. Set_Vol_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1195. Set_Vol_Button.BorderColor3 = Color3.new(0, 0, 0)
  1196. Set_Vol_Button.BorderSizePixel = 0
  1197. Set_Vol_Button.Position = UDim2.new(0.0520000011, 0, 2.20000005, 0)
  1198. Set_Vol_Button.Size = UDim2.new(0, 68, 0, 35)
  1199. Set_Vol_Button.Font = Enum.Font.Arcade
  1200. Set_Vol_Button.Text = "Set Vol"
  1201. Set_Vol_Button.TextColor3 = Color3.new(1, 1, 1)
  1202. Set_Vol_Button.TextSize = 20
  1203. Set_Vol_Button.TextWrapped = true
  1204.  
  1205. Vol_Box.Name = "Vol_Box"
  1206. Vol_Box.Parent = Header
  1207. Vol_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1208. Vol_Box.BorderColor3 = Color3.new(0, 0, 0)
  1209. Vol_Box.BorderSizePixel = 0
  1210. Vol_Box.Position = UDim2.new(0.356000006, 0, 2.20000005, 0)
  1211. Vol_Box.Size = UDim2.new(0, 140, 0, 35)
  1212. Vol_Box.Font = Enum.Font.Arcade
  1213. Vol_Box.Text = "Volume"
  1214. Vol_Box.TextColor3 = Color3.new(1, 1, 1)
  1215. Vol_Box.TextSize = 35
  1216. Vol_Box.TextWrapped = true
  1217.  
  1218. Set_Tpos_Button.Name = "Set_Tpos_Button"
  1219. Set_Tpos_Button.Parent = Header
  1220. Set_Tpos_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1221. Set_Tpos_Button.BorderColor3 = Color3.new(0, 0, 0)
  1222. Set_Tpos_Button.BorderSizePixel = 0
  1223. Set_Tpos_Button.Position = UDim2.new(0.0520000011, 0, 3.24444437, 0)
  1224. Set_Tpos_Button.Size = UDim2.new(0, 68, 0, 35)
  1225. Set_Tpos_Button.Font = Enum.Font.Arcade
  1226. Set_Tpos_Button.Text = "Set Tpos"
  1227. Set_Tpos_Button.TextColor3 = Color3.new(1, 1, 1)
  1228. Set_Tpos_Button.TextSize = 18
  1229. Set_Tpos_Button.TextWrapped = true
  1230.  
  1231. Tpos_Box.Name = "Tpos_Box"
  1232. Tpos_Box.Parent = Header
  1233. Tpos_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1234. Tpos_Box.BorderColor3 = Color3.new(0, 0, 0)
  1235. Tpos_Box.BorderSizePixel = 0
  1236. Tpos_Box.Position = UDim2.new(0.356000006, 0, 3.24444437, 0)
  1237. Tpos_Box.Size = UDim2.new(0, 140, 0, 35)
  1238. Tpos_Box.Font = Enum.Font.Arcade
  1239. Tpos_Box.Text = "Time Position"
  1240. Tpos_Box.TextColor3 = Color3.new(1, 1, 1)
  1241. Tpos_Box.TextSize = 20
  1242. Tpos_Box.TextWrapped = true
  1243.  
  1244. Set_Text_Button.Name = "Set_Text_Button"
  1245. Set_Text_Button.Parent = Header
  1246. Set_Text_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1247. Set_Text_Button.BorderColor3 = Color3.new(0, 0, 0)
  1248. Set_Text_Button.BorderSizePixel = 0
  1249. Set_Text_Button.Position = UDim2.new(0.0600000024, 0, 4.22222233, 0)
  1250. Set_Text_Button.Size = UDim2.new(0, 68, 0, 35)
  1251. Set_Text_Button.Font = Enum.Font.Arcade
  1252. Set_Text_Button.Text = "Set Text"
  1253. Set_Text_Button.TextColor3 = Color3.new(1, 1, 1)
  1254. Set_Text_Button.TextSize = 18
  1255. Set_Text_Button.TextWrapped = true
  1256.  
  1257. Tpos_Box_2.Name = "Tpos_Box"
  1258. Tpos_Box_2.Parent = Header
  1259. Tpos_Box_2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1260. Tpos_Box_2.BorderColor3 = Color3.new(0, 0, 0)
  1261. Tpos_Box_2.BorderSizePixel = 0
  1262. Tpos_Box_2.Position = UDim2.new(0.356000006, 0, 4.22222233, 0)
  1263. Tpos_Box_2.Size = UDim2.new(0, 140, 0, 35)
  1264. Tpos_Box_2.Font = Enum.Font.Arcade
  1265. Tpos_Box_2.Text = "Text"
  1266. Tpos_Box_2.TextColor3 = Color3.new(1, 1, 1)
  1267. Tpos_Box_2.TextSize = 20
  1268. Tpos_Box_2.TextWrapped = true
  1269.  
  1270. Toggle_Chat_Button.Name = "Toggle_Chat_Button"
  1271. Toggle_Chat_Button.Parent = Header
  1272. Toggle_Chat_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1273. Toggle_Chat_Button.BorderColor3 = Color3.new(0, 0, 0)
  1274. Toggle_Chat_Button.BorderSizePixel = 0
  1275. Toggle_Chat_Button.Position = UDim2.new(0.0579999983, 0, 5.26666689, 0)
  1276. Toggle_Chat_Button.Size = UDim2.new(0, 97, 0, 35)
  1277. Toggle_Chat_Button.Font = Enum.Font.Arcade
  1278. Toggle_Chat_Button.Text = "Toggle Chat"
  1279. Toggle_Chat_Button.TextColor3 = Color3.new(1, 1, 1)
  1280. Toggle_Chat_Button.TextSize = 20
  1281. Toggle_Chat_Button.TextWrapped = true
  1282.  
  1283. Chat_Toggle_Label.Name = "Chat_Toggle_Label"
  1284. Chat_Toggle_Label.Parent = Header
  1285. Chat_Toggle_Label.BackgroundColor3 = Color3.new(1, 1, 1)
  1286. Chat_Toggle_Label.BackgroundTransparency = 0.89999997615814
  1287. Chat_Toggle_Label.BorderColor3 = Color3.new(1, 1, 1)
  1288. Chat_Toggle_Label.Position = UDim2.new(0.540000021, 0, 5.26666689, 0)
  1289. Chat_Toggle_Label.Size = UDim2.new(0, 94, 0, 35)
  1290. Chat_Toggle_Label.Font = Enum.Font.Arcade
  1291. Chat_Toggle_Label.Text = "~»False«~"
  1292. Chat_Toggle_Label.TextColor3 = Color3.new(1, 1, 1)
  1293. Chat_Toggle_Label.TextScaled = true
  1294. Chat_Toggle_Label.TextSize = 14
  1295. Chat_Toggle_Label.TextWrapped = true
  1296.  
  1297. Current_Song_Label.Name = "Current_Song_Label"
  1298. Current_Song_Label.Parent = Header
  1299. Current_Song_Label.BackgroundColor3 = Color3.new(1, 1, 1)
  1300. Current_Song_Label.BackgroundTransparency = 0.89999997615814
  1301. Current_Song_Label.BorderColor3 = Color3.new(1, 1, 1)
  1302. Current_Song_Label.Position = UDim2.new(0.0520000011, 0, 6.64444447, 0)
  1303. Current_Song_Label.Size = UDim2.new(0, 225, 0, 35)
  1304. Current_Song_Label.Font = Enum.Font.Arcade
  1305. Current_Song_Label.Text = "~»Current Song: None«~"
  1306. Current_Song_Label.TextColor3 = Color3.new(1, 1, 1)
  1307. Current_Song_Label.TextScaled = true
  1308. Current_Song_Label.TextSize = 14
  1309. Current_Song_Label.TextWrapped = true
  1310.  
  1311. Play_ID_Button.MouseButton1Down:Connect(function()
  1312. if tonumber(ID_Box.Text) then
  1313. Chillmusic:Stop()
  1314. Chillmusic.SoundId='rbxassetid://'..tonumber(ID_Box.Text)
  1315. Chillmusic:Play()
  1316. currentsong = game:GetService("MarketplaceService"):GetProductInfo(tonumber(ID_Box.Text)).Name
  1317. text.Text = "~»Chill Af«~ Now Playing: "..currentsong
  1318. Current_Song_Label.Text = "~»Current Song: "..currentsong.."«~"
  1319. wait(4)
  1320. text.Text = "~»Fell Apart AF«~"
  1321. end
  1322. end)
  1323. local ischatting = false
  1324.  
  1325. Set_Vol_Button.MouseButton1Down:Connect(function()
  1326.  
  1327. Chillmusic.Volume = tonumber(Vol_Box.Text)
  1328. end)
  1329.  
  1330. Set_Tpos_Button.MouseButton1Down:Connect(function()
  1331.  
  1332. Chillmusic.TimePosition = tonumber(Tpos_Box.Text)
  1333. end)
  1334.  
  1335. Set_Text_Button.MouseButton1Down:Connect(function()
  1336.  
  1337. text.Text = "~»"..Tpos_Box_2.Text.."«~"
  1338. end)
  1339.  
  1340. Toggle_Chat_Button.MouseButton1Down:Connect(function()
  1341. if ischatting == false then
  1342. ischatting = true
  1343. Chat_Toggle_Label.Text = "~»True«~"
  1344. spawn(function()
  1345. game.Players.LocalPlayer.Chatted:connect(function(msg)
  1346. for i = 0, msg:len(), 1 do
  1347. text.Text = "~»"..msg:sub(0, i).."«~"
  1348. end
  1349. wait(3)
  1350. text.Text = "~»Fell Apart AF«~"
  1351. end)
  1352. end)
  1353. else
  1354. ischatting = false
  1355. Chat_Toggle_Label.Text = "~»False«~"
  1356. end
  1357. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement