Advertisement
HenloMyDude

skod betar

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