Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do
- print("FE Compatibility code by Mokiros")
- local rp = RealPlayer
- script.Parent = rp.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent then
- for _,f in pairs(t.Functions) do
- f(...)
- end
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=rp then return end
- m.Target = io.Target
- m.Hit = io.Hit
- if not io.isMouse then
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local Mouse = Player:GetMouse()
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- ----Sandboxed game object that allows the usage of client-side methods and services
- --Real game object
- local _rg = game
- --Metatable for fake service
- local fsmt = {
- __index = function(self,k)
- local s = rawget(self,"_RealService")
- if s then return s[k] end
- end,
- __newindex = function(self,k,v)
- local s = rawget(self,"_RealService")
- if s then s[k]=v end
- end,
- __call = function(self,...)
- local s = rawget(self,"_RealService")
- if s then return s(...) end
- end
- }
- local function FakeService(t,RealService)
- t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
- return setmetatable(t,fsmt)
- end
- --Fake game object
- local g = {
- GetService = function(self,s)
- return self[s]
- end,
- Players = FakeService({
- LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
- },"Players"),
- UserInputService = FakeService(UIS,"UserInputService"),
- ContextActionService = FakeService(CAS,"ContextActionService"),
- }
- rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
- g.service = g.GetService
- g.RunService = FakeService({
- RenderStepped = _rg:GetService("RunService").Heartbeat,
- BindToRenderStep = function(self,name,_,fun)
- end,
- UnbindFromRenderStep = function(self,name)
- self._btrs[name]:Disconnect()
- end,
- },"RunService")
- setmetatable(g,{
- __index=function(self,s)
- return _rg:GetService(s) or typeof(_rg[s])=="function"
- and function(_,...)return _rg[s](_rg,...)end or _rg[s]
- end,
- __newindex = fsmt.__newindex,
- __call = fsmt.__call
- })
- --Changing owner to fake player object to support owner:GetMouse()
- game,owner = g,g.Players.LocalPlayer
- end
- --//=======================================================\\--
- --|CREATED BY SHACKLUSTER AND EDITED BY SABA1520/KISSLARGE
- --\\=======================================================//--
- wait(0.2)
- Player = owner
- PlayerGui = Player.PlayerGui
- Cam = workspace.CurrentCamera
- Backpack = Player.Backpack
- Character = Player.Character
- Humanoid = Character.Humanoid
- Mouse = Player:GetMouse()
- RootPart = Character["HumanoidRootPart"]
- Torso = Character["Torso"]
- Head = Character["Head"]
- RightArm = Character["Right Arm"]
- LeftArm = Character["Left Arm"]
- RightLeg = Character["Right Leg"]
- LeftLeg = Character["Left Leg"]
- RootJoint = RootPart["RootJoint"]
- Neck = Torso["Neck"]
- RightShoulder = Torso["Right Shoulder"]
- LeftShoulder = Torso["Left Shoulder"]
- RightHip = Torso["Right Hip"]
- LeftHip = Torso["Left Hip"]
- local sick = Instance.new("Sound",Character)
- sick.SoundId = "rbxassetid://673916774"
- sick.Looped = true
- sick.Pitch = 0.9
- sick.Volume = 5
- sick:Play()
- Humanoid.DisplayDistanceType = "None"
- local change = 1
- print('Local User is '..Player.Name)
- local char = Player.Character
- local hum = char.Humanoid
- local hed = char.Head
- local root = char.HumanoidRootPart
- local rootj = root.RootJoint
- local tors = char.Torso
- local ra = char["Right Arm"]
- local la = char["Left Arm"]
- local rl = char["Right Leg"]
- local ll = char["Left Leg"]
- local neck = tors["Neck"]
- local mouse = Player:GetMouse()
- local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
- local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
- local maincolor = BrickColor.new("Institutional white")
- local sine = 0
- local naeeym2 = Instance.new("BillboardGui",Character)
- naeeym2.AlwaysOnTop = true
- naeeym2.Size = UDim2.new(5,35,2,35)
- naeeym2.StudsOffset = Vector3.new(0,1,0)
- naeeym2.Adornee = Character.Head
- naeeym2.Name = "Name"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.TextScaled = true
- tecks2.BorderSizePixel = 0
- tecks2.Text = "Nazi General"
- tecks2.Font = "Fantasy"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0.5
- tecks2.TextColor3 = Color3.new(0,0,0)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- tecks2.Parent = naeeym2
- local Hair = Instance.new("Part", char)
- Hair.Name = "Hat"
- Hair.CanCollide = false
- Hair.BrickColor = BrickColor.new("Institutional white")
- Hair.Transparency = 0
- Hair.Material = "Plastic"
- Hair.Size = Vector3.new(1, 1, 2)
- Hair.TopSurface = Enum.SurfaceType.Smooth
- Hair.BottomSurface = Enum.SurfaceType.Smooth
- local Weld = Instance.new("Weld", Hair)
- Weld.Part0 = hed
- Weld.Part1 = Hair
- Weld.C1 = CFrame.new(0, -.5, 0)
- Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
- local M2 = Instance.new("SpecialMesh")
- M2.Parent = Hair
- M2.MeshId = "http://www.roblox.com/asset/?id=1028788"
- M2.TextureId = "http://www.roblox.com/asset/?id=24967251"
- M2.Scale = Vector3.new(1, 1, 1)
- 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
- local sound = IT("Sound")
- function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
- local NEWMESH = IT(MESH)
- if MESH == "SpecialMesh" then
- NEWMESH.MeshType = MESHTYPE
- if MESHID ~= "nil" and MESHID ~= "" then
- NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
- end
- if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
- NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
- end
- end
- NEWMESH.Offset = OFFSET or VT(0, 0, 0)
- NEWMESH.Scale = SCALE
- NEWMESH.Parent = PARENT
- return NEWMESH
- end
- function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
- local NEWPART = IT("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = Torso.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- local EyeSizes={
- NumberSequenceKeypoint.new(0,1,0),
- NumberSequenceKeypoint.new(1,0.2,0)
- }
- local EyeTrans={
- NumberSequenceKeypoint.new(0,0.8,0),
- NumberSequenceKeypoint.new(1,1,0)
- }
- local PE=Instance.new("ParticleEmitter")
- PE.LightEmission=0
- PE.Size=NumberSequence.new(EyeSizes)
- PE.Transparency=NumberSequence.new(EyeTrans)
- PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
- PE.Rotation=NumberRange.new(0,360)
- PE.Rate=15
- PE.Acceleration = Vector3.new(0,75,0)
- PE.Drag = 5
- PE.Enabled = false
- PE.Speed = NumberRange.new(0,0,0)
- PE.Texture="http://www.roblox.com/asset/?id=0"
- PE.ZOffset = 0
- PE.Name = "Inferno"
- function particles(art)
- local particle = PE:Clone()
- particle.Parent = art
- particle.Enabled = true
- end
- --//=================================\\
- --|| CUSTOMIZATION
- --\\=================================//
- Class_Name = "German General"
- Weapon_Name = "Add-ons"
- Custom_Colors = {
- Custom_Color_1 = BRICKC("Really black"); --1st color for the weapon.
- Custom_Color_2 = BRICKC("Really black"); --2nd color for the weapon.
- Custom_Color_3 = BRICKC("Really black"); --Color for the abilities.
- Custom_Color_4 = BRICKC("Really black"); --Color for the secondary bar.
- Custom_Color_5 = BRICKC("Really black"); --Color for the mana bar.
- Custom_Color_6 = BRICKC("Really black"); --Color for the health bar.
- Custom_Color_7 = BRICKC("Really black"); --Color for the stun bar.
- Custom_Color_8 = BRICKC("Really black"); --Background for the mana bar.
- Custom_Color_9 = BRICKC("Really black"); --Background for the secondary mana bar.
- Custom_Color_10 = BRICKC("Really black"); --Background for the stun bar.
- Custom_Color_11 = BRICKC("Really black"); --Background for the health bar.
- Custom_Color_12 = BRICKC("Really black"); --Background for the abilities.
- }
- Player_Size = 1 --Size of the player.
- Animation_Speed = 3
- Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
- local Speed = 16
- local Effects2 = {}
- --//=================================\\
- --|| END OF CUSTOMIZATION
- --\\=================================//
- local function weldBetween(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
- local acs = Instance.new("Part")
- acs.CanCollide = false
- acs.Anchored = false
- acs.Size = Vector3.new(0,0,0)
- acs.CFrame = attachmentpart.CFrame
- acs.Parent = Character
- acs.BrickColor = color
- local meshs = Instance.new("SpecialMesh")
- meshs.MeshId = mesh
- meshs.TextureId = texture
- meshs.Parent = acs
- meshs.Scale = scale
- meshs.Offset = offset
- weldBetween(attachmentpart,acs)
- end
- function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
- if TYPE == "Gem" then
- local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
- acs.Anchored = false
- acs.CanCollide = false
- acs.CFrame = PART.CFrame
- local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
- weldBetween(PART,acs)
- elseif TYPE == "Skull" then
- local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
- acs.Anchored = false
- acs.CanCollide = false
- acs.CFrame = PART.CFrame
- local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
- weldBetween(PART,acs)
- elseif TYPE == "Eye" then
- local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
- acs.Anchored = false
- acs.CanCollide = false
- acs.CFrame = PART.CFrame
- local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
- weldBetween(PART,acs)
- end
- end
- --//=================================\\
- --|| USEFUL VALUES
- --\\=================================//
- for i,v in pairs(char:children()) do
- if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
- v:Remove()
- end
- end
- shirt = Instance.new("Shirt", char)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", char)
- pants.Name = "Pants"
- char.Shirt.ShirtTemplate = "rbxassetid://216674358"
- char.Pants.PantsTemplate = "rbxassetid://216673391"
- local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
- local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
- local CO1 = 0
- local CO2 = 0
- local CO3 = 0
- local CO4 = 0
- local CHANGEDEFENSE = 0
- local CHANGEDAMAGE = 0
- local CHANGEMOVEMENT = 0
- local ANIM = "Idle"
- local ATTACK = false
- local EQUIPPED = false
- local HOLD = false
- local COMBO = 1
- local LASTPOINT = nil
- local BLCF = nil
- local SCFR = nil
- local STAGGERHITANIM = false
- local STAGGERANIM = false
- local STUNANIM = false
- local CRITCHANCENUMBER = 0
- local IDLENUMBER = 0
- local DONUMBER = 0
- local HANDIDLE = false
- local SINE = 0
- local CHANGE = 2 / Animation_Speed
- local WALKINGANIM = false
- local WALK = 0
- local DISABLEJUMPING = false
- local HASBEENBLOCKED = false
- local STUNDELAYNUMBER = 0
- local MANADELAYNUMBER = 0
- local OTHERWORLD = false
- local SECONDARYMANADELAYNUMBER = 0
- local ROBLOXIDLEANIMATION = IT("Animation")
- ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
- ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- --ROBLOXIDLEANIMATION.Parent = Humanoid
- local WEAPONGUI = IT("ScreenGui", nil)
- WEAPONGUI.Name = "Weapon GUI"
- local WEAPONTOOL = IT("HopperBin", nil)
- WEAPONTOOL.Name = Weapon_Name
- local Weapon = IT("Model")
- Weapon.Name = Weapon_Name
- local Effects = IT("Folder", Weapon)
- Effects.Name = "Effects"
- local ANIMATOR = Humanoid.Animator
- local ANIMATE = Character.Animate
- local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
- local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
- local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
- local HITBLOCKSOUNDS = {"199148933", "199148947"}
- local UNANCHOR = true
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| SAZERENOS' ARTIFICIAL HEARTBEAT
- --\\=================================//
- 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)
- --//=================================\\
- --\\=================================//
- guigroup=Instance.new("BillboardGui")
- guigroup.Parent=game.Players.LocalPlayer.Character.Head
- guigroup.Adornee=game.Players.LocalPlayer.Character.Head
- guigroup.Size = UDim2.new(1,0,1,0)
- guigroup.StudsOffset=Vector3.new(0.5, 6, 0)
- oooo1 = Instance.new("TextLabel")
- Kills = Instance.new("IntValue")
- Kills.Parent = game.Players.LocalPlayer.Character
- Kills.Name = ""
- oooo1.Text = ""
- if
- game.Players.LocalPlayer.Name == ""
- then
- oooo1.Text = ""
- end
- oooo1.Size = UDim2.new(0,200,0,200)
- oooo1.BackgroundColor3 = Color3.new(1, 1, 1)
- oooo1.BackgroundTransparency = 1
- oooo1.Parent = guigroup
- oooo1.AnchorPoint = Vector2.new(0.5, 0.9)
- oooo1.Size = UDim2.new(3.5,0,3.5,0)
- oooo1.TextScaled = true
- ko1 = Instance.new("TextLabel")
- ko1.Name = ""
- ko1.Parent = guigroup
- ko1.BackgroundColor3 = Color3.new(1, 1, 1)
- ko1.BackgroundTransparency = 1
- ko1.TextColor3 = Color3.new(1, 0, 0)
- ko1.TextScaled = false
- ko1.TextWrapped = false
- ko1.AnchorPoint = Vector2.new(0.5, 0.3)
- game.Players.LocalPlayer.Character.Humanoid.NameOcclusion = "NoOcclusion"
- game.Players.LocalPlayer.Character.Humanoid.HealthDisplayType = "AlwaysOff"
- game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
- game.Players.LocalPlayer.Character.Humanoid.Health = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("Model")
- o2 = Instance.new("Part")
- o3 = Instance.new("BlockMesh")
- o4 = Instance.new("Part")
- o5 = Instance.new("BlockMesh")
- o6 = Instance.new("CFrameValue")
- o7 = Instance.new("Weld")
- o8 = Instance.new("Part")
- o9 = Instance.new("BlockMesh")
- o10 = Instance.new("CFrameValue")
- o11 = Instance.new("Weld")
- o12 = Instance.new("Part")
- o13 = Instance.new("BlockMesh")
- o14 = Instance.new("CFrameValue")
- o15 = Instance.new("Weld")
- o16 = Instance.new("Part")
- o17 = Instance.new("BlockMesh")
- o18 = Instance.new("CFrameValue")
- o19 = Instance.new("Weld")
- o20 = Instance.new("Part")
- o21 = Instance.new("BlockMesh")
- o22 = Instance.new("CFrameValue")
- o23 = Instance.new("Weld")
- o24 = Instance.new("Part")
- o25 = Instance.new("BlockMesh")
- o26 = Instance.new("CFrameValue")
- o27 = Instance.new("Weld")
- o28 = Instance.new("Part")
- o29 = Instance.new("CFrameValue")
- o30 = Instance.new("Weld")
- o31 = Instance.new("Part")
- o32 = Instance.new("CFrameValue")
- o33 = Instance.new("Weld")
- o34 = Instance.new("Part")
- o35 = Instance.new("SpecialMesh")
- o36 = Instance.new("CFrameValue")
- o37 = Instance.new("Weld")
- weldtoarm = Instance.new("Weld")
- o1.Name = "Armlet"
- o1.Parent = mas
- o2.Name = "svatic1"
- o2.Parent = o1
- o2.Material = Enum.Material.SmoothPlastic
- o2.BrickColor = BrickColor.new("Really black")
- o2.Position = Vector3.new(9.5394268, 1.15889382, -30.4923649)
- o2.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
- o2.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
- o2.CFrame = CFrame.new(9.5394268, 1.15889382, -30.4923649, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
- o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o2.Position = Vector3.new(9.5394268, 1.15889382, -30.4923649)
- o2.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
- o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o3.Parent = o2
- o3.Scale = Vector3.new(0.999996185, 0.598279178, 0.0991418734)
- o3.Scale = Vector3.new(0.999996185, 0.598279178, 0.0991418734)
- o4.Name = "svatic2"
- o4.Parent = o1
- o4.Material = Enum.Material.SmoothPlastic
- o4.BrickColor = BrickColor.new("Really black")
- o4.Position = Vector3.new(9.51736546, 1.06919134, -30.4028416)
- o4.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
- o4.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
- o4.CFrame = CFrame.new(9.51736546, 1.06919134, -30.4028416, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
- o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o4.Position = Vector3.new(9.51736546, 1.06919134, -30.4028416)
- o4.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
- o4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o5.Parent = o4
- o5.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195)
- o5.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195)
- o6.Name = "qRelativeCFrameWeldValue"
- o6.Parent = o4
- o6.Value = CFrame.new(0, -0.0218372345, -0.105447769, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o7.Name = "qCFrameWeldThingy"
- o7.Parent = o4
- o7.C1 = CFrame.new(0, -0.0260860808, -0.125964642, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o7.Part0 = o2
- o7.Part1 = o4
- o8.Name = "svatic3"
- o8.Parent = o1
- o8.Material = Enum.Material.SmoothPlastic
- o8.BrickColor = BrickColor.new("Really black")
- o8.Position = Vector3.new(9.50574112, 1.21955931, -30.7833157)
- o8.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
- o8.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
- o8.CFrame = CFrame.new(9.50574112, 1.21955931, -30.7833157, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
- o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o8.Position = Vector3.new(9.50574112, 1.21955931, -30.7833157)
- o8.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
- o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o9.Parent = o8
- o9.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734)
- o9.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734)
- o10.Name = "qRelativeCFrameWeldValue"
- o10.Parent = o8
- o10.Value = CFrame.new(0, -0.106843948, 0.226449966, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o11.Name = "qCFrameWeldThingy"
- o11.Parent = o8
- o11.C1 = CFrame.new(0, -0.127632454, 0.270510107, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o11.Part0 = o2
- o11.Part1 = o8
- o12.Name = "svatic4"
- o12.Parent = o1
- o12.Material = Enum.Material.SmoothPlastic
- o12.BrickColor = BrickColor.new("Really black")
- o12.Position = Vector3.new(9.40566349, 0.893889546, -30.553009)
- o12.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
- o12.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
- o12.CFrame = CFrame.new(9.40566349, 0.893889546, -30.553009, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
- o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o12.Position = Vector3.new(9.40566349, 0.893889546, -30.553009)
- o12.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
- o12.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o13.Parent = o12
- o13.Scale = Vector3.new(0.999996185, 0.100022063, 0.364750892)
- o13.Scale = Vector3.new(0.999996185, 0.100022063, 0.364750892)
- o14.Name = "qRelativeCFrameWeldValue"
- o14.Parent = o12
- o14.Value = CFrame.new(0, -0.236118317, -0.0926094055, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o15.Name = "qCFrameWeldThingy"
- o15.Parent = o12
- o15.C1 = CFrame.new(0, -0.28205961, -0.110628322, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o15.Part0 = o2
- o15.Part1 = o12
- o16.Name = "svatic5"
- o16.Parent = o1
- o16.Material = Enum.Material.SmoothPlastic
- o16.BrickColor = BrickColor.new("Really black")
- o16.Position = Vector3.new(9.65675831, 1.39117944, -30.4388123)
- o16.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
- o16.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
- o16.CFrame = CFrame.new(9.65675831, 1.39117944, -30.4388123, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
- o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o16.Position = Vector3.new(9.65675831, 1.39117944, -30.4388123)
- o16.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
- o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o17.Parent = o16
- o17.Scale = Vector3.new(0.999996185, 0.100022063, 0.336512148)
- o17.Scale = Vector3.new(0.999996185, 0.100022063, 0.336512148)
- o18.Name = "qRelativeCFrameWeldValue"
- o18.Parent = o16
- o18.Value = CFrame.new(0, 0.207174301, 0.080909729, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o19.Name = "qCFrameWeldThingy"
- o19.Parent = o16
- o19.C1 = CFrame.new(0, 0.247483984, 0.096652247, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o19.Part0 = o2
- o19.Part1 = o16
- o20.Name = "svatic6"
- o20.Parent = o1
- o20.Material = Enum.Material.SmoothPlastic
- o20.BrickColor = BrickColor.new("Really black")
- o20.Position = Vector3.new(9.54831028, 1.05523241, -30.2259464)
- o20.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
- o20.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
- o20.CFrame = CFrame.new(9.54831028, 1.05523241, -30.2259464, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
- o20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o20.Position = Vector3.new(9.54831028, 1.05523241, -30.2259464)
- o20.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
- o20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o21.Parent = o20
- o21.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734)
- o21.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734)
- o22.Name = "qRelativeCFrameWeldValue"
- o22.Parent = o20
- o22.Value = CFrame.new(0, 0.0607795715, -0.231582642, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o23.Name = "qCFrameWeldThingy"
- o23.Parent = o20
- o23.C1 = CFrame.new(0, 0.0726053864, -0.276641428, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o23.Part0 = o2
- o23.Part1 = o20
- o24.Name = "svatic7"
- o24.Parent = o1
- o24.Material = Enum.Material.SmoothPlastic
- o24.BrickColor = BrickColor.new("Really black")
- o24.Position = Vector3.new(9.53892517, 1.21178222, -30.6091824)
- o24.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
- o24.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
- o24.CFrame = CFrame.new(9.53892517, 1.21178222, -30.6091824, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
- o24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o24.Position = Vector3.new(9.53892517, 1.21178222, -30.6091824)
- o24.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
- o24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o25.Parent = o24
- o25.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195)
- o25.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195)
- o26.Name = "qRelativeCFrameWeldValue"
- o26.Parent = o24
- o26.Value = CFrame.new(0, -0.0209236145, 0.105287552, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o27.Name = "qCFrameWeldThingy"
- o27.Parent = o24
- o27.C1 = CFrame.new(0, -0.0249946993, 0.125773236, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o27.Part0 = o2
- o27.Part1 = o24
- o28.Name = "Right Arm"
- o28.Parent = o1
- o28.Material = Enum.Material.SmoothPlastic
- o28.BrickColor = BrickColor.new("Really black")
- o28.Transparency = 1
- o28.Position = Vector3.new(9.33767605, 1.24664795, -30.4727879)
- o28.Rotation = Vector3.new(114.800003, 63.2999992, -39.2599983)
- o28.FormFactor = Enum.FormFactor.Symmetric
- o28.Size = Vector3.new(2.09252977, 1.04626489, 1.04626489)
- o28.CFrame = CFrame.new(9.33767605, 1.24664795, -30.4727879, 0.347877979, 0.284306079, 0.893393397, 0.893409908, 0.188386172, -0.407835245, -0.284253061, 0.940042913, -0.188466549)
- o28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o28.Position = Vector3.new(9.33767605, 1.24664795, -30.4727879)
- o28.Orientation = Vector3.new(24.0699997, 101.910004, 78.0899963)
- o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- weldtoarm.Parent = o28
- weldtoarm.Part0 = o28
- weldtoarm.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
- weldtoarm.C0 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(1.55, math.pi, 1.55)
- o29.Name = "qRelativeCFrameWeldValue"
- o29.Parent = o28
- o29.Value = CFrame.new(-0.00221943855, 0.0187721252, 0.183933258, -1.47819519e-05, -0.642790794, -0.766052902, 1.11595e-09, -0.766052902, 0.642790794, -1, 9.50084723e-06, 1.13244741e-05)
- o30.Name = "qCFrameWeldThingy"
- o30.Parent = o28
- o30.C1 = CFrame.new(-0.00265127234, 0.0224245973, 0.21972096, -1.47819519e-05, -0.642790794, -0.766052902, 1.11595e-09, -0.766052902, 0.642790794, -1, 9.50084723e-06, 1.13244741e-05)
- o30.Part0 = o2
- o30.Part1 = o28
- o31.Name = "Armlet1"
- o31.Parent = o1
- o31.Material = Enum.Material.SmoothPlastic
- o31.BrickColor = BrickColor.new("Bright red")
- o31.Position = Vector3.new(9.33325005, 1.22114551, -30.4663391)
- o31.Rotation = Vector3.new(114.800003, 63.2999992, -39.2599983)
- o31.FormFactor = Enum.FormFactor.Symmetric
- o31.Size = Vector3.new(1.01487708, 1.06719005, 1.0985781)
- o31.CFrame = CFrame.new(9.33325005, 1.22114551, -30.4663391, 0.34788391, 0.284310907, 0.893393397, 0.893425107, 0.188389421, -0.407835245, -0.284257859, 0.940058947, -0.188466549)
- o31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o31.Color = Color3.new(0.768628, 0.156863, 0.109804)
- o31.Position = Vector3.new(9.33325005, 1.22114551, -30.4663391)
- o31.Orientation = Vector3.new(24.0699997, 101.910004, 78.0899963)
- o31.Color = Color3.new(0.768628, 0.156863, 0.109804)
- o32.Name = "qRelativeCFrameWeldValue"
- o32.Parent = o31
- o32.Value = CFrame.new(0.0196768045, 0.0187721252, 0.179553986, -1.47819519e-05, -0.642790794, -0.766052902, 1.11595e-09, -0.766052902, 0.642790794, -1, 9.50084723e-06, 1.13244741e-05)
- o33.Name = "qCFrameWeldThingy"
- o33.Parent = o31
- o33.C1 = CFrame.new(0.0235053003, 0.0224245973, 0.214489624, -1.47819519e-05, -0.642790794, -0.766052902, 1.11595e-09, -0.766052902, 0.642790794, -1, 9.50084723e-06, 1.13244741e-05)
- o33.Part0 = o2
- o33.Part1 = o31
- o34.Name = "Armlet2"
- o34.Parent = o1
- o34.Material = Enum.Material.SmoothPlastic
- o34.BrickColor = BrickColor.new("Institutional white")
- o34.Position = Vector3.new(9.74531078, 1.04955149, -30.5565758)
- o34.Rotation = Vector3.new(-11.3299999, 16.5200005, 158.729996)
- o34.Shape = Enum.PartType.Cylinder
- o34.Size = Vector3.new(0.238913804, 1.0253396, 1.04626489)
- o34.CFrame = CFrame.new(9.74531078, 1.04955149, -30.5565758, -0.893398523, -0.347870708, 0.284310907, 0.407822043, -0.893431127, 0.188389421, 0.188470751, 0.284255087, 0.940058947)
- o34.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o34.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o34.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o34.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o34.Position = Vector3.new(9.74531078, 1.04955149, -30.5565758)
- o34.Orientation = Vector3.new(-10.8599997, 16.8299999, 155.460007)
- o34.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o35.Parent = o34
- o35.Scale = Vector3.new(0.875851333, 1, 1)
- o35.MeshType = Enum.MeshType.Cylinder
- o35.Scale = Vector3.new(0.875851333, 1, 1)
- o36.Name = "qRelativeCFrameWeldValue"
- o36.Parent = o34
- o36.Value = CFrame.new(0.201436996, -0.00654327869, 0.0187721252, 1, 0, 0, 0, 0.642790794, 0.766052902, 0, -0.766052902, 0.642790794)
- o37.Name = "qCFrameWeldThingy"
- o37.Parent = o34
- o37.C1 = CFrame.new(0.240630388, -0.00781639758, 0.0224245973, 1, 0, 0, 0, 0.642790794, 0.766052902, 0, -0.766052902, 0.642790794)
- o37.Part0 = o2
- o37.Part1 = o34
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = game.Players.LocalPlayer.Character
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
- guigroup=Instance.new("BillboardGui")
- guigroup.Parent=game.Players.LocalPlayer.Character.Head
- guigroup.Adornee=game.Players.LocalPlayer.Character.Head
- guigroup.Size = UDim2.new(1,0,1,0)
- guigroup.StudsOffset=Vector3.new(0.5, 6, 0)
- oooo1 = Instance.new("TextLabel")
- Kills = Instance.new("IntValue")
- Kills.Parent = game.Players.LocalPlayer.Character
- Kills.Name = ""
- oooo1.Text = ""
- if
- game.Players.LocalPlayer.Name == ""
- then
- oooo1.Text = ""
- end
- oooo1.Size = UDim2.new(0,200,0,200)
- oooo1.BackgroundColor3 = Color3.new(1, 1, 1)
- oooo1.BackgroundTransparency = 1
- oooo1.Parent = guigroup
- oooo1.AnchorPoint = Vector2.new(0.5, 0.9)
- oooo1.Size = UDim2.new(3.5,0,3.5,0)
- oooo1.TextScaled = true
- ko1 = Instance.new("TextLabel")
- ko1.Name = ""
- ko1.Parent = guigroup
- ko1.BackgroundColor3 = Color3.new(1, 1, 1)
- ko1.BackgroundTransparency = 1
- ko1.TextColor3 = Color3.new(1, 0, 0)
- ko1.TextScaled = false
- ko1.TextWrapped = false
- ko1.AnchorPoint = Vector2.new(0.5, 0.3)
- game.Players.LocalPlayer.Character.Humanoid.NameOcclusion = "NoOcclusion"
- game.Players.LocalPlayer.Character.Humanoid.HealthDisplayType = "AlwaysOff"
- game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
- game.Players.LocalPlayer.Character.Humanoid.Health = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("Model")
- o2 = Instance.new("Part")
- o3 = Instance.new("BlockMesh")
- o4 = Instance.new("Part")
- o5 = Instance.new("BlockMesh")
- o6 = Instance.new("CFrameValue")
- o7 = Instance.new("Weld")
- o8 = Instance.new("Part")
- o9 = Instance.new("BlockMesh")
- o10 = Instance.new("CFrameValue")
- o11 = Instance.new("Weld")
- o12 = Instance.new("Part")
- o13 = Instance.new("BlockMesh")
- o14 = Instance.new("CFrameValue")
- o15 = Instance.new("Weld")
- o16 = Instance.new("Part")
- o17 = Instance.new("BlockMesh")
- o18 = Instance.new("CFrameValue")
- o19 = Instance.new("Weld")
- o20 = Instance.new("Part")
- o21 = Instance.new("BlockMesh")
- o22 = Instance.new("CFrameValue")
- o23 = Instance.new("Weld")
- o24 = Instance.new("Part")
- o25 = Instance.new("BlockMesh")
- o26 = Instance.new("CFrameValue")
- o27 = Instance.new("Weld")
- o28 = Instance.new("Part")
- o29 = Instance.new("CFrameValue")
- o30 = Instance.new("Weld")
- o31 = Instance.new("Part")
- o32 = Instance.new("CFrameValue")
- o33 = Instance.new("Weld")
- o34 = Instance.new("Part")
- o35 = Instance.new("SpecialMesh")
- o36 = Instance.new("CFrameValue")
- o37 = Instance.new("Weld")
- weldtoarm = Instance.new("Weld")
- o1.Name = "Armlet"
- o1.Parent = mas
- o2.Name = "svatic1"
- o2.Parent = o1
- o2.Material = Enum.Material.SmoothPlastic
- o2.BrickColor = BrickColor.new("Really black")
- o2.Position = Vector3.new(9.5394268, 1.15889382, -30.4923649)
- o2.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
- o2.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
- o2.CFrame = CFrame.new(9.5394268, 1.15889382, -30.4923649, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
- o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o2.Position = Vector3.new(9.5394268, 1.15889382, -30.4923649)
- o2.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
- o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o3.Parent = o2
- o3.Scale = Vector3.new(0.999996185, 0.598279178, 0.0991418734)
- o3.Scale = Vector3.new(0.999996185, 0.598279178, 0.0991418734)
- o4.Name = "svatic2"
- o4.Parent = o1
- o4.Material = Enum.Material.SmoothPlastic
- o4.BrickColor = BrickColor.new("Really black")
- o4.Position = Vector3.new(9.51736546, 1.06919134, -30.4028416)
- o4.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
- o4.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
- o4.CFrame = CFrame.new(9.51736546, 1.06919134, -30.4028416, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
- o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o4.Position = Vector3.new(9.51736546, 1.06919134, -30.4028416)
- o4.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
- o4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o5.Parent = o4
- o5.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195)
- o5.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195)
- o6.Name = "qRelativeCFrameWeldValue"
- o6.Parent = o4
- o6.Value = CFrame.new(0, -0.0218372345, -0.105447769, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o7.Name = "qCFrameWeldThingy"
- o7.Parent = o4
- o7.C1 = CFrame.new(0, -0.0260860808, -0.125964642, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o7.Part0 = o2
- o7.Part1 = o4
- o8.Name = "svatic3"
- o8.Parent = o1
- o8.Material = Enum.Material.SmoothPlastic
- o8.BrickColor = BrickColor.new("Really black")
- o8.Position = Vector3.new(9.50574112, 1.21955931, -30.7833157)
- o8.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
- o8.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
- o8.CFrame = CFrame.new(9.50574112, 1.21955931, -30.7833157, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
- o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o8.Position = Vector3.new(9.50574112, 1.21955931, -30.7833157)
- o8.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
- o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o9.Parent = o8
- o9.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734)
- o9.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734)
- o10.Name = "qRelativeCFrameWeldValue"
- o10.Parent = o8
- o10.Value = CFrame.new(0, -0.106843948, 0.226449966, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o11.Name = "qCFrameWeldThingy"
- o11.Parent = o8
- o11.C1 = CFrame.new(0, -0.127632454, 0.270510107, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o11.Part0 = o2
- o11.Part1 = o8
- o12.Name = "svatic4"
- o12.Parent = o1
- o12.Material = Enum.Material.SmoothPlastic
- o12.BrickColor = BrickColor.new("Really black")
- o12.Position = Vector3.new(9.40566349, 0.893889546, -30.553009)
- o12.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
- o12.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
- o12.CFrame = CFrame.new(9.40566349, 0.893889546, -30.553009, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
- o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o12.Position = Vector3.new(9.40566349, 0.893889546, -30.553009)
- o12.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
- o12.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o13.Parent = o12
- o13.Scale = Vector3.new(0.999996185, 0.100022063, 0.364750892)
- o13.Scale = Vector3.new(0.999996185, 0.100022063, 0.364750892)
- o14.Name = "qRelativeCFrameWeldValue"
- o14.Parent = o12
- o14.Value = CFrame.new(0, -0.236118317, -0.0926094055, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o15.Name = "qCFrameWeldThingy"
- o15.Parent = o12
- o15.C1 = CFrame.new(0, -0.28205961, -0.110628322, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o15.Part0 = o2
- o15.Part1 = o12
- o16.Name = "svatic5"
- o16.Parent = o1
- o16.Material = Enum.Material.SmoothPlastic
- o16.BrickColor = BrickColor.new("Really black")
- o16.Position = Vector3.new(9.65675831, 1.39117944, -30.4388123)
- o16.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
- o16.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
- o16.CFrame = CFrame.new(9.65675831, 1.39117944, -30.4388123, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
- o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o16.Position = Vector3.new(9.65675831, 1.39117944, -30.4388123)
- o16.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
- o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o17.Parent = o16
- o17.Scale = Vector3.new(0.999996185, 0.100022063, 0.336512148)
- o17.Scale = Vector3.new(0.999996185, 0.100022063, 0.336512148)
- o18.Name = "qRelativeCFrameWeldValue"
- o18.Parent = o16
- o18.Value = CFrame.new(0, 0.207174301, 0.080909729, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o19.Name = "qCFrameWeldThingy"
- o19.Parent = o16
- o19.C1 = CFrame.new(0, 0.247483984, 0.096652247, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o19.Part0 = o2
- o19.Part1 = o16
- o20.Name = "svatic6"
- o20.Parent = o1
- o20.Material = Enum.Material.SmoothPlastic
- o20.BrickColor = BrickColor.new("Really black")
- o20.Position = Vector3.new(9.54831028, 1.05523241, -30.2259464)
- o20.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
- o20.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
- o20.CFrame = CFrame.new(9.54831028, 1.05523241, -30.2259464, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
- o20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o20.Position = Vector3.new(9.54831028, 1.05523241, -30.2259464)
- o20.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
- o20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o21.Parent = o20
- o21.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734)
- o21.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734)
- o22.Name = "qRelativeCFrameWeldValue"
- o22.Parent = o20
- o22.Value = CFrame.new(0, 0.0607795715, -0.231582642, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o23.Name = "qCFrameWeldThingy"
- o23.Parent = o20
- o23.C1 = CFrame.new(0, 0.0726053864, -0.276641428, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o23.Part0 = o2
- o23.Part1 = o20
- o24.Name = "svatic7"
- o24.Parent = o1
- o24.Material = Enum.Material.SmoothPlastic
- o24.BrickColor = BrickColor.new("Really black")
- o24.Position = Vector3.new(9.53892517, 1.21178222, -30.6091824)
- o24.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
- o24.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
- o24.CFrame = CFrame.new(9.53892517, 1.21178222, -30.6091824, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
- o24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o24.Position = Vector3.new(9.53892517, 1.21178222, -30.6091824)
- o24.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
- o24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o25.Parent = o24
- o25.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195)
- o25.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195)
- o26.Name = "qRelativeCFrameWeldValue"
- o26.Parent = o24
- o26.Value = CFrame.new(0, -0.0209236145, 0.105287552, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o27.Name = "qCFrameWeldThingy"
- o27.Parent = o24
- o27.C1 = CFrame.new(0, -0.0249946993, 0.125773236, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o27.Part0 = o2
- o27.Part1 = o24
- o28.Name = "Right Arm"
- o28.Parent = o1
- o28.Material = Enum.Material.SmoothPlastic
- o28.BrickColor = BrickColor.new("Really black")
- o28.Transparency = 1
- o28.Position = Vector3.new(9.33767605, 1.24664795, -30.4727879)
- o28.Rotation = Vector3.new(114.800003, 63.2999992, -39.2599983)
- o28.FormFactor = Enum.FormFactor.Symmetric
- o28.Size = Vector3.new(2.09252977, 1.04626489, 1.04626489)
- o28.CFrame = CFrame.new(9.33767605, 1.24664795, -30.4727879, 0.347877979, 0.284306079, 0.893393397, 0.893409908, 0.188386172, -0.407835245, -0.284253061, 0.940042913, -0.188466549)
- o28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o28.Position = Vector3.new(9.33767605, 1.24664795, -30.4727879)
- o28.Orientation = Vector3.new(24.0699997, 101.910004, 78.0899963)
- o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- weldtoarm.Parent = o28
- weldtoarm.Part0 = o28
- weldtoarm.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
- weldtoarm.C0 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(1.55, math.pi, 1.55)
- o29.Name = "qRelativeCFrameWeldValue"
- o29.Parent = o28
- o29.Value = CFrame.new(-0.00221943855, 0.0187721252, 0.183933258, -1.47819519e-05, -0.642790794, -0.766052902, 1.11595e-09, -0.766052902, 0.642790794, -1, 9.50084723e-06, 1.13244741e-05)
- o30.Name = "qCFrameWeldThingy"
- o30.Parent = o28
- o30.C1 = CFrame.new(-0.00265127234, 0.0224245973, 0.21972096, -1.47819519e-05, -0.642790794, -0.766052902, 1.11595e-09, -0.766052902, 0.642790794, -1, 9.50084723e-06, 1.13244741e-05)
- o30.Part0 = o2
- o30.Part1 = o28
- o31.Name = "Armlet1"
- o31.Parent = o1
- o31.Material = Enum.Material.SmoothPlastic
- o31.BrickColor = BrickColor.new("Bright red")
- o31.Position = Vector3.new(9.33325005, 1.22114551, -30.4663391)
- o31.Rotation = Vector3.new(114.800003, 63.2999992, -39.2599983)
- o31.FormFactor = Enum.FormFactor.Symmetric
- o31.Size = Vector3.new(1.01487708, 1.06719005, 1.0985781)
- o31.CFrame = CFrame.new(9.33325005, 1.22114551, -30.4663391, 0.34788391, 0.284310907, 0.893393397, 0.893425107, 0.188389421, -0.407835245, -0.284257859, 0.940058947, -0.188466549)
- o31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o31.Color = Color3.new(0.768628, 0.156863, 0.109804)
- o31.Position = Vector3.new(9.33325005, 1.22114551, -30.4663391)
- o31.Orientation = Vector3.new(24.0699997, 101.910004, 78.0899963)
- o31.Color = Color3.new(0.768628, 0.156863, 0.109804)
- o32.Name = "qRelativeCFrameWeldValue"
- o32.Parent = o31
- o32.Value = CFrame.new(0.0196768045, 0.0187721252, 0.179553986, -1.47819519e-05, -0.642790794, -0.766052902, 1.11595e-09, -0.766052902, 0.642790794, -1, 9.50084723e-06, 1.13244741e-05)
- o33.Name = "qCFrameWeldThingy"
- o33.Parent = o31
- o33.C1 = CFrame.new(0.0235053003, 0.0224245973, 0.214489624, -1.47819519e-05, -0.642790794, -0.766052902, 1.11595e-09, -0.766052902, 0.642790794, -1, 9.50084723e-06, 1.13244741e-05)
- o33.Part0 = o2
- o33.Part1 = o31
- o34.Name = "Armlet2"
- o34.Parent = o1
- o34.Material = Enum.Material.SmoothPlastic
- o34.BrickColor = BrickColor.new("Institutional white")
- o34.Position = Vector3.new(9.74531078, 1.04955149, -30.5565758)
- o34.Rotation = Vector3.new(-11.3299999, 16.5200005, 158.729996)
- o34.Shape = Enum.PartType.Cylinder
- o34.Size = Vector3.new(0.238913804, 1.0253396, 1.04626489)
- o34.CFrame = CFrame.new(9.74531078, 1.04955149, -30.5565758, -0.893398523, -0.347870708, 0.284310907, 0.407822043, -0.893431127, 0.188389421, 0.188470751, 0.284255087, 0.940058947)
- o34.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o34.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o34.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o34.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o34.Position = Vector3.new(9.74531078, 1.04955149, -30.5565758)
- o34.Orientation = Vector3.new(-10.8599997, 16.8299999, 155.460007)
- o34.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o35.Parent = o34
- o35.Scale = Vector3.new(0.875851333, 1, 1)
- o35.MeshType = Enum.MeshType.Cylinder
- o35.Scale = Vector3.new(0.875851333, 1, 1)
- o36.Name = "qRelativeCFrameWeldValue"
- o36.Parent = o34
- o36.Value = CFrame.new(0.201436996, -0.00654327869, 0.0187721252, 1, 0, 0, 0, 0.642790794, 0.766052902, 0, -0.766052902, 0.642790794)
- o37.Name = "qCFrameWeldThingy"
- o37.Parent = o34
- o37.C1 = CFrame.new(0.240630388, -0.00781639758, 0.0224245973, 1, 0, 0, 0, 0.642790794, 0.766052902, 0, -0.766052902, 0.642790794)
- o37.Part0 = o2
- o37.Part1 = o34
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = game.Players.LocalPlayer.Character
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
- --//=================================\\
- --|| SOME FUNCTIONS
- --\\=================================//
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- function PositiveAngle(NUMBER)
- if NUMBER >= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function NegativeAngle(NUMBER)
- if NUMBER <= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function swait(num)
- if num == 0 or num == nil then
- game:service("RunService").Stepped:wait(0)
- else
- for i = 0, num do
- game:service("RunService").Stepped:wait(0)
- 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
- 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 CreateSound(ID, PARENT, VOLUME, PITCH)
- coroutine.resume(coroutine.create(function()
- local NEWSOUND = IT("Sound", PARENT)
- NEWSOUND.Volume = VOLUME
- NEWSOUND.Pitch = PITCH
- NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
- Swait()
- NEWSOUND:play()
- game:GetService("Debris"):AddItem(NEWSOUND, 10)
- end))
- end
- Weapon.Parent = Character
- Humanoid.Died:connect(function()
- workspace:ClearAllChildren()
- end)
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| DAMAGING
- --\\=================================//
- function kill(target,extratrue)
- if OTHERWORLD == false or extratrue == true then
- f = target:GetChildren()
- for i = 1, #f do
- if f[i].ClassName == "Part" or f[i].ClassName == "MeshPart" then
- local effect = f[i]:Clone()
- effect.Color = C3(0,0,0)
- effect.Material = "Neon"
- effect.Parent = workspace
- effect.Anchored = true
- effect.CanCollide = false
- local hit = effect.Touched:Connect(function(hit)
- if hit.Parent ~= Character and hit.Parent:FindFirstChild("Humanoid") then
- kill(hit.Parent)
- hit.Parent:remove()
- end
- end)
- m = effect:GetChildren()
- for j = 1, #m do
- if m[j].ClassName ~= "SpecialMesh" and m[j].ClassName ~= "BlockMesh" then
- m[j]:remove()
- end
- end
- table.insert(Effects2,{effect,"Disappear",0.01,1,1,1,15})
- end
- end
- target:remove()
- end
- end
- --//=================================\\
- --|| ATTACK FUNCTIONS AND STUFF
- --\\=================================//
- local hit = Torso.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- kill(hit.Parent)
- end
- end)
- local hit = RightArm.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- kill(hit.Parent)
- end
- end)
- local hit = LeftArm.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- kill(hit.Parent)
- end
- end)
- local hit = RightLeg.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- kill(hit.Parent)
- end
- end)
- local hit = LeftLeg.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- kill(hit.Parent)
- end
- end)
- local hit = Head.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- kill(hit.Parent)
- end
- end)
- function Warp()
- ATTACK = true
- local originalcframe = RootPart.CFrame
- RootPart.CFrame = CF(VT(Mouse.Hit.p.X,Mouse.Hit.p.Y+(RootPart.Size.Y+1.5),Mouse.Hit.Z),originalcframe.p)
- if OTHERWORLD == false then
- CreateSound("971126018", penta, 2, 1)
- end
- ATTACK = false
- end
- function burnchildren(v)
- local get = v:GetChildren()
- for i = 1, #get do
- local child = get[i]
- if child.ClassName == "Part" or child.ClassName == "MeshPart" then
- particles(child)
- child.Color = C3(0,0,0)
- elseif child.ClassName == "CharacterMesh" then
- child.OverlayTextureId = "99174105"
- elseif child.ClassName == "Hat" or child.ClassName == "Accessory" then
- child.Handle.Color = C3(0,0,0)
- child.Handle.Mesh.TextureId = ""
- particles(child.Handle)
- end
- end
- end
- function dragnearest(position,range)
- for i,v in ipairs(workspace:GetChildren()) do
- if game.Players:FindFirstChild(v.Name) == nil then
- local body = v:GetChildren()
- for part = 1, #body do
- if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
- if(body[part].Position - position).Magnitude < range then
- v.Parent = Cam
- burnchildren(v)
- if v:FindFirstChild("Humanoid") then
- v.Humanoid:remove()
- end
- end
- end
- end
- if v.ClassName == "Part" then
- if v.Anchored == false and (v.Position - position).Magnitude < range then
- v.Parent = Cam
- particles(v)
- v.Color = C3(0,0,0)
- end
- end
- end
- end
- end
- function Cuff()
- local TARGET = Mouse.Target
- if TARGET ~= nil then
- if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
- local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
- local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
- if ROOT and HUM.Health > 0 then
- local FOE = Mouse.Target.Parent
- ATTACK = true
- Rooted = true
- RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
- ROOT.Anchored = true
- CreateSound(289556450, RootPart, 5, 1.4, false)
- for i=0, 2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- local RIGHTCUFF = nil
- local LEFTCUFF = nil
- local ChainLink = nil
- CreateSound(1279090548, ROOT, 10, 1.4, false)
- for _, c in pairs(FOE:GetChildren()) do
- if c.Name == "Left Arm" or c.Name == "LeftLowerArm" then
- LEFTCUFF = CreatePart(3, FOE, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
- LEFTCUFF.CFrame = c.CFrame
- weldBetween(c,LEFTCUFF)
- end
- end
- for _, c in pairs(FOE:GetChildren()) do
- if c.Name == "Right Arm" or c.Name == "RightLowerArm" then
- RIGHTCUFF = CreatePart(3, FOE, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
- RIGHTCUFF.CFrame = c.CFrame
- weldBetween(c,RIGHTCUFF)
- end
- end
- if RIGHTCUFF and LEFTCUFF then
- local A = IT("Attachment",RIGHTCUFF)
- local B = IT("Attachment",LEFTCUFF)
- ChainLink = IT("Beam",FOE)
- ChainLink.Texture = "rbxassetid://73042633"
- ChainLink.Color = ColorSequence.new(C3(0.8,0.8,0.8))
- ChainLink.TextureSpeed = 0
- ChainLink.Width0 = 1
- ChainLink.Width1 = 1
- ChainLink.Segments = 25
- ChainLink.TextureLength = 3
- ChainLink.Attachment0 = B
- ChainLink.Attachment1 = A
- ChainLink.FaceCamera = true
- ChainLink.Transparency = NumberSequence.new(0)
- end
- coroutine.resume(coroutine.create(function()
- wait(4)
- if RIGHTCUFF and LEFTCUFF then
- RIGHTCUFF:remove()
- LEFTCUFF:remove()
- ChainLink:remove()
- local bv = Instance.new("BodyVelocity",ROOT)
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = CF(ROOT.Position-VT(0,5,0),ROOT.Position).lookVector*70
- HUM.PlatformStand = false
- end
- end))
- for i=0, 1.5, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(5), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- HUM.PlatformStand = true
- ROOT.CFrame = ROOT.CFrame * ANGLES(RAD(15), RAD(0), RAD(0))
- ROOT.Anchored = false
- for i=0, 1.5, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(-35)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(3)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-12), RAD(80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- ATTACK = false
- Rooted = false
- end
- end
- end
- end
- function Drag()
- CreateSound("971126018", penta, 2, 1, false)
- dragnearest(penta.Position,15)
- end
- --//=================================\\
- --|| ASSIGN THINGS TO KEYS
- --\\=================================//
- local light2 = nil
- function MouseDown(Mouse)
- HOLD = true
- if OTHERWORLD then
- repeat
- Swait()
- until HOLD == false
- end
- end
- function MouseUp(Mouse)
- HOLD = false
- end
- function KeyDown(Key)
- if Key == "e" then
- Warp()
- end
- if Key == "h" then
- camchild = Cam:GetChildren()
- for child = 1, #camchild do
- if camchild[child] ~= Character and camchild[child].Name ~= "ColorCorrection" then
- camchild[child].Parent = workspace
- end
- end
- end
- if Key == "q" then
- Drag()
- end
- if Key == "r" and ATTACK == false then
- if OTHERWORLD == false then
- OTHERWORLD = true
- light2 = IT("ColorCorrectionEffect",Cam)
- light2.Brightness = -0.300
- light2.Contrast = 1
- light2.Saturation = -2
- CreateSound("971126018", penta, 2, 1.5)
- Character.Parent = Cam
- elseif OTHERWORLD == true then
- OTHERWORLD = false
- CreateSound("971126018", penta, 2, 1.5)
- light2:remove()
- Character.Parent = workspace
- end
- end
- if Key == "c" and ATTACK == false then
- local TARGET = Mouse.Target
- if TARGET ~= nil then
- if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
- local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
- local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
- if ROOT and HUM.Health > 0 then
- local FOE = Mouse.Target.Parent
- ATTACK = true
- Rooted = true
- RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
- ROOT.Anchored = true
- CreateSound(289556450, RootPart, 5, 1.4, false)
- for i=0, 2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- local RIGHTCUFF = nil
- local LEFTCUFF = nil
- local ChainLink = nil
- CreateSound(1279090548, ROOT, 10, 1.4, false)
- for _, c in pairs(FOE:GetChildren()) do
- if c.Name == "Left Arm" or c.Name == "LeftLowerArm" then
- LEFTCUFF = CreatePart(3, FOE, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
- LEFTCUFF.CFrame = c.CFrame
- weldBetween(c,LEFTCUFF)
- end
- end
- for _, c in pairs(FOE:GetChildren()) do
- if c.Name == "Right Arm" or c.Name == "RightLowerArm" then
- RIGHTCUFF = CreatePart(3, FOE, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
- RIGHTCUFF.CFrame = c.CFrame
- weldBetween(c,RIGHTCUFF)
- end
- end
- if RIGHTCUFF and LEFTCUFF then
- local A = IT("Attachment",RIGHTCUFF)
- local B = IT("Attachment",LEFTCUFF)
- ChainLink = IT("Beam",FOE)
- ChainLink.Texture = "rbxassetid://73042633"
- ChainLink.Color = ColorSequence.new(C3(0.8,0.8,0.8))
- ChainLink.TextureSpeed = 0
- ChainLink.Width0 = 1
- ChainLink.Width1 = 1
- ChainLink.Segments = 25
- ChainLink.TextureLength = 3
- ChainLink.Attachment0 = B
- ChainLink.Attachment1 = A
- ChainLink.FaceCamera = true
- ChainLink.Transparency = NumberSequence.new(0)
- end
- coroutine.resume(coroutine.create(function()
- wait(4)
- if RIGHTCUFF and LEFTCUFF then
- RIGHTCUFF:remove()
- LEFTCUFF:remove()
- ChainLink:remove()
- local bv = Instance.new("BodyVelocity",ROOT)
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = CF(ROOT.Position-VT(0,5,0),ROOT.Position).lookVector*70
- HUM.PlatformStand = false
- end
- end))
- for i=0, 1.5, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(5), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- HUM.PlatformStand = true
- ROOT.CFrame = ROOT.CFrame * ANGLES(RAD(15), RAD(0), RAD(0))
- ROOT.Anchored = false
- for i=0, 1.5, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(-35)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(3)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-12), RAD(80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- ATTACK = false
- Rooted = false
- end
- end
- end
- end
- if Key == "g" and OTHERWORLD == true and ATTACK == false then
- ATTACK = true
- local del = 35
- for i =1, 35 do
- Swait(del)
- del = del - 1
- local head = IT("Part",workspace)
- head.Size = VT(0.2,0.2,0.2)
- head.CFrame = Head.CFrame * CF(math.random(-700,700),0,math.random(-700,700))
- head.Transparency = 1
- head.CanCollide = false
- head.Anchored = true
- CreateSound("305685800", head, 10, 2)
- coroutine.resume(coroutine.create(function()
- for i = 1, 100 do
- Swait()
- end
- if head then
- head:remove()
- end
- end))
- end
- Swait(100)
- CreateSound("305685800", workspace, 10, 0.8)
- Swait(250)
- ATTACK = false
- end
- if Key == "y" and ATTACK == false then
- ATTACK = true
- Rooted = true
- CreateSound(134978657,Head,10,1,false)
- for i=0, 0.5, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.8 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.6 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.45 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- for i=1, 185 do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1 + 0.05 * SIN(SINE/2)) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.55 + 0.15 * SIN(SINE/2), -0.7) * ANGLES(RAD(3 + 3 * SIN(SINE/2)), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.4 + 0.15 * SIN(SINE/2), -0.6) * ANGLES(RAD(3 + 3 * SIN(SINE/2)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- ATTACK = false
- Rooted = false
- end
- if Key == "t" and ATTACK == false then
- if OTHERWORLD == false then
- CreateSound("305685800", Head, 5, 2)
- elseif OTHERWORLD == true then
- local head = IT("Part",workspace)
- head.Size = VT(0.2,0.2,0.2)
- head.CFrame = Head.CFrame
- head.Transparency = 1
- head.CanCollide = false
- head.Anchored = true
- CreateSound("305685800", head, 5, 2)
- coroutine.resume(coroutine.create(function()
- for i = 1, 100 do
- Swait()
- if head then
- head.CFrame = Head.CFrame
- end
- end
- if head then
- head:remove()
- end
- end))
- end
- end
- end
- function KeyUp(Key)
- end
- Mouse.Button1Down:connect(function(NEWKEY)
- MouseDown(NEWKEY)
- end)
- Mouse.Button1Up:connect(function(NEWKEY)
- MouseUp(NEWKEY)
- end)
- Mouse.KeyDown:connect(function(NEWKEY)
- KeyDown(NEWKEY)
- end)
- Mouse.KeyUp:connect(function(NEWKEY)
- KeyUp(NEWKEY)
- end)
- --//=================================\\
- --\\=================================//
- function CastProperRay(StartPos, EndPos, Distance, Ignore)
- local DIRECTION = CF(StartPos,EndPos).lookVector
- return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
- end
- function unanchor()
- if UNANCHOR == true then
- g = Character:GetChildren()
- for i = 1, #g do
- if g[i].ClassName == "Part" then
- g[i].Anchored = false
- end
- end
- end
- end
- --//=================================\\
- --|| WRAP THE WHOLE SCRIPT UP
- --\\=================================//
- Humanoid.Changed:connect(function(Jump)
- if Jump == "Jump" and (Disable_Jump == true) then
- Humanoid.Jump = false
- end
- end)
- while true do
- Swait()
- ANIMATE.Parent = nil
- local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
- IDLEANIMATION:Play()
- SINE = SINE + CHANGE
- local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
- local TORSOVERTICALVELOCITY = RootPart.Velocity.y
- local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
- HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
- local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
- if ANIM == "Walk" and TORSOVELOCITY > 1 then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.05 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
- elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
- end
- if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
- ANIM = "Jump"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
- end
- elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
- ANIM = "Fall"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
- end
- elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
- ANIM = "Idle"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.05 * COS(SINE / 12), 0, 0 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), 0.3) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1 + 0.05 * COS(SINE / 12), -1 - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 + 0.05 * COS(SINE / 12), -1 - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- end
- elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
- ANIM = "Walk"
- if ATTACK == false then
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), 0.3) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- end
- end
- if #Effects2>0 then
- for e=1,#Effects2 do
- if Effects2[e]~=nil then
- local Thing=Effects2[e]
- if Thing~=nil then
- local Part=Thing[1]
- local Mode=Thing[2]
- local Delay=Thing[3]
- local IncX=Thing[4]
- local IncY=Thing[5]
- local IncZ=Thing[6]
- local Part2=Thing[8]
- if Thing[1].Transparency<=1 then
- if Thing[2]=="Block1" then
- Thing[1].CFrame=Thing[1].CFrame
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Cylinder" then
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Blood" then
- Mesh=Thing[7]
- Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
- Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Elec" then
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Disappear" then
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- end
- else
- Part.Parent=nil
- table.remove(Effects2,e)
- end
- end
- end
- end
- end
- unanchor()
- Humanoid.MaxHealth = "inf"
- Humanoid.Health = "inf"
- q = Character:GetChildren()
- for u = 1, #q do
- if q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
- q[u].Color = Color3.new(0, 0, 0)
- if OTHERWORLD == false then
- q[u].Transparency = 0
- Humanoid.WalkSpeed = 16
- sick.Parent = Character
- sick.Pitch = 0.8
- elseif OTHERWORLD == true then
- Humanoid.WalkSpeed = 75
- sick.Parent = workspace
- sick.Pitch = 0.3
- end
- end
- end
- if Head:FindFirstChild("face") then
- if math.random(1,50) == 1 then
- Head.face.Texture = "rbxassetid://398671601"
- tecks2.Text = "WORLD WAR 2"
- else
- Head.face.Texture = "rbxassetid://398671601"
- tecks2.Text = "German General"
- end
- end
- if sick == nil then
- local sick = Instance.new("Sound",Character)
- sick.SoundId = "rbxassetid://673916774"
- sick.Looped = true
- sick.Pitch = 0.9
- sick.Volume = 5
- sick:Play()
- end
- if OTHERWORLD == false then
- end
- end
- --//=================================\\
- --\\=================================\\
- --//====================================================\\--
- --|| END OF SCRIPT
- --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement