Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = Christoffer077002 -- CHANGE THIS TO YOUR NAME
- local EpicName = Player.Name
- local repStorage= game:GetService("ReplicatedStorage")
- wait(1)
- script.Parent = game:GetService("ServerScriptService")
- local MainFolder = Instance.new("Folder")
- MainFolder.Name = Player.Name
- MainFolder.Parent = repStorage
- Player.Character.Archivable = true
- local NC = Player.Character:Clone()
- FF = Instance.new("ForceField")
- FF.Visible = false
- FF.Parent = NC
- NC.Parent = MainFolder
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = script
- ScreenGui0 = Instance.new("ScreenGui")
- LocalScript1 = Instance.new("LocalScript")
- LocalScript2 = Instance.new("LocalScript")
- Model3 = Instance.new("Model")
- MeshPart4 = Instance.new("MeshPart")
- MeshPart5 = Instance.new("MeshPart")
- ParticleEmitter6 = Instance.new("ParticleEmitter")
- Folder7 = Instance.new("Folder")
- UnionOperation8 = Instance.new("UnionOperation")
- UnionOperation9 = Instance.new("UnionOperation")
- Model10 = Instance.new("Model")
- Part11 = Instance.new("Part")
- MeshPart12 = Instance.new("MeshPart")
- Sound13 = Instance.new("Sound")
- UnionOperation14 = Instance.new("UnionOperation")
- UnionOperation15 = Instance.new("UnionOperation")
- MeshPart16 = Instance.new("MeshPart")
- ScreenGui0.Name = "Holder"
- ScreenGui0.Parent = mas
- ScreenGui0.ResetOnSpawn = false
- ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- LocalScript1.Name = "ParentControl"
- LocalScript1.Parent = ScreenGui0
- table.insert(cors,sandbox(LocalScript1,function()
- game:GetService("RunService").Heartbeat:Wait()
- local NAME = script.Parent.Name
- if game:GetService("Players").LocalPlayer.PlayerScripts:FindFirstChild(NAME) == nil then
- local NS = script.Parent:Clone()
- NS.Parent = game:GetService("Players").LocalPlayer.PlayerScripts
- game:GetService("RunService").Heartbeat:wait()
- for i,v in pairs(NS:GetChildren()) do
- if v ~= script then
- v.Disabled = false
- end
- end
- end
- end))
- LocalScript2.Parent = ScreenGui0
- table.insert(cors,sandbox(LocalScript2,function()
- --[[ 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.
- Don't worry about this if you don't know how as it normally doesn't matter. --]]
- local repStorage = game:GetService("ReplicatedStorage")
- local Player = game:GetService("Players")[script.Parent.Name]
- local lplr = game:GetService("Players").LocalPlayer
- local MainFolder = repStorage:FindFirstChild(Player.Name)
- MainFolder:WaitForChild("mHit")
- for i,v in pairs(MainFolder:GetChildren()) do
- print(v.Name)
- end
- local SyncFolder = MainFolder.Sync
- local LoopType = MainFolder.LoopType
- local StopRemote = MainFolder.StopRemote
- local DamageRemote = MainFolder.DamageRemote
- local Mode = MainFolder.Mode
- local Movement = MainFolder.Movement
- local MoveType = MainFolder.MoveType
- Character = MainFolder[Player.Name]:Clone()
- RealRoot = workspace.Terrain:WaitForChild(Player.Name.." tracker")
- --local WeldRemote = MainFolder.WeldRemote
- StopRemote.OnClientEvent:Connect(function()
- if lplr == Player then
- for i,v in pairs(lplr.PlayerGui:GetChildren()) do
- if v.Name == "ScreenGui" or v.Name == "Weapon GUI" then
- v:Destroy()
- end
- end
- end
- Character:Destroy()
- if script.Parent.Parent:FindFirstChild("Holder") then
- script.Parent.Parent:FindFirstChild("Holder"):Remove()
- end
- print("Script Disabled Sucessfully")
- script.Parent:Remove()
- game:GetService("RunService").Heartbeat:wait()
- print("Possible Error")
- script.Disabled = true
- end)
- if lplr == Player then
- local lMouse = Player:GetMouse()
- local HB = game:GetService("RunService").Heartbeat
- local Remote = MainFolder.Mouse
- local Remote2 = MainFolder.MouseInfo
- lMouse.KeyDown:Connect(function(Key)
- Remote:FireServer("KeyDown", Key)
- end)
- lMouse.KeyUp:Connect(function(Key)
- Remote:FireServer("KeyUp", Key)
- end)
- lMouse.Button1Down:Connect(function(Key)
- Remote:FireServer("MouseButton1Down", Key)
- end)
- lMouse.Button1Up:Connect(function(Key)
- Remote:FireServer("MouseButton1Up", Key)
- end)
- spawn(function()
- while true do
- for i = 1,1000,1 do
- HB:wait()
- Remote2["r"..i]:FireServer(lMouse.Hit, lMouse.Target)
- end
- end
- end)
- end
- local Mouse = {}
- do
- local Remote = MainFolder.Mouse
- local Hits = MainFolder.MouseInfo
- local KeyDown = Instance.new("BindableEvent")
- local KeyUp = Instance.new("BindableEvent")
- local MouseButton1Down = Instance.new("BindableEvent")
- local MouseButton1Up = Instance.new("BindableEvent")
- local Hit = MainFolder.mHit
- local Target = MainFolder.mTarget
- Mouse.KeyDown = KeyDown.Event
- Mouse.KeyUp = KeyUp.Event
- Mouse.Button1Down = MouseButton1Down.Event
- Mouse.Button1Up = MouseButton1Up.Event
- Remote.OnClientEvent:Connect(function(request, ...)
- if request == "KeyDown" then
- KeyDown:Fire(...)
- end
- if request == "KeyUp" then
- KeyUp:Fire(...)
- end
- if request == "MouseButton1Down" then
- MouseButton1Down:Fire(...)
- end
- if request == "MouseButton1Up" then
- MouseButton1Up:Fire(...)
- end
- end)
- --[[for i,v in pairs(Hits:GetChildren()) do
- v.OnServerEvent:Connect(function(plr, HIT, TARGET)
- Hit = Hit
- Target = Target
- end)
- end--]]
- Mouse.Hit = Hit.Value
- Mouse.Target = Target.Value
- local FakeGui = Instance.new("Folder")
- FakeGui.Name = "PlayerGui"
- FakeGui.Parent = Player
- local FakeBackpack = Instance.new("Folder")
- FakeBackpack.Name = "Backpack"
- FakeBackpack.Parent = Player
- local ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB2"
- script:WaitForChild("ArtificialHB2")
- frame = 1/60
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB2:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function BaseWait(NUMBER)
- if NUMBER == 0 or NUMBER == nil then
- if LoopType.Value == "Server" then
- SyncFolder.ChildAdded:wait()
- elseif LoopType.Value == "RenderStepped" then
- game:GetService("RunService").RenderStepped:wait()
- elseif LoopType.Value == "Stepped" then
- game:GetService("RunService").Stepped:wait()
- elseif LoopType.Value == "Heartbeat" then
- game:GetService("RunService").Heartbeat:wait()
- elseif LoopType.Value == "Custom" then
- ArtificialHB.Event:wait()
- end
- else
- for i = 1, NUMBER do
- if LoopType.Value == "Server" then
- SyncFolder.ChildAdded:wait()
- elseif LoopType.Value == "RenderStepped" then
- game:GetService("RunService").RenderStepped:wait()
- elseif LoopType.Value == "Stepped" then
- game:GetService("RunService").Stepped:wait()
- elseif LoopType.Value == "Heartbeat" then
- game:GetService("RunService").Heartbeat:wait()
- elseif LoopType.Value == "Custom" then
- ArtificialHB.Event:wait()
- end
- end
- end
- end
- swait = BaseWait
- Swait = BaseWait
- ArtificialHB.Event:Connect(function()
- Mouse.Hit = Hit.Value
- Mouse.Target = Target.Value
- if Swait ~= BaseWait then
- Swait = BaseWait
- end
- if swait ~= BaseWait then
- swait = BaseWait
- end
- end)
- end
- -- You must remove any Variables that reference a LocalPlayer. Example: Player = game.Players.LocalPlayer
- -- You must remove any Variables that reference :GetMouse(). Example: Mouse = Player:GetMouse()
- -- You must remove anything that sets the script's parent. Example: script.Parent = OBJECT
- -- Make sure to change the name at the top of the script named "CRTemplate" to your name! --]]
- -- You can use ctrl + f keys to search for the keywords above (LocalPlayer, GetMouse, script.Parent =)
- -- PASTE SCRIPT BELOW THIS LINE!
- --------------------------------
- --// Fat skid die
- -- leanop
- Cam = workspace.CurrentCamera
- if lplr == Player then
- Cam.CameraSubject = Character:FindFirstChildOfClass("Humanoid")
- end
- if lplr == Player then
- game:GetService("RunService").RenderStepped:Connect(function()
- Player.Character = Character
- Cam.CameraSubject = Character:FindFirstChildOfClass("Humanoid")
- end)
- end
- Character.Parent = workspace
- local TS = game:GetService("TweenService")
- local PS = game:GetService("PhysicsService")
- PlayerGui = Player.PlayerGui
- Cam = workspace.CurrentCamera
- Backpack = Player.Backpack
- Humanoid = Character:FindFirstChildOfClass("Humanoid")
- RootPart = Character["HumanoidRootPart"]
- Head = Character.Head
- UpperTorso = Character.UpperTorso
- LowerTorso = Character.LowerTorso
- RightUpperArm = Character.RightUpperArm
- RightLowerArm = Character.RightLowerArm
- RightHand = Character.RightHand
- LeftUpperArm = Character.LeftUpperArm
- LeftLowerArm = Character.LeftLowerArm
- LeftHand = Character.LeftHand
- RightUpperLeg = Character.RightUpperLeg
- RightLowerLeg = Character.RightLowerLeg
- RightFoot = Character.RightFoot
- LeftUpperLeg = Character.LeftUpperLeg
- LeftLowerLeg = Character.LeftLowerLeg
- LeftFoot = Character.LeftFoot
- Neck = Head.Neck
- Waist = UpperTorso.Waist
- RootJoint = LowerTorso.Root
- RSH = RightUpperArm.RightShoulder
- RightElbow = RightLowerArm.RightElbow
- RightWrist = RightHand.RightWrist
- LSH = LeftUpperArm.LeftShoulder
- LeftElbow = LeftLowerArm.LeftElbow
- LeftWrist = LeftHand.LeftWrist
- RH = RightUpperLeg.RightHip
- RK = RightLowerLeg.RightKnee
- RA = RightFoot.RightAnkle
- LH = LeftUpperLeg.LeftHip
- LK = LeftLowerLeg.LeftKnee
- LA = LeftFoot.LeftAnkle
- IT = Instance.new
- CF = CFrame.new
- VT = Vector3.new
- RAD = math.rad
- C3 = Color3.new
- UD2 = UDim2.new
- BRICKC = BrickColor.new
- ANGLES = CFrame.Angles
- EULER = CFrame.fromEulerAnglesXYZ
- COS = math.cos
- ACOS = math.acos
- SIN = math.sin
- ASIN = math.asin
- ABS = math.abs
- MRANDOM = math.random
- FLOOR = math.floor
- NeckC0 = CF(-5.96046448e-08, 0.800017118, 1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- WaistC0 = CF(-1.1920929e-07, 0.200024918, 7.64462551e-20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- RootC0 = CF(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- RSHC0 = CF(0.99999994, 0.56301713, 1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- REC0 = CF(-5.96046448e-07, -0.334165096, 8.94069672e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- RWC0 = CF(1.1920929e-07, -0.5009287, -6.86244753e-18, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- LSHC0 = CF(-1, 0.56301713, 1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- LEC0 = CF(0.000479221344, -0.334056377, 8.94069672e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- LWC0 = CF(0.000478625298, -0.5009287, 7.64462551e-20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- RHC0 = CF(0.499999881, -0.199972257, -1.91208565e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- RKC0 = CF(-0, -0.400946498, -2.18767891e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- RAC0 = CF(-0, -0.547157168, 7.62689815e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- LHC0 = CF(-0.500000119, -0.199972257, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- LKC0 = CF(8.94069672e-08, -0.401102424, -4.29081496e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- LAC0 = CF(-1.1920929e-07, -0.547157228, -2.21401592e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- local MainAudio = 2586147657
- local MainPitch = 1.2
- attacking = false
- local CHANGE = 1
- SINE = 0
- Continue = false
- MOUSEHOLD = false
- KEYHOLD = false
- walking = false
- swinging = false
- AttackMode = Mode.Value
- 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"}
- local Bat = script.Bat:Clone()
- local Effects = Instance.new("Folder")
- Effects.Name = "Effects"
- Effects.Parent = Character
- Humanoid.WalkSpeed = 45
- Humanoid.JumpPower = 80
- function TI(Time, Style, Direction, Repeat, doesReverse, Delay)
- local NTI = TweenInfo.new(
- Time,
- Enum.EasingStyle[Style],
- Enum.EasingDirection[Direction],
- Repeat,
- doesReverse,
- Delay
- )
- return NTI
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- frame = 1/60
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5 / s
- return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00 - m11 - m22 + 1)
- local recip = 0.5 / s
- return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
- elseif i == 1 then
- local s = math.sqrt(m11 - m22 - m00 + 1)
- local recip = 0.5 / s
- return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
- elseif i == 2 then
- local s = math.sqrt(m22 - m00 - m11 + 1)
- local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w * xs, w * ys, w * zs
- local xx = x * xs
- local xy = x * ys
- local xz = x * zs
- local yy = y * ys
- local yz = y * zs
- local zz = z * zs
- 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))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = ACOS(cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((1 - t) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- else
- if (1 + cosTheta) > 0.0001 then
- local theta = ACOS(-cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((t - 1) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- end
- 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
- end
- function Clerp(a, b, t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1 - t
- return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
- end
- function Swait(num)
- if num == 0 or num == nil then
- game:GetService("RunService").RenderStepped:wait()
- else
- for i = 1, num do
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- end
- local function ScaleModel(model, scale)
- local primary = model.PrimaryPart
- local primaryCf = primary.CFrame
- for i,v in pairs(model:GetDescendants()) do
- if (v:IsA("BasePart")) then
- v.Size = (v.Size * scale)
- if (v ~= primary) then
- v.CFrame = (primaryCf + (primaryCf:inverse() * v.Position * scale))
- end
- end
- end
- return model
- end
- function NW(p0,p1)
- local WELD = Instance.new("Weld")
- WELD.Part0 = p0
- WELD.C0 = p0.CFrame:inverse()
- WELD.Part1 = p1
- WELD.C1 = p1.CFrame:inverse()
- return WELD
- end
- function ToTable(t, t2)
- for i,v in pairs(t2) do
- t[#t + 1] = v
- end
- end
- Bat.Parent = Character
- Bat:SetPrimaryPartCFrame(RightHand.CFrame * CF(0,0.2,-2.3) * ANGLES(RAD(-83), RAD(-90), RAD(0)))
- for i,v in pairs(Bat:GetDescendants()) do
- if v:IsA("MeshPart") or v:IsA("UnionOperation") then
- if v ~= Bat.PrimaryPart then
- local WELD = NW(Bat.PrimaryPart, v)
- WELD.Parent = Effects
- end
- v.Anchored = false
- end
- end
- local BatWeld = NW(RightHand, Bat.PrimaryPart)
- BatWeld.Parent = Effects
- local Theme = Instance.new("Sound")
- Theme.Name = "bruhbruhbruh"
- Theme.SoundId = "rbxassetid://"..MainAudio
- Theme.Volume = 5
- Theme.PlaybackSpeed = MainPitch
- Theme.Looped = true
- Theme.EmitterSize = 20
- local Distortion = Instance.new("FlangeSoundEffect")
- Distortion.Rate = 8
- Distortion.Parent = Theme
- Theme.Parent = UpperTorso
- Theme:Play()
- function NewMode(msg)
- if string.sub(msg, 1, 4) == "!ban" then
- AttackMode = "Ban"
- for i,v in pairs(Bat.TextInner:GetChildren()) do
- v.BrickColor = BrickColor.new("Bright red")
- end
- Bat.BatBottom.Attachment.BanAura.Color = ColorSequence.new(Color3.fromRGB(85,0,0))
- Bat.BatBottom.Attachment.BanAura.Enabled = true
- end
- if string.sub(msg, 1, 5) == "!slap" then
- AttackMode = "Slap"
- for i,v in pairs(Bat.TextInner:GetChildren()) do
- v.BrickColor = BrickColor.new("Institutional white")
- end
- Bat.BatBottom.Attachment.BanAura.Enabled = false
- end
- if string.sub(msg, 1, 5) == "!bruh" then
- AttackMode = "Bruh"
- Bat.BatBottom.Attachment.BanAura.Enabled = true
- end
- end
- Player.Chatted:Connect(function(msg)
- if lplr == Player then
- if string.sub(msg, 1, 9) == "!game end" then
- DamageRemote:FireServer("Mode", "Ban", "!ban")
- end
- if string.sub(msg, 1, 4) == "!ban" then
- DamageRemote:FireServer("Mode", "Ban", "!ban")
- end
- if string.sub(msg, 1, 5) == "!slap" then
- DamageRemote:FireServer("Mode", "Slap", "!slap")
- end
- if string.sub(msg, 1, 5) == "!bruh" then
- DamageRemote:FireServer("Mode", "Bruh", "!bruh")
- end
- end
- end)
- function TestBruh(MODEL)
- local Playing = true
- MODEL.Archivable = true
- local NCharacter = MODEL:Clone()
- local Old = MODEL
- NCharacter.Parent = workspace
- lplr.Character = NCharacter
- spawn(function()
- while true do
- Swait()
- if Playing == false then
- Old.Parent = nil
- break
- end
- lplr.Character = NCharacter
- Old:FindFirstChild("HumanoidRootPart").CFrame = CF(1000,1000,0)
- workspace.CurrentCamera.CameraSubject = NCharacter:FindFirstChildOfClass("Humanoid")
- end
- end)
- local KeepAway = lplr.CharacterAdded:Connect(function(v)
- if v ~= NCharacter then
- Old = v
- end
- end)
- MODEL = NCharacter
- local YouKnowIHadda = script["You Know I had to do it to em"]:Clone()
- YouKnowIHadda.CFrame = CF(0, -387.649, 367.23) * ANGLES(0,-90,0)
- YouKnowIHadda.Parent = workspace
- local ColorEffect = Instance.new("ColorCorrectionEffect")
- ColorEffect.TintColor = BrickColor.new("Daisy orange").Color
- ColorEffect.Parent = game:GetService("Lighting")
- local NoReset = game:GetService("Lighting").ChildRemoved:Connect(function(v)
- if v == ColorEffect then
- ColorEffect = Instance.new("ColorCorrectionEffect")
- ColorEffect.TintColor = BrickColor.new("Daisy orange").Color
- ColorEffect.Parent = game:GetService("Lighting")
- end
- end)
- spawn(function()
- wait(28)
- ColorEffect.Parent = nil
- YouKnowIHadda.Parent = nil
- end)
- for i,v in pairs(MODEL:GetDescendants()) do
- if v:IsA("MeshPart") or v:IsA("Part") or v:IsA("UnionOperation") then
- if v.Name ~= "HumanoidRootPart" then
- v.Transparency = 0.5
- v.Color = BrickColor.new("Daisy orange").Color
- v.Material = "ForceField"
- end
- end
- end
- if MODEL:FindFirstChild("HumanoidRootPart") then
- MODEL.HumanoidRootPart.Anchored = true
- for i = 1,100 do
- Swait()
- MODEL.HumanoidRootPart.CFrame = MODEL.HumanoidRootPart.CFrame * CF(0,0.3,0)
- end
- local Earthquake = Instance.new("Sound")
- Earthquake.SoundId = "rbxassetid://2787167477"
- Earthquake.Volume = 10
- Earthquake.Parent = workspace
- Earthquake:Play()
- local HUM = MODEL:FindFirstChildOfClass("Humanoid")
- local BaseOffset Vector3.new(0,0,0)
- local Up = false
- for i = 1,500 do
- Swait()
- YouKnowIHadda.CFrame = YouKnowIHadda.CFrame * CF(0,1,0)
- if HUM then
- if Up then
- HUM.CameraOffset = Vector3.new(0,0.2,0)
- Up = false
- else
- HUM.CameraOffset = Vector3.new(0,-0.2,0)
- Up = true
- end
- end
- end
- Earthquake:Destroy()
- local Laugh = Instance.new("Sound")
- Laugh.SoundId = "rbxassetid://2440686585"
- Laugh.Volume = 10
- Laugh.Parent = workspace
- Laugh:Play()
- wait(4)
- Laugh:Destroy()
- local Vacuum = Instance.new("Sound")
- Vacuum.SoundId = "rbxassetid://319444224"
- Vacuum.Volume = 10
- Vacuum.Parent = workspace
- Vacuum:Play()
- for i = 1,280 do
- Swait()
- MODEL.HumanoidRootPart.CFrame = MODEL.HumanoidRootPart.CFrame:Lerp(YouKnowIHadda.CFrame * CF(0, YouKnowIHadda.Size.Y/2 -30, 0), 0.01)
- end
- MODEL:Destroy()
- NoReset:Disconnect()
- KeepAway:Disconnect()
- YouKnowIHadda.Parent = nil
- ColorEffect.Parent = nil
- Playing = false
- end
- end
- function BruhDimension2(MODEL)
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if MODEL == v.Character then
- if MODEL:FindFirstChild("isBruhed") == nil then
- local isBruhed = Instance.new("BoolValue")
- isBruhed.Name = "isBruhed"
- isBruhed.Parent = MODEL
- if MODEL ~= lplr.Character then
- local BRUH = script.BruhSoundEffect:Clone()
- BRUH:SetPrimaryPartCFrame(MODEL.PrimaryPart.CFrame * ANGLES(0,0,RAD(-90)))
- BRUH.Parent = workspace
- BRUH.Cone.EGGET:Play()
- for i,v in pairs(MODEL:GetDescendants()) do
- pcall(function()
- v.Transparency = 1
- end)
- end
- if MODEL:FindFirstChildOfClass("Humanoid") then
- MODEL:FindFirstChildOfClass("Humanoid").DisplayDistanceType = "None"
- end
- for i = 1,100 do
- Swait()
- for i,v in pairs(BRUH:GetChildren()) do
- v.Size = v.Size + Vector3.new(0.02,0.02,0.02)
- v.Transparency = v.Transparency + 0.01
- end
- end
- BRUH:Destroy()
- else
- TestBruh(MODEL)
- end
- end
- end
- end
- end
- function BruhDimension(MODEL)
- if lplr == Player then
- DamageRemote:FireServer("BruhDimension", MODEL)
- end
- end
- function Ban2(MODEL)
- for i,v in pairs(game.Players:GetPlayers()) do
- if MODEL == v.Character then
- if MODEL:FindFirstChild("isBanned") == nil then
- local isBanned = Instance.new("BoolValue")
- isBanned.Name = "isBanned"
- isBanned.Parent = MODEL
- local EffectPart = Instance.new("Part")
- EffectPart.Shape = "Ball"
- EffectPart.Size = Vector3.new(4,4,4)
- EffectPart.Anchored = true
- EffectPart.CanCollide = false
- EffectPart.Material = "Neon"
- EffectPart.BrickColor = BrickColor.new("Really red")
- EffectPart.CFrame = CF(MODEL:FindFirstChild("HumanoidRootPart").CFrame.p) or CF(RootPart.CFrame.p)
- local EffectSound = Instance.new("Sound")
- EffectSound.SoundId = "rbxassetid://147722910"
- EffectSound.Volume = 10
- EffectSound.Parent = EffectPart
- EffectPart.Parent = workspace
- EffectSound:Play()
- spawn(function()
- for i = 1,50 do
- Swait()
- EffectPart.Size = EffectPart.Size + Vector3.new(0.03,0.03,0.03)
- EffectPart.Transparency = EffectPart.Transparency + 0.02
- end
- end)
- if v == lplr then
- lplr.Character:Remove()
- -- v:Kick(KickMessages[math.random(1,#KickMessages)])
- end
- end
- end
- end
- end
- function Ban(MODEL)
- if lplr == Player then
- DamageRemote:FireServer("Ban", MODEL)
- end
- end
- function Slap(MODEL)
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if MODEL == v.Character then
- local ToFix = MODEL:FindFirstChild("EpicTimer")
- for i,v2 in pairs(MODEL:GetChildren()) do
- if v2:IsA("Humanoid") and v2.Health >= 0 then
- v2.WalkSpeed = 8
- if lplr == Player then
- DamageRemote:FireServer("Damage", v2)
- end
- local ToFix = MODEL:FindFirstChild("EpicTimer")
- if not ToFix then
- ToFix = Instance.new("NumberValue")
- ToFix.Value = 5
- ToFix.Name = "EpicTimer"
- ToFix.Parent = MODEL
- v2.Died:Connect(function()
- pcall(function()
- local DeathSound = Instance.new("Sound")
- DeathSound.SoundId = "rbxassetid://535690488"
- DeathSound.Volume = 10
- DeathSound.PlaybackSpeed = 0.8
- local Distort = Instance.new("DistortionSoundEffect")
- Distort.Parent = DeathSound
- DeathSound.Parent = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
- DeathSound:Play()
- end)
- end)
- spawn(function()
- while wait(1) do
- ToFix.Value = ToFix.Value - 1
- if ToFix.Value <= 1 then
- v2.WalkSpeed = 16
- break
- end
- end
- end)
- else
- ToFix.Value = 8
- end
- end
- if v2.Name == "UpperTorso" then
- local HurtSound = Instance.new("Sound")
- HurtSound.SoundId = "rbxassetid://535690488"
- HurtSound.Volume = 10
- HurtSound.Parent = v2
- HurtSound:Play()
- end
- if v2.Name == "Torso" then
- local HurtSound = Instance.new("Sound")
- HurtSound.SoundId = "rbxassetid://535690488"
- HurtSound.Volume = 10
- HurtSound.Parent = v2
- HurtSound:Play()
- end
- end
- end
- end
- end
- function AttackTemplate()
- attacking = true
- for i = 0,0.7,0.1/3 do
- Swait()
- Neck.C0 = Clerp(Neck.C0, NeckC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- RootJoint.C0 = Clerp(RootJoint.C0, RootC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- Waist.C0 = Clerp(Waist.C0, WaistC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- RSH.C0 = Clerp(RSH.C0, RSHC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- LSH.C0 = Clerp(LSH.C0, LSHC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- RightElbow.C0 = Clerp(RightElbow.C0, REC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- LeftElbow.C0 = Clerp(LeftElbow.C0, LEC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0) ,RAD(0)), 1/3)
- RH.C0 = Clerp(RH.C0, RHC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- LH.C0 = Clerp(LH.C0, LHC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- RK.C0 = Clerp(RK.C0, RKC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- LK.C0 = Clerp(LK.C0, LKC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- RA.C0 = RAC0
- LA.C0 = Clerp(LA.C0, LAC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- end
- attacking = false
- end
- function Swing()
- swinging = true
- local SEffect = Instance.new("Sound")
- SEffect.SoundId = "rbxassetid://3417120531"
- SEffect.Volume = 10
- SEffect.Parent = UpperTorso
- SEffect:Play()
- local AlreadyHit = {}
- local GetHit = Bat.BatTop.Touched:Connect(function(v)
- if v.Parent:IsA("Model") and v.Parent ~= Character then
- for i,v2 in pairs(AlreadyHit) do
- if v.Parent == v2 then return end
- end
- table.insert(AlreadyHit, v.Parent)
- if AttackMode == "Slap" then
- Slap(v.Parent)
- elseif AttackMode == "Ban" then
- Ban(v.Parent)
- else
- BruhDimension(v.Parent)
- end
- end
- end)
- local GetHit2 = Bat.BatBottom.Touched:Connect(function(v)
- if v.Parent:IsA("Model") and v.Parent ~= Character then
- for i,v2 in pairs(AlreadyHit) do
- if v.Parent == v2 then return end
- end
- table.insert(AlreadyHit, v.Parent)
- Slap(v.Parent)
- end
- end)
- for i = 0,0.7,1/3 do
- Swait()
- RSH.C0 = Clerp(RSH.C0, RSHC0 * CF(0,0,0) * ANGLES(RAD(35),RAD(0),RAD(10)), 1/3)
- RightElbow.C0 = Clerp(RightElbow.C0, REC0 * CF(0,0,0) * ANGLES(RAD(80),RAD(0),RAD(0)), 1/3)
- RightWrist.C0 = Clerp(RightWrist.C0, RWC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- end
- for i = 0,0.7,1/3 do
- Swait()
- RSH.C0 = Clerp(RSH.C0, RSHC0 * CF(0,0,0) * ANGLES(RAD(30),RAD(0),RAD(-110)), 1/3)
- RightElbow.C0 = Clerp(RightElbow.C0, REC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- RightWrist.C0 = Clerp(RightWrist.C0, RWC0 * CF(0,0,0) * ANGLES(RAD(-20),RAD(0),RAD(-10)), 1/3)
- end
- GetHit:Disconnect()
- GetHit2:Disconnect()
- swinging = false
- end
- local WalkFrames = {}
- local WalkFrames2 = {}
- do
- local FrameSet1 = {}
- local Frame1 = TS:Create(Waist, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = WaistC0 * ANGLES(RAD(-15), RAD(0), RAD(0))})
- local Frame2 = TS:Create(RH, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = RHC0 * ANGLES(RAD(75), RAD(0), RAD(0))})
- local Frame3 = TS:Create(LH, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = LHC0 * ANGLES(RAD(-75), RAD(0), RAD(0))})
- local Frame4 = TS:Create(LSH, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = LSHC0 * ANGLES(RAD(-80), RAD(0), RAD(0))})
- local Frame5 = TS:Create(RSH, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = RSHC0 * ANGLES(RAD(80), RAD(0), RAD(0))})
- local ElFrame1 = TS:Create(RightElbow, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = REC0 * ANGLES(RAD(10), RAD(0), RAD(0))})
- local ElFrame2 = TS:Create(LeftElbow, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = LEC0 * ANGLES(RAD(2), RAD(0), RAD(0))})
- local KFrame1 = TS:Create(RK, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = RKC0 * ANGLES(RAD(-5), RAD(0), RAD(0))})
- local KFrame2 = TS:Create(LK, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = LKC0 * ANGLES(RAD(-2), RAD(0), RAD(0))})
- local FrameSet2 = {}
- local Frame6 = TS:Create(Waist, TI(0.1, "Linear", "Out", 0, false, 0.1), {C0 = WaistC0 * ANGLES(RAD(-5), RAD(0), RAD(0))})
- local Frame7 = TS:Create(RH, TI(0.1, "Linear", "Out", 0, false, 0.1), {C0 = RHC0 * ANGLES(RAD(0), RAD(0), RAD(0))})
- local Frame8 = TS:Create(LH, TI(0.1, "Linear", "Out", 0, false, 0.1), {C0 = LHC0 * ANGLES(RAD(0), RAD(0), RAD(0))})
- local Frame9 = TS:Create(LSH, TI(0.1, "Linear", "Out", 0, false, 0.1), {C0 = LSHC0 * ANGLES(RAD(-5), RAD(0), RAD(0))})
- local Frame10 = TS:Create(RSH, TI(0.1, "Linear", "Out", 0, false, 0.1), {C0 = RSHC0 * ANGLES(RAD(-5), RAD(0), RAD(0))})
- local ElFrame3 = TS:Create(RightElbow, TI(0.05, "Linear", "Out", 0, false, 0.1), {C0 = REC0 * ANGLES(RAD(0), RAD(0), RAD(0))})
- local ElFrame4 = TS:Create(LeftElbow, TI(0.05, "Linear", "Out", 0, false, 0.1), {C0 = LEC0 * ANGLES(RAD(0), RAD(0), RAD(0))})
- local KFrame3 = TS:Create(RK, TI(0.05, "Linear", "Out", 0, false, 0.1), {C0 = RKC0 * ANGLES(RAD(0), RAD(0), RAD(0))})
- local KFrame4 = TS:Create(LK, TI(0.05, "Linear", "Out", 0, false, 0.1), {C0 = LKC0 * ANGLES(RAD(0), RAD(0), RAD(0))})
- local FrameSet3 = {}
- local Frame11 = TS:Create(Waist, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = WaistC0 * ANGLES(RAD(-15), RAD(0), RAD(0))})
- local Frame12 = TS:Create(RH, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = RHC0 * ANGLES(RAD(-75), RAD(0), RAD(0))})
- local Frame13 = TS:Create(LH, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = LHC0 * ANGLES(RAD(75), RAD(0), RAD(0))})
- local Frame14 = TS:Create(LSH, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = LSHC0 * ANGLES(RAD(80), RAD(0), RAD(0))})
- local Frame15 = TS:Create(RSH, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = RSHC0 * ANGLES(RAD(-80), RAD(0), RAD(0))})
- local ElFrame5 = TS:Create(RightElbow, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = REC0 * ANGLES(RAD(2), RAD(0), RAD(0))})
- local ElFrame6 = TS:Create(LeftElbow, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = LEC0 * ANGLES(RAD(10), RAD(0), RAD(0))})
- local KFrame5 = TS:Create(RK, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = RKC0 * ANGLES(RAD(-2), RAD(0), RAD(0))})
- local KFrame6 = TS:Create(LK, TI(0.05, "Linear", "Out", 0, false, 0), {C0 = LKC0 * ANGLES(RAD(-5), RAD(0), RAD(0))})
- ToTable(FrameSet1, {Frame1, Frame2, Frame3, Frame4, Frame5, ElFrame1, ElFrame2, KFrame1, KFrame2})
- ToTable(FrameSet2, {Frame6, Frame7, Frame8, Frame9, Frame10, ElFrame3, ElFrame4, KFrame3, KFrame4})
- ToTable(FrameSet3, {Frame11, Frame12, Frame13, Frame14, Frame15, ElFrame5, ElFrame6, KFrame5, KFrame6})
- WalkFrames[1] = FrameSet1
- WalkFrames[2] = FrameSet2
- WalkFrames[3] = FrameSet3
- WalkFrames[4] = FrameSet2
- end
- spawn(function()
- while true do
- if walking == true then
- local Animating = true
- spawn(function()
- for i,v in pairs(WalkFrames) do
- for i,v2 in pairs(v) do
- if i == 5 or i == 6 then
- if swinging == false then
- v2:Play()
- end
- elseif i ~= 5 and i ~= 6 then
- v2:Play()
- end
- end
- v[#v].Completed:wait()
- if not walking then break end
- end
- Animating = false
- end)
- repeat
- Swait()
- if not walking then break end
- until Animating == false
- else
- Swait()
- for i,v in pairs(WalkFrames) do
- for i,v2 in pairs(v) do
- v2:Cancel()
- end
- end
- end
- end
- end)
- Mouse.Button1Down:Connect(function()
- MOUSEHOLD = true
- end)
- Mouse.Button1Up:Connect(function()
- MOUSEHOLD = false
- end)
- Mouse.KeyDown:Connect(function(Key)
- if Key == "m" then
- TestBruh()
- end
- end)
- DamageRemote.OnClientEvent:Connect(function(request, v)
- if request == "Ban" then
- Ban2(v)
- end
- if request == "BruhDimension" then
- BruhDimension2(v)
- end
- if request == "Mode" then
- NewMode(v)
- end
- end)
- local ActualVelocity = Vector3.new(0,0,0)
- if lplr == Player then
- spawn(function()
- while true do
- local Positions = {}
- local Speeds = {}
- for i = 1,10 do
- table.insert(Positions, RootPart.CFrame)
- table.insert(Speeds, RootPart.Velocity)
- script.ArtificialHB2.Event:wait()
- end
- Movement:FireServer(Positions, Speeds)
- end
- end)
- spawn(function()
- while true do
- game:GetService("RunService").RenderStepped:wait()
- RealRoot = workspace.Terrain:WaitForChild(Player.Name.." tracker")
- RealRoot.CFrame = RootPart.CFrame
- end
- end)
- Movement.OnClientEvent:Connect(function()
- end)
- end
- if lplr ~= Player then
- local Last = RootPart.Position
- Movement.OnClientEvent:Connect(function(v, Speed)
- for i,v2 in pairs(v) do
- ActualVelocity = Speed[i]
- if v[i].p ~= Last then
- if MoveType.Value == "Remote" then
- RootPart.CFrame = v[i]
- end
- Last = v[i].p
- script.ArtificialHB2.Event:wait()
- end
- end
- end)
- spawn(function()
- while true do
- game:GetService("RunService").RenderStepped:wait()
- RealRoot = workspace.Terrain:WaitForChild(Player.Name.." tracker")
- if MoveType.Value == "Smooth" then
- RootPart.CFrame = RealRoot.CFrame
- end
- end
- end)
- end
- function FixMode()
- if AttackMode == "Ban" then
- for i,v in pairs(Bat.TextInner:GetChildren()) do
- v.BrickColor = BrickColor.new("Bright red")
- end
- Bat.BatBottom.Attachment.BanAura.Color = ColorSequence.new(Color3.fromRGB(85,0,0))
- Bat.BatBottom.Attachment.BanAura.Enabled = true
- end
- if AttackMode == "Bruh" then
- Bat.BatBottom.Attachment.BanAura.Enabled = true
- end
- end
- if AttackMode ~= "Slap" then
- FixMode()
- end
- ArtificialHB.Event:Connect(function()
- if MOUSEHOLD == true and swinging == false then
- Swing()
- end
- if AttackMode == "Bruh" then
- local NC = BrickColor.Random()
- for i,v in pairs(Bat.TextInner:GetChildren()) do
- v.BrickColor = NC
- end
- --[[pcall(function()
- Bat.BatBottom.Attachment.BanAura.Color = BrickColor.Random().Color
- end)--]]
- Bat.BatBottom.Attachment:FindFirstChildOfClass("ParticleEmitter").Color = ColorSequence.new(BrickColor.Random().Color)
- end
- SINE = SINE + CHANGE
- local TORSOVELOCITY = (ActualVelocity * VT(1, 0, 1)).magnitude
- local TORSOVELOCITY_Y = ActualVelocity.Y
- if lplr == Player then
- TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
- TORSOVELOCITY_Y = RootPart.Velocity.Y
- end
- if TORSOVELOCITY < 1 then
- walking = false
- 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)
- RootJoint.C0 = Clerp(RootJoint.C0, RootC0 * CF(0,0,0) * ANGLES(RAD(5 * COS(SINE/4)),RAD(0),RAD(0)), 1/3)
- Waist.C0 = Clerp(Waist.C0, WaistC0 * CF(0,0,0) * ANGLES(RAD(10 * COS(SINE/4)),RAD(0),RAD(0)), 1/3)
- if not swinging then
- RSH.C0 = Clerp(RSH.C0, RSHC0 * CF(0,0,0) * ANGLES(RAD(12 + 12 * COS(SINE/12)),RAD(0),RAD(10)), 1/3)
- end
- 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)
- if not swinging then
- RightElbow.C0 = Clerp(RightElbow.C0, REC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- RightWrist.C0 = Clerp(RightWrist.C0, RWC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- end
- LeftElbow.C0 = Clerp(LeftElbow.C0, LEC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0) ,RAD(0)), 1/3)
- RH.C0 = Clerp(RH.C0, RHC0 * CF(0,0,0) * ANGLES(RAD(-5 * COS(SINE/4)),RAD(0),RAD(0)), 1/3)
- LH.C0 = Clerp(LH.C0, LHC0 * CF(0,0,0) * ANGLES(RAD(-5 * COS(SINE/4)),RAD(0),RAD(0)), 1/3)
- RK.C0 = Clerp(RK.C0, RKC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- LK.C0 = Clerp(LK.C0, LKC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- RA.C0 = RAC0
- LA.C0 = Clerp(LA.C0, LAC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- else
- walking = true
- Neck.C0 = Clerp(Neck.C0, NeckC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- --[[RootJoint.C0 = Clerp(RootJoint.C0, RootC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- Waist.C0 = Clerp(Waist.C0, WaistC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- RSH.C0 = Clerp(RSH.C0, RSHC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- LSH.C0 = Clerp(LSH.C0, LSHC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- RightElbow.C0 = Clerp(RightElbow.C0, REC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- LeftElbow.C0 = Clerp(LeftElbow.C0, LEC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0) ,RAD(0)), 1/3)
- RH.C0 = Clerp(RH.C0, RHC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- LH.C0 = Clerp(LH.C0, LHC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- RK.C0 = Clerp(RK.C0, RKC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- LK.C0 = Clerp(LK.C0, LKC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)
- RA.C0 = RAC0
- LA.C0 = Clerp(LA.C0, LAC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1/3)--]]
- end
- end)
- end))
- LocalScript2.Disabled = true
- Model3.Name = "Bat"
- Model3.Parent = LocalScript2
- Model3.PrimaryPart = MeshPart4
- MeshPart4.Name = "BatTop"
- MeshPart4.Parent = Model3
- 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)
- MeshPart4.Orientation = Vector3.new(14.0500002, -106.529999, 73.4300003)
- MeshPart4.Position = Vector3.new(-13.3913527, 620.831055, -43.4430847)
- MeshPart4.Rotation = Vector3.new(138.660004, -68.4300003, -145.860001)
- MeshPart4.Size = Vector3.new(0.466474235, 2.10761571, 0.466388136)
- MeshPart4.Anchored = true
- MeshPart4.CanCollide = false
- MeshPart4.TextureID = "rbxassetid://3416149850"
- MeshPart5.Name = "BatBottom"
- MeshPart5.Parent = Model3
- 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)
- MeshPart5.Orientation = Vector3.new(14.0500002, -106.529999, 73.4300003)
- MeshPart5.Position = Vector3.new(-13.8223915, 620.244873, -41.4752502)
- MeshPart5.Rotation = Vector3.new(138.660004, -68.4300003, -145.860001)
- MeshPart5.Size = Vector3.new(0.333449036, 2.10305047, 0.333271444)
- MeshPart5.Anchored = true
- MeshPart5.CanCollide = false
- MeshPart5.TextureID = "rbxassetid://3416151076"
- ParticleEmitter6.Name = "BanAura"
- ParticleEmitter6.Parent = mas
- ParticleEmitter6.Rotation = NumberRange.new(0, 360)
- ParticleEmitter6.Color = ColorSequence.new(Color3.new(0.333333, 0, 0),Color3.new(0.333333, 0, 0))
- ParticleEmitter6.Enabled = false
- ParticleEmitter6.LightEmission = 1
- ParticleEmitter6.LightInfluence = 1
- ParticleEmitter6.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter6.Transparency = NumberSequence.new(0.89999997615814,0.25600001215935)
- ParticleEmitter6.Size = NumberSequence.new(0.5,0.40000000596046)
- ParticleEmitter6.Lifetime = NumberRange.new(0.64999997615814, 0.64999997615814)
- ParticleEmitter6.LockedToPart = true
- ParticleEmitter6.Rate = 150
- Folder7.Name = "TextInner"
- Folder7.Parent = Model3
- UnionOperation8.Parent = Folder7
- 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)
- UnionOperation8.Orientation = Vector3.new(35.2900009, -116.559998, 69.5699997)
- UnionOperation8.Position = Vector3.new(-13.2383595, 620.900879, -43.4559631)
- UnionOperation8.Rotation = Vector3.new(122.290001, -46.8899994, -159.559998)
- UnionOperation8.Color = Color3.new(0.972549, 0.972549, 0.972549)
- UnionOperation8.Size = Vector3.new(0.193078518, 1.25000548, 0.122562885)
- UnionOperation8.Anchored = true
- UnionOperation8.CanCollide = false
- UnionOperation8.Material = Enum.Material.Neon
- UnionOperation8.UsePartColor = true
- UnionOperation9.Parent = Folder7
- 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)
- UnionOperation9.Orientation = Vector3.new(47.8400002, 100.68, -151.009995)
- UnionOperation9.Position = Vector3.new(-13.4119987, 620.692017, -42.8044739)
- UnionOperation9.Rotation = Vector3.new(99.5199966, 41.2599983, 104.720001)
- UnionOperation9.Color = Color3.new(0.972549, 0.972549, 0.972549)
- UnionOperation9.Size = Vector3.new(0.136015892, 0.136576176, 0.201794028)
- UnionOperation9.Anchored = true
- UnionOperation9.CanCollide = false
- UnionOperation9.Material = Enum.Material.Neon
- UnionOperation9.UsePartColor = true
- Model10.Name = "BruhSoundEffect"
- Model10.Parent = LocalScript2
- Model10.PrimaryPart = MeshPart12
- Part11.Parent = Model10
- Part11.CFrame = CFrame.new(-15.858779, 623.835693, -70.3447266, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part11.Position = Vector3.new(-15.858779, 623.835693, -70.3447266)
- Part11.Transparency = 0.30000001192093
- Part11.Size = Vector3.new(0.467601866, 0.691303074, 1.38260615)
- Part11.Anchored = true
- Part11.BottomSurface = Enum.SurfaceType.Smooth
- Part11.CanCollide = false
- Part11.TopSurface = Enum.SurfaceType.Smooth
- Part11.Shape = Enum.PartType.Cylinder
- MeshPart12.Name = "Cone"
- MeshPart12.Parent = Model10
- MeshPart12.CFrame = CFrame.new(-15.3820753, 623.835449, -70.331543, 0, -1, 0, 1, 0, 0, 0, 0, 1)
- MeshPart12.Orientation = Vector3.new(0, 0, 90)
- MeshPart12.Position = Vector3.new(-15.3820753, 623.835449, -70.331543)
- MeshPart12.Rotation = Vector3.new(0, 0, 90)
- MeshPart12.Color = Color3.new(0.388235, 0.372549, 0.384314)
- MeshPart12.Transparency = 0.30000001192093
- MeshPart12.Size = Vector3.new(1.61000729, 1.30730259, 1.61379158)
- MeshPart12.Anchored = true
- MeshPart12.BrickColor = BrickColor.new("Dark stone grey")
- MeshPart12.CanCollide = false
- MeshPart12.brickColor = BrickColor.new("Dark stone grey")
- Sound13.Name = "EGGET"
- Sound13.Parent = MeshPart12
- Sound13.SoundId = "rbxassetid://2667853805"
- Sound13.Volume = 5
- UnionOperation14.Parent = Model10
- UnionOperation14.CFrame = CFrame.new(-14.1910229, 623.840454, -70.3447266, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- UnionOperation14.Orientation = Vector3.new(0, 90, 0)
- UnionOperation14.Position = Vector3.new(-14.1910229, 623.840454, -70.3447266)
- UnionOperation14.Rotation = Vector3.new(0, 90, 0)
- UnionOperation14.Color = Color3.new(0.0352941, 0.537255, 0.811765)
- UnionOperation14.Transparency = 0.30000001192093
- UnionOperation14.Size = Vector3.new(0.172145158, 0.637569964, 0.559907675)
- UnionOperation14.Anchored = true
- UnionOperation14.BrickColor = BrickColor.new("Electric blue")
- UnionOperation14.CanCollide = false
- UnionOperation14.Material = Enum.Material.SmoothPlastic
- UnionOperation14.brickColor = BrickColor.new("Electric blue")
- UnionOperation14.UsePartColor = true
- UnionOperation15.Parent = Model10
- UnionOperation15.CFrame = CFrame.new(-13.9148073, 623.840454, -70.3447266, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- UnionOperation15.Orientation = Vector3.new(0, 90, 0)
- UnionOperation15.Position = Vector3.new(-13.9148073, 623.840454, -70.3447266)
- UnionOperation15.Rotation = Vector3.new(0, 90, 0)
- UnionOperation15.Color = Color3.new(0.0352941, 0.537255, 0.811765)
- UnionOperation15.Transparency = 0.30000001192093
- UnionOperation15.Size = Vector3.new(0.334584832, 1.23919368, 1.08824813)
- UnionOperation15.Anchored = true
- UnionOperation15.BrickColor = BrickColor.new("Electric blue")
- UnionOperation15.CanCollide = false
- UnionOperation15.Material = Enum.Material.SmoothPlastic
- UnionOperation15.brickColor = BrickColor.new("Electric blue")
- UnionOperation15.UsePartColor = true
- MeshPart16.Name = "You Know I had to do it to em"
- MeshPart16.Parent = LocalScript2
- MeshPart16.CFrame = CFrame.new(-18.9993896, 229.970001, 325.738831, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- MeshPart16.Orientation = Vector3.new(0, -90, 0)
- MeshPart16.Position = Vector3.new(-18.9993896, 229.970001, 325.738831)
- MeshPart16.Rotation = Vector3.new(0, -90, 0)
- MeshPart16.Size = Vector3.new(102.555496, 459.841675, 177.218643)
- MeshPart16.Anchored = true
- MeshPart16.TextureID = "rbxassetid://1201711400"
- local SyncFolder = Instance.new("Folder")
- SyncFolder.Name = "Sync"
- SyncFolder.Parent = MainFolder
- local LoopType = Instance.new("StringValue")
- LoopType.Name = "LoopType"
- LoopType.Value = "Custom"
- LoopType.Parent = MainFolder
- local MoveType = Instance.new("StringValue")
- MoveType.Name = "MoveType"
- MoveType.Value = "Smooth"
- MoveType.Parent = MainFolder
- local Movement = Instance.new("RemoteEvent")
- Movement.Name = "Movement"
- Movement.Parent = MainFolder
- local StopRemote = Instance.new("RemoteEvent")
- StopRemote.Name = "StopRemote"
- StopRemote.Parent = MainFolder
- --[[ Functions --
- -- SAZERENOS' ARTIFICIAL HEARTBEAT --]]
- Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- frame = Frame_Speed
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function Swait(NUMBER)
- if NUMBER == 0 or NUMBER == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, NUMBER do
- ArtificialHB.Event:wait()
- end
- end
- end
- for i,v in pairs(workspace.Terrain:GetChildren()) do
- if v.Name == Player.Name.." tracker" then
- v:Destroy()
- end
- end
- local RealRoot = Instance.new("Part")
- RealRoot.Name = Player.Name.." tracker"
- RealRoot.CanCollide = false
- RealRoot.Size = NC.HumanoidRootPart.Size
- RealRoot.Transparency = 1
- RealRoot.Parent = workspace.Terrain
- local NV = Instance.new("BodyVelocity")
- NV.Name = "DontMoveMeNoob"
- NV.Velocity = Vector3.new(0,0,0)
- NV.Parent = RealRoot
- NV.Changed:Connect(function(v, v2)
- if tostring(v) == "Velocity" then
- if v2 ~= Vector3.new(0,0,0) then
- NV.Velocity = Vector3.new(0,0,0)
- end
- end
- end)
- RealRoot:SetNetworkOwner(Player)
- function ChangeLoop(Text)
- print(Text)
- if Text == "Server" then
- LoopType.Value = "Server"
- elseif Text == "Custom" then
- LoopType.Value = "Custom"
- elseif Text == "Heartbeat" then
- LoopType.Value = "Heartbeat"
- elseif Text == "Stepped" then
- LoopType.Value = "Stepped"
- elseif Text == "RenderStepped" then
- LoopType.Value = "RenderStepped"
- else
- print("LoopType Invalid")
- end
- end
- function ChangeMovement(Text)
- print(Text)
- if Text == "Smooth" then
- MoveType.Value = "Smooth"
- elseif Text == "Remote" then
- MoveType.Value = "Remote"
- else
- print("MoveType Invalid")
- end
- end
- Player.Chatted:Connect(function(msg)
- if string.sub(msg,1,9) == "LoopType/" then
- ChangeLoop(string.sub(msg, 10))
- end
- if string.sub(msg,1,9) == "MoveType/" then
- ChangeMovement(string.sub(msg, 10))
- end
- if msg == "~stopscript" then
- StopRemote:FireAllClients()
- wait()
- MainFolder:Remove()
- script:Remove()
- script.Disabled = true
- end
- end)
- game:GetService("Players").PlayerAdded:Connect(function(plr)
- if plr.Name == EpicName then
- plr.Chatted:Connect(function(msg)
- if string.sub(msg,1,9) == "LoopType/" then
- ChangeLoop(string.sub(msg, 10))
- end
- if string.sub(msg,1,9) == "MoveType/" then
- ChangeMovement(string.sub(msg, 10))
- end
- if msg == "~stopscript" then
- StopRemote:FireAllClients()
- wait()
- MainFolder:Remove()
- script:Remove()
- script.Disabled = true
- end
- end)
- end
- end)
- script.Holder.Name = Player.Name
- for i,v in pairs(game:GetService("Players"):GetChildren()) do
- local NS = script[Player.Name]:Clone()
- NS.Parent = v.PlayerGui
- end
- game.Players.PlayerAdded:Connect(function(plr)
- repeat Swait() until plr.Character
- local NS = script[Player.Name]:Clone()
- NS.Parent = plr:WaitForChild("PlayerGui")
- end)
- -- Synced Loop
- print("Running Server")
- script.Parent = game:GetService("ServerScriptService")
- workspace.Terrain.ChildRemoved:Connect(function(v)
- Swait(2)
- if v == RealRoot then
- RealRoot = Instance.new("Part")
- RealRoot.Name = Player.Name.." tracker"
- RealRoot.CanCollide = false
- RealRoot.Size = NC.HumanoidRootPart.Size
- RealRoot.Transparency = 1
- RealRoot.Parent = workspace.Terrain
- NV = Instance.new("BodyVelocity")
- NV.Name = "DontMoveMeNoob"
- NV.Velocity = Vector3.new(0,0,0)
- NV.Parent = RealRoot
- NV.Changed:Connect(function(v, v2)
- if tostring(v) == "Velocity" then
- if v2 ~= Vector3.new(0,0,0) then
- NV.Velocity = Vector3.new(0,0,0)
- end
- end
- end)
- RealRoot:SetNetworkOwner(Player)
- end
- end)
- ArtificialHB.Event:Connect(function()
- Player.Character.HumanoidRootPart.CFrame = CFrame.new(10000,10000,0)
- end)
- while true do
- ArtificialHB.Event:wait()
- local NI = Instance.new("Shirt")
- NI.Parent = SyncFolder
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement