Advertisement
HenloMyDude

non require skid beater test

Oct 12th, 2019
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.53 KB | None | 0 0
  1.  
  2. local Player = owner -- CHANGE THIS TO YOUR NAME
  3. local EpicName = Player.Name
  4. local repStorage= game:GetService("ReplicatedStorage")
  5. wait(1)
  6. script.Parent = game:GetService("ServerScriptService")
  7.  
  8. local MainFolder = Instance.new("Folder")
  9. MainFolder.Name = Player.Name
  10. MainFolder.Parent = repStorage
  11.  
  12. Player.Character.Archivable = true
  13. local NC = Player.Character:Clone()
  14. FF = Instance.new("ForceField")
  15. FF.Visible = false
  16. FF.Parent = NC
  17. NC.Parent = MainFolder
  18.  
  19.  
  20. --Converted with ttyyuu12345's model to script plugin v4
  21. function sandbox(var,func)
  22. local env = getfenv(func)
  23. local newenv = setmetatable({},{
  24. __index = function(self,k)
  25. if k=="script" then
  26. return var
  27. else
  28. return env[k]
  29. end
  30. end,
  31. })
  32. setfenv(func,newenv)
  33. return func
  34. end
  35. cors = {}
  36. mas = script
  37. ScreenGui0 = Instance.new("ScreenGui")
  38. LocalScript1 = Instance.new("LocalScript")
  39. LocalScript2 = Instance.new("LocalScript")
  40. Model3 = Instance.new("Model")
  41. MeshPart4 = Instance.new("MeshPart")
  42. MeshPart5 = Instance.new("MeshPart")
  43. ParticleEmitter6 = Instance.new("ParticleEmitter")
  44. Folder7 = Instance.new("Folder")
  45. UnionOperation8 = Instance.new("UnionOperation")
  46. UnionOperation9 = Instance.new("UnionOperation")
  47. Model10 = Instance.new("Model")
  48. Part11 = Instance.new("Part")
  49. MeshPart12 = Instance.new("MeshPart")
  50. Sound13 = Instance.new("Sound")
  51. UnionOperation14 = Instance.new("UnionOperation")
  52. UnionOperation15 = Instance.new("UnionOperation")
  53. MeshPart16 = Instance.new("MeshPart")
  54. ScreenGui0.Name = "Holder"
  55. ScreenGui0.Parent = mas
  56. ScreenGui0.ResetOnSpawn = false
  57. ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  58. LocalScript1.Name = "ParentControl"
  59. LocalScript1.Parent = ScreenGui0
  60. table.insert(cors,sandbox(LocalScript1,function()
  61. game:GetService("RunService").Heartbeat:Wait()
  62. local NAME = script.Parent.Name
  63. if game:GetService("Players").LocalPlayer.PlayerScripts:FindFirstChild(NAME) == nil then
  64. local NS = script.Parent:Clone()
  65. NS.Parent = game:GetService("Players").LocalPlayer.PlayerScripts
  66. game:GetService("RunService").Heartbeat:wait()
  67. for i,v in pairs(NS:GetChildren()) do
  68. if v ~= script then
  69. v.Disabled = false
  70. end
  71. end
  72. end
  73. end))
  74. LocalScript2.Parent = ScreenGui0
  75. table.insert(cors,sandbox(LocalScript2,function()
  76. --[[ Please note that some damage functions may cause inconsistant damage between players and must be fixed manually using the DamageRemote I've turned into a comment.
  77. Don't worry about this if you don't know how as it normally doesn't matter. --]]
  78.  
  79. local repStorage = game:GetService("ReplicatedStorage")
  80. local Player = game:GetService("Players")[script.Parent.Name]
  81. local lplr = game:GetService("Players").LocalPlayer
  82.  
  83. local MainFolder = repStorage:FindFirstChild(Player.Name)
  84. MainFolder:WaitForChild("mHit")
  85. for i,v in pairs(MainFolder:GetChildren()) do
  86. print(v.Name)
  87. end
  88.  
  89. local SyncFolder = MainFolder.Sync
  90. local LoopType = MainFolder.LoopType
  91. local StopRemote = MainFolder.StopRemote
  92. local DamageRemote = MainFolder.DamageRemote
  93. local Mode = MainFolder.Mode
  94. local Movement = MainFolder.Movement
  95. local MoveType = MainFolder.MoveType
  96. Character = MainFolder[Player.Name]:Clone()
  97. RealRoot = workspace.Terrain:WaitForChild(Player.Name.." tracker")
  98. --local WeldRemote = MainFolder.WeldRemote
  99.  
  100. StopRemote.OnClientEvent:Connect(function()
  101. if lplr == Player then
  102. for i,v in pairs(lplr.PlayerGui:GetChildren()) do
  103. if v.Name == "ScreenGui" or v.Name == "Weapon GUI" then
  104. v:Destroy()
  105. end
  106. end
  107. end
  108. Character:Destroy()
  109. if script.Parent.Parent:FindFirstChild("Holder") then
  110. script.Parent.Parent:FindFirstChild("Holder"):Remove()
  111. end
  112. print("Script Disabled Sucessfully")
  113. script.Parent:Remove()
  114. game:GetService("RunService").Heartbeat:wait()
  115. print("Possible Error")
  116. script.Disabled = true
  117. end)
  118.  
  119. if lplr == Player then
  120. local lMouse = Player:GetMouse()
  121. local HB = game:GetService("RunService").Heartbeat
  122. local Remote = MainFolder.Mouse
  123. local Remote2 = MainFolder.MouseInfo
  124.  
  125. lMouse.KeyDown:Connect(function(Key)
  126. Remote:FireServer("KeyDown", Key)
  127. end)
  128. lMouse.KeyUp:Connect(function(Key)
  129. Remote:FireServer("KeyUp", Key)
  130. end)
  131. lMouse.Button1Down:Connect(function(Key)
  132. Remote:FireServer("MouseButton1Down", Key)
  133. end)
  134. lMouse.Button1Up:Connect(function(Key)
  135. Remote:FireServer("MouseButton1Up", Key)
  136. end)
  137.  
  138. spawn(function()
  139. while true do
  140. for i = 1,1000,1 do
  141. HB:wait()
  142. Remote2["r"..i]:FireServer(lMouse.Hit, lMouse.Target)
  143. end
  144. end
  145. end)
  146. end
  147.  
  148.  
  149.  
  150. local Mouse = {}
  151.  
  152. do
  153. local Remote = MainFolder.Mouse
  154. local Hits = MainFolder.MouseInfo
  155. local KeyDown = Instance.new("BindableEvent")
  156. local KeyUp = Instance.new("BindableEvent")
  157. local MouseButton1Down = Instance.new("BindableEvent")
  158. local MouseButton1Up = Instance.new("BindableEvent")
  159. local Hit = MainFolder.mHit
  160. local Target = MainFolder.mTarget
  161. Mouse.KeyDown = KeyDown.Event
  162. Mouse.KeyUp = KeyUp.Event
  163. Mouse.Button1Down = MouseButton1Down.Event
  164. Mouse.Button1Up = MouseButton1Up.Event
  165. Remote.OnClientEvent:Connect(function(request, ...)
  166. if request == "KeyDown" then
  167. KeyDown:Fire(...)
  168. end
  169. if request == "KeyUp" then
  170. KeyUp:Fire(...)
  171. end
  172. if request == "MouseButton1Down" then
  173. MouseButton1Down:Fire(...)
  174. end
  175. if request == "MouseButton1Up" then
  176. MouseButton1Up:Fire(...)
  177. end
  178. end)
  179.  
  180. --[[for i,v in pairs(Hits:GetChildren()) do
  181. v.OnServerEvent:Connect(function(plr, HIT, TARGET)
  182. Hit = Hit
  183. Target = Target
  184. end)
  185. end--]]
  186. Mouse.Hit = Hit.Value
  187. Mouse.Target = Target.Value
  188. local FakeGui = Instance.new("Folder")
  189. FakeGui.Name = "PlayerGui"
  190. FakeGui.Parent = Player
  191. local FakeBackpack = Instance.new("Folder")
  192. FakeBackpack.Name = "Backpack"
  193. FakeBackpack.Parent = Player
  194.  
  195. local ArtificialHB = Instance.new("BindableEvent", script)
  196. ArtificialHB.Name = "ArtificialHB2"
  197. script:WaitForChild("ArtificialHB2")
  198. frame = 1/60
  199. tf = 0
  200. allowframeloss = false
  201. tossremainder = false
  202. lastframe = tick()
  203. script.ArtificialHB2:Fire()
  204. game:GetService("RunService").Heartbeat:connect(function(s, p)
  205. tf = tf + s
  206. if tf >= frame then
  207. if allowframeloss then
  208. ArtificialHB:Fire()
  209. lastframe = tick()
  210. else
  211. for i = 1, math.floor(tf / frame) do
  212. ArtificialHB:Fire()
  213. end
  214. lastframe = tick()
  215. end
  216. if tossremainder then
  217. tf = 0
  218. else
  219. tf = tf - frame * math.floor(tf / frame)
  220. end
  221. end
  222. end)
  223.  
  224. function BaseWait(NUMBER)
  225. if NUMBER == 0 or NUMBER == nil then
  226. if LoopType.Value == "Server" then
  227. SyncFolder.ChildAdded:wait()
  228. elseif LoopType.Value == "RenderStepped" then
  229. game:GetService("RunService").RenderStepped:wait()
  230. elseif LoopType.Value == "Stepped" then
  231. game:GetService("RunService").Stepped:wait()
  232. elseif LoopType.Value == "Heartbeat" then
  233. game:GetService("RunService").Heartbeat:wait()
  234. elseif LoopType.Value == "Custom" then
  235. ArtificialHB.Event:wait()
  236. end
  237. else
  238. for i = 1, NUMBER do
  239. if LoopType.Value == "Server" then
  240. SyncFolder.ChildAdded:wait()
  241. elseif LoopType.Value == "RenderStepped" then
  242. game:GetService("RunService").RenderStepped:wait()
  243. elseif LoopType.Value == "Stepped" then
  244. game:GetService("RunService").Stepped:wait()
  245. elseif LoopType.Value == "Heartbeat" then
  246. game:GetService("RunService").Heartbeat:wait()
  247. elseif LoopType.Value == "Custom" then
  248. ArtificialHB.Event:wait()
  249. end
  250. end
  251. end
  252. end
  253. swait = BaseWait
  254. Swait = BaseWait
  255. ArtificialHB.Event:Connect(function()
  256. Mouse.Hit = Hit.Value
  257. Mouse.Target = Target.Value
  258. if Swait ~= BaseWait then
  259. Swait = BaseWait
  260. end
  261. if swait ~= BaseWait then
  262. swait = BaseWait
  263. end
  264. end)
  265. end
  266.  
  267. -- You must remove any Variables that reference a LocalPlayer. Example: Player = game.Players.LocalPlayer
  268. -- You must remove any Variables that reference :GetMouse(). Example: Mouse = Player:GetMouse()
  269. -- You must remove anything that sets the script's parent. Example: script.Parent = OBJECT
  270.  
  271. -- Make sure to change the name at the top of the script named "CRTemplate" to your name! --]]
  272.  
  273. -- You can use ctrl + f keys to search for the keywords above (LocalPlayer, GetMouse, script.Parent =)
  274.  
  275. -- PASTE SCRIPT BELOW THIS LINE!
  276. --------------------------------
  277.  
  278. --// Fat skid die
  279.  
  280. -- leanop
  281. Cam = workspace.CurrentCamera
  282.  
  283. if lplr == Player then
  284. Cam.CameraSubject = Character:FindFirstChildOfClass("Humanoid")
  285. end
  286. if lplr == Player then
  287. game:GetService("RunService").RenderStepped:Connect(function()
  288. Player.Character = Character
  289. Cam.CameraSubject = Character:FindFirstChildOfClass("Humanoid")
  290. end)
  291. end
  292. Character.Parent = workspace
  293.  
  294. local TS = game:GetService("TweenService")
  295. local PS = game:GetService("PhysicsService")
  296. PlayerGui = Player.PlayerGui
  297. Cam = workspace.CurrentCamera
  298. Backpack = Player.Backpack
  299. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  300. RootPart = Character["HumanoidRootPart"]
  301. Head = Character.Head
  302. UpperTorso = Character.UpperTorso
  303. LowerTorso = Character.LowerTorso
  304. RightUpperArm = Character.RightUpperArm
  305. RightLowerArm = Character.RightLowerArm
  306. RightHand = Character.RightHand
  307. LeftUpperArm = Character.LeftUpperArm
  308. LeftLowerArm = Character.LeftLowerArm
  309. LeftHand = Character.LeftHand
  310. RightUpperLeg = Character.RightUpperLeg
  311. RightLowerLeg = Character.RightLowerLeg
  312. RightFoot = Character.RightFoot
  313. LeftUpperLeg = Character.LeftUpperLeg
  314. LeftLowerLeg = Character.LeftLowerLeg
  315. LeftFoot = Character.LeftFoot
  316.  
  317. Neck = Head.Neck
  318. Waist = UpperTorso.Waist
  319. RootJoint = LowerTorso.Root
  320. RSH = RightUpperArm.RightShoulder
  321. RightElbow = RightLowerArm.RightElbow
  322. RightWrist = RightHand.RightWrist
  323. LSH = LeftUpperArm.LeftShoulder
  324. LeftElbow = LeftLowerArm.LeftElbow
  325. LeftWrist = LeftHand.LeftWrist
  326. RH = RightUpperLeg.RightHip
  327. RK = RightLowerLeg.RightKnee
  328. RA = RightFoot.RightAnkle
  329. LH = LeftUpperLeg.LeftHip
  330. LK = LeftLowerLeg.LeftKnee
  331. LA = LeftFoot.LeftAnkle
  332.  
  333. IT = Instance.new
  334. CF = CFrame.new
  335. VT = Vector3.new
  336. RAD = math.rad
  337. C3 = Color3.new
  338. UD2 = UDim2.new
  339. BRICKC = BrickColor.new
  340. ANGLES = CFrame.Angles
  341. EULER = CFrame.fromEulerAnglesXYZ
  342. COS = math.cos
  343. ACOS = math.acos
  344. SIN = math.sin
  345. ASIN = math.asin
  346. ABS = math.abs
  347. MRANDOM = math.random
  348. FLOOR = math.floor
  349.  
  350. NeckC0 = CF(-5.96046448e-08, 0.800017118, 1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  351. WaistC0 = CF(-1.1920929e-07, 0.200024918, 7.64462551e-20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  352. RootC0 = CF(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  353. RSHC0 = CF(0.99999994, 0.56301713, 1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  354. REC0 = CF(-5.96046448e-07, -0.334165096, 8.94069672e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  355. RWC0 = CF(1.1920929e-07, -0.5009287, -6.86244753e-18, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  356. LSHC0 = CF(-1, 0.56301713, 1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  357. LEC0 = CF(0.000479221344, -0.334056377, 8.94069672e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  358. LWC0 = CF(0.000478625298, -0.5009287, 7.64462551e-20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  359. RHC0 = CF(0.499999881, -0.199972257, -1.91208565e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  360. RKC0 = CF(-0, -0.400946498, -2.18767891e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  361. RAC0 = CF(-0, -0.547157168, 7.62689815e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  362. LHC0 = CF(-0.500000119, -0.199972257, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  363. LKC0 = CF(8.94069672e-08, -0.401102424, -4.29081496e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  364. LAC0 = CF(-1.1920929e-07, -0.547157228, -2.21401592e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  365.  
  366. local MainAudio = 2586147657
  367. local MainPitch = 1.2
  368. attacking = false
  369. local CHANGE = 1
  370. SINE = 0
  371. Continue = false
  372. MOUSEHOLD = false
  373. KEYHOLD = false
  374. walking = false
  375. swinging = false
  376. AttackMode = Mode.Value
  377.  
  378. KickMessages = {"You have bad lol", "Gamer Win", "I shot my wife", "I hate women and minorities", "Lord Jah awaits you in the afterlife", "Society", "You have lost your stanky leg privileges, please return your license to JahCorp™ immediately"}
  379.  
  380. local Bat = script.Bat:Clone()
  381. local Effects = Instance.new("Folder")
  382. Effects.Name = "Effects"
  383. Effects.Parent = Character
  384.  
  385. Humanoid.WalkSpeed = 45
  386. Humanoid.JumpPower = 80
  387.  
  388. function TI(Time, Style, Direction, Repeat, doesReverse, Delay)
  389. local NTI = TweenInfo.new(
  390. Time,
  391. Enum.EasingStyle[Style],
  392. Enum.EasingDirection[Direction],
  393. Repeat,
  394. doesReverse,
  395. Delay
  396. )
  397. return NTI
  398. end
  399.  
  400. ArtificialHB = Instance.new("BindableEvent", script)
  401. ArtificialHB.Name = "ArtificialHB"
  402.  
  403. script:WaitForChild("ArtificialHB")
  404.  
  405. frame = 1/60
  406. tf = 0
  407. allowframeloss = false
  408. tossremainder = false
  409. lastframe = tick()
  410. script.ArtificialHB:Fire()
  411.  
  412. game:GetService("RunService").Heartbeat:connect(function(s, p)
  413. tf = tf + s
  414. if tf >= frame then
  415. if allowframeloss then
  416. ArtificialHB:Fire()
  417. lastframe = tick()
  418. else
  419. for i = 1, math.floor(tf / frame) do
  420. ArtificialHB:Fire()
  421. end
  422. lastframe = tick()
  423. end
  424. if tossremainder then
  425. tf = 0
  426. else
  427. tf = tf - frame * math.floor(tf / frame)
  428. end
  429. end
  430. end)
  431.  
  432. function QuaternionFromCFrame(cf)
  433. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  434. local trace = m00 + m11 + m22
  435. if trace > 0 then
  436. local s = math.sqrt(1 + trace)
  437. local recip = 0.5 / s
  438. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  439. else
  440. local i = 0
  441. if m11 > m00 then
  442. i = 1
  443. end
  444. if m22 > (i == 0 and m00 or m11) then
  445. i = 2
  446. end
  447. if i == 0 then
  448. local s = math.sqrt(m00 - m11 - m22 + 1)
  449. local recip = 0.5 / s
  450. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  451. elseif i == 1 then
  452. local s = math.sqrt(m11 - m22 - m00 + 1)
  453. local recip = 0.5 / s
  454. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  455. elseif i == 2 then
  456. local s = math.sqrt(m22 - m00 - m11 + 1)
  457. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  458. end
  459. end
  460. end
  461.  
  462. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  463. local xs, ys, zs = x + x, y + y, z + z
  464. local wx, wy, wz = w * xs, w * ys, w * zs
  465. local xx = x * xs
  466. local xy = x * ys
  467. local xz = x * zs
  468. local yy = y * ys
  469. local yz = y * zs
  470. local zz = z * zs
  471. 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))
  472. end
  473.  
  474. function QuaternionSlerp(a, b, t)
  475. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  476. local startInterp, finishInterp;
  477. if cosTheta >= 0.0001 then
  478. if (1 - cosTheta) > 0.0001 then
  479. local theta = ACOS(cosTheta)
  480. local invSinTheta = 1 / SIN(theta)
  481. startInterp = SIN((1 - t) * theta) * invSinTheta
  482. finishInterp = SIN(t * theta) * invSinTheta
  483. else
  484. startInterp = 1 - t
  485. finishInterp = t
  486. end
  487. else
  488. if (1 + cosTheta) > 0.0001 then
  489. local theta = ACOS(-cosTheta)
  490. local invSinTheta = 1 / SIN(theta)
  491. startInterp = SIN((t - 1) * theta) * invSinTheta
  492. finishInterp = SIN(t * theta) * invSinTheta
  493. else
  494. startInterp = t - 1
  495. finishInterp = t
  496. end
  497. end
  498. 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
  499. end
  500.  
  501. function Clerp(a, b, t)
  502. local qa = {QuaternionFromCFrame(a)}
  503. local qb = {QuaternionFromCFrame(b)}
  504. local ax, ay, az = a.x, a.y, a.z
  505. local bx, by, bz = b.x, b.y, b.z
  506. local _t = 1 - t
  507. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  508. end
  509.  
  510. function Swait(num)
  511. if num == 0 or num == nil then
  512. game:GetService("RunService").RenderStepped:wait()
  513. else
  514. for i = 1, num do
  515. game:GetService("RunService").RenderStepped:wait()
  516. end
  517. end
  518. end
  519.  
  520. local function ScaleModel(model, scale)
  521.  
  522. local primary = model.PrimaryPart
  523. local primaryCf = primary.CFrame
  524.  
  525. for i,v in pairs(model:GetDescendants()) do
  526. if (v:IsA("BasePart")) then
  527. v.Size = (v.Size * scale)
  528. if (v ~= primary) then
  529. v.CFrame = (primaryCf + (primaryCf:inverse() * v.Position * scale))
  530. end
  531. end
  532. end
  533.  
  534. return model
  535. end
  536.  
  537. function NW(p0,p1)
  538. local WELD = Instance.new("Weld")
  539. WELD.Part0 = p0
  540. WELD.C0 = p0.CFrame:inverse()
  541. WELD.Part1 = p1
  542. WELD.C1 = p1.CFrame:inverse()
  543. return WELD
  544. end
  545.  
  546. function ToTable(t, t2)
  547. for i,v in pairs(t2) do
  548. t[#t + 1] = v
  549. end
  550. end
  551.  
  552. Bat.Parent = Character
  553. Bat:SetPrimaryPartCFrame(RightHand.CFrame * CF(0,0.2,-2.3) * ANGLES(RAD(-83), RAD(-90), RAD(0)))
  554. for i,v in pairs(Bat:GetDescendants()) do
  555. if v:IsA("MeshPart") or v:IsA("UnionOperation") then
  556. if v ~= Bat.PrimaryPart then
  557. local WELD = NW(Bat.PrimaryPart, v)
  558. WELD.Parent = Effects
  559. end
  560. v.Anchored = false
  561. end
  562. end
  563. local BatWeld = NW(RightHand, Bat.PrimaryPart)
  564. BatWeld.Parent = Effects
  565.  
  566. local Theme = Instance.new("Sound")
  567. Theme.Name = "bruhbruhbruh"
  568. Theme.SoundId = "rbxassetid://"..MainAudio
  569. Theme.Volume = 5
  570. Theme.PlaybackSpeed = MainPitch
  571. Theme.Looped = true
  572. Theme.EmitterSize = 20
  573. local Distortion = Instance.new("FlangeSoundEffect")
  574. Distortion.Rate = 8
  575. Distortion.Parent = Theme
  576. Theme.Parent = UpperTorso
  577. Theme:Play()
  578.  
  579. function NewMode(msg)
  580. if string.sub(msg, 1, 4) == "!ban" then
  581. AttackMode = "Ban"
  582. for i,v in pairs(Bat.TextInner:GetChildren()) do
  583. v.BrickColor = BrickColor.new("Bright red")
  584. end
  585. Bat.BatBottom.Attachment.BanAura.Color = ColorSequence.new(Color3.fromRGB(85,0,0))
  586. Bat.BatBottom.Attachment.BanAura.Enabled = true
  587. end
  588. if string.sub(msg, 1, 5) == "!slap" then
  589. AttackMode = "Slap"
  590. for i,v in pairs(Bat.TextInner:GetChildren()) do
  591. v.BrickColor = BrickColor.new("Institutional white")
  592. end
  593. Bat.BatBottom.Attachment.BanAura.Enabled = false
  594. end
  595. if string.sub(msg, 1, 5) == "!bruh" then
  596. AttackMode = "Bruh"
  597. Bat.BatBottom.Attachment.BanAura.Enabled = true
  598. end
  599. end
  600.  
  601. Player.Chatted:Connect(function(msg)
  602. if lplr == Player then
  603. if string.sub(msg, 1, 9) == "!game end" then
  604. DamageRemote:FireServer("Mode", "Ban", "!ban")
  605. end
  606. if string.sub(msg, 1, 4) == "!ban" then
  607. DamageRemote:FireServer("Mode", "Ban", "!ban")
  608. end
  609. if string.sub(msg, 1, 5) == "!slap" then
  610. DamageRemote:FireServer("Mode", "Slap", "!slap")
  611. end
  612. if string.sub(msg, 1, 5) == "!bruh" then
  613. DamageRemote:FireServer("Mode", "Bruh", "!bruh")
  614. end
  615. end
  616. end)
  617.  
  618. function TestBruh(MODEL)
  619. local Playing = true
  620. MODEL.Archivable = true
  621. local NCharacter = MODEL:Clone()
  622. local Old = MODEL
  623. NCharacter.Parent = workspace
  624. lplr.Character = NCharacter
  625. spawn(function()
  626. while true do
  627. Swait()
  628. if Playing == false then
  629. Old.Parent = nil
  630. break
  631. end
  632. lplr.Character = NCharacter
  633. Old:FindFirstChild("HumanoidRootPart").CFrame = CF(1000,1000,0)
  634. workspace.CurrentCamera.CameraSubject = NCharacter:FindFirstChildOfClass("Humanoid")
  635. end
  636. end)
  637. local KeepAway = lplr.CharacterAdded:Connect(function(v)
  638. if v ~= NCharacter then
  639. Old = v
  640. end
  641. end)
  642. MODEL = NCharacter
  643. local YouKnowIHadda = script["You Know I had to do it to em"]:Clone()
  644. YouKnowIHadda.CFrame = CF(0, -387.649, 367.23) * ANGLES(0,-90,0)
  645. YouKnowIHadda.Parent = workspace
  646. local ColorEffect = Instance.new("ColorCorrectionEffect")
  647. ColorEffect.TintColor = BrickColor.new("Daisy orange").Color
  648. ColorEffect.Parent = game:GetService("Lighting")
  649. local NoReset = game:GetService("Lighting").ChildRemoved:Connect(function(v)
  650. if v == ColorEffect then
  651. ColorEffect = Instance.new("ColorCorrectionEffect")
  652. ColorEffect.TintColor = BrickColor.new("Daisy orange").Color
  653. ColorEffect.Parent = game:GetService("Lighting")
  654. end
  655. end)
  656. spawn(function()
  657. wait(28)
  658. ColorEffect.Parent = nil
  659. YouKnowIHadda.Parent = nil
  660. end)
  661. for i,v in pairs(MODEL:GetDescendants()) do
  662. if v:IsA("MeshPart") or v:IsA("Part") or v:IsA("UnionOperation") then
  663. if v.Name ~= "HumanoidRootPart" then
  664. v.Transparency = 0.5
  665. v.Color = BrickColor.new("Daisy orange").Color
  666. v.Material = "ForceField"
  667. end
  668.  
  669. end
  670. end
  671. if MODEL:FindFirstChild("HumanoidRootPart") then
  672. MODEL.HumanoidRootPart.Anchored = true
  673. for i = 1,100 do
  674. Swait()
  675. MODEL.HumanoidRootPart.CFrame = MODEL.HumanoidRootPart.CFrame * CF(0,0.3,0)
  676. end
  677. local Earthquake = Instance.new("Sound")
  678. Earthquake.SoundId = "rbxassetid://2787167477"
  679. Earthquake.Volume = 10
  680. Earthquake.Parent = workspace
  681. Earthquake:Play()
  682. local HUM = MODEL:FindFirstChildOfClass("Humanoid")
  683. local BaseOffset Vector3.new(0,0,0)
  684. local Up = false
  685. for i = 1,500 do
  686. Swait()
  687. YouKnowIHadda.CFrame = YouKnowIHadda.CFrame * CF(0,1,0)
  688. if HUM then
  689. if Up then
  690. HUM.CameraOffset = Vector3.new(0,0.2,0)
  691. Up = false
  692. else
  693. HUM.CameraOffset = Vector3.new(0,-0.2,0)
  694. Up = true
  695. end
  696. end
  697. end
  698. Earthquake:Destroy()
  699. local Laugh = Instance.new("Sound")
  700. Laugh.SoundId = "rbxassetid://2440686585"
  701. Laugh.Volume = 10
  702. Laugh.Parent = workspace
  703. Laugh:Play()
  704. wait(4)
  705. Laugh:Destroy()
  706. local Vacuum = Instance.new("Sound")
  707. Vacuum.SoundId = "rbxassetid://319444224"
  708. Vacuum.Volume = 10
  709. Vacuum.Parent = workspace
  710. Vacuum:Play()
  711. for i = 1,280 do
  712. Swait()
  713. MODEL.HumanoidRootPart.CFrame = MODEL.HumanoidRootPart.CFrame:Lerp(YouKnowIHadda.CFrame * CF(0, YouKnowIHadda.Size.Y/2 -30, 0), 0.01)
  714. end
  715. MODEL:Destroy()
  716. NoReset:Disconnect()
  717. KeepAway:Disconnect()
  718. YouKnowIHadda.Parent = nil
  719. ColorEffect.Parent = nil
  720. Playing = false
  721. end
  722. end
  723.  
  724. function BruhDimension2(MODEL)
  725. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  726. if MODEL == v.Character then
  727. if MODEL:FindFirstChild("isBruhed") == nil then
  728. local isBruhed = Instance.new("BoolValue")
  729. isBruhed.Name = "isBruhed"
  730. isBruhed.Parent = MODEL
  731. if MODEL ~= lplr.Character then
  732. local BRUH = script.BruhSoundEffect:Clone()
  733. BRUH:SetPrimaryPartCFrame(MODEL.PrimaryPart.CFrame * ANGLES(0,0,RAD(-90)))
  734. BRUH.Parent = workspace
  735. BRUH.Cone.EGGET:Play()
  736. for i,v in pairs(MODEL:GetDescendants()) do
  737. pcall(function()
  738. v.Transparency = 1
  739. end)
  740. end
  741. if MODEL:FindFirstChildOfClass("Humanoid") then
  742. MODEL:FindFirstChildOfClass("Humanoid").DisplayDistanceType = "None"
  743. end
  744. for i = 1,100 do
  745. Swait()
  746. for i,v in pairs(BRUH:GetChildren()) do
  747. v.Size = v.Size + Vector3.new(0.02,0.02,0.02)
  748. v.Transparency = v.Transparency + 0.01
  749. end
  750. end
  751. BRUH:Destroy()
  752. else
  753. TestBruh(MODEL)
  754. end
  755. end
  756. end
  757. end
  758. end
  759.  
  760. function BruhDimension(MODEL)
  761. if lplr == Player then
  762. DamageRemote:FireServer("BruhDimension", MODEL)
  763. end
  764. end
  765.  
  766. function Ban2(MODEL)
  767. for i,v in pairs(game.Players:GetPlayers()) do
  768. if MODEL == v.Character then
  769. if MODEL:FindFirstChild("isBanned") == nil then
  770. local isBanned = Instance.new("BoolValue")
  771. isBanned.Name = "isBanned"
  772. isBanned.Parent = MODEL
  773. local EffectPart = Instance.new("Part")
  774. EffectPart.Shape = "Ball"
  775. EffectPart.Size = Vector3.new(4,4,4)
  776. EffectPart.Anchored = true
  777. EffectPart.CanCollide = false
  778. EffectPart.Material = "Neon"
  779. EffectPart.BrickColor = BrickColor.new("Really red")
  780. EffectPart.CFrame = CF(MODEL:FindFirstChild("HumanoidRootPart").CFrame.p) or CF(RootPart.CFrame.p)
  781. local EffectSound = Instance.new("Sound")
  782. EffectSound.SoundId = "rbxassetid://147722910"
  783. EffectSound.Volume = 10
  784. EffectSound.Parent = EffectPart
  785. EffectPart.Parent = workspace
  786. EffectSound:Play()
  787. spawn(function()
  788. for i = 1,50 do
  789. Swait()
  790. EffectPart.Size = EffectPart.Size + Vector3.new(0.03,0.03,0.03)
  791. EffectPart.Transparency = EffectPart.Transparency + 0.02
  792. end
  793. end)
  794. if v == lplr then
  795. lplr.Character:Remove()
  796. -- v:Kick(KickMessages[math.random(1,#KickMessages)])
  797. end
  798. end
  799. end
  800. end
  801. end
  802.  
  803. function Ban(MODEL)
  804. if lplr == Player then
  805. DamageRemote:FireServer("Ban", MODEL)
  806. end
  807. end
  808.  
  809. function Slap(MODEL)
  810. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  811. if MODEL == v.Character then
  812. local ToFix = MODEL:FindFirstChild("EpicTimer")
  813. for i,v2 in pairs(MODEL:GetChildren()) do
  814. if v2:IsA("Humanoid") and v2.Health >= 0 then
  815. v2.WalkSpeed = 8
  816. if lplr == Player then
  817. DamageRemote:FireServer("Damage", v2)
  818. end
  819. local ToFix = MODEL:FindFirstChild("EpicTimer")
  820. if not ToFix then
  821. ToFix = Instance.new("NumberValue")
  822. ToFix.Value = 5
  823. ToFix.Name = "EpicTimer"
  824. ToFix.Parent = MODEL
  825. v2.Died:Connect(function()
  826. pcall(function()
  827. local DeathSound = Instance.new("Sound")
  828. DeathSound.SoundId = "rbxassetid://535690488"
  829. DeathSound.Volume = 10
  830. DeathSound.PlaybackSpeed = 0.8
  831. local Distort = Instance.new("DistortionSoundEffect")
  832. Distort.Parent = DeathSound
  833. DeathSound.Parent = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
  834. DeathSound:Play()
  835. end)
  836. end)
  837. spawn(function()
  838. while wait(1) do
  839. ToFix.Value = ToFix.Value - 1
  840. if ToFix.Value <= 1 then
  841. v2.WalkSpeed = 16
  842. break
  843. end
  844. end
  845. end)
  846. else
  847. ToFix.Value = 8
  848. end
  849. end
  850. if v2.Name == "UpperTorso" then
  851. local HurtSound = Instance.new("Sound")
  852. HurtSound.SoundId = "rbxassetid://535690488"
  853. HurtSound.Volume = 10
  854. HurtSound.Parent = v2
  855. HurtSound:Play()
  856. end
  857. if v2.Name == "Torso" then
  858. local HurtSound = Instance.new("Sound")
  859. HurtSound.SoundId = "rbxassetid://535690488"
  860. HurtSound.Volume = 10
  861. HurtSound.Parent = v2
  862. HurtSound:Play()
  863. end
  864. end
  865. end
  866. end
  867. end
  868.  
  869. function AttackTemplate()
  870. attacking = true
  871. for i = 0,0.7,0.1/3 do
  872. Swait()
  873. Neck.C0 = Clerp(Neck.C0, NeckC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  874. RootJoint.C0 = Clerp(RootJoint.C0, RootC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  875. Waist.C0 = Clerp(Waist.C0, WaistC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  876. RSH.C0 = Clerp(RSH.C0, RSHC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  877. LSH.C0 = Clerp(LSH.C0, LSHC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  878. RightElbow.C0 = Clerp(RightElbow.C0, REC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  879. LeftElbow.C0 = Clerp(LeftElbow.C0, LEC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0) ,RAD(0)), 1/3)
  880. RH.C0 = Clerp(RH.C0, RHC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  881. LH.C0 = Clerp(LH.C0, LHC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  882. RK.C0 = Clerp(RK.C0, RKC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  883. LK.C0 = Clerp(LK.C0, LKC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  884. RA.C0 = RAC0
  885. LA.C0 = Clerp(LA.C0, LAC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  886. end
  887. attacking = false
  888. end
  889.  
  890. function Swing()
  891. swinging = true
  892. local SEffect = Instance.new("Sound")
  893. SEffect.SoundId = "rbxassetid://3417120531"
  894. SEffect.Volume = 10
  895. SEffect.Parent = UpperTorso
  896. SEffect:Play()
  897. local AlreadyHit = {}
  898. local GetHit = Bat.BatTop.Touched:Connect(function(v)
  899. if v.Parent:IsA("Model") and v.Parent ~= Character then
  900. for i,v2 in pairs(AlreadyHit) do
  901. if v.Parent == v2 then return end
  902. end
  903. table.insert(AlreadyHit, v.Parent)
  904. if AttackMode == "Slap" then
  905. Slap(v.Parent)
  906. elseif AttackMode == "Ban" then
  907. Ban(v.Parent)
  908. else
  909. BruhDimension(v.Parent)
  910. end
  911. end
  912. end)
  913. local GetHit2 = Bat.BatBottom.Touched:Connect(function(v)
  914. if v.Parent:IsA("Model") and v.Parent ~= Character then
  915. for i,v2 in pairs(AlreadyHit) do
  916. if v.Parent == v2 then return end
  917. end
  918. table.insert(AlreadyHit, v.Parent)
  919. Slap(v.Parent)
  920. end
  921. end)
  922. for i = 0,0.7,1/3 do
  923. Swait()
  924. RSH.C0 = Clerp(RSH.C0, RSHC0 * CF(0,0,0) * ANGLES(RAD(35),RAD(0),RAD(10)), 1/3)
  925. RightElbow.C0 = Clerp(RightElbow.C0, REC0 * CF(0,0,0) * ANGLES(RAD(80),RAD(0),RAD(0)), 1/3)
  926. RightWrist.C0 = Clerp(RightWrist.C0, RWC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  927. end
  928. for i = 0,0.7,1/3 do
  929. Swait()
  930. RSH.C0 = Clerp(RSH.C0, RSHC0 * CF(0,0,0) * ANGLES(RAD(30),RAD(0),RAD(-110)), 1/3)
  931. RightElbow.C0 = Clerp(RightElbow.C0, REC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  932. RightWrist.C0 = Clerp(RightWrist.C0, RWC0 * CF(0,0,0) * ANGLES(RAD(-20),RAD(0),RAD(-10)), 1/3)
  933. end
  934. GetHit:Disconnect()
  935. GetHit2:Disconnect()
  936. swinging = false
  937. end
  938.  
  939. local WalkFrames = {}
  940. local WalkFrames2 = {}
  941. do
  942. local FrameSet1 = {}
  943. local Frame1 = TS:Create(Waist, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = WaistC0 * ANGLES(RAD(-15), RAD(0), RAD(0))})
  944. local Frame2 = TS:Create(RH, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = RHC0 * ANGLES(RAD(75), RAD(0), RAD(0))})
  945. local Frame3 = TS:Create(LH, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = LHC0 * ANGLES(RAD(-75), RAD(0), RAD(0))})
  946. local Frame4 = TS:Create(LSH, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = LSHC0 * ANGLES(RAD(-80), RAD(0), RAD(0))})
  947. local Frame5 = TS:Create(RSH, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = RSHC0 * ANGLES(RAD(80), RAD(0), RAD(0))})
  948. local ElFrame1 = TS:Create(RightElbow, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = REC0 * ANGLES(RAD(10), RAD(0), RAD(0))})
  949. local ElFrame2 = TS:Create(LeftElbow, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = LEC0 * ANGLES(RAD(2), RAD(0), RAD(0))})
  950. local KFrame1 = TS:Create(RK, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = RKC0 * ANGLES(RAD(-5), RAD(0), RAD(0))})
  951. local KFrame2 = TS:Create(LK, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = LKC0 * ANGLES(RAD(-2), RAD(0), RAD(0))})
  952. local FrameSet2 = {}
  953. local Frame6 = TS:Create(Waist, TI(0.1, "Linear", "Out", 0, false, 0.1), {C0 = WaistC0 * ANGLES(RAD(-5), RAD(0), RAD(0))})
  954. local Frame7 = TS:Create(RH, TI(0.1, "Linear", "Out", 0, false, 0.1), {C0 = RHC0 * ANGLES(RAD(0), RAD(0), RAD(0))})
  955. local Frame8 = TS:Create(LH, TI(0.1, "Linear", "Out", 0, false, 0.1), {C0 = LHC0 * ANGLES(RAD(0), RAD(0), RAD(0))})
  956. local Frame9 = TS:Create(LSH, TI(0.1, "Linear", "Out", 0, false, 0.1), {C0 = LSHC0 * ANGLES(RAD(-5), RAD(0), RAD(0))})
  957. local Frame10 = TS:Create(RSH, TI(0.1, "Linear", "Out", 0, false, 0.1), {C0 = RSHC0 * ANGLES(RAD(-5), RAD(0), RAD(0))})
  958. local ElFrame3 = TS:Create(RightElbow, TI(0.05, "Linear", "Out", 0, false, 0.1), {C0 = REC0 * ANGLES(RAD(0), RAD(0), RAD(0))})
  959. local ElFrame4 = TS:Create(LeftElbow, TI(0.05, "Linear", "Out", 0, false, 0.1), {C0 = LEC0 * ANGLES(RAD(0), RAD(0), RAD(0))})
  960. local KFrame3 = TS:Create(RK, TI(0.05, "Linear", "Out", 0, false, 0.1), {C0 = RKC0 * ANGLES(RAD(0), RAD(0), RAD(0))})
  961. local KFrame4 = TS:Create(LK, TI(0.05, "Linear", "Out", 0, false, 0.1), {C0 = LKC0 * ANGLES(RAD(0), RAD(0), RAD(0))})
  962. local FrameSet3 = {}
  963. local Frame11 = TS:Create(Waist, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = WaistC0 * ANGLES(RAD(-15), RAD(0), RAD(0))})
  964. local Frame12 = TS:Create(RH, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = RHC0 * ANGLES(RAD(-75), RAD(0), RAD(0))})
  965. local Frame13 = TS:Create(LH, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = LHC0 * ANGLES(RAD(75), RAD(0), RAD(0))})
  966. local Frame14 = TS:Create(LSH, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = LSHC0 * ANGLES(RAD(80), RAD(0), RAD(0))})
  967. local Frame15 = TS:Create(RSH, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = RSHC0 * ANGLES(RAD(-80), RAD(0), RAD(0))})
  968. local ElFrame5 = TS:Create(RightElbow, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = REC0 * ANGLES(RAD(2), RAD(0), RAD(0))})
  969. local ElFrame6 = TS:Create(LeftElbow, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = LEC0 * ANGLES(RAD(10), RAD(0), RAD(0))})
  970. local KFrame5 = TS:Create(RK, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = RKC0 * ANGLES(RAD(-2), RAD(0), RAD(0))})
  971. local KFrame6 = TS:Create(LK, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = LKC0 * ANGLES(RAD(-5), RAD(0), RAD(0))})
  972. ToTable(FrameSet1, {Frame1, Frame2, Frame3, Frame4, Frame5, ElFrame1, ElFrame2, KFrame1, KFrame2})
  973. ToTable(FrameSet2, {Frame6, Frame7, Frame8, Frame9, Frame10, ElFrame3, ElFrame4, KFrame3, KFrame4})
  974. ToTable(FrameSet3, {Frame11, Frame12, Frame13, Frame14, Frame15, ElFrame5, ElFrame6, KFrame5, KFrame6})
  975. WalkFrames[1] = FrameSet1
  976. WalkFrames[2] = FrameSet2
  977. WalkFrames[3] = FrameSet3
  978. WalkFrames[4] = FrameSet2
  979. end
  980.  
  981. spawn(function()
  982. while true do
  983. if walking == true then
  984. local Animating = true
  985. spawn(function()
  986. for i,v in pairs(WalkFrames) do
  987. for i,v2 in pairs(v) do
  988. if i == 5 or i == 6 then
  989. if swinging == false then
  990. v2:Play()
  991. end
  992. elseif i ~= 5 and i ~= 6 then
  993. v2:Play()
  994. end
  995. end
  996. v[#v].Completed:wait()
  997. if not walking then break end
  998. end
  999. Animating = false
  1000. end)
  1001. repeat
  1002. Swait()
  1003. if not walking then break end
  1004. until Animating == false
  1005. else
  1006. Swait()
  1007. for i,v in pairs(WalkFrames) do
  1008. for i,v2 in pairs(v) do
  1009. v2:Cancel()
  1010. end
  1011. end
  1012. end
  1013. end
  1014. end)
  1015.  
  1016. Mouse.Button1Down:Connect(function()
  1017. MOUSEHOLD = true
  1018. end)
  1019.  
  1020. Mouse.Button1Up:Connect(function()
  1021. MOUSEHOLD = false
  1022. end)
  1023.  
  1024. Mouse.KeyDown:Connect(function(Key)
  1025. if Key == "m" then
  1026. TestBruh()
  1027. end
  1028. end)
  1029.  
  1030. DamageRemote.OnClientEvent:Connect(function(request, v)
  1031. if request == "Ban" then
  1032. Ban2(v)
  1033. end
  1034. if request == "BruhDimension" then
  1035. BruhDimension2(v)
  1036. end
  1037. if request == "Mode" then
  1038. NewMode(v)
  1039. end
  1040. end)
  1041.  
  1042. local ActualVelocity = Vector3.new(0,0,0)
  1043. if lplr == Player then
  1044. spawn(function()
  1045. while true do
  1046. local Positions = {}
  1047. local Speeds = {}
  1048. for i = 1,10 do
  1049. table.insert(Positions, RootPart.CFrame)
  1050. table.insert(Speeds, RootPart.Velocity)
  1051. script.ArtificialHB2.Event:wait()
  1052. end
  1053. Movement:FireServer(Positions, Speeds)
  1054. end
  1055. end)
  1056. spawn(function()
  1057. while true do
  1058. game:GetService("RunService").RenderStepped:wait()
  1059. RealRoot = workspace.Terrain:WaitForChild(Player.Name.." tracker")
  1060. RealRoot.CFrame = RootPart.CFrame
  1061. end
  1062. end)
  1063. Movement.OnClientEvent:Connect(function()
  1064.  
  1065. end)
  1066. end
  1067.  
  1068. if lplr ~= Player then
  1069. local Last = RootPart.Position
  1070. Movement.OnClientEvent:Connect(function(v, Speed)
  1071. for i,v2 in pairs(v) do
  1072. ActualVelocity = Speed[i]
  1073. if v[i].p ~= Last then
  1074. if MoveType.Value == "Remote" then
  1075. RootPart.CFrame = v[i]
  1076. end
  1077. Last = v[i].p
  1078. script.ArtificialHB2.Event:wait()
  1079. end
  1080. end
  1081. end)
  1082. spawn(function()
  1083. while true do
  1084. game:GetService("RunService").RenderStepped:wait()
  1085. RealRoot = workspace.Terrain:WaitForChild(Player.Name.." tracker")
  1086. if MoveType.Value == "Smooth" then
  1087. RootPart.CFrame = RealRoot.CFrame
  1088. end
  1089. end
  1090. end)
  1091. end
  1092.  
  1093. function FixMode()
  1094. if AttackMode == "Ban" then
  1095. for i,v in pairs(Bat.TextInner:GetChildren()) do
  1096. v.BrickColor = BrickColor.new("Bright red")
  1097. end
  1098. Bat.BatBottom.Attachment.BanAura.Color = ColorSequence.new(Color3.fromRGB(85,0,0))
  1099. Bat.BatBottom.Attachment.BanAura.Enabled = true
  1100. end
  1101. if AttackMode == "Bruh" then
  1102. Bat.BatBottom.Attachment.BanAura.Enabled = true
  1103. end
  1104. end
  1105.  
  1106. if AttackMode ~= "Slap" then
  1107. FixMode()
  1108. end
  1109.  
  1110. ArtificialHB.Event:Connect(function()
  1111. if MOUSEHOLD == true and swinging == false then
  1112. Swing()
  1113. end
  1114. if AttackMode == "Bruh" then
  1115. local NC = BrickColor.Random()
  1116. for i,v in pairs(Bat.TextInner:GetChildren()) do
  1117. v.BrickColor = NC
  1118. end
  1119. --[[pcall(function()
  1120. Bat.BatBottom.Attachment.BanAura.Color = BrickColor.Random().Color
  1121. end)--]]
  1122. Bat.BatBottom.Attachment:FindFirstChildOfClass("ParticleEmitter").Color = ColorSequence.new(BrickColor.Random().Color)
  1123. end
  1124. SINE = SINE + CHANGE
  1125.  
  1126. local TORSOVELOCITY = (ActualVelocity * VT(1, 0, 1)).magnitude
  1127. local TORSOVELOCITY_Y = ActualVelocity.Y
  1128. if lplr == Player then
  1129. TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1130. TORSOVELOCITY_Y = RootPart.Velocity.Y
  1131. end
  1132.  
  1133. if TORSOVELOCITY < 1 then
  1134. walking = false
  1135. Neck.C0 = Clerp(Neck.C0, NeckC0 * CF(0,0,0) * ANGLES(RAD(25 * COS(SINE/4)),RAD(0),RAD(25 * COS(SINE/2))), 1/3)
  1136. RootJoint.C0 = Clerp(RootJoint.C0, RootC0 * CF(0,0,0) * ANGLES(RAD(5 * COS(SINE/4)),RAD(0),RAD(0)), 1/3)
  1137. Waist.C0 = Clerp(Waist.C0, WaistC0 * CF(0,0,0) * ANGLES(RAD(10 * COS(SINE/4)),RAD(0),RAD(0)), 1/3)
  1138. if not swinging then
  1139. RSH.C0 = Clerp(RSH.C0, RSHC0 * CF(0,0,0) * ANGLES(RAD(12 + 12 * COS(SINE/12)),RAD(0),RAD(10)), 1/3)
  1140. end
  1141. LSH.C0 = Clerp(LSH.C0, LSHC0 * CF(0,0,0) * ANGLES(RAD(-25 * COS(SINE/8)),RAD(0),RAD(-13 + -25 * COS(SINE/4))), 1/3)
  1142. if not swinging then
  1143. RightElbow.C0 = Clerp(RightElbow.C0, REC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  1144. RightWrist.C0 = Clerp(RightWrist.C0, RWC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  1145. end
  1146. LeftElbow.C0 = Clerp(LeftElbow.C0, LEC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0) ,RAD(0)), 1/3)
  1147. RH.C0 = Clerp(RH.C0, RHC0 * CF(0,0,0) * ANGLES(RAD(-5 * COS(SINE/4)),RAD(0),RAD(0)), 1/3)
  1148. LH.C0 = Clerp(LH.C0, LHC0 * CF(0,0,0) * ANGLES(RAD(-5 * COS(SINE/4)),RAD(0),RAD(0)), 1/3)
  1149. RK.C0 = Clerp(RK.C0, RKC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  1150. LK.C0 = Clerp(LK.C0, LKC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  1151. RA.C0 = RAC0
  1152. LA.C0 = Clerp(LA.C0, LAC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  1153. else
  1154. walking = true
  1155. Neck.C0 = Clerp(Neck.C0, NeckC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  1156. --[[RootJoint.C0 = Clerp(RootJoint.C0, RootC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  1157. Waist.C0 = Clerp(Waist.C0, WaistC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  1158. RSH.C0 = Clerp(RSH.C0, RSHC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  1159. LSH.C0 = Clerp(LSH.C0, LSHC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  1160. RightElbow.C0 = Clerp(RightElbow.C0, REC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  1161. LeftElbow.C0 = Clerp(LeftElbow.C0, LEC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0) ,RAD(0)), 1/3)
  1162. RH.C0 = Clerp(RH.C0, RHC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  1163. LH.C0 = Clerp(LH.C0, LHC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  1164. RK.C0 = Clerp(RK.C0, RKC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  1165. LK.C0 = Clerp(LK.C0, LKC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
  1166. RA.C0 = RAC0
  1167. LA.C0 = Clerp(LA.C0, LAC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)--]]
  1168. end
  1169. end)
  1170.  
  1171. end))
  1172. LocalScript2.Disabled = true
  1173. Model3.Name = "Bat"
  1174. Model3.Parent = LocalScript2
  1175. Model3.PrimaryPart = MeshPart4
  1176. MeshPart4.Name = "BatTop"
  1177. MeshPart4.Parent = Model3
  1178. MeshPart4.CFrame = CFrame.new(-13.3913527, 620.831055, -43.4430847, -0.304243892, 0.206298113, -0.92998755, 0.929771662, 0.276729852, -0.242786571, 0.207268924, -0.938542306, -0.27600348)
  1179. MeshPart4.Orientation = Vector3.new(14.0500002, -106.529999, 73.4300003)
  1180. MeshPart4.Position = Vector3.new(-13.3913527, 620.831055, -43.4430847)
  1181. MeshPart4.Rotation = Vector3.new(138.660004, -68.4300003, -145.860001)
  1182. MeshPart4.Size = Vector3.new(0.466474235, 2.10761571, 0.466388136)
  1183. MeshPart4.Anchored = true
  1184. MeshPart4.CanCollide = false
  1185. MeshPart4.TextureID = "rbxassetid://3416149850"
  1186. MeshPart5.Name = "BatBottom"
  1187. MeshPart5.Parent = Model3
  1188. MeshPart5.CFrame = CFrame.new(-13.8223915, 620.244873, -41.4752502, -0.304243892, 0.206298113, -0.92998755, 0.929771662, 0.276729852, -0.242786571, 0.207268924, -0.938542306, -0.27600348)
  1189. MeshPart5.Orientation = Vector3.new(14.0500002, -106.529999, 73.4300003)
  1190. MeshPart5.Position = Vector3.new(-13.8223915, 620.244873, -41.4752502)
  1191. MeshPart5.Rotation = Vector3.new(138.660004, -68.4300003, -145.860001)
  1192. MeshPart5.Size = Vector3.new(0.333449036, 2.10305047, 0.333271444)
  1193. MeshPart5.Anchored = true
  1194. MeshPart5.CanCollide = false
  1195. MeshPart5.TextureID = "rbxassetid://3416151076"
  1196. ParticleEmitter6.Name = "BanAura"
  1197. ParticleEmitter6.Parent = mas
  1198. ParticleEmitter6.Rotation = NumberRange.new(0, 360)
  1199. ParticleEmitter6.Color = ColorSequence.new(Color3.new(0.333333, 0, 0),Color3.new(0.333333, 0, 0))
  1200. ParticleEmitter6.Enabled = false
  1201. ParticleEmitter6.LightEmission = 1
  1202. ParticleEmitter6.LightInfluence = 1
  1203. ParticleEmitter6.Texture = "rbxasset://textures/particles/fire_main.dds"
  1204. ParticleEmitter6.Transparency = NumberSequence.new(0.89999997615814,0.25600001215935)
  1205. ParticleEmitter6.Size = NumberSequence.new(0.5,0.40000000596046)
  1206. ParticleEmitter6.Lifetime = NumberRange.new(0.64999997615814, 0.64999997615814)
  1207. ParticleEmitter6.LockedToPart = true
  1208. ParticleEmitter6.Rate = 150
  1209. Folder7.Name = "TextInner"
  1210. Folder7.Parent = Model3
  1211. UnionOperation8.Parent = Folder7
  1212. UnionOperation8.CFrame = CFrame.new(-13.2383595, 620.900879, -43.4559631, -0.640349805, 0.238641277, -0.730070233, 0.764869809, 0.284981728, -0.57771939, 0.0701889843, -0.928351104, -0.365017474)
  1213. UnionOperation8.Orientation = Vector3.new(35.2900009, -116.559998, 69.5699997)
  1214. UnionOperation8.Position = Vector3.new(-13.2383595, 620.900879, -43.4559631)
  1215. UnionOperation8.Rotation = Vector3.new(122.290001, -46.8899994, -159.559998)
  1216. UnionOperation8.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1217. UnionOperation8.Size = Vector3.new(0.193078518, 1.25000548, 0.122562885)
  1218. UnionOperation8.Anchored = true
  1219. UnionOperation8.CanCollide = false
  1220. UnionOperation8.Material = Enum.Material.Neon
  1221. UnionOperation8.UsePartColor = true
  1222. UnionOperation9.Parent = Folder7
  1223. UnionOperation9.CFrame = CFrame.new(-13.4119987, 620.692017, -42.8044739, -0.191008002, -0.726998329, 0.659537315, -0.325302005, -0.587055266, -0.741312861, 0.926118016, -0.356145501, -0.124361768)
  1224. UnionOperation9.Orientation = Vector3.new(47.8400002, 100.68, -151.009995)
  1225. UnionOperation9.Position = Vector3.new(-13.4119987, 620.692017, -42.8044739)
  1226. UnionOperation9.Rotation = Vector3.new(99.5199966, 41.2599983, 104.720001)
  1227. UnionOperation9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1228. UnionOperation9.Size = Vector3.new(0.136015892, 0.136576176, 0.201794028)
  1229. UnionOperation9.Anchored = true
  1230. UnionOperation9.CanCollide = false
  1231. UnionOperation9.Material = Enum.Material.Neon
  1232. UnionOperation9.UsePartColor = true
  1233. Model10.Name = "BruhSoundEffect"
  1234. Model10.Parent = LocalScript2
  1235. Model10.PrimaryPart = MeshPart12
  1236. Part11.Parent = Model10
  1237. Part11.CFrame = CFrame.new(-15.858779, 623.835693, -70.3447266, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1238. Part11.Position = Vector3.new(-15.858779, 623.835693, -70.3447266)
  1239. Part11.Transparency = 0.30000001192093
  1240. Part11.Size = Vector3.new(0.467601866, 0.691303074, 1.38260615)
  1241. Part11.Anchored = true
  1242. Part11.BottomSurface = Enum.SurfaceType.Smooth
  1243. Part11.CanCollide = false
  1244. Part11.TopSurface = Enum.SurfaceType.Smooth
  1245. Part11.Shape = Enum.PartType.Cylinder
  1246. MeshPart12.Name = "Cone"
  1247. MeshPart12.Parent = Model10
  1248. MeshPart12.CFrame = CFrame.new(-15.3820753, 623.835449, -70.331543, 0, -1, 0, 1, 0, 0, 0, 0, 1)
  1249. MeshPart12.Orientation = Vector3.new(0, 0, 90)
  1250. MeshPart12.Position = Vector3.new(-15.3820753, 623.835449, -70.331543)
  1251. MeshPart12.Rotation = Vector3.new(0, 0, 90)
  1252. MeshPart12.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1253. MeshPart12.Transparency = 0.30000001192093
  1254. MeshPart12.Size = Vector3.new(1.61000729, 1.30730259, 1.61379158)
  1255. MeshPart12.Anchored = true
  1256. MeshPart12.BrickColor = BrickColor.new("Dark stone grey")
  1257. MeshPart12.CanCollide = false
  1258. MeshPart12.brickColor = BrickColor.new("Dark stone grey")
  1259. Sound13.Name = "EGGET"
  1260. Sound13.Parent = MeshPart12
  1261. Sound13.SoundId = "rbxassetid://2667853805"
  1262. Sound13.Volume = 5
  1263. UnionOperation14.Parent = Model10
  1264. UnionOperation14.CFrame = CFrame.new(-14.1910229, 623.840454, -70.3447266, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1265. UnionOperation14.Orientation = Vector3.new(0, 90, 0)
  1266. UnionOperation14.Position = Vector3.new(-14.1910229, 623.840454, -70.3447266)
  1267. UnionOperation14.Rotation = Vector3.new(0, 90, 0)
  1268. UnionOperation14.Color = Color3.new(0.0352941, 0.537255, 0.811765)
  1269. UnionOperation14.Transparency = 0.30000001192093
  1270. UnionOperation14.Size = Vector3.new(0.172145158, 0.637569964, 0.559907675)
  1271. UnionOperation14.Anchored = true
  1272. UnionOperation14.BrickColor = BrickColor.new("Electric blue")
  1273. UnionOperation14.CanCollide = false
  1274. UnionOperation14.Material = Enum.Material.SmoothPlastic
  1275. UnionOperation14.brickColor = BrickColor.new("Electric blue")
  1276. UnionOperation14.UsePartColor = true
  1277. UnionOperation15.Parent = Model10
  1278. UnionOperation15.CFrame = CFrame.new(-13.9148073, 623.840454, -70.3447266, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1279. UnionOperation15.Orientation = Vector3.new(0, 90, 0)
  1280. UnionOperation15.Position = Vector3.new(-13.9148073, 623.840454, -70.3447266)
  1281. UnionOperation15.Rotation = Vector3.new(0, 90, 0)
  1282. UnionOperation15.Color = Color3.new(0.0352941, 0.537255, 0.811765)
  1283. UnionOperation15.Transparency = 0.30000001192093
  1284. UnionOperation15.Size = Vector3.new(0.334584832, 1.23919368, 1.08824813)
  1285. UnionOperation15.Anchored = true
  1286. UnionOperation15.BrickColor = BrickColor.new("Electric blue")
  1287. UnionOperation15.CanCollide = false
  1288. UnionOperation15.Material = Enum.Material.SmoothPlastic
  1289. UnionOperation15.brickColor = BrickColor.new("Electric blue")
  1290. UnionOperation15.UsePartColor = true
  1291. MeshPart16.Name = "You Know I had to do it to em"
  1292. MeshPart16.Parent = LocalScript2
  1293. MeshPart16.CFrame = CFrame.new(-18.9993896, 229.970001, 325.738831, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1294. MeshPart16.Orientation = Vector3.new(0, -90, 0)
  1295. MeshPart16.Position = Vector3.new(-18.9993896, 229.970001, 325.738831)
  1296. MeshPart16.Rotation = Vector3.new(0, -90, 0)
  1297. MeshPart16.Size = Vector3.new(102.555496, 459.841675, 177.218643)
  1298. MeshPart16.Anchored = true
  1299. MeshPart16.TextureID = "rbxassetid://1201711400"
  1300.  
  1301. local SyncFolder = Instance.new("Folder")
  1302. SyncFolder.Name = "Sync"
  1303. SyncFolder.Parent = MainFolder
  1304.  
  1305. local LoopType = Instance.new("StringValue")
  1306. LoopType.Name = "LoopType"
  1307. LoopType.Value = "Custom"
  1308. LoopType.Parent = MainFolder
  1309.  
  1310. local MoveType = Instance.new("StringValue")
  1311. MoveType.Name = "MoveType"
  1312. MoveType.Value = "Smooth"
  1313. MoveType.Parent = MainFolder
  1314.  
  1315. local Movement = Instance.new("RemoteEvent")
  1316. Movement.Name = "Movement"
  1317. Movement.Parent = MainFolder
  1318.  
  1319. local StopRemote = Instance.new("RemoteEvent")
  1320. StopRemote.Name = "StopRemote"
  1321. StopRemote.Parent = MainFolder
  1322.  
  1323. --[[ Functions --
  1324.  
  1325. -- SAZERENOS' ARTIFICIAL HEARTBEAT --]]
  1326. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1327.  
  1328. ArtificialHB = Instance.new("BindableEvent", script)
  1329. ArtificialHB.Name = "ArtificialHB"
  1330.  
  1331. script:WaitForChild("ArtificialHB")
  1332.  
  1333. frame = Frame_Speed
  1334. tf = 0
  1335. allowframeloss = false
  1336. tossremainder = false
  1337. lastframe = tick()
  1338. script.ArtificialHB:Fire()
  1339.  
  1340. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1341. tf = tf + s
  1342. if tf >= frame then
  1343. if allowframeloss then
  1344. script.ArtificialHB:Fire()
  1345. lastframe = tick()
  1346. else
  1347. for i = 1, math.floor(tf / frame) do
  1348. script.ArtificialHB:Fire()
  1349. end
  1350. lastframe = tick()
  1351. end
  1352. if tossremainder then
  1353. tf = 0
  1354. else
  1355. tf = tf - frame * math.floor(tf / frame)
  1356. end
  1357. end
  1358. end)
  1359.  
  1360. function Swait(NUMBER)
  1361. if NUMBER == 0 or NUMBER == nil then
  1362. ArtificialHB.Event:wait()
  1363. else
  1364. for i = 1, NUMBER do
  1365. ArtificialHB.Event:wait()
  1366. end
  1367. end
  1368. end
  1369.  
  1370. for i,v in pairs(workspace.Terrain:GetChildren()) do
  1371. if v.Name == Player.Name.." tracker" then
  1372. v:Destroy()
  1373. end
  1374. end
  1375.  
  1376. local RealRoot = Instance.new("Part")
  1377. RealRoot.Name = Player.Name.." tracker"
  1378. RealRoot.CanCollide = false
  1379. RealRoot.Size = NC.HumanoidRootPart.Size
  1380. RealRoot.Transparency = 1
  1381. RealRoot.Parent = workspace.Terrain
  1382. local NV = Instance.new("BodyVelocity")
  1383. NV.Name = "DontMoveMeNoob"
  1384. NV.Velocity = Vector3.new(0,0,0)
  1385. NV.Parent = RealRoot
  1386. NV.Changed:Connect(function(v, v2)
  1387. if tostring(v) == "Velocity" then
  1388. if v2 ~= Vector3.new(0,0,0) then
  1389. NV.Velocity = Vector3.new(0,0,0)
  1390. end
  1391. end
  1392. end)
  1393. RealRoot:SetNetworkOwner(Player)
  1394.  
  1395. function ChangeLoop(Text)
  1396. print(Text)
  1397. if Text == "Server" then
  1398. LoopType.Value = "Server"
  1399. elseif Text == "Custom" then
  1400. LoopType.Value = "Custom"
  1401. elseif Text == "Heartbeat" then
  1402. LoopType.Value = "Heartbeat"
  1403. elseif Text == "Stepped" then
  1404. LoopType.Value = "Stepped"
  1405. elseif Text == "RenderStepped" then
  1406. LoopType.Value = "RenderStepped"
  1407. else
  1408. print("LoopType Invalid")
  1409. end
  1410. end
  1411.  
  1412. function ChangeMovement(Text)
  1413. print(Text)
  1414. if Text == "Smooth" then
  1415. MoveType.Value = "Smooth"
  1416. elseif Text == "Remote" then
  1417. MoveType.Value = "Remote"
  1418. else
  1419. print("MoveType Invalid")
  1420. end
  1421. end
  1422.  
  1423. Player.Chatted:Connect(function(msg)
  1424. if string.sub(msg,1,9) == "LoopType/" then
  1425. ChangeLoop(string.sub(msg, 10))
  1426. end
  1427. if string.sub(msg,1,9) == "MoveType/" then
  1428. ChangeMovement(string.sub(msg, 10))
  1429. end
  1430. if msg == "~stopscript" then
  1431. StopRemote:FireAllClients()
  1432. wait()
  1433. MainFolder:Remove()
  1434. script:Remove()
  1435. script.Disabled = true
  1436. end
  1437. end)
  1438.  
  1439. game:GetService("Players").PlayerAdded:Connect(function(plr)
  1440. if plr.Name == EpicName then
  1441. plr.Chatted:Connect(function(msg)
  1442. if string.sub(msg,1,9) == "LoopType/" then
  1443. ChangeLoop(string.sub(msg, 10))
  1444. end
  1445. if string.sub(msg,1,9) == "MoveType/" then
  1446. ChangeMovement(string.sub(msg, 10))
  1447. end
  1448. if msg == "~stopscript" then
  1449. StopRemote:FireAllClients()
  1450. wait()
  1451. MainFolder:Remove()
  1452. script:Remove()
  1453. script.Disabled = true
  1454. end
  1455. end)
  1456. end
  1457. end)
  1458.  
  1459. script.Holder.Name = Player.Name
  1460. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  1461. local NS = script[Player.Name]:Clone()
  1462. NS.Parent = v.PlayerGui
  1463. end
  1464.  
  1465. game.Players.PlayerAdded:Connect(function(plr)
  1466. repeat Swait() until plr.Character
  1467. local NS = script[Player.Name]:Clone()
  1468. NS.Parent = plr:WaitForChild("PlayerGui")
  1469. end)
  1470.  
  1471. -- Synced Loop
  1472.  
  1473. print("Running Server")
  1474.  
  1475. script.Parent = game:GetService("ServerScriptService")
  1476.  
  1477. workspace.Terrain.ChildRemoved:Connect(function(v)
  1478. Swait(2)
  1479. if v == RealRoot then
  1480. RealRoot = Instance.new("Part")
  1481. RealRoot.Name = Player.Name.." tracker"
  1482. RealRoot.CanCollide = false
  1483. RealRoot.Size = NC.HumanoidRootPart.Size
  1484. RealRoot.Transparency = 1
  1485. RealRoot.Parent = workspace.Terrain
  1486. NV = Instance.new("BodyVelocity")
  1487. NV.Name = "DontMoveMeNoob"
  1488. NV.Velocity = Vector3.new(0,0,0)
  1489. NV.Parent = RealRoot
  1490. NV.Changed:Connect(function(v, v2)
  1491. if tostring(v) == "Velocity" then
  1492. if v2 ~= Vector3.new(0,0,0) then
  1493. NV.Velocity = Vector3.new(0,0,0)
  1494. end
  1495. end
  1496. end)
  1497. RealRoot:SetNetworkOwner(Player)
  1498. end
  1499. end)
  1500.  
  1501. ArtificialHB.Event:Connect(function()
  1502. Player.Character.HumanoidRootPart.CFrame = CFrame.new(10000,10000,0)
  1503. end)
  1504.  
  1505. while true do
  1506. ArtificialHB.Event:wait()
  1507. local NI = Instance.new("Shirt")
  1508. NI.Parent = SyncFolder
  1509. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement