SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | local Player,game,owner = owner,game | |
| 3 | local RealPlayer = Player | |
| 4 | do | |
| 5 | print("FE Compatibility code by Mokiros")
| |
| 6 | local rp = RealPlayer | |
| 7 | script.Parent = rp.Character | |
| 8 | ||
| 9 | --RemoteEvent for communicating | |
| 10 | local Event = Instance.new("RemoteEvent")
| |
| 11 | Event.Name = "UserInput_Event" | |
| 12 | ||
| 13 | --Fake event to make stuff like Mouse.KeyDown work | |
| 14 | local function fakeEvent() | |
| 15 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
| |
| 16 | t.connect = t.Connect | |
| 17 | return t | |
| 18 | end | |
| 19 | ||
| 20 | --Creating fake input objects with fake variables | |
| 21 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 22 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 23 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 24 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 25 | end} | |
| 26 | --Merged 2 functions into one by checking amount of arguments | |
| 27 | CAS.UnbindAction = CAS.BindAction | |
| 28 | ||
| 29 | --This function will trigger the events that have been :Connect()'ed | |
| 30 | local function te(self,ev,...) | |
| 31 | local t = m[ev] | |
| 32 | if t and t._fakeEvent then | |
| 33 | for _,f in pairs(t.Functions) do | |
| 34 | f(...) | |
| 35 | end | |
| 36 | end | |
| 37 | end | |
| 38 | m.TrigEvent = te | |
| 39 | UIS.TrigEvent = te | |
| 40 | ||
| 41 | Event.OnServerEvent:Connect(function(plr,io) | |
| 42 | if plr~=rp then return end | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | if not io.isMouse then | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | local Player = game:GetService("Players").LocalPlayer
| |
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local Mouse = Player:GetMouse() | |
| 66 | local UIS = game:GetService("UserInputService")
| |
| 67 | local input = function(io,a) | |
| 68 | if a then return end | |
| 69 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 70 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 71 | end | |
| 72 | UIS.InputBegan:Connect(input) | |
| 73 | UIS.InputEnded:Connect(input) | |
| 74 | ||
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | while wait(1/30) do | |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | ||
| 85 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 86 | --Real game object | |
| 87 | local _rg = game | |
| 88 | ||
| 89 | --Metatable for fake service | |
| 90 | local fsmt = {
| |
| 91 | __index = function(self,k) | |
| 92 | local s = rawget(self,"_RealService") | |
| 93 | if s then return s[k] end | |
| 94 | end, | |
| 95 | __newindex = function(self,k,v) | |
| 96 | local s = rawget(self,"_RealService") | |
| 97 | if s then s[k]=v end | |
| 98 | end, | |
| 99 | __call = function(self,...) | |
| 100 | local s = rawget(self,"_RealService") | |
| 101 | if s then return s(...) end | |
| 102 | end | |
| 103 | } | |
| 104 | local function FakeService(t,RealService) | |
| 105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
| 106 | return setmetatable(t,fsmt) | |
| 107 | end | |
| 108 | ||
| 109 | --Fake game object | |
| 110 | local g = {
| |
| 111 | GetService = function(self,s) | |
| 112 | return self[s] | |
| 113 | end, | |
| 114 | Players = FakeService({
| |
| 115 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
| |
| 116 | },"Players"), | |
| 117 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 118 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 119 | } | |
| 120 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
| 121 | g.service = g.GetService | |
| 122 | ||
| 123 | g.RunService = FakeService({
| |
| 124 | RenderStepped = _rg:GetService("RunService").Heartbeat,
| |
| 125 | BindToRenderStep = function(self,name,_,fun) | |
| 126 | ||
| 127 | end, | |
| 128 | UnbindFromRenderStep = function(self,name) | |
| 129 | self._btrs[name]:Disconnect() | |
| 130 | end, | |
| 131 | },"RunService") | |
| 132 | ||
| 133 | setmetatable(g,{
| |
| 134 | __index=function(self,s) | |
| 135 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
| 136 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
| 137 | end, | |
| 138 | __newindex = fsmt.__newindex, | |
| 139 | __call = fsmt.__call | |
| 140 | }) | |
| 141 | --Changing owner to fake player object to support owner:GetMouse() | |
| 142 | game,owner = g,g.Players.LocalPlayer | |
| 143 | end | |
| 144 | ||
| 145 | --//=======================================================\\-- | |
| 146 | --|CREATED BY SHACKLUSTER AND EDITED BY SABA1520/KISSLARGE | |
| 147 | --\\=======================================================//-- | |
| 148 | ||
| 149 | ||
| 150 | ||
| 151 | wait(0.2) | |
| 152 | ||
| 153 | ||
| 154 | ||
| 155 | Player = owner | |
| 156 | PlayerGui = Player.PlayerGui | |
| 157 | Cam = workspace.CurrentCamera | |
| 158 | Backpack = Player.Backpack | |
| 159 | Character = Player.Character | |
| 160 | Humanoid = Character.Humanoid | |
| 161 | Mouse = Player:GetMouse() | |
| 162 | RootPart = Character["HumanoidRootPart"] | |
| 163 | Torso = Character["Torso"] | |
| 164 | Head = Character["Head"] | |
| 165 | RightArm = Character["Right Arm"] | |
| 166 | LeftArm = Character["Left Arm"] | |
| 167 | RightLeg = Character["Right Leg"] | |
| 168 | LeftLeg = Character["Left Leg"] | |
| 169 | RootJoint = RootPart["RootJoint"] | |
| 170 | Neck = Torso["Neck"] | |
| 171 | RightShoulder = Torso["Right Shoulder"] | |
| 172 | LeftShoulder = Torso["Left Shoulder"] | |
| 173 | RightHip = Torso["Right Hip"] | |
| 174 | LeftHip = Torso["Left Hip"] | |
| 175 | local sick = Instance.new("Sound",Character)
| |
| 176 | sick.SoundId = "rbxassetid://673916774" | |
| 177 | sick.Looped = true | |
| 178 | sick.Pitch = 0.9 | |
| 179 | sick.Volume = 5 | |
| 180 | sick:Play() | |
| 181 | Humanoid.DisplayDistanceType = "None" | |
| 182 | ||
| 183 | local change = 1 | |
| 184 | ||
| 185 | print('Local User is '..Player.Name)
| |
| 186 | local char = Player.Character | |
| 187 | local hum = char.Humanoid | |
| 188 | local hed = char.Head | |
| 189 | local root = char.HumanoidRootPart | |
| 190 | local rootj = root.RootJoint | |
| 191 | local tors = char.Torso | |
| 192 | local ra = char["Right Arm"] | |
| 193 | local la = char["Left Arm"] | |
| 194 | local rl = char["Right Leg"] | |
| 195 | local ll = char["Left Leg"] | |
| 196 | local neck = tors["Neck"] | |
| 197 | local mouse = Player:GetMouse() | |
| 198 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 199 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 200 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 201 | local maincolor = BrickColor.new("Institutional white")
| |
| 202 | local sine = 0 | |
| 203 | ||
| 204 | ||
| 205 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 206 | naeeym2.AlwaysOnTop = true | |
| 207 | naeeym2.Size = UDim2.new(5,35,2,35) | |
| 208 | naeeym2.StudsOffset = Vector3.new(0,1,0) | |
| 209 | naeeym2.Adornee = Character.Head | |
| 210 | naeeym2.Name = "Name" | |
| 211 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 212 | tecks2.BackgroundTransparency = 1 | |
| 213 | tecks2.TextScaled = true | |
| 214 | tecks2.BorderSizePixel = 0 | |
| 215 | tecks2.Text = "Madness Guest" | |
| 216 | tecks2.Font = "Antique" | |
| 217 | tecks2.TextSize = 30 | |
| 218 | tecks2.TextStrokeTransparency = 0.5 | |
| 219 | tecks2.TextColor3 = Color3.new(0,0,0) | |
| 220 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 221 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 222 | tecks2.Parent = naeeym2 | |
| 223 | ||
| 224 | local Hair = Instance.new("Part", char)
| |
| 225 | Hair.Name = "Hair" | |
| 226 | Hair.CanCollide = false | |
| 227 | Hair.BrickColor = BrickColor.new("Institutional white")
| |
| 228 | Hair.Transparency = 0 | |
| 229 | Hair.Material = "Plastic" | |
| 230 | Hair.Size = Vector3.new(1, 1, 2) | |
| 231 | Hair.TopSurface = Enum.SurfaceType.Smooth | |
| 232 | Hair.BottomSurface = Enum.SurfaceType.Smooth | |
| 233 | ||
| 234 | local Weld = Instance.new("Weld", Hair)
| |
| 235 | Weld.Part0 = hed | |
| 236 | Weld.Part1 = Hair | |
| 237 | Weld.C1 = CFrame.new(0, -.5, 0) | |
| 238 | Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0) | |
| 239 | ||
| 240 | local M2 = Instance.new("SpecialMesh")
| |
| 241 | M2.Parent = Hair | |
| 242 | M2.MeshId = "http://www.roblox.com/asset/?id=0" | |
| 243 | M2.TextureId = "http://www.roblox.com/asset/?id=0" | |
| 244 | M2.Scale = Vector3.new(1, 1, 1) | |
| 245 | ||
| 246 | IT = Instance.new | |
| 247 | CF = CFrame.new | |
| 248 | VT = Vector3.new | |
| 249 | RAD = math.rad | |
| 250 | C3 = Color3.new | |
| 251 | UD2 = UDim2.new | |
| 252 | BRICKC = BrickColor.new | |
| 253 | ANGLES = CFrame.Angles | |
| 254 | EULER = CFrame.fromEulerAnglesXYZ | |
| 255 | COS = math.cos | |
| 256 | ACOS = math.acos | |
| 257 | SIN = math.sin | |
| 258 | ASIN = math.asin | |
| 259 | ABS = math.abs | |
| 260 | MRANDOM = math.random | |
| 261 | FLOOR = math.floor | |
| 262 | ||
| 263 | local sound = IT("Sound")
| |
| 264 | ||
| 265 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 266 | local NEWMESH = IT(MESH) | |
| 267 | if MESH == "SpecialMesh" then | |
| 268 | NEWMESH.MeshType = MESHTYPE | |
| 269 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 270 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 271 | end | |
| 272 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 273 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 274 | end | |
| 275 | end | |
| 276 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 277 | NEWMESH.Scale = SCALE | |
| 278 | NEWMESH.Parent = PARENT | |
| 279 | return NEWMESH | |
| 280 | end | |
| 281 | ||
| 282 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE) | |
| 283 | local NEWPART = IT("Part")
| |
| 284 | NEWPART.formFactor = FORMFACTOR | |
| 285 | NEWPART.Reflectance = REFLECTANCE | |
| 286 | NEWPART.Transparency = TRANSPARENCY | |
| 287 | NEWPART.CanCollide = false | |
| 288 | NEWPART.Locked = true | |
| 289 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
| 290 | NEWPART.Name = NAME | |
| 291 | NEWPART.Size = SIZE | |
| 292 | NEWPART.Position = Torso.Position | |
| 293 | NEWPART.Material = MATERIAL | |
| 294 | NEWPART:BreakJoints() | |
| 295 | NEWPART.Parent = PARENT | |
| 296 | return NEWPART | |
| 297 | end | |
| 298 | ||
| 299 | local EyeSizes={
| |
| 300 | NumberSequenceKeypoint.new(0,1,0), | |
| 301 | NumberSequenceKeypoint.new(1,0.2,0) | |
| 302 | } | |
| 303 | local EyeTrans={
| |
| 304 | NumberSequenceKeypoint.new(0,0.8,0), | |
| 305 | NumberSequenceKeypoint.new(1,1,0) | |
| 306 | } | |
| 307 | local PE=Instance.new("ParticleEmitter")
| |
| 308 | PE.LightEmission=0 | |
| 309 | PE.Size=NumberSequence.new(EyeSizes) | |
| 310 | PE.Transparency=NumberSequence.new(EyeTrans) | |
| 311 | PE.Lifetime=NumberRange.new(0.35,0.35,0.35) | |
| 312 | PE.Rotation=NumberRange.new(0,360) | |
| 313 | PE.Rate=15 | |
| 314 | PE.Acceleration = Vector3.new(0,75,0) | |
| 315 | PE.Drag = 5 | |
| 316 | PE.Enabled = false | |
| 317 | PE.Speed = NumberRange.new(0,0,0) | |
| 318 | PE.Texture="http://www.roblox.com/asset/?id=0" | |
| 319 | PE.ZOffset = 0 | |
| 320 | PE.Name = "Inferno" | |
| 321 | ||
| 322 | function particles(art) | |
| 323 | local particle = PE:Clone() | |
| 324 | particle.Parent = art | |
| 325 | particle.Enabled = true | |
| 326 | end | |
| 327 | ||
| 328 | --//=================================\\ | |
| 329 | --|| CUSTOMIZATION | |
| 330 | --\\=================================// | |
| 331 | ||
| 332 | Class_Name = "Madness Guest" | |
| 333 | Weapon_Name = "Add-ons" | |
| 334 | ||
| 335 | Custom_Colors = {
| |
| 336 | Custom_Color_1 = BRICKC("Really black"); --1st color for the weapon.
| |
| 337 | Custom_Color_2 = BRICKC("Really black"); --2nd color for the weapon.
| |
| 338 | ||
| 339 | Custom_Color_3 = BRICKC("Really black"); --Color for the abilities.
| |
| 340 | Custom_Color_4 = BRICKC("Really black"); --Color for the secondary bar.
| |
| 341 | Custom_Color_5 = BRICKC("Really black"); --Color for the mana bar.
| |
| 342 | Custom_Color_6 = BRICKC("Really black"); --Color for the health bar.
| |
| 343 | Custom_Color_7 = BRICKC("Really black"); --Color for the stun bar.
| |
| 344 | ||
| 345 | Custom_Color_8 = BRICKC("Really black"); --Background for the mana bar.
| |
| 346 | Custom_Color_9 = BRICKC("Really black"); --Background for the secondary mana bar.
| |
| 347 | Custom_Color_10 = BRICKC("Really black"); --Background for the stun bar.
| |
| 348 | Custom_Color_11 = BRICKC("Really black"); --Background for the health bar.
| |
| 349 | Custom_Color_12 = BRICKC("Really black"); --Background for the abilities.
| |
| 350 | } | |
| 351 | ||
| 352 | ||
| 353 | Player_Size = 1 --Size of the player. | |
| 354 | Animation_Speed = 3 | |
| 355 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
| 356 | ||
| 357 | local Speed = 16 | |
| 358 | local Effects2 = {}
| |
| 359 | ||
| 360 | --//=================================\\ | |
| 361 | --|| END OF CUSTOMIZATION | |
| 362 | --\\=================================// | |
| 363 | ||
| 364 | local function weldBetween(a, b) | |
| 365 | local weldd = Instance.new("ManualWeld")
| |
| 366 | weldd.Part0 = a | |
| 367 | weldd.Part1 = b | |
| 368 | weldd.C0 = CFrame.new() | |
| 369 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 370 | weldd.Parent = a | |
| 371 | return weldd | |
| 372 | end | |
| 373 | ||
| 374 | function createaccessory(attachmentpart,mesh,texture,scale,offset,color) | |
| 375 | local acs = Instance.new("Part")
| |
| 376 | acs.CanCollide = false | |
| 377 | acs.Anchored = false | |
| 378 | acs.Size = Vector3.new(0,0,0) | |
| 379 | acs.CFrame = attachmentpart.CFrame | |
| 380 | acs.Parent = Character | |
| 381 | acs.BrickColor = color | |
| 382 | local meshs = Instance.new("SpecialMesh")
| |
| 383 | meshs.MeshId = mesh | |
| 384 | meshs.TextureId = texture | |
| 385 | meshs.Parent = acs | |
| 386 | meshs.Scale = scale | |
| 387 | meshs.Offset = offset | |
| 388 | weldBetween(attachmentpart,acs) | |
| 389 | end | |
| 390 | ||
| 391 | function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE) | |
| 392 | if TYPE == "Gem" then | |
| 393 | local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) | |
| 394 | acs.Anchored = false | |
| 395 | acs.CanCollide = false | |
| 396 | acs.CFrame = PART.CFrame | |
| 397 | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
| |
| 398 | weldBetween(PART,acs) | |
| 399 | elseif TYPE == "Skull" then | |
| 400 | local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) | |
| 401 | acs.Anchored = false | |
| 402 | acs.CanCollide = false | |
| 403 | acs.CFrame = PART.CFrame | |
| 404 | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
| |
| 405 | weldBetween(PART,acs) | |
| 406 | elseif TYPE == "Eye" then | |
| 407 | local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) | |
| 408 | acs.Anchored = false | |
| 409 | acs.CanCollide = false | |
| 410 | acs.CFrame = PART.CFrame | |
| 411 | local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
| |
| 412 | weldBetween(PART,acs) | |
| 413 | end | |
| 414 | end | |
| 415 | ||
| 416 | --//=================================\\ | |
| 417 | --|| USEFUL VALUES | |
| 418 | --\\=================================// | |
| 419 | ||
| 420 | for i,v in pairs(char:children()) do | |
| 421 | if v:IsA("Shirt") and v:IsA("Pants") then
| |
| 422 | v:Remove() | |
| 423 | end | |
| 424 | end | |
| 425 | shirt = Instance.new("Shirt", char)
| |
| 426 | shirt.Name = "Shirt" | |
| 427 | pants = Instance.new("Pants", char)
| |
| 428 | pants.Name = "Pants" | |
| 429 | char.Shirt.ShirtTemplate = "rbxassetid://8854587" | |
| 430 | char.Pants.PantsTemplate = "rbxassetid://263287509" | |
| 431 | ||
| 432 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 433 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 434 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
| 435 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
| 436 | local CO1 = 0 | |
| 437 | local CO2 = 0 | |
| 438 | local CO3 = 0 | |
| 439 | local CO4 = 0 | |
| 440 | local CHANGEDEFENSE = 0 | |
| 441 | local CHANGEDAMAGE = 0 | |
| 442 | local CHANGEMOVEMENT = 0 | |
| 443 | local ANIM = "Idle" | |
| 444 | local ATTACK = false | |
| 445 | local EQUIPPED = false | |
| 446 | local HOLD = false | |
| 447 | local COMBO = 1 | |
| 448 | local LASTPOINT = nil | |
| 449 | local BLCF = nil | |
| 450 | local SCFR = nil | |
| 451 | local STAGGERHITANIM = false | |
| 452 | local STAGGERANIM = false | |
| 453 | local STUNANIM = false | |
| 454 | local CRITCHANCENUMBER = 0 | |
| 455 | local IDLENUMBER = 0 | |
| 456 | local DONUMBER = 0 | |
| 457 | local HANDIDLE = false | |
| 458 | local SINE = 0 | |
| 459 | local CHANGE = 2 / Animation_Speed | |
| 460 | local WALKINGANIM = false | |
| 461 | local WALK = 0 | |
| 462 | local DISABLEJUMPING = false | |
| 463 | local HASBEENBLOCKED = false | |
| 464 | local STUNDELAYNUMBER = 0 | |
| 465 | local MANADELAYNUMBER = 0 | |
| 466 | local OTHERWORLD = false | |
| 467 | local SECONDARYMANADELAYNUMBER = 0 | |
| 468 | local ROBLOXIDLEANIMATION = IT("Animation")
| |
| 469 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
| 470 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 471 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
| 472 | local WEAPONGUI = IT("ScreenGui", nil)
| |
| 473 | WEAPONGUI.Name = "Weapon GUI" | |
| 474 | local WEAPONTOOL = IT("HopperBin", nil)
| |
| 475 | WEAPONTOOL.Name = Weapon_Name | |
| 476 | local Weapon = IT("Model")
| |
| 477 | Weapon.Name = Weapon_Name | |
| 478 | local Effects = IT("Folder", Weapon)
| |
| 479 | Effects.Name = "Effects" | |
| 480 | local ANIMATOR = Humanoid.Animator | |
| 481 | local ANIMATE = Character.Animate | |
| 482 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
| |
| 483 | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
| |
| 484 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
| |
| 485 | local HITBLOCKSOUNDS = {"199148933", "199148947"}
| |
| 486 | local UNANCHOR = true | |
| 487 | ||
| 488 | --//=================================\\ | |
| 489 | --\\=================================// | |
| 490 | ||
| 491 | ||
| 492 | ||
| 493 | ||
| 494 | --//=================================\\ | |
| 495 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
| 496 | --\\=================================// | |
| 497 | ||
| 498 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 499 | ArtificialHB.Name = "ArtificialHB" | |
| 500 | ||
| 501 | script:WaitForChild("ArtificialHB")
| |
| 502 | ||
| 503 | frame = Frame_Speed | |
| 504 | tf = 0 | |
| 505 | allowframeloss = false | |
| 506 | tossremainder = false | |
| 507 | lastframe = tick() | |
| 508 | script.ArtificialHB:Fire() | |
| 509 | ||
| 510 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 511 | tf = tf + s | |
| 512 | if tf >= frame then | |
| 513 | if allowframeloss then | |
| 514 | script.ArtificialHB:Fire() | |
| 515 | lastframe = tick() | |
| 516 | else | |
| 517 | for i = 1, math.floor(tf / frame) do | |
| 518 | script.ArtificialHB:Fire() | |
| 519 | end | |
| 520 | lastframe = tick() | |
| 521 | end | |
| 522 | if tossremainder then | |
| 523 | tf = 0 | |
| 524 | else | |
| 525 | tf = tf - frame * math.floor(tf / frame) | |
| 526 | end | |
| 527 | end | |
| 528 | end) | |
| 529 | ||
| 530 | --//=================================\\ | |
| 531 | --\\=================================// | |
| 532 | ||
| 533 | ||
| 534 | guigroup=Instance.new("BillboardGui")
| |
| 535 | guigroup.Parent=game.Players.LocalPlayer.Character.Head | |
| 536 | guigroup.Adornee=game.Players.LocalPlayer.Character.Head | |
| 537 | guigroup.Size = UDim2.new(1,0,1,0) | |
| 538 | guigroup.StudsOffset=Vector3.new(0.5, 6, 0) | |
| 539 | oooo1 = Instance.new("TextLabel")
| |
| 540 | Kills = Instance.new("IntValue")
| |
| 541 | Kills.Parent = game.Players.LocalPlayer.Character | |
| 542 | Kills.Name = "" | |
| 543 | oooo1.Text = "" | |
| 544 | if | |
| 545 | game.Players.LocalPlayer.Name == "" | |
| 546 | then | |
| 547 | oooo1.Text = "" | |
| 548 | end | |
| 549 | oooo1.Size = UDim2.new(0,200,0,200) | |
| 550 | oooo1.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 551 | oooo1.BackgroundTransparency = 1 | |
| 552 | oooo1.Parent = guigroup | |
| 553 | oooo1.AnchorPoint = Vector2.new(0.5, 0.9) | |
| 554 | oooo1.Size = UDim2.new(3.5,0,3.5,0) | |
| 555 | oooo1.TextScaled = true | |
| 556 | ko1 = Instance.new("TextLabel")
| |
| 557 | ko1.Name = "" | |
| 558 | ko1.Parent = guigroup | |
| 559 | ko1.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 560 | ko1.BackgroundTransparency = 1 | |
| 561 | ko1.TextColor3 = Color3.new(1, 0, 0) | |
| 562 | ko1.TextScaled = false | |
| 563 | ko1.TextWrapped = false | |
| 564 | ko1.AnchorPoint = Vector2.new(0.5, 0.3) | |
| 565 | game.Players.LocalPlayer.Character.Humanoid.NameOcclusion = "NoOcclusion" | |
| 566 | game.Players.LocalPlayer.Character.Humanoid.HealthDisplayType = "AlwaysOff" | |
| 567 | game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
| 568 | game.Players.LocalPlayer.Character.Humanoid.Health = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
| 569 | local runDummyScript = function(f,scri) | |
| 570 | local oldenv = getfenv(f) | |
| 571 | local newenv = setmetatable({}, {
| |
| 572 | __index = function(_, k) | |
| 573 | if k:lower() == 'script' then | |
| 574 | return scri | |
| 575 | else | |
| 576 | return oldenv[k] | |
| 577 | end | |
| 578 | end | |
| 579 | }) | |
| 580 | setfenv(f, newenv) | |
| 581 | ypcall(function() f() end) | |
| 582 | end | |
| 583 | cors = {}
| |
| 584 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 585 | mas.Name = "CompiledModel" | |
| 586 | o1 = Instance.new("Model")
| |
| 587 | o2 = Instance.new("Part")
| |
| 588 | o3 = Instance.new("BlockMesh")
| |
| 589 | o4 = Instance.new("Part")
| |
| 590 | o5 = Instance.new("BlockMesh")
| |
| 591 | o6 = Instance.new("CFrameValue")
| |
| 592 | o7 = Instance.new("Weld")
| |
| 593 | o8 = Instance.new("Part")
| |
| 594 | o9 = Instance.new("BlockMesh")
| |
| 595 | o10 = Instance.new("CFrameValue")
| |
| 596 | o11 = Instance.new("Weld")
| |
| 597 | o12 = Instance.new("Part")
| |
| 598 | o13 = Instance.new("BlockMesh")
| |
| 599 | o14 = Instance.new("CFrameValue")
| |
| 600 | o15 = Instance.new("Weld")
| |
| 601 | o16 = Instance.new("Part")
| |
| 602 | o17 = Instance.new("BlockMesh")
| |
| 603 | o18 = Instance.new("CFrameValue")
| |
| 604 | o19 = Instance.new("Weld")
| |
| 605 | o20 = Instance.new("Part")
| |
| 606 | o21 = Instance.new("BlockMesh")
| |
| 607 | o22 = Instance.new("CFrameValue")
| |
| 608 | o23 = Instance.new("Weld")
| |
| 609 | o24 = Instance.new("Part")
| |
| 610 | o25 = Instance.new("BlockMesh")
| |
| 611 | o26 = Instance.new("CFrameValue")
| |
| 612 | o27 = Instance.new("Weld")
| |
| 613 | o28 = Instance.new("Part")
| |
| 614 | o29 = Instance.new("CFrameValue")
| |
| 615 | o30 = Instance.new("Weld")
| |
| 616 | o31 = Instance.new("Part")
| |
| 617 | o32 = Instance.new("CFrameValue")
| |
| 618 | o33 = Instance.new("Weld")
| |
| 619 | o34 = Instance.new("Part")
| |
| 620 | o35 = Instance.new("SpecialMesh")
| |
| 621 | o36 = Instance.new("CFrameValue")
| |
| 622 | o37 = Instance.new("Weld")
| |
| 623 | weldtoarm = Instance.new("Weld")
| |
| 624 | o1.Name = "Armlet" | |
| 625 | o1.Parent = mas | |
| 626 | mas.Parent = workspace | |
| 627 | mas:MakeJoints() | |
| 628 | local mas1 = mas:GetChildren() | |
| 629 | for i=1,#mas1 do | |
| 630 | mas1[i].Parent = game.Players.LocalPlayer.Character | |
| 631 | ypcall(function() mas1[i]:MakeJoints() end) | |
| 632 | end | |
| 633 | mas:Destroy() | |
| 634 | for i=1,#cors do | |
| 635 | coroutine.resume(cors[i]) | |
| 636 | end | |
| 637 | guigroup=Instance.new("BillboardGui")
| |
| 638 | guigroup.Parent=game.Players.LocalPlayer.Character.Head | |
| 639 | guigroup.Adornee=game.Players.LocalPlayer.Character.Head | |
| 640 | guigroup.Size = UDim2.new(1,0,1,0) | |
| 641 | guigroup.StudsOffset=Vector3.new(0.5, 6, 0) | |
| 642 | oooo1 = Instance.new("TextLabel")
| |
| 643 | Kills = Instance.new("IntValue")
| |
| 644 | Kills.Parent = game.Players.LocalPlayer.Character | |
| 645 | Kills.Name = "" | |
| 646 | oooo1.Text = "" | |
| 647 | if | |
| 648 | game.Players.LocalPlayer.Name == "" | |
| 649 | then | |
| 650 | oooo1.Text = "" | |
| 651 | end | |
| 652 | oooo1.Size = UDim2.new(0,200,0,200) | |
| 653 | oooo1.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 654 | oooo1.BackgroundTransparency = 1 | |
| 655 | oooo1.Parent = guigroup | |
| 656 | oooo1.AnchorPoint = Vector2.new(0.5, 0.9) | |
| 657 | oooo1.Size = UDim2.new(3.5,0,3.5,0) | |
| 658 | oooo1.TextScaled = true | |
| 659 | ko1 = Instance.new("TextLabel")
| |
| 660 | ko1.Name = "" | |
| 661 | ko1.Parent = guigroup | |
| 662 | ko1.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 663 | ko1.BackgroundTransparency = 1 | |
| 664 | ko1.TextColor3 = Color3.new(1, 0, 0) | |
| 665 | ko1.TextScaled = false | |
| 666 | ko1.TextWrapped = false | |
| 667 | ko1.AnchorPoint = Vector2.new(0.5, 0.3) | |
| 668 | game.Players.LocalPlayer.Character.Humanoid.NameOcclusion = "NoOcclusion" | |
| 669 | game.Players.LocalPlayer.Character.Humanoid.HealthDisplayType = "AlwaysOff" | |
| 670 | game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
| 671 | game.Players.LocalPlayer.Character.Humanoid.Health = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
| 672 | local runDummyScript = function(f,scri) | |
| 673 | local oldenv = getfenv(f) | |
| 674 | local newenv = setmetatable({}, {
| |
| 675 | __index = function(_, k) | |
| 676 | if k:lower() == 'script' then | |
| 677 | return scri | |
| 678 | else | |
| 679 | return oldenv[k] | |
| 680 | end | |
| 681 | end | |
| 682 | }) | |
| 683 | setfenv(f, newenv) | |
| 684 | ypcall(function() f() end) | |
| 685 | end | |
| 686 | cors = {}
| |
| 687 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 688 | mas.Name = "CompiledModel" | |
| 689 | mas.Parent = workspace | |
| 690 | mas:MakeJoints() | |
| 691 | local mas1 = mas:GetChildren() | |
| 692 | for i=1,#mas1 do | |
| 693 | mas1[i].Parent = game.Players.LocalPlayer.Character | |
| 694 | ypcall(function() mas1[i]:MakeJoints() end) | |
| 695 | end | |
| 696 | mas:Destroy() | |
| 697 | for i=1,#cors do | |
| 698 | coroutine.resume(cors[i]) | |
| 699 | end | |
| 700 | ||
| 701 | ||
| 702 | --//=================================\\ | |
| 703 | --|| SOME FUNCTIONS | |
| 704 | --\\=================================// | |
| 705 | ||
| 706 | function rayCast(Position, Direction, Range, Ignore) | |
| 707 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 708 | end | |
| 709 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 710 | local Create = RbxUtility.Create | |
| 711 | ||
| 712 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 713 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 714 | end | |
| 715 | ||
| 716 | function PositiveAngle(NUMBER) | |
| 717 | if NUMBER >= 0 then | |
| 718 | NUMBER = 0 | |
| 719 | end | |
| 720 | return NUMBER | |
| 721 | end | |
| 722 | ||
| 723 | function NegativeAngle(NUMBER) | |
| 724 | if NUMBER <= 0 then | |
| 725 | NUMBER = 0 | |
| 726 | end | |
| 727 | return NUMBER | |
| 728 | end | |
| 729 | - | o2.Name = "svatic1" |
| 729 | + | |
| 730 | - | o2.Parent = o1 |
| 730 | + | |
| 731 | - | o2.Material = Enum.Material.SmoothPlastic |
| 731 | + | |
| 732 | - | o2.BrickColor = BrickColor.new("Really black")
|
| 732 | + | |
| 733 | - | o2.Position = Vector3.new(9.5394268, 1.15889382, -30.4923649) |
| 733 | + | |
| 734 | - | o2.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007) |
| 734 | + | |
| 735 | - | o2.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061) |
| 735 | + | |
| 736 | - | 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) |
| 736 | + | |
| 737 | - | o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 737 | + | |
| 738 | - | o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 738 | + | |
| 739 | - | o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 739 | + | |
| 740 | - | o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 740 | + | |
| 741 | - | o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 741 | + | |
| 742 | - | o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 742 | + | |
| 743 | - | o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 743 | + | |
| 744 | - | o2.Position = Vector3.new(9.5394268, 1.15889382, -30.4923649) |
| 744 | + | |
| 745 | - | o2.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998) |
| 745 | + | |
| 746 | - | o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 746 | + | |
| 747 | - | o3.Parent = o2 |
| 747 | + | |
| 748 | - | o3.Scale = Vector3.new(0.999996185, 0.598279178, 0.0991418734) |
| 748 | + | |
| 749 | - | o3.Scale = Vector3.new(0.999996185, 0.598279178, 0.0991418734) |
| 749 | + | |
| 750 | - | o4.Name = "svatic2" |
| 750 | + | |
| 751 | - | o4.Parent = o1 |
| 751 | + | |
| 752 | - | o4.Material = Enum.Material.SmoothPlastic |
| 752 | + | |
| 753 | - | o4.BrickColor = BrickColor.new("Really black")
|
| 753 | + | |
| 754 | - | o4.Position = Vector3.new(9.51736546, 1.06919134, -30.4028416) |
| 754 | + | |
| 755 | - | o4.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007) |
| 755 | + | |
| 756 | - | o4.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061) |
| 756 | + | |
| 757 | - | 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) |
| 757 | + | |
| 758 | - | o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 758 | + | |
| 759 | - | o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 759 | + | |
| 760 | - | o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 760 | + | |
| 761 | - | o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 761 | + | |
| 762 | - | o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 762 | + | |
| 763 | - | o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 763 | + | |
| 764 | - | o4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 764 | + | |
| 765 | - | o4.Position = Vector3.new(9.51736546, 1.06919134, -30.4028416) |
| 765 | + | |
| 766 | - | o4.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998) |
| 766 | + | |
| 767 | - | o4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 767 | + | |
| 768 | - | o5.Parent = o4 |
| 768 | + | |
| 769 | - | o5.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195) |
| 769 | + | |
| 770 | - | o5.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195) |
| 770 | + | |
| 771 | - | o6.Name = "qRelativeCFrameWeldValue" |
| 771 | + | |
| 772 | - | o6.Parent = o4 |
| 772 | + | |
| 773 | - | o6.Value = CFrame.new(0, -0.0218372345, -0.105447769, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 773 | + | |
| 774 | - | o7.Name = "qCFrameWeldThingy" |
| 774 | + | |
| 775 | - | o7.Parent = o4 |
| 775 | + | |
| 776 | - | o7.C1 = CFrame.new(0, -0.0260860808, -0.125964642, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 776 | + | |
| 777 | - | o7.Part0 = o2 |
| 777 | + | |
| 778 | - | o7.Part1 = o4 |
| 778 | + | |
| 779 | - | o8.Name = "svatic3" |
| 779 | + | |
| 780 | - | o8.Parent = o1 |
| 780 | + | |
| 781 | - | o8.Material = Enum.Material.SmoothPlastic |
| 781 | + | |
| 782 | - | o8.BrickColor = BrickColor.new("Really black")
|
| 782 | + | |
| 783 | - | o8.Position = Vector3.new(9.50574112, 1.21955931, -30.7833157) |
| 783 | + | |
| 784 | - | o8.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007) |
| 784 | + | |
| 785 | - | o8.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061) |
| 785 | + | |
| 786 | - | 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) |
| 786 | + | |
| 787 | - | o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 787 | + | |
| 788 | - | o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 788 | + | |
| 789 | - | o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 789 | + | |
| 790 | - | o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 790 | + | |
| 791 | - | o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 791 | + | |
| 792 | - | o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 792 | + | |
| 793 | - | o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 793 | + | |
| 794 | - | o8.Position = Vector3.new(9.50574112, 1.21955931, -30.7833157) |
| 794 | + | |
| 795 | - | o8.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998) |
| 795 | + | |
| 796 | - | o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 796 | + | |
| 797 | - | o9.Parent = o8 |
| 797 | + | |
| 798 | - | o9.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734) |
| 798 | + | |
| 799 | - | o9.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734) |
| 799 | + | |
| 800 | - | o10.Name = "qRelativeCFrameWeldValue" |
| 800 | + | |
| 801 | - | o10.Parent = o8 |
| 801 | + | |
| 802 | - | o10.Value = CFrame.new(0, -0.106843948, 0.226449966, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 802 | + | |
| 803 | - | o11.Name = "qCFrameWeldThingy" |
| 803 | + | |
| 804 | - | o11.Parent = o8 |
| 804 | + | |
| 805 | - | o11.C1 = CFrame.new(0, -0.127632454, 0.270510107, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 805 | + | |
| 806 | - | o11.Part0 = o2 |
| 806 | + | |
| 807 | - | o11.Part1 = o8 |
| 807 | + | |
| 808 | - | o12.Name = "svatic4" |
| 808 | + | |
| 809 | - | o12.Parent = o1 |
| 809 | + | |
| 810 | - | o12.Material = Enum.Material.SmoothPlastic |
| 810 | + | |
| 811 | - | o12.BrickColor = BrickColor.new("Really black")
|
| 811 | + | |
| 812 | - | o12.Position = Vector3.new(9.40566349, 0.893889546, -30.553009) |
| 812 | + | |
| 813 | - | o12.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007) |
| 813 | + | |
| 814 | - | o12.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061) |
| 814 | + | |
| 815 | - | 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) |
| 815 | + | |
| 816 | - | o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 816 | + | |
| 817 | - | o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 817 | + | |
| 818 | - | o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 818 | + | |
| 819 | - | o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 819 | + | |
| 820 | - | o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 820 | + | |
| 821 | - | o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 821 | + | |
| 822 | - | o12.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 822 | + | |
| 823 | - | o12.Position = Vector3.new(9.40566349, 0.893889546, -30.553009) |
| 823 | + | |
| 824 | - | o12.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998) |
| 824 | + | |
| 825 | - | o12.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 825 | + | |
| 826 | - | o13.Parent = o12 |
| 826 | + | |
| 827 | - | o13.Scale = Vector3.new(0.999996185, 0.100022063, 0.364750892) |
| 827 | + | |
| 828 | - | o13.Scale = Vector3.new(0.999996185, 0.100022063, 0.364750892) |
| 828 | + | |
| 829 | - | o14.Name = "qRelativeCFrameWeldValue" |
| 829 | + | |
| 830 | - | o14.Parent = o12 |
| 830 | + | |
| 831 | - | o14.Value = CFrame.new(0, -0.236118317, -0.0926094055, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 831 | + | |
| 832 | - | o15.Name = "qCFrameWeldThingy" |
| 832 | + | |
| 833 | - | o15.Parent = o12 |
| 833 | + | |
| 834 | - | o15.C1 = CFrame.new(0, -0.28205961, -0.110628322, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 834 | + | |
| 835 | - | o15.Part0 = o2 |
| 835 | + | |
| 836 | - | o15.Part1 = o12 |
| 836 | + | |
| 837 | - | o16.Name = "svatic5" |
| 837 | + | |
| 838 | - | o16.Parent = o1 |
| 838 | + | |
| 839 | - | o16.Material = Enum.Material.SmoothPlastic |
| 839 | + | |
| 840 | - | o16.BrickColor = BrickColor.new("Really black")
|
| 840 | + | |
| 841 | - | o16.Position = Vector3.new(9.65675831, 1.39117944, -30.4388123) |
| 841 | + | |
| 842 | - | o16.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007) |
| 842 | + | |
| 843 | - | o16.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061) |
| 843 | + | |
| 844 | - | 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) |
| 844 | + | |
| 845 | - | o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 845 | + | |
| 846 | - | o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 846 | + | |
| 847 | - | o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 847 | + | |
| 848 | - | o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 848 | + | |
| 849 | - | o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 849 | + | |
| 850 | - | o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 850 | + | |
| 851 | - | o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 851 | + | |
| 852 | - | o16.Position = Vector3.new(9.65675831, 1.39117944, -30.4388123) |
| 852 | + | |
| 853 | - | o16.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998) |
| 853 | + | |
| 854 | - | o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 854 | + | |
| 855 | - | o17.Parent = o16 |
| 855 | + | |
| 856 | - | o17.Scale = Vector3.new(0.999996185, 0.100022063, 0.336512148) |
| 856 | + | |
| 857 | - | o17.Scale = Vector3.new(0.999996185, 0.100022063, 0.336512148) |
| 857 | + | |
| 858 | - | o18.Name = "qRelativeCFrameWeldValue" |
| 858 | + | |
| 859 | - | o18.Parent = o16 |
| 859 | + | |
| 860 | - | o18.Value = CFrame.new(0, 0.207174301, 0.080909729, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 860 | + | |
| 861 | - | o19.Name = "qCFrameWeldThingy" |
| 861 | + | |
| 862 | - | o19.Parent = o16 |
| 862 | + | |
| 863 | - | o19.C1 = CFrame.new(0, 0.247483984, 0.096652247, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 863 | + | |
| 864 | - | o19.Part0 = o2 |
| 864 | + | |
| 865 | - | o19.Part1 = o16 |
| 865 | + | |
| 866 | - | o20.Name = "svatic6" |
| 866 | + | |
| 867 | - | o20.Parent = o1 |
| 867 | + | |
| 868 | - | o20.Material = Enum.Material.SmoothPlastic |
| 868 | + | |
| 869 | - | o20.BrickColor = BrickColor.new("Really black")
|
| 869 | + | |
| 870 | - | o20.Position = Vector3.new(9.54831028, 1.05523241, -30.2259464) |
| 870 | + | |
| 871 | - | o20.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007) |
| 871 | + | |
| 872 | - | o20.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061) |
| 872 | + | |
| 873 | - | 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) |
| 873 | + | |
| 874 | - | o20.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 874 | + | |
| 875 | - | o20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 875 | + | |
| 876 | - | o20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 876 | + | |
| 877 | - | o20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 877 | + | |
| 878 | - | o20.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 878 | + | |
| 879 | - | o20.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 879 | + | |
| 880 | - | o20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 880 | + | |
| 881 | - | o20.Position = Vector3.new(9.54831028, 1.05523241, -30.2259464) |
| 881 | + | |
| 882 | - | o20.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998) |
| 882 | + | |
| 883 | - | o20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 883 | + | |
| 884 | - | o21.Parent = o20 |
| 884 | + | |
| 885 | - | o21.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734) |
| 885 | + | |
| 886 | - | o21.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734) |
| 886 | + | |
| 887 | - | o22.Name = "qRelativeCFrameWeldValue" |
| 887 | + | |
| 888 | - | o22.Parent = o20 |
| 888 | + | |
| 889 | - | o22.Value = CFrame.new(0, 0.0607795715, -0.231582642, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 889 | + | |
| 890 | - | o23.Name = "qCFrameWeldThingy" |
| 890 | + | |
| 891 | - | o23.Parent = o20 |
| 891 | + | |
| 892 | - | o23.C1 = CFrame.new(0, 0.0726053864, -0.276641428, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 892 | + | |
| 893 | - | o23.Part0 = o2 |
| 893 | + | |
| 894 | - | o23.Part1 = o20 |
| 894 | + | |
| 895 | - | o24.Name = "svatic7" |
| 895 | + | |
| 896 | - | o24.Parent = o1 |
| 896 | + | |
| 897 | - | o24.Material = Enum.Material.SmoothPlastic |
| 897 | + | |
| 898 | - | o24.BrickColor = BrickColor.new("Really black")
|
| 898 | + | |
| 899 | - | o24.Position = Vector3.new(9.53892517, 1.21178222, -30.6091824) |
| 899 | + | |
| 900 | - | o24.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007) |
| 900 | + | |
| 901 | - | o24.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061) |
| 901 | + | |
| 902 | - | 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) |
| 902 | + | |
| 903 | - | o24.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 903 | + | |
| 904 | - | o24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 904 | + | |
| 905 | - | o24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 905 | + | |
| 906 | - | o24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 906 | + | |
| 907 | - | o24.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 907 | + | |
| 908 | - | o24.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 908 | + | |
| 909 | - | o24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 909 | + | |
| 910 | - | o24.Position = Vector3.new(9.53892517, 1.21178222, -30.6091824) |
| 910 | + | |
| 911 | - | o24.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998) |
| 911 | + | |
| 912 | - | o24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 912 | + | |
| 913 | - | o25.Parent = o24 |
| 913 | + | |
| 914 | - | o25.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195) |
| 914 | + | |
| 915 | - | o25.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195) |
| 915 | + | |
| 916 | - | o26.Name = "qRelativeCFrameWeldValue" |
| 916 | + | |
| 917 | - | o26.Parent = o24 |
| 917 | + | |
| 918 | - | o26.Value = CFrame.new(0, -0.0209236145, 0.105287552, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 918 | + | |
| 919 | - | o27.Name = "qCFrameWeldThingy" |
| 919 | + | |
| 920 | - | o27.Parent = o24 |
| 920 | + | |
| 921 | - | o27.C1 = CFrame.new(0, -0.0249946993, 0.125773236, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 921 | + | |
| 922 | - | o27.Part0 = o2 |
| 922 | + | |
| 923 | - | o27.Part1 = o24 |
| 923 | + | |
| 924 | - | o28.Name = "Right Arm" |
| 924 | + | |
| 925 | - | o28.Parent = o1 |
| 925 | + | |
| 926 | - | o28.Material = Enum.Material.SmoothPlastic |
| 926 | + | |
| 927 | - | o28.BrickColor = BrickColor.new("Really black")
|
| 927 | + | |
| 928 | - | o28.Transparency = 1 |
| 928 | + | |
| 929 | - | o28.Position = Vector3.new(9.33767605, 1.24664795, -30.4727879) |
| 929 | + | |
| 930 | - | o28.Rotation = Vector3.new(114.800003, 63.2999992, -39.2599983) |
| 930 | + | |
| 931 | - | o28.FormFactor = Enum.FormFactor.Symmetric |
| 931 | + | |
| 932 | - | o28.Size = Vector3.new(2.09252977, 1.04626489, 1.04626489) |
| 932 | + | |
| 933 | - | 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) |
| 933 | + | |
| 934 | - | o28.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 934 | + | |
| 935 | - | o28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 935 | + | |
| 936 | - | o28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 936 | + | |
| 937 | - | o28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 937 | + | |
| 938 | - | o28.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 938 | + | |
| 939 | - | o28.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 939 | + | |
| 940 | - | o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 940 | + | |
| 941 | - | o28.Position = Vector3.new(9.33767605, 1.24664795, -30.4727879) |
| 941 | + | |
| 942 | - | o28.Orientation = Vector3.new(24.0699997, 101.910004, 78.0899963) |
| 942 | + | |
| 943 | - | o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 943 | + | |
| 944 | - | weldtoarm.Parent = o28 |
| 944 | + | |
| 945 | - | weldtoarm.Part0 = o28 |
| 945 | + | |
| 946 | - | weldtoarm.Part1 = game.Players.LocalPlayer.Character["Right Arm"] |
| 946 | + | |
| 947 | - | weldtoarm.C0 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(1.55, math.pi, 1.55) |
| 947 | + | |
| 948 | - | o29.Name = "qRelativeCFrameWeldValue" |
| 948 | + | |
| 949 | - | o29.Parent = o28 |
| 949 | + | |
| 950 | - | 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) |
| 950 | + | |
| 951 | - | o30.Name = "qCFrameWeldThingy" |
| 951 | + | |
| 952 | - | o30.Parent = o28 |
| 952 | + | |
| 953 | - | 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) |
| 953 | + | |
| 954 | - | o30.Part0 = o2 |
| 954 | + | |
| 955 | - | o30.Part1 = o28 |
| 955 | + | |
| 956 | - | o31.Name = "Armlet1" |
| 956 | + | |
| 957 | - | o31.Parent = o1 |
| 957 | + | |
| 958 | - | o31.Material = Enum.Material.SmoothPlastic |
| 958 | + | |
| 959 | - | o31.BrickColor = BrickColor.new("Bright red")
|
| 959 | + | |
| 960 | - | o31.Position = Vector3.new(9.33325005, 1.22114551, -30.4663391) |
| 960 | + | |
| 961 | - | o31.Rotation = Vector3.new(114.800003, 63.2999992, -39.2599983) |
| 961 | + | |
| 962 | - | o31.FormFactor = Enum.FormFactor.Symmetric |
| 962 | + | |
| 963 | - | o31.Size = Vector3.new(1.01487708, 1.06719005, 1.0985781) |
| 963 | + | |
| 964 | - | 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) |
| 964 | + | |
| 965 | - | o31.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 965 | + | |
| 966 | - | o31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 966 | + | |
| 967 | - | o31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 967 | + | |
| 968 | - | o31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 968 | + | |
| 969 | - | o31.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 969 | + | |
| 970 | - | o31.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 970 | + | |
| 971 | - | o31.Color = Color3.new(0.768628, 0.156863, 0.109804) |
| 971 | + | |
| 972 | - | o31.Position = Vector3.new(9.33325005, 1.22114551, -30.4663391) |
| 972 | + | |
| 973 | - | o31.Orientation = Vector3.new(24.0699997, 101.910004, 78.0899963) |
| 973 | + | |
| 974 | - | o31.Color = Color3.new(0.768628, 0.156863, 0.109804) |
| 974 | + | |
| 975 | - | o32.Name = "qRelativeCFrameWeldValue" |
| 975 | + | |
| 976 | - | o32.Parent = o31 |
| 976 | + | |
| 977 | - | 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) |
| 977 | + | |
| 978 | - | o33.Name = "qCFrameWeldThingy" |
| 978 | + | |
| 979 | - | o33.Parent = o31 |
| 979 | + | |
| 980 | - | 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) |
| 980 | + | |
| 981 | - | o33.Part0 = o2 |
| 981 | + | |
| 982 | - | o33.Part1 = o31 |
| 982 | + | |
| 983 | - | o34.Name = "Armlet2" |
| 983 | + | |
| 984 | - | o34.Parent = o1 |
| 984 | + | |
| 985 | - | o34.Material = Enum.Material.SmoothPlastic |
| 985 | + | |
| 986 | - | o34.BrickColor = BrickColor.new("Institutional white")
|
| 986 | + | |
| 987 | - | o34.Position = Vector3.new(9.74531078, 1.04955149, -30.5565758) |
| 987 | + | |
| 988 | - | o34.Rotation = Vector3.new(-11.3299999, 16.5200005, 158.729996) |
| 988 | + | |
| 989 | - | o34.Shape = Enum.PartType.Cylinder |
| 989 | + | |
| 990 | - | o34.Size = Vector3.new(0.238913804, 1.0253396, 1.04626489) |
| 990 | + | |
| 991 | - | 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) |
| 991 | + | |
| 992 | - | o34.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 992 | + | |
| 993 | - | o34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 993 | + | |
| 994 | - | o34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 994 | + | |
| 995 | - | o34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 995 | + | |
| 996 | - | o34.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 996 | + | |
| 997 | - | o34.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 997 | + | |
| 998 | - | o34.Color = Color3.new(0.972549, 0.972549, 0.972549) |
| 998 | + | |
| 999 | - | o34.Position = Vector3.new(9.74531078, 1.04955149, -30.5565758) |
| 999 | + | |
| 1000 | - | o34.Orientation = Vector3.new(-10.8599997, 16.8299999, 155.460007) |
| 1000 | + | |
| 1001 | - | o34.Color = Color3.new(0.972549, 0.972549, 0.972549) |
| 1001 | + | |
| 1002 | - | o35.Parent = o34 |
| 1002 | + | |
| 1003 | - | o35.Scale = Vector3.new(0.875851333, 1, 1) |
| 1003 | + | |
| 1004 | - | o35.MeshType = Enum.MeshType.Cylinder |
| 1004 | + | |
| 1005 | - | o35.Scale = Vector3.new(0.875851333, 1, 1) |
| 1005 | + | |
| 1006 | - | o36.Name = "qRelativeCFrameWeldValue" |
| 1006 | + | |
| 1007 | - | o36.Parent = o34 |
| 1007 | + | |
| 1008 | - | o36.Value = CFrame.new(0.201436996, -0.00654327869, 0.0187721252, 1, 0, 0, 0, 0.642790794, 0.766052902, 0, -0.766052902, 0.642790794) |
| 1008 | + | |
| 1009 | - | o37.Name = "qCFrameWeldThingy" |
| 1009 | + | |
| 1010 | - | o37.Parent = o34 |
| 1010 | + | |
| 1011 | - | o37.C1 = CFrame.new(0.240630388, -0.00781639758, 0.0224245973, 1, 0, 0, 0, 0.642790794, 0.766052902, 0, -0.766052902, 0.642790794) |
| 1011 | + | |
| 1012 | - | o37.Part0 = o2 |
| 1012 | + | |
| 1013 | - | o37.Part1 = o34 |
| 1013 | + | |
| 1014 | if OTHERWORLD == false then | |
| 1015 | OTHERWORLD = true | |
| 1016 | light2 = IT("ColorCorrectionEffect",Cam)
| |
| 1017 | light2.Brightness = -0.300 | |
| 1018 | light2.Contrast = 1 | |
| 1019 | light2.Saturation = -2 | |
| 1020 | CreateSound("971126018", penta, 2, 1.5)
| |
| 1021 | Character.Parent = Cam | |
| 1022 | elseif OTHERWORLD == true then | |
| 1023 | OTHERWORLD = false | |
| 1024 | CreateSound("971126018", penta, 2, 1.5)
| |
| 1025 | light2:remove() | |
| 1026 | Character.Parent = workspace | |
| 1027 | end | |
| 1028 | end | |
| 1029 | if Key == "g" and OTHERWORLD == true and ATTACK == false then | |
| 1030 | ATTACK = true | |
| 1031 | local del = 35 | |
| 1032 | for i =1, 35 do | |
| 1033 | Swait(del) | |
| 1034 | del = del - 1 | |
| 1035 | local head = IT("Part",workspace)
| |
| 1036 | head.Size = VT(0.2,0.2,0.2) | |
| 1037 | head.CFrame = Head.CFrame * CF(math.random(-700,700),0,math.random(-700,700)) | |
| 1038 | head.Transparency = 1 | |
| 1039 | head.CanCollide = false | |
| 1040 | head.Anchored = true | |
| 1041 | CreateSound("305685800", head, 10, 2)
| |
| 1042 | coroutine.resume(coroutine.create(function() | |
| 1043 | for i = 1, 100 do | |
| 1044 | Swait() | |
| 1045 | end | |
| 1046 | if head then | |
| 1047 | head:remove() | |
| 1048 | end | |
| 1049 | end)) | |
| 1050 | end | |
| 1051 | Swait(100) | |
| 1052 | CreateSound("305685800", workspace, 10, 0.8)
| |
| 1053 | Swait(250) | |
| 1054 | ATTACK = false | |
| 1055 | end | |
| 1056 | if Key == "y" and ATTACK == false then | |
| 1057 | ATTACK = true | |
| 1058 | Rooted = true | |
| 1059 | CreateSound(134978657,Head,10,1,false) | |
| 1060 | for i=0, 0.5, 0.1 / Animation_Speed do | |
| 1061 | Swait() | |
| 1062 | 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) | |
| 1063 | 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) | |
| 1064 | 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) | |
| 1065 | 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) | |
| 1066 | 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) | |
| 1067 | 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) | |
| 1068 | end | |
| 1069 | for i=1, 185 do | |
| 1070 | Swait() | |
| 1071 | 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) | |
| 1072 | 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) | |
| 1073 | 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) | |
| 1074 | 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) | |
| 1075 | 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) | |
| 1076 | 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) | |
| 1077 | end | |
| 1078 | ATTACK = false | |
| 1079 | Rooted = false | |
| 1080 | end | |
| 1081 | if Key == "t" and ATTACK == false then | |
| 1082 | if OTHERWORLD == false then | |
| 1083 | CreateSound("305685800", Head, 5, 2)
| |
| 1084 | elseif OTHERWORLD == true then | |
| 1085 | local head = IT("Part",workspace)
| |
| 1086 | head.Size = VT(0.2,0.2,0.2) | |
| 1087 | head.CFrame = Head.CFrame | |
| 1088 | head.Transparency = 1 | |
| 1089 | head.CanCollide = false | |
| 1090 | head.Anchored = true | |
| 1091 | CreateSound("305685800", head, 5, 2)
| |
| 1092 | coroutine.resume(coroutine.create(function() | |
| 1093 | for i = 1, 100 do | |
| 1094 | Swait() | |
| 1095 | if head then | |
| 1096 | head.CFrame = Head.CFrame | |
| 1097 | end | |
| 1098 | end | |
| 1099 | if head then | |
| 1100 | head:remove() | |
| 1101 | end | |
| 1102 | end)) | |
| 1103 | end | |
| 1104 | end | |
| 1105 | end | |
| 1106 | ||
| 1107 | function KeyUp(Key) | |
| 1108 | end | |
| 1109 | ||
| 1110 | Mouse.Button1Down:connect(function(NEWKEY) | |
| 1111 | MouseDown(NEWKEY) | |
| 1112 | end) | |
| 1113 | Mouse.Button1Up:connect(function(NEWKEY) | |
| 1114 | MouseUp(NEWKEY) | |
| 1115 | end) | |
| 1116 | Mouse.KeyDown:connect(function(NEWKEY) | |
| 1117 | KeyDown(NEWKEY) | |
| 1118 | end) | |
| 1119 | Mouse.KeyUp:connect(function(NEWKEY) | |
| 1120 | KeyUp(NEWKEY) | |
| 1121 | end) | |
| 1122 | ||
| 1123 | --//=================================\\ | |
| 1124 | --\\=================================// | |
| 1125 | ||
| 1126 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
| 1127 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
| 1128 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
| |
| 1129 | end | |
| 1130 | ||
| 1131 | function unanchor() | |
| 1132 | if UNANCHOR == true then | |
| 1133 | g = Character:GetChildren() | |
| 1134 | for i = 1, #g do | |
| 1135 | if g[i].ClassName == "Part" then | |
| 1136 | g[i].Anchored = false | |
| 1137 | end | |
| 1138 | end | |
| 1139 | end | |
| 1140 | end | |
| 1141 | ||
| 1142 | ||
| 1143 | --//=================================\\ | |
| 1144 | --|| WRAP THE WHOLE SCRIPT UP | |
| 1145 | --\\=================================// | |
| 1146 | Humanoid.Changed:connect(function(Jump) | |
| 1147 | if Jump == "Jump" and (Disable_Jump == true) then | |
| 1148 | Humanoid.Jump = false | |
| 1149 | end | |
| 1150 | end) | |
| 1151 | ||
| 1152 | while true do | |
| 1153 | Swait() | |
| 1154 | ANIMATE.Parent = nil | |
| 1155 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
| 1156 | IDLEANIMATION:Play() | |
| 1157 | SINE = SINE + CHANGE | |
| 1158 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
| 1159 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
| 1160 | local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) | |
| 1161 | HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) | |
| 1162 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
| 1163 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
| 1164 | 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) | |
| 1165 | 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) | |
| 1166 | 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) | |
| 1167 | 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) | |
| 1168 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
| 1169 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1170 | 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) | |
| 1171 | 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) | |
| 1172 | 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) | |
| 1173 | end | |
| 1174 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
| 1175 | ANIM = "Jump" | |
| 1176 | if ATTACK == false then | |
| 1177 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1178 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1179 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
| 1180 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
| 1181 | 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) | |
| 1182 | 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) | |
| 1183 | end | |
| 1184 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
| 1185 | ANIM = "Fall" | |
| 1186 | if ATTACK == false then | |
| 1187 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1188 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1189 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
| 1190 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
| 1191 | 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) | |
| 1192 | 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) | |
| 1193 | end | |
| 1194 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
| 1195 | ANIM = "Idle" | |
| 1196 | if ATTACK == false then | |
| 1197 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1198 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed) | |
| 1199 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1200 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9, 0.25 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1201 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1202 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1203 | end | |
| 1204 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
| 1205 | ANIM = "Walk" | |
| 1206 | if ATTACK == false then | |
| 1207 | 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) | |
| 1208 | 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) | |
| 1209 | end | |
| 1210 | end | |
| 1211 | if #Effects2>0 then | |
| 1212 | for e=1,#Effects2 do | |
| 1213 | if Effects2[e]~=nil then | |
| 1214 | local Thing=Effects2[e] | |
| 1215 | if Thing~=nil then | |
| 1216 | local Part=Thing[1] | |
| 1217 | local Mode=Thing[2] | |
| 1218 | local Delay=Thing[3] | |
| 1219 | local IncX=Thing[4] | |
| 1220 | local IncY=Thing[5] | |
| 1221 | local IncZ=Thing[6] | |
| 1222 | local Part2=Thing[8] | |
| 1223 | if Thing[1].Transparency<=1 then | |
| 1224 | if Thing[2]=="Block1" then | |
| 1225 | Thing[1].CFrame=Thing[1].CFrame | |
| 1226 | Mesh=Thing[1].Mesh | |
| 1227 | Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) | |
| 1228 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1229 | elseif Thing[2]=="Cylinder" then | |
| 1230 | Mesh=Thing[1].Mesh | |
| 1231 | Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) | |
| 1232 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1233 | elseif Thing[2]=="Blood" then | |
| 1234 | Mesh=Thing[7] | |
| 1235 | Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0) | |
| 1236 | Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) | |
| 1237 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1238 | elseif Thing[2]=="Elec" then | |
| 1239 | Mesh=Thing[1].Mesh | |
| 1240 | Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9]) | |
| 1241 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1242 | elseif Thing[2]=="Disappear" then | |
| 1243 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1244 | end | |
| 1245 | else | |
| 1246 | Part.Parent=nil | |
| 1247 | table.remove(Effects2,e) | |
| 1248 | end | |
| 1249 | end | |
| 1250 | end | |
| 1251 | end | |
| 1252 | end | |
| 1253 | unanchor() | |
| 1254 | Humanoid.MaxHealth = "inf" | |
| 1255 | Humanoid.Health = "inf" | |
| 1256 | q = Character:GetChildren() | |
| 1257 | for u = 1, #q do | |
| 1258 | if q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then | |
| 1259 | q[u].Color = Color3.new(0, 0, 0) | |
| 1260 | if OTHERWORLD == false then | |
| 1261 | q[u].Transparency = 0 | |
| 1262 | Humanoid.WalkSpeed = 16 | |
| 1263 | sick.Parent = Character | |
| 1264 | sick.Pitch = 0.8 | |
| 1265 | elseif OTHERWORLD == true then | |
| 1266 | Humanoid.WalkSpeed = 75 | |
| 1267 | sick.Parent = workspace | |
| 1268 | sick.Pitch = 0.3 | |
| 1269 | end | |
| 1270 | end | |
| 1271 | end | |
| 1272 | if Head:FindFirstChild("face") then
| |
| 1273 | if math.random(1,50) == 1 then | |
| 1274 | Head.face.Texture = "rbxassetid://0" | |
| 1275 | tecks2.Text = "WORLD WAR 2" | |
| 1276 | else | |
| 1277 | Head.face.Texture = "rbxassetid://0" | |
| 1278 | tecks2.Text = "Madness Guest" | |
| 1279 | end | |
| 1280 | end | |
| 1281 | if sick == nil then | |
| 1282 | local sick = Instance.new("Sound",Character)
| |
| 1283 | sick.SoundId = "rbxassetid://673916774" | |
| 1284 | sick.Looped = true | |
| 1285 | sick.Pitch = 0.9 | |
| 1286 | sick.Volume = 5 | |
| 1287 | sick:Play() | |
| 1288 | end | |
| 1289 | if OTHERWORLD == false then | |
| 1290 | end | |
| 1291 | end | |
| 1292 | ||
| 1293 | --//=================================\\ | |
| 1294 | --\\=================================// | |
| 1295 | ||
| 1296 | ||
| 1297 | ||
| 1298 | ||
| 1299 | ||
| 1300 | --//====================================================\\-- | |
| 1301 | --|| END OF SCRIPT | |
| 1302 | --\\====================================================//-- |