SHOW:
|
|
- or go back to the newest paste.
| 1 | - | -----------//Elio Blasio\\----------- |
| 1 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
|
| 2 | - | --[[Movelist |
| 2 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
| 3 | - | E = Equip/Unequip, click to shoot, hold to spray |
| 3 | + | |
| 4 | - | T = Taunt |
| 4 | + | script.Parent = Player.Character |
| 5 | - | ---------]] |
| 5 | + | |
| 6 | - | --Credits to Shackluster for the refit/anti-breakjoints function, he's a cool guy/great scripter.-- |
| 6 | + | --RemoteEvent for communicating |
| 7 | - | --Ayy i'm not dead yet, take that haters, if i even had any to begin with.-- |
| 7 | + | local Event = Instance.new("RemoteEvent")
|
| 8 | - | --Keeping this script small since big ones will cause major lag & exceed script limits-- |
| 8 | + | Event.Name = "UserInput_Event" |
| 9 | - | --Using a FE converter because i'm way too lazy to create remotes for it-- |
| 9 | + | |
| 10 | --Fake event to make stuff like Mouse.KeyDown work | |
| 11 | - | if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
|
| 11 | + | local function fakeEvent() |
| 12 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 13 | - | script.Parent = owner.Character |
| 13 | + | t.connect = t.Connect |
| 14 | - | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
|
| 14 | + | return t |
| 15 | - | local function NewFakeEvent() |
| 15 | + | end |
| 16 | - | local Bind = Instance.new("BindableEvent")
|
| 16 | + | |
| 17 | - | local Fake;Fake = {Connections = {},
|
| 17 | + | --Creating fake input objects with fake variables |
| 18 | - | fakeEvent=true; |
| 18 | + | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
|
| 19 | - | Connect=function(self,Func) |
| 19 | + | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
|
| 20 | - | Bind.Event:connect(Func) |
| 20 | + | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
|
| 21 | - | self.Connections[Bind] = true |
| 21 | + | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
|
| 22 | - | return setmetatable({Connected = true},{
|
| 22 | + | end} |
| 23 | - | __index = function (self,Index) |
| 23 | + | --Merged 2 functions into one by checking amount of arguments |
| 24 | - | if Index:lower() == "disconnect" then |
| 24 | + | CAS.UnbindAction = CAS.BindAction |
| 25 | - | return function() Fake.Connections[Bind] = false;self.Connected = false end |
| 25 | + | |
| 26 | --This function will trigger the events that have been :Connect()'ed | |
| 27 | - | return Fake[Index] |
| 27 | + | local function te(self,ev,...) |
| 28 | - | end; |
| 28 | + | local t = m[ev] |
| 29 | - | __tostring = function() return "Connection" end; |
| 29 | + | if t and t._fakeEvent and t.Function then |
| 30 | t.Function(...) | |
| 31 | - | end} |
| 31 | + | end |
| 32 | - | Fake.connect = Fake.Connect;return Fake; |
| 32 | + | end |
| 33 | m.TrigEvent = te | |
| 34 | - | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
|
| 34 | + | UIS.TrigEvent = te |
| 35 | - | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
|
| 35 | + | |
| 36 | - | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
|
| 36 | + | Event.OnServerEvent:Connect(function(plr,io) |
| 37 | - | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
|
| 37 | + | if plr~=Player then return end |
| 38 | - | end};ContextActionService.UnBindAction = ContextActionService.BindAction |
| 38 | + | if io.isMouse then |
| 39 | - | local function TriggerEvent(self,Event,...) |
| 39 | + | m.Target = io.Target |
| 40 | - | local Trigger = Mouse[Event] |
| 40 | + | m.Hit = io.Hit |
| 41 | - | if Trigger and Trigger.fakeEvent and Trigger.Connections then |
| 41 | + | else |
| 42 | - | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end |
| 42 | + | local b = io.UserInputState == Enum.UserInputState.Begin |
| 43 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 44 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 45 | - | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent |
| 45 | + | end |
| 46 | - | Event.OnServerEvent:Connect(function(FiredBy,Input) |
| 46 | + | for _,t in pairs(CAS.Actions) do |
| 47 | - | if FiredBy.Name ~= owner.Name then return end |
| 47 | + | for _,k in pairs(t.Keys) do |
| 48 | - | if Input.MouseEvent then |
| 48 | + | if k==io.KeyCode then |
| 49 | - | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit |
| 49 | + | t.Function(t.Name,io.UserInputState,io) |
| 50 | - | else |
| 50 | + | end |
| 51 | - | local Begin = Input.UserInputState == Enum.UserInputState.Begin |
| 51 | + | end |
| 52 | - | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end |
| 52 | + | end |
| 53 | - | for _,Action in pairs(ContextActionService.Actions) do |
| 53 | + | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) |
| 54 | - | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end |
| 54 | + | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) |
| 55 | - | end |
| 55 | + | end |
| 56 | - | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) |
| 56 | + | end) |
| 57 | - | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) |
| 57 | + | Event.Parent = NLS([==[ |
| 58 | local Player = game:GetService("Players").LocalPlayer
| |
| 59 | - | end) |
| 59 | + | local Event = script:WaitForChild("UserInput_Event")
|
| 60 | - | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService |
| 60 | + | |
| 61 | - | Event.Parent = NLS([[ |
| 61 | + | local UIS = game:GetService("UserInputService")
|
| 62 | - | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
|
| 62 | + | local input = function(io,a) |
| 63 | - | local Input = function(Input,gameProcessedEvent) |
| 63 | + | if a then return end |
| 64 | - | if gameProcessedEvent then return end |
| 64 | + | --Since InputObject is a client-side instance, we create and pass table instead |
| 65 | - | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
|
| 65 | + | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
|
| 66 | end | |
| 67 | - | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) |
| 67 | + | UIS.InputBegan:Connect(input) |
| 68 | - | local Hit,Target |
| 68 | + | UIS.InputEnded:Connect(input) |
| 69 | - | while wait(1/30) do |
| 69 | + | |
| 70 | - | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then |
| 70 | + | local Mouse = Player:GetMouse() |
| 71 | - | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
|
| 71 | + | local h,t |
| 72 | - | end |
| 72 | + | --Give the server mouse data 30 times every second, but only if the values changed |
| 73 | --If player is not moving their mouse, client won't fire events | |
| 74 | - | ]],owner.Character) |
| 74 | + | while wait(1/30) do |
| 75 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 76 | - | RealGame = game;game = setmetatable({},{
|
| 76 | + | h,t=Mouse.Hit,Mouse.Target |
| 77 | - | __index = function (self,Index) |
| 77 | + | Event:FireServer({isMouse=true,Target=t,Hit=h})
|
| 78 | - | local Sandbox = function (Thing) |
| 78 | + | end |
| 79 | - | if Thing:IsA("Player") then
|
| 79 | + | end]==],Player.Character) |
| 80 | - | local RealPlayer = Thing |
| 80 | + | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS |
| 81 | - | return setmetatable({},{
|
| 81 | + | |
| 82 | - | __index = function (self,Index) |
| 82 | + | |
| 83 | - | local Type = type(RealPlayer[Index]) |
| 83 | + | ----------------------- |
| 84 | - | if Type == "function" then |
| 84 | + | --[[ Name : WAOV2 ]]-- |
| 85 | - | if Index:lower() == "getmouse" or Index:lower() == "mouse" then |
| 85 | + | ------------------------------------------------------- |
| 86 | - | return function (self)return InternalData["Mouse"] end |
| 86 | + | --A script By makhail07, 2003boobear and XXUNORIBOASXX. |
| 87 | - | end |
| 87 | + | |
| 88 | - | return function (self,...)return RealPlayer[Index](RealPlayer,...) end |
| 88 | + | --Discord Creterisk#2958 <- makhail07's discord |
| 89 | - | end |
| 89 | + | |
| 90 | - | return RealPlayer[Index] |
| 90 | + | --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION |
| 91 | - | end; |
| 91 | + | --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT |
| 92 | - | __tostring = function(self) return RealPlayer.Name end |
| 92 | + | --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT |
| 93 | - | }) |
| 93 | + | --YOU FUCKING SKIDS, |
| 94 | - | end |
| 94 | + | --For Those who log/decompile this, If you sell or trade this, |
| 95 | --and I find out who you are, i will take massive action. | |
| 96 | - | if RealGame[Index] then |
| 96 | + | --:b: |
| 97 | - | local Type = type(RealGame[Index]) |
| 97 | + | ------------------------------------------------------- |
| 98 | - | if Type == "function" then |
| 98 | + | |
| 99 | - | if Index:lower() == "getservice" or Index:lower() == "service" then |
| 99 | + | local FavIDs = {
|
| 100 | - | return function (self,Service) |
| 100 | + | 340106355, --Nefl Crystals |
| 101 | - | local FakeServices = {
|
| 101 | + | 927529620, --Dimension |
| 102 | - | ["players"] = function() |
| 102 | + | 876981900, --Fantasy |
| 103 | - | return setmetatable({},{
|
| 103 | + | 398987889, --Ordinary Days |
| 104 | - | __index = function (self2,Index2) |
| 104 | + | 1117396305, --Oh wait, it's you. |
| 105 | - | local RealService = RealGame:GetService(Service) |
| 105 | + | 885996042, --Action Winter Journey |
| 106 | - | local Type2 = type(Index2) |
| 106 | + | 919231299, --Sprawling Idiot Effigy |
| 107 | - | if Type2 == "function" then |
| 107 | + | 743466274, --Good Day Sunshine |
| 108 | - | return function (self,...) return RealService[Index2](RealService,...)end |
| 108 | + | 727411183, --Knife Fight |
| 109 | - | else |
| 109 | + | 1402748531, --The Earth Is Counting On You! |
| 110 | - | if Index2:lower() == "localplayer" then return Sandbox(owner) end |
| 110 | + | 595230126 --Robot Language |
| 111 | - | return RealService[Index2] |
| 111 | + | } |
| 112 | - | end |
| 112 | + | |
| 113 | - | end; |
| 113 | + | |
| 114 | - | __tostring = function(self) return RealGame:GetService(Service).Name end |
| 114 | + | |
| 115 | - | }) |
| 115 | + | --The reality of my life isn't real but a Universe -Creterisk |
| 116 | - | end; |
| 116 | + | --All people can be nice, Even if you don't think so. -2003boobear |
| 117 | - | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; |
| 117 | + | --The past can be horrible, but the future will be better, so forget the past and move-onward. -XXUNORIBOASXX |
| 118 | - | ["userinputservice"] = function() return InternalData["UserInputService"] end; |
| 118 | + | |
| 119 | - | ["runservice"] = function() |
| 119 | + | local plr = owner |
| 120 | - | return setmetatable({},{
|
| 120 | + | local char = plr.Character |
| 121 | - | __index = function(self2,Index2) |
| 121 | + | local hum = char.Humanoid |
| 122 | - | local RealService = RealGame:GetService(Service) |
| 122 | + | local hed = char.Head |
| 123 | - | local Type2 = type(Index2) |
| 123 | + | local root = char.HumanoidRootPart |
| 124 | - | if Type2 == "function" then |
| 124 | + | local rootj = root.RootJoint |
| 125 | - | return function (self,...) return RealService[Index2](RealService,...) end |
| 125 | + | local tors = char.Torso |
| 126 | - | else |
| 126 | + | local ra = char["Right Arm"] |
| 127 | - | local RunServices = {
|
| 127 | + | local la = char["Left Arm"] |
| 128 | - | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
|
| 128 | + | local rl = char["Right Leg"] |
| 129 | - | ["renderstepped"] = function() return RealService["Stepped"] end |
| 129 | + | local ll = char["Left Leg"] |
| 130 | - | } |
| 130 | + | local neck = tors["Neck"] |
| 131 | - | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end |
| 131 | + | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) |
| 132 | - | return RealService[Index2] |
| 132 | + | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) |
| 133 | - | end |
| 133 | + | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) |
| 134 | - | end |
| 134 | + | local maincolor = BrickColor.new("Pearl")
|
| 135 | - | }) |
| 135 | + | exploitable = true |
| 136 | - | end |
| 136 | + | ------------------------------------------------------- |
| 137 | - | } |
| 137 | + | --Start Whitelist and Invincibility-- |
| 138 | - | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end |
| 138 | + | ------------------------------------------------------- |
| 139 | - | return RealGame:GetService(Service) |
| 139 | + | ff = Instance.new("ForceField",char)
|
| 140 | - | end |
| 140 | + | ff.Visible = false |
| 141 | hum.Name = "Base" | |
| 142 | - | return function (self,...) return RealGame[Index](RealGame,...) end |
| 142 | + | hum.MaxHealth = 1.0E298 |
| 143 | - | else |
| 143 | + | hum.Health = 1.0E298 |
| 144 | - | if game:GetService(Index) then return game:GetService(Index) end |
| 144 | + | game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
|
| 145 | - | return RealGame[Index] |
| 145 | + | if hum.Health > 0.1 and hum.Health < 1.0E298 then |
| 146 | - | end |
| 146 | + | hum.MaxHealth = 1.0E298 |
| 147 | hum.Health = 1.0E298 | |
| 148 | - | return nil |
| 148 | + | end |
| 149 | end) | |
| 150 | - | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
|
| 150 | + | ------------------------------------------------------- |
| 151 | --End Whitelist and Invincibility-- | |
| 152 | - | Player=game.Players.LocalPlayer |
| 152 | + | ------------------------------------------------------- |
| 153 | - | Character=Player.Character |
| 153 | + | |
| 154 | - | Character.Humanoid.Name = "noneofurbusiness" |
| 154 | + | warn("WhAT ANOTHER ONE V2 IS FINALLY HERE!")
|
| 155 | - | hum = Character.noneofurbusiness |
| 155 | + | |
| 156 | - | LeftArm=Character["Left Arm"] |
| 156 | + | warn("I hope you enjoy.")
|
| 157 | - | LeftLeg=Character["Left Leg"] |
| 157 | + | |
| 158 | - | RightArm=Character["Right Arm"] |
| 158 | + | warn("Credit to makhail07, 2003boobear and XXUNORIBOASXX!")
|
| 159 | - | RightLeg=Character["Right Leg"] |
| 159 | + | |
| 160 | - | Root=Character["HumanoidRootPart"] |
| 160 | + | ------------------------------------------------------- |
| 161 | - | Head=Character["Head"] |
| 161 | + | --Start Good Stuff-- |
| 162 | - | Torso=Character["Torso"] |
| 162 | + | ------------------------------------------------------- |
| 163 | - | Neck=Torso["Neck"] |
| 163 | + | cam = game.Workspace.CurrentCamera |
| 164 | - | mouse = Player:GetMouse() |
| 164 | + | CF = CFrame.new |
| 165 | - | walking = false |
| 165 | + | VT = Vector3.new |
| 166 | - | jumping = false |
| 166 | + | angles = CFrame.Angles |
| 167 | - | attacking = false |
| 167 | + | attack = false |
| 168 | - | firsttime = false |
| 168 | + | Euler = CFrame.fromEulerAnglesXYZ |
| 169 | - | tauntdebounce = false |
| 169 | + | Rad = math.rad |
| 170 | - | position = nil |
| 170 | + | IT = Instance.new |
| 171 | - | MseGuide = true |
| 171 | + | BrickC = BrickColor.new |
| 172 | - | running = false |
| 172 | + | Cos = math.cos |
| 173 | - | settime = 0 |
| 173 | + | Acos = math.acos |
| 174 | - | sine = 0 |
| 174 | + | Sin = math.sin |
| 175 | - | t = 0 |
| 175 | + | Asin = math.asin |
| 176 | - | ws = 18 |
| 176 | + | Abs = math.abs |
| 177 | - | change = 1 |
| 177 | + | Mrandom = math.random |
| 178 | - | combo1 = true |
| 178 | + | Floor = math.floor |
| 179 | - | equip = false |
| 179 | + | ------------------------------------------------------- |
| 180 | - | dgs = 75 |
| 180 | + | --End Good Stuff-- |
| 181 | - | combo2 = false |
| 181 | + | ------------------------------------------------------- |
| 182 | - | switch1 = true |
| 182 | + | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 183 | - | switch2 = false |
| 183 | + | RSH, LSH = nil, nil |
| 184 | - | firsttime2 = false |
| 184 | + | RW = Instance.new("Weld")
|
| 185 | - | combo3 = false |
| 185 | + | LW = Instance.new("Weld")
|
| 186 | - | gunallowance = false |
| 186 | + | RH = tors["Right Hip"] |
| 187 | - | shooting = false |
| 187 | + | LH = tors["Left Hip"] |
| 188 | - | RunSrv = game:GetService("RunService")
|
| 188 | + | RSH = tors["Right Shoulder"] |
| 189 | - | RenderStepped = game:GetService("RunService").RenderStepped
|
| 189 | + | LSH = tors["Left Shoulder"] |
| 190 | - | removeuseless = game:GetService("Debris")
|
| 190 | + | RSH.Parent = nil |
| 191 | LSH.Parent = nil | |
| 192 | - | screenGui = Instance.new("ScreenGui")
|
| 192 | + | RW.Name = "RW" |
| 193 | - | screenGui.Parent = script.Parent |
| 193 | + | RW.Part0 = tors |
| 194 | RW.C0 = CF(1.5, 0.5, 0) | |
| 195 | - | local HEADLERP = Instance.new("ManualWeld")
|
| 195 | + | RW.C1 = CF(0, 0.5, 0) |
| 196 | - | HEADLERP.Parent = Head |
| 196 | + | RW.Part1 = ra |
| 197 | - | HEADLERP.Part0 = Head |
| 197 | + | RW.Parent = tors |
| 198 | - | HEADLERP.Part1 = Head |
| 198 | + | LW.Name = "LW" |
| 199 | - | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 199 | + | LW.Part0 = tors |
| 200 | LW.C0 = CF(-1.5, 0.5, 0) | |
| 201 | - | local TORSOLERP = Instance.new("ManualWeld")
|
| 201 | + | LW.C1 = CF(0, 0.5, 0) |
| 202 | - | TORSOLERP.Parent = Root |
| 202 | + | LW.Part1 = la |
| 203 | - | TORSOLERP.Part0 = Torso |
| 203 | + | LW.Parent = tors |
| 204 | - | TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 204 | + | Effects = {}
|
| 205 | ------------------------------------------------------- | |
| 206 | - | local ROOTLERP = Instance.new("ManualWeld")
|
| 206 | + | --Start HeartBeat-- |
| 207 | - | ROOTLERP.Parent = Root |
| 207 | + | ------------------------------------------------------- |
| 208 | - | ROOTLERP.Part0 = Root |
| 208 | + | |
| 209 | - | ROOTLERP.Part1 = Torso |
| 209 | + | |
| 210 | - | ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 210 | + | |
| 211 | ||
| 212 | - | local RIGHTARMLERP = Instance.new("ManualWeld")
|
| 212 | + | frame = 1 / 60 |
| 213 | - | RIGHTARMLERP.Parent = RightArm |
| 213 | + | |
| 214 | - | RIGHTARMLERP.Part0 = RightArm |
| 214 | + | |
| 215 | - | RIGHTARMLERP.Part1 = Torso |
| 215 | + | |
| 216 | - | RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 216 | + | |
| 217 | ||
| 218 | - | local LEFTARMLERP = Instance.new("ManualWeld")
|
| 218 | + | |
| 219 | - | LEFTARMLERP.Parent = LeftArm |
| 219 | + | |
| 220 | - | LEFTARMLERP.Part0 = LeftArm |
| 220 | + | |
| 221 | - | LEFTARMLERP.Part1 = Torso |
| 221 | + | |
| 222 | - | LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 222 | + | |
| 223 | tf = tf + s | |
| 224 | - | local RIGHTLEGLERP = Instance.new("ManualWeld")
|
| 224 | + | if tf >= frame then |
| 225 | - | RIGHTLEGLERP.Parent = RightLeg |
| 225 | + | if allowframeloss then |
| 226 | - | RIGHTLEGLERP.Part0 = RightLeg |
| 226 | + | script.Heartbeat:Fire() |
| 227 | - | RIGHTLEGLERP.Part1 = Torso |
| 227 | + | lastframe = tick() |
| 228 | - | RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 228 | + | else |
| 229 | for i = 1, math.floor(tf / frame) do | |
| 230 | - | local LEFTLEGLERP = Instance.new("ManualWeld")
|
| 230 | + | script.Heartbeat:Fire() |
| 231 | - | LEFTLEGLERP.Parent = LeftLeg |
| 231 | + | end |
| 232 | - | LEFTLEGLERP.Part0 = LeftLeg |
| 232 | + | lastframe = tick() |
| 233 | - | LEFTLEGLERP.Part1 = Torso |
| 233 | + | end |
| 234 | - | LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 234 | + | if tossremainder then |
| 235 | tf = 0 | |
| 236 | - | local function weldBetween(a, b) |
| 236 | + | else |
| 237 | - | local weld = Instance.new("ManualWeld", a)
|
| 237 | + | tf = tf - frame * math.floor(tf / frame) |
| 238 | - | weld.Part0 = a |
| 238 | + | end |
| 239 | - | weld.Part1 = b |
| 239 | + | end |
| 240 | - | weld.C0 = a.CFrame:inverse() * b.CFrame |
| 240 | + | |
| 241 | - | return weld |
| 241 | + | ------------------------------------------------------- |
| 242 | --End HeartBeat-- | |
| 243 | ------------------------------------------------------- | |
| 244 | - | function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR) |
| 244 | + | |
| 245 | - | A = Instance.new("Attachment", PARENT)
|
| 245 | + | TAUNT = Instance.new("Sound", tors)
|
| 246 | - | A.Position = POSITION1 |
| 246 | + | TAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994137" |
| 247 | - | A.Name = "A" |
| 247 | + | TAUNT.Volume = 10 |
| 248 | - | B = Instance.new("Attachment", PARENT)
|
| 248 | + | TAUNT.Pitch = 1 |
| 249 | - | B.Position = POSITION2 |
| 249 | + | TAUNT.Looped = false |
| 250 | - | B.Name = "B" |
| 250 | + | TAUNT.TimePosition = 0.12 |
| 251 | - | tr1 = Instance.new("Trail", PARENT)
|
| 251 | + | |
| 252 | - | tr1.Attachment0 = A |
| 252 | + | BTAUNT = Instance.new("Sound", tors)
|
| 253 | - | tr1.Attachment1 = B |
| 253 | + | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1535995263" |
| 254 | - | tr1.Enabled = true |
| 254 | + | BTAUNT.Volume = 10 |
| 255 | - | tr1.Lifetime = LIFETIME |
| 255 | + | BTAUNT.Pitch = 1 |
| 256 | - | tr1.TextureMode = "Static" |
| 256 | + | BTAUNT.Looped = false |
| 257 | - | tr1.LightInfluence = 0 |
| 257 | + | BTAUNT.TimePosition = 0.2 |
| 258 | - | tr1.Color = COLOR |
| 258 | + | |
| 259 | - | tr1.Transparency = NumberSequence.new(0, 1) |
| 259 | + | ITAUNT = Instance.new("Sound", tors)
|
| 260 | ITAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994669" | |
| 261 | ITAUNT.Volume = 10 | |
| 262 | - | shirt = Instance.new("Shirt", Character)
|
| 262 | + | ITAUNT.Pitch = 1 |
| 263 | - | shirt.Name = "Shirt" |
| 263 | + | ITAUNT.Looped = false |
| 264 | - | pants = Instance.new("Pants", Character)
|
| 264 | + | ITAUNT.TimePosition = 0 |
| 265 | - | pants.Name = "Pants" |
| 265 | + | |
| 266 | - | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1380642352" |
| 266 | + | BATAUNT = Instance.new("Sound", tors)
|
| 267 | - | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1189051755" |
| 267 | + | BATAUNT.SoundId = "http://www.roblox.com/asset/?id=132514715" |
| 268 | BATAUNT.Volume = 10 | |
| 269 | - | skull = Instance.new("Part",Character)
|
| 269 | + | BATAUNT.Pitch = 1 |
| 270 | - | skull.Size = Vector3.new(2,2,2) |
| 270 | + | BATAUNT.Looped = false |
| 271 | - | skull.CFrame = Head.CFrame |
| 271 | + | BATAUNT.TimePosition = 0 |
| 272 | - | skull.CanCollide = false |
| 272 | + | |
| 273 | - | skullweld = Instance.new("Weld",skull)
|
| 273 | + | STAUNT = Instance.new("Sound", tors)
|
| 274 | - | skullweld.Part0 = skull |
| 274 | + | STAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994940" |
| 275 | - | skullweld.Part1 = Head |
| 275 | + | STAUNT.Volume = 10 |
| 276 | - | skullweld.C0 = skull.CFrame:inverse() * Head.CFrame |
| 276 | + | STAUNT.Pitch = 1 |
| 277 | - | mskull = Instance.new("SpecialMesh", skull)
|
| 277 | + | STAUNT.Looped = false |
| 278 | - | mskull.MeshType = "FileMesh" |
| 278 | + | STAUNT.TimePosition = 0.05 |
| 279 | - | mskull.Scale = Vector3.new(1.12, 1.12, 1.12) |
| 279 | + | |
| 280 | - | mskull.MeshId,mskull.TextureId = 'http://www.roblox.com/asset/?id=0','http://www.roblox.com/asset/?id=0' |
| 280 | + | DTAUNT = Instance.new("Sound", tors)
|
| 281 | - | fedora = Instance.new("Part",Character)
|
| 281 | + | DTAUNT.SoundId = "http://www.roblox.com/asset/?id=907333294" |
| 282 | - | fedora.Size = Vector3.new(2,2,2) |
| 282 | + | DTAUNT.Volume = 10 |
| 283 | - | fedora.CFrame = Head.CFrame |
| 283 | + | DTAUNT.Pitch = 1 |
| 284 | - | fedora.CanCollide = false |
| 284 | + | DTAUNT.Looped = false |
| 285 | - | fedoraweld = Instance.new("Weld",fedora)
|
| 285 | + | DTAUNT.TimePosition = 0 |
| 286 | - | fedoraweld.Part0 = fedora |
| 286 | + | |
| 287 | - | fedoraweld.Part1 = Head |
| 287 | + | LAZOR = Instance.new("Sound", ra)
|
| 288 | - | fedoraweld.C0 = fedora.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.8,0) |
| 288 | + | LAZOR.SoundId = "http://www.roblox.com/asset/?id=201858045" |
| 289 | - | mfedora = Instance.new("SpecialMesh", fedora)
|
| 289 | + | LAZOR.Volume = 10 |
| 290 | - | mfedora.MeshType = "FileMesh" |
| 290 | + | LAZOR.Pitch = 0.7 |
| 291 | - | mfedora.Scale = Vector3.new(1, 1, 1) |
| 291 | + | LAZOR.Looped = false |
| 292 | - | mfedora.Offset = Vector3.new(0, -1.20, 0) |
| 292 | + | LAZOR.TimePosition = 0 |
| 293 | - | mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=13070796','http://www.roblox.com/asset/?id=292357315' |
| 293 | + | |
| 294 | - | tommygun = Instance.new("Part",Character)
|
| 294 | + | ------------------------------------------------------- |
| 295 | - | tommygun.Size = Vector3.new(2,2,2) |
| 295 | + | --Start Important Functions-- |
| 296 | - | tommygun.CFrame = RightArm.CFrame |
| 296 | + | ------------------------------------------------------- |
| 297 | - | tommygun.CanCollide = false |
| 297 | + | |
| 298 | - | tommygunweld = Instance.new("Weld",tommygun)
|
| 298 | + | if num == 0 or num == nil then |
| 299 | - | tommygunweld.Part0 = tommygun |
| 299 | + | game:service("RunService").Stepped:wait(0)
|
| 300 | - | tommygunweld.Part1 = RightArm |
| 300 | + | else |
| 301 | - | tommygunweld.C0 = tommygun.CFrame:inverse() * RightArm.CFrame * CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0) |
| 301 | + | for i = 0, num do |
| 302 | - | mtommygun = Instance.new("SpecialMesh", tommygun)
|
| 302 | + | game:service("RunService").Stepped:wait(0)
|
| 303 | - | mtommygun.MeshType = "FileMesh" |
| 303 | + | end |
| 304 | - | mtommygun.Scale = Vector3.new(1, 1, 1) |
| 304 | + | end |
| 305 | - | mtommygun.Offset = Vector3.new(0, -0.55, 0.75) |
| 305 | + | |
| 306 | - | mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=2242512297','http://www.roblox.com/asset/?id=2242512535' |
| 306 | + | function thread(f) |
| 307 | - | shootbox = Instance.new("Part",Character)
|
| 307 | + | coroutine.resume(coroutine.create(f)) |
| 308 | - | shootbox.Size = Vector3.new(.2,.2,.2) |
| 308 | + | |
| 309 | - | shootbox.CanCollide = false |
| 309 | + | function clerp(a, b, t) |
| 310 | - | shootbox.Transparency = 1 |
| 310 | + | local qa = {
|
| 311 | - | shootbox.CFrame = tommygun.CFrame |
| 311 | + | QuaternionFromCFrame(a) |
| 312 | - | shootboxweld = weldBetween(shootbox,tommygun) |
| 312 | + | } |
| 313 | - | shootboxweld.C0 = CFrame.new(0,-.05,2.62) |
| 313 | + | local qb = {
|
| 314 | - | light = Instance.new("PointLight", shootbox)
|
| 314 | + | QuaternionFromCFrame(b) |
| 315 | - | light.Color = BrickColor.new("Carnation pink").Color
|
| 315 | + | } |
| 316 | - | light.Range = 5 |
| 316 | + | local ax, ay, az = a.x, a.y, a.z |
| 317 | - | light.Brightness = 11 |
| 317 | + | local bx, by, bz = b.x, b.y, b.z |
| 318 | - | light.Enabled = false |
| 318 | + | local _t = 1 - t |
| 319 | - | particlemiter1 = Instance.new("ParticleEmitter", shootbox)
|
| 319 | + | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) |
| 320 | - | particlemiter1.Enabled = false |
| 320 | + | |
| 321 | - | particlemiter1.Texture = "rbxassetid://2463403090" |
| 321 | + | function ShockWave(Part, cframe1, cframe2, Damage, Size) |
| 322 | - | particlemiter1.Lifetime = NumberRange.new(.1) |
| 322 | + | coroutine.resume(coroutine.create(function() |
| 323 | - | particlemiter1.Size = NumberSequence.new(1,0) |
| 323 | + | local wave = CreatePart(workspace, "Neon", 0, 0, Neoncolor, "Effect", Vector3.new(1, 1, 5)) |
| 324 | - | particlemiter1.Rate = 150 |
| 324 | + | wave.Anchored = true |
| 325 | - | particlemiter1.RotSpeed = NumberRange.new(0) |
| 325 | + | wave.CFrame = Part.CFrame * cframe1 |
| 326 | - | particlemiter1.Speed = NumberRange.new(0) |
| 326 | + | local Msh = Create("SpecialMesh"){
|
| 327 | - | tommygunammo = Instance.new("Part",Character)
|
| 327 | + | Parent = wave, |
| 328 | - | tommygunammo.Size = Vector3.new(2,2,2) |
| 328 | + | MeshType = "Sphere" |
| 329 | - | tommygunammo.CFrame = tommygun.CFrame |
| 329 | + | } |
| 330 | - | tommygunammo.CanCollide = false |
| 330 | + | Cso("http://roblox.com/asset/?id=300916105", wave, 1, 1.3)
|
| 331 | - | tommygunammoweld = Instance.new("Weld",tommygunammo)
|
| 331 | + | for i = 0, 1, 0.2 do |
| 332 | - | tommygunammoweld.Part0 = tommygunammo |
| 332 | + | wait() |
| 333 | - | tommygunammoweld.Part1 = tommygun |
| 333 | + | local dir = wave.CFrame.lookVector * -1 |
| 334 | - | tommygunammoweld.C0 = tommygun.CFrame:inverse() * tommygun.CFrame * CFrame.new(0,.4,.25) * CFrame.Angles(math.rad(0),math.rad(0),0) |
| 334 | + | local pos = rayCast(wave.Position, dir, 5, Character) |
| 335 | - | mtommygunammo = Instance.new("SpecialMesh", tommygunammo)
|
| 335 | + | wave.CFrame = wave.CFrame * cframe2 |
| 336 | - | mtommygunammo.MeshType = "FileMesh" |
| 336 | + | table.insert(Effects, {
|
| 337 | - | mtommygunammo.Scale = Vector3.new(1, 1, 1) |
| 337 | + | wave, |
| 338 | - | mtommygunammo.MeshId,mtommygunammo.TextureId = 'http://www.roblox.com/asset/?id=0','http://www.roblox.com/asset/?id=116679995' |
| 338 | + | "Sphere", |
| 339 | - | mask = Instance.new("Part",Character)
|
| 339 | + | 0.01, |
| 340 | - | mask.Size = Vector3.new(2,2,2) |
| 340 | + | .03, |
| 341 | - | mask.CFrame = Head.CFrame |
| 341 | + | .03, |
| 342 | - | mask.CanCollide = false |
| 342 | + | .03, |
| 343 | - | maskweld = Instance.new("Weld",mask)
|
| 343 | + | }) |
| 344 | - | maskweld.Part0 = mask |
| 344 | + | end |
| 345 | - | maskweld.Part1 = Head |
| 345 | + | end)) |
| 346 | - | maskweld.C0 = mask.CFrame:inverse() * Head.CFrame * CFrame.new(-0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) |
| 346 | + | |
| 347 | - | mmask = Instance.new("SpecialMesh", mask)
|
| 347 | + | |
| 348 | - | mmask.MeshType = "FileMesh" |
| 348 | + | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher! |
| 349 | - | mmask.Scale = Vector3.new(1, 1, 1) |
| 349 | + | local type = type |
| 350 | - | mmask.Offset = Vector3.new(0, -0.25, 0) |
| 350 | + | local rng = Instance.new("Part", char)
|
| 351 | - | mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=0','http://www.roblox.com/asset/?id=96643190' |
| 351 | + | rng.Anchored = true |
| 352 | - | mask = Instance.new("Part",Character)
|
| 352 | + | rng.BrickColor = color |
| 353 | - | mask.Size = Vector3.new(2,2,2) |
| 353 | + | rng.CanCollide = false |
| 354 | - | mask.CFrame = Head.CFrame |
| 354 | + | rng.FormFactor = 3 |
| 355 | - | mask.CanCollide = false |
| 355 | + | rng.Name = "Ring" |
| 356 | - | maskweld = Instance.new("Weld",mask)
|
| 356 | + | rng.Material = "Neon" |
| 357 | - | maskweld.Part0 = mask |
| 357 | + | rng.Size = Vector3.new(1, 1, 1) |
| 358 | - | maskweld.Part1 = Head |
| 358 | + | rng.Transparency = 0 |
| 359 | - | maskweld.C0 = mask.CFrame:inverse() * Head.CFrame * CFrame.new(-0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) |
| 359 | + | rng.TopSurface = 0 |
| 360 | - | mmask = Instance.new("SpecialMesh", mask)
|
| 360 | + | rng.BottomSurface = 0 |
| 361 | - | mmask.MeshType = "FileMesh" |
| 361 | + | rng.CFrame = pos |
| 362 | - | mmask.Scale = Vector3.new(1.1, 1.1, 1.1) |
| 362 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
| 363 | - | mmask.Offset = Vector3.new(0, 0.18, 0) |
| 363 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 364 | - | mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=17190904','http://www.roblox.com/asset/?id=17190901' |
| 364 | + | rngm.MeshType = "Brick" |
| 365 | - | particlemiter2 = Instance.new("ParticleEmitter", mask)
|
| 365 | + | rngm.Scale = VT(x1,y1,z1) |
| 366 | - | particlemiter2.Texture = "rbxassetid://0" |
| 366 | + | if rainbowmode == true then |
| 367 | - | particlemiter2.Lifetime = NumberRange.new(1) |
| 367 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 368 | - | particlemiter2.Size = NumberSequence.new(0.3,0) |
| 368 | + | |
| 369 | - | particlemiter2.Rate = 1 |
| 369 | + | local scaler2 = 1 |
| 370 | - | wait(0.3) |
| 370 | + | local speeder = FastSpeed/10 |
| 371 | - | s = Instance.new("Sound",Torso)
|
| 371 | + | if type == "Add" then |
| 372 | - | s.SoundId = "rbxassetid://367453005" |
| 372 | + | scaler2 = 1*value |
| 373 | - | s:Play() |
| 373 | + | elseif type == "Divide" then |
| 374 | - | s.Volume = 3.75 |
| 374 | + | scaler2 = 1/value |
| 375 | - | Nut = Instance.new("Part",Torso)
|
| 375 | + | |
| 376 | - | Nut.Size = Vector3.new(10, 10, 10) |
| 376 | + | coroutine.resume(coroutine.create(function() |
| 377 | - | Nut.CanCollide = false |
| 377 | + | for i = 0,10/bonuspeed,0.1 do |
| 378 | - | Nut.Transparency = 0.15 |
| 378 | + | |
| 379 | - | Nut.CFrame = Torso.CFrame |
| 379 | + | if type == "Add" then |
| 380 | - | Nut.Color = BrickColor.new("Sunrise").Color
|
| 380 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 381 | - | Nut.Anchored = true |
| 381 | + | elseif type == "Divide" then |
| 382 | - | Nut.Material = "Neon" |
| 382 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 383 | - | Nut.Shape = "Ball" |
| 383 | + | |
| 384 | - | wait (0.02) |
| 384 | + | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 |
| 385 | - | Nut.Size = Vector3.new(9, 9, 9) |
| 385 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
| 386 | - | wait (0.02) |
| 386 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 387 | - | Nut.Size = Vector3.new(8, 8, 8) |
| 387 | + | |
| 388 | - | wait (0.02) |
| 388 | + | rng:Destroy() |
| 389 | - | Nut.Size = Vector3.new(7, 7, 7) |
| 389 | + | end)) |
| 390 | - | wait (0.02) |
| 390 | + | |
| 391 | - | Nut.Size = Vector3.new(6, 6, 6) |
| 391 | + | New = function(Object, Parent, Name, Data) |
| 392 | - | wait (0.02) |
| 392 | + | local Object = Instance.new(Object) |
| 393 | - | Nut.Size = Vector3.new(5, 5, 5) |
| 393 | + | for Index, Value in pairs(Data or {}) do
|
| 394 | - | wait (0.02) |
| 394 | + | Object[Index] = Value |
| 395 | - | Nut.Size = Vector3.new(4, 4, 4) |
| 395 | + | end |
| 396 | - | wait (0.02) |
| 396 | + | Object.Parent = Parent |
| 397 | - | Nut.Size = Vector3.new(3, 3, 3) |
| 397 | + | Object.Name = Name |
| 398 | - | wait (0.02) |
| 398 | + | return Object |
| 399 | - | Nut.Size = Vector3.new(2, 2, 2) |
| 399 | + | |
| 400 | - | wait (0.02) |
| 400 | + | function QuaternionFromCFrame(cf) |
| 401 | - | Nut.Size = Vector3.new(1, 1, 1) |
| 401 | + | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
| 402 | - | wait (0.02) |
| 402 | + | local trace = m00 + m11 + m22 |
| 403 | - | Nut.Size = Vector3.new(0, 0, 0) |
| 403 | + | if trace > 0 then |
| 404 | - | Nut:Destroy() |
| 404 | + | local s = math.sqrt(1 + trace) |
| 405 | local recip = 0.5 / s | |
| 406 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 407 | - | mouse.KeyDown:connect(function(Press) |
| 407 | + | else |
| 408 | - | Press=Press:lower() |
| 408 | + | local i = 0 |
| 409 | - | if Press=='j' then |
| 409 | + | if m00 < m11 then |
| 410 | - | print("Gun Switched To AK47")
|
| 410 | + | i = 1 |
| 411 | - | mtommygun.Scale = Vector3.new(0.05, 0.05, 0.05) |
| 411 | + | end |
| 412 | - | mtommygun.Offset = Vector3.new(0, -0.35, -0.75) |
| 412 | + | if m22 > (i == 0 and m00 or m11) then |
| 413 | - | mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=477006495','http://www.roblox.com/asset/?id=477006525' |
| 413 | + | i = 2 |
| 414 | end | |
| 415 | if i == 0 then | |
| 416 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 417 | - | mouse.KeyDown:connect(function(Press) |
| 417 | + | local recip = 0.5 / s |
| 418 | - | Press=Press:lower() |
| 418 | + | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip |
| 419 | - | if Press=='k' then |
| 419 | + | elseif i == 1 then |
| 420 | - | print("Gun Switched To MP7")
|
| 420 | + | local s = math.sqrt(m11 - m22 - m00 + 1) |
| 421 | - | mtommygun.Scale = Vector3.new(1, 1, 1) |
| 421 | + | local recip = 0.5 / s |
| 422 | - | mtommygun.Offset = Vector3.new(0, -0.55, 0.75) |
| 422 | + | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip |
| 423 | - | mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=2242512297','http://www.roblox.com/asset/?id=2242512535' |
| 423 | + | elseif i == 2 then |
| 424 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 425 | local recip = 0.5 / s | |
| 426 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 427 | - | mouse.KeyDown:connect(function(Press) |
| 427 | + | end |
| 428 | - | Press=Press:lower() |
| 428 | + | end |
| 429 | - | if Press=='l' then |
| 429 | + | |
| 430 | - | print("Gun Switched To P90")
|
| 430 | + | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
| 431 | - | mtommygun.Scale = Vector3.new(0.33, 0.33, 0.33) |
| 431 | + | local xs, ys, zs = x + x, y + y, z + z |
| 432 | - | mtommygun.Offset = Vector3.new(0, -0.35, 0.75) |
| 432 | + | local wx, wy, wz = w * xs, w * ys, w * zs |
| 433 | - | mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=534672750','http://www.roblox.com/asset/?id=534672827' |
| 433 | + | local xx = x * xs |
| 434 | local xy = x * ys | |
| 435 | local xz = x * zs | |
| 436 | local yy = y * ys | |
| 437 | - | mouse.KeyDown:connect(function(Press) |
| 437 | + | local yz = y * zs |
| 438 | - | Press=Press:lower() |
| 438 | + | local zz = z * zs |
| 439 | - | if Press=='u' then |
| 439 | + | 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)) |
| 440 | - | print("Switched to Outfit 2")
|
| 440 | + | |
| 441 | - | Nut = Instance.new("Part",Torso)
|
| 441 | + | function QuaternionSlerp(a, b, t) |
| 442 | - | Nut.Size = Vector3.new(10, 10, 10) |
| 442 | + | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] |
| 443 | - | Nut.CanCollide = false |
| 443 | + | local startInterp, finishInterp |
| 444 | - | Nut.Transparency = 0.15 |
| 444 | + | if cosTheta >= 1.0E-4 then |
| 445 | - | Nut.CFrame = Torso.CFrame |
| 445 | + | if 1 - cosTheta > 1.0E-4 then |
| 446 | - | Nut.Color = BrickColor.new("Bright red").Color
|
| 446 | + | local theta = math.acos(cosTheta) |
| 447 | - | Nut.Anchored = true |
| 447 | + | local invSinTheta = 1 / Sin(theta) |
| 448 | - | Nut.Material = "Neon" |
| 448 | + | startInterp = Sin((1 - t) * theta) * invSinTheta |
| 449 | - | Nut.Shape = "Ball" |
| 449 | + | finishInterp = Sin(t * theta) * invSinTheta |
| 450 | - | Torso.Anchored = true |
| 450 | + | else |
| 451 | - | wait (0.02) |
| 451 | + | startInterp = 1 - t |
| 452 | - | Nut.Size = Vector3.new(9, 9, 9) |
| 452 | + | finishInterp = t |
| 453 | - | wait (0.02) |
| 453 | + | end |
| 454 | - | Nut.Size = Vector3.new(8, 8, 8) |
| 454 | + | elseif 1 + cosTheta > 1.0E-4 then |
| 455 | - | wait (0.02) |
| 455 | + | local theta = math.acos(-cosTheta) |
| 456 | - | Nut.Size = Vector3.new(7, 7, 7) |
| 456 | + | local invSinTheta = 1 / Sin(theta) |
| 457 | - | wait (0.02) |
| 457 | + | startInterp = Sin((t - 1) * theta) * invSinTheta |
| 458 | - | Nut.Size = Vector3.new(6, 6, 6) |
| 458 | + | finishInterp = Sin(t * theta) * invSinTheta |
| 459 | - | wait (0.02) |
| 459 | + | else |
| 460 | - | Nut.Size = Vector3.new(5, 5, 5) |
| 460 | + | startInterp = t - 1 |
| 461 | - | wait (0.02) |
| 461 | + | finishInterp = t |
| 462 | - | s:Play() |
| 462 | + | end |
| 463 | - | mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=398618628','http://www.roblox.com/asset/?id=750450195' |
| 463 | + | 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 |
| 464 | - | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=2072804383" |
| 464 | + | |
| 465 | - | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=745482076" |
| 465 | + | function rayCast(Position, Direction, Range, Ignore) |
| 466 | - | mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=0','http://www.roblox.com/asset/?id=17190901' |
| 466 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
|
| 467 | - | mmask.Scale = Vector3.new(1.1, 1.1, 1.1) |
| 467 | + | |
| 468 | - | mfedora.Offset = Vector3.new(0, -1.34, 0.8) |
| 468 | + | local RbxUtility = LoadLibrary("RbxUtility")
|
| 469 | - | doomtheme.SoundId = "rbxassetid://1564523997" |
| 469 | + | local Create = RbxUtility.Create |
| 470 | - | doomtheme:Play() |
| 470 | + | |
| 471 | - | doomtheme.Volume = 3 |
| 471 | + | ------------------------------------------------------- |
| 472 | - | local b1 = Instance.new("BillboardGui",Head)
|
| 472 | + | --Start Damage Function-- |
| 473 | - | b1.Size = UDim2.new(0,4,0,1.6) |
| 473 | + | ------------------------------------------------------- |
| 474 | - | b1.StudsOffset = Vector3.new(0,0,0) |
| 474 | + | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) |
| 475 | - | b1.Name = "laff" |
| 475 | + | if hit.Parent == nil then |
| 476 | - | b1.AlwaysOnTop = true |
| 476 | + | return |
| 477 | - | b1.StudsOffset = Vector3.new(0,2,0) |
| 477 | + | end |
| 478 | - | b1.Adornee = Head |
| 478 | + | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
|
| 479 | - | removeuseless:AddItem(b1,3) |
| 479 | + | for _, v in pairs(hit.Parent:children()) do |
| 480 | - | local b2 = Instance.new("TextLabel",b1)
|
| 480 | + | if v:IsA("Humanoid") then
|
| 481 | - | b2.BackgroundTransparency = 1 |
| 481 | + | h = v |
| 482 | - | b2.Text = "cRaZY Mode" |
| 482 | + | end |
| 483 | - | b2.Font = "Garamond" |
| 483 | + | end |
| 484 | - | b2.TextSize = 30 |
| 484 | + | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
|
| 485 | - | b2.Name = "lafftext" |
| 485 | + | |
| 486 | - | b2.TextStrokeTransparency = 0 |
| 486 | + | hit.Parent:FindFirstChild("Head"):BreakJoints()
|
| 487 | - | b2.TextColor3 = BrickColor.new("Bright red").Color
|
| 487 | + | end |
| 488 | - | b2.TextStrokeColor3 = Color3.new(0,0,0) |
| 488 | + | |
| 489 | - | b2.Size = UDim2.new(1,0,.5,0) |
| 489 | + | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
|
| 490 | - | Head.face.Texture = ("rbxassetid://25555431")
|
| 490 | + | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
|
| 491 | - | mmask.Offset = Vector3.new(0, 0.18, 0) |
| 491 | + | if hit.Parent.DebounceHit.Value == true then |
| 492 | - | particlemiter2.Texture = "rbxassetid://0" |
| 492 | + | return |
| 493 | - | Nut.Size = Vector3.new(4, 4, 4) |
| 493 | + | end |
| 494 | - | wait (0.02) |
| 494 | + | end |
| 495 | - | Nut.Size = Vector3.new(3, 3, 3) |
| 495 | + | if insta == true then |
| 496 | - | wait (0.02) |
| 496 | + | hit.Parent:FindFirstChild("Head"):BreakJoints()
|
| 497 | - | Nut.Size = Vector3.new(2, 2, 2) |
| 497 | + | end |
| 498 | - | wait (0.02) |
| 498 | + | local c = Create("ObjectValue")
|
| 499 | - | Nut.Size = Vector3.new(1, 1, 1) |
| 499 | + | Name = "creator",{
|
| 500 | - | wait (0.02) |
| 500 | + | Value = game:service("Players").EssTL,
|
| 501 | - | Nut.Size = Vector3.new(0, 0, 0) |
| 501 | + | Parent = h, |
| 502 | - | Nut:Destroy() |
| 502 | + | } |
| 503 | - | Torso.Anchored = false |
| 503 | + | game:GetService("Debris"):AddItem(c, .5)
|
| 504 | if HitSound ~= nil and HitPitch ~= nil then | |
| 505 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 506 | end | |
| 507 | - | mouse.KeyDown:connect(function(Press) |
| 507 | + | local Damage = math.random(minim, maxim) |
| 508 | - | Press=Press:lower() |
| 508 | + | local blocked = false |
| 509 | - | if Press=='u' then |
| 509 | + | local block = hit.Parent:findFirstChild("Block")
|
| 510 | - | print("Switched to Outfit 2")
|
| 510 | + | if block ~= nil then |
| 511 | - | Nut = Instance.new("Part",Torso)
|
| 511 | + | if block.className == "IntValue" then |
| 512 | - | Nut.Size = Vector3.new(10, 10, 10) |
| 512 | + | if block.Value > 0 then |
| 513 | - | Nut.CanCollide = false |
| 513 | + | blocked = true |
| 514 | - | Nut.Transparency = 0.15 |
| 514 | + | block.Value = block.Value - 1 |
| 515 | - | Nut.CFrame = Torso.CFrame |
| 515 | + | print(block.Value) |
| 516 | - | Nut.Color = BrickColor.new("Bright red").Color
|
| 516 | + | end |
| 517 | - | Nut.Anchored = true |
| 517 | + | end |
| 518 | - | Nut.Material = "Neon" |
| 518 | + | end |
| 519 | - | Nut.Shape = "Ball" |
| 519 | + | if blocked == false then |
| 520 | - | Torso.Anchored = true |
| 520 | + | h.Health = h.Health - Damage |
| 521 | - | wait (0.02) |
| 521 | + | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) |
| 522 | - | Nut.Size = Vector3.new(9, 9, 9) |
| 522 | + | else |
| 523 | - | wait (0.02) |
| 523 | + | h.Health = h.Health - (Damage / 2) |
| 524 | - | Nut.Size = Vector3.new(8, 8, 8) |
| 524 | + | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) |
| 525 | - | wait (0.02) |
| 525 | + | end |
| 526 | - | Nut.Size = Vector3.new(7, 7, 7) |
| 526 | + | if Type == "Knockdown" then |
| 527 | - | wait (0.02) |
| 527 | + | local hum = hit.Parent.Humanoid |
| 528 | - | Nut.Size = Vector3.new(6, 6, 6) |
| 528 | + | hum.PlatformStand = true |
| 529 | - | wait (0.02) |
| 529 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
| 530 | - | Nut.Size = Vector3.new(5, 5, 5) |
| 530 | + | swait(1) |
| 531 | - | wait (0.02) |
| 531 | + | HHumanoid.PlatformStand = false |
| 532 | - | s:Play() |
| 532 | + | end), hum) |
| 533 | - | mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=398618628','http://www.roblox.com/asset/?id=750450195' |
| 533 | + | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit |
| 534 | - | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=2072804383" |
| 534 | + | local bodvol = Create("BodyVelocity"){
|
| 535 | - | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=745482076" |
| 535 | + | velocity = angle * knockback, |
| 536 | - | mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=0','http://www.roblox.com/asset/?id=17190901' |
| 536 | + | P = 5000, |
| 537 | - | mmask.Scale = Vector3.new(1.1, 1.1, 1.1) |
| 537 | + | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
| 538 | - | mfedora.Offset = Vector3.new(0, -1.34, 0.8) |
| 538 | + | Parent = hit, |
| 539 | - | doomtheme.SoundId = "rbxassetid://1564523997" |
| 539 | + | } |
| 540 | - | doomtheme:Play() |
| 540 | + | local rl = Create("BodyAngularVelocity"){
|
| 541 | - | doomtheme.Volume = 3 |
| 541 | + | P = 3000, |
| 542 | - | local b1 = Instance.new("BillboardGui",Head)
|
| 542 | + | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
| 543 | - | b1.Size = UDim2.new(0,4,0,1.6) |
| 543 | + | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
| 544 | - | b1.StudsOffset = Vector3.new(0,0,0) |
| 544 | + | Parent = hit, |
| 545 | - | b1.Name = "laff" |
| 545 | + | } |
| 546 | - | b1.AlwaysOnTop = true |
| 546 | + | game:GetService("Debris"):AddItem(bodvol, .5)
|
| 547 | - | b1.StudsOffset = Vector3.new(0,2,0) |
| 547 | + | game:GetService("Debris"):AddItem(rl, .5)
|
| 548 | - | b1.Adornee = Head |
| 548 | + | elseif Type == "Normal" then |
| 549 | - | removeuseless:AddItem(b1,3) |
| 549 | + | local vp = Create("BodyVelocity"){
|
| 550 | - | local b2 = Instance.new("TextLabel",b1)
|
| 550 | + | P = 500, |
| 551 | - | b2.BackgroundTransparency = 1 |
| 551 | + | maxForce = Vector3.new(math.huge, 0, math.huge), |
| 552 | - | b2.Text = "cRaZY Mode" |
| 552 | + | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, |
| 553 | - | b2.Font = "Garamond" |
| 553 | + | } |
| 554 | - | b2.TextSize = 30 |
| 554 | + | if knockback > 0 then |
| 555 | - | b2.Name = "lafftext" |
| 555 | + | vp.Parent = hit.Parent.Torso |
| 556 | - | b2.TextStrokeTransparency = 0 |
| 556 | + | end |
| 557 | - | b2.TextColor3 = BrickColor.new("Bright red").Color
|
| 557 | + | game:GetService("Debris"):AddItem(vp, .5)
|
| 558 | - | b2.TextStrokeColor3 = Color3.new(0,0,0) |
| 558 | + | elseif Type == "Up" then |
| 559 | - | b2.Size = UDim2.new(1,0,.5,0) |
| 559 | + | local bodyVelocity = Create("BodyVelocity"){
|
| 560 | - | Head.face.Texture = ("rbxassetid://25555431")
|
| 560 | + | velocity = Vector3.new(0, 20, 0), |
| 561 | - | mmask.Offset = Vector3.new(0, 0.18, 0) |
| 561 | + | P = 5000, |
| 562 | - | particlemiter2.Texture = "rbxassetid://0" |
| 562 | + | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
| 563 | - | Nut.Size = Vector3.new(4, 4, 4) |
| 563 | + | Parent = hit, |
| 564 | - | wait (0.02) |
| 564 | + | } |
| 565 | - | Nut.Size = Vector3.new(3, 3, 3) |
| 565 | + | game:GetService("Debris"):AddItem(bodyVelocity, .5)
|
| 566 | - | wait (0.02) |
| 566 | + | elseif Type == "DarkUp" then |
| 567 | - | Nut.Size = Vector3.new(2, 2, 2) |
| 567 | + | coroutine.resume(coroutine.create(function() |
| 568 | - | wait (0.02) |
| 568 | + | for i = 0, 1, 0.1 do |
| 569 | - | Nut.Size = Vector3.new(1, 1, 1) |
| 569 | + | swait() |
| 570 | - | wait (0.02) |
| 570 | + | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
|
| 571 | - | Nut.Size = Vector3.new(0, 0, 0) |
| 571 | + | end |
| 572 | - | Nut:Destroy() |
| 572 | + | end)) |
| 573 | - | Torso.Anchored = false |
| 573 | + | local bodyVelocity = Create("BodyVelocity"){
|
| 574 | velocity = Vector3.new(0, 20, 0), | |
| 575 | P = 5000, | |
| 576 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 577 | - | mouse.KeyDown:connect(function(Press) |
| 577 | + | Parent = hit, |
| 578 | - | Press=Press:lower() |
| 578 | + | } |
| 579 | - | if Press=='v' then |
| 579 | + | game:GetService("Debris"):AddItem(bodyVelocity, 1)
|
| 580 | - | print("Switched to Outfit Christmas")
|
| 580 | + | elseif Type == "Snare" then |
| 581 | - | Nut = Instance.new("Part",Torso)
|
| 581 | + | local bp = Create("BodyPosition"){
|
| 582 | - | Nut.Size = Vector3.new(10, 10, 10) |
| 582 | + | P = 2000, |
| 583 | - | Nut.CanCollide = false |
| 583 | + | D = 100, |
| 584 | - | Nut.Transparency = 0.15 |
| 584 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 585 | - | Nut.CFrame = Torso.CFrame |
| 585 | + | position = hit.Parent.Torso.Position, |
| 586 | - | Nut.Color = BrickColor.new("Bright red").Color
|
| 586 | + | Parent = hit.Parent.Torso, |
| 587 | - | Nut.Anchored = true |
| 587 | + | } |
| 588 | - | Nut.Material = "Neon" |
| 588 | + | game:GetService("Debris"):AddItem(bp, 1)
|
| 589 | - | Nut.Shape = "Ball" |
| 589 | + | elseif Type == "Freeze" then |
| 590 | - | Torso.Anchored = true |
| 590 | + | local BodPos = Create("BodyPosition"){
|
| 591 | - | wait (0.02) |
| 591 | + | P = 50000, |
| 592 | - | Nut.Size = Vector3.new(9, 9, 9) |
| 592 | + | D = 1000, |
| 593 | - | wait (0.02) |
| 593 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 594 | - | Nut.Size = Vector3.new(8, 8, 8) |
| 594 | + | position = hit.Parent.Torso.Position, |
| 595 | - | wait (0.02) |
| 595 | + | Parent = hit.Parent.Torso, |
| 596 | - | Nut.Size = Vector3.new(7, 7, 7) |
| 596 | + | } |
| 597 | - | wait (0.02) |
| 597 | + | local BodGy = Create("BodyGyro") {
|
| 598 | - | Nut.Size = Vector3.new(6, 6, 6) |
| 598 | + | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , |
| 599 | - | wait (0.02) |
| 599 | + | P = 20e+003, |
| 600 | - | Nut.Size = Vector3.new(5, 5, 5) |
| 600 | + | Parent = hit.Parent.Torso, |
| 601 | - | wait (0.02) |
| 601 | + | cframe = hit.Parent.Torso.CFrame, |
| 602 | - | s:Play() |
| 602 | + | } |
| 603 | - | mtommygun.TextureId = 'http://www.roblox.com/asset/?id=63982262' |
| 603 | + | hit.Parent.Torso.Anchored = true |
| 604 | - | mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=0','http://www.roblox.com/asset/?id=0' |
| 604 | + | coroutine.resume(coroutine.create(function(Part) |
| 605 | - | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1264823567" |
| 605 | + | swait(1.5) |
| 606 | - | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=2547520243" |
| 606 | + | Part.Anchored = false |
| 607 | - | mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=13070796','http://www.roblox.com/asset/?id=14765363' |
| 607 | + | end), hit.Parent.Torso) |
| 608 | - | mfedora.Offset = Vector3.new(0, -1.2, 0) |
| 608 | + | game:GetService("Debris"):AddItem(BodPos, 3)
|
| 609 | - | doomtheme.SoundId = "rbxassetid://2649314010" |
| 609 | + | game:GetService("Debris"):AddItem(BodGy, 3)
|
| 610 | - | doomtheme:Play() |
| 610 | + | end |
| 611 | - | doomtheme.Volume = 2.75 |
| 611 | + | local debounce = Create("BoolValue"){
|
| 612 | - | local b1 = Instance.new("BillboardGui",Head)
|
| 612 | + | Name = "DebounceHit", |
| 613 | - | b1.Size = UDim2.new(0,4,0,1.6) |
| 613 | + | Parent = hit.Parent, |
| 614 | - | b1.StudsOffset = Vector3.new(0,0,0) |
| 614 | + | Value = true, |
| 615 | - | b1.Name = "laff" |
| 615 | + | } |
| 616 | - | b1.AlwaysOnTop = true |
| 616 | + | game:GetService("Debris"):AddItem(debounce, Delay)
|
| 617 | - | b1.StudsOffset = Vector3.new(0,2,0) |
| 617 | + | c = Create("ObjectValue"){
|
| 618 | - | b1.Adornee = Head |
| 618 | + | Name = "creator", |
| 619 | - | removeuseless:AddItem(b1,3) |
| 619 | + | Value = Player, |
| 620 | - | local b2 = Instance.new("TextLabel",b1)
|
| 620 | + | Parent = h, |
| 621 | - | b2.BackgroundTransparency = 1 |
| 621 | + | } |
| 622 | - | b2.Text = "Christmas Mode" |
| 622 | + | game:GetService("Debris"):AddItem(c, .5)
|
| 623 | - | b2.Font = "Garamond" |
| 623 | + | end |
| 624 | - | b2.TextSize = 30 |
| 624 | + | |
| 625 | - | b2.Name = "lafftext" |
| 625 | + | ------------------------------------------------------- |
| 626 | - | b2.TextStrokeTransparency = 0 |
| 626 | + | --End Damage Function-- |
| 627 | - | b2.TextColor3 = BrickColor.new("Bright red").Color
|
| 627 | + | ------------------------------------------------------- |
| 628 | - | b2.TextStrokeColor3 = Color3.new(0,0,0) |
| 628 | + | |
| 629 | - | b2.Size = UDim2.new(1,0,.5,0) |
| 629 | + | ------------------------------------------------------- |
| 630 | - | Head.face.Texture = ("rbxassetid://25555431")
|
| 630 | + | --Start Damage Function Customization-- |
| 631 | - | mmask.Offset = Vector3.new(0, 0.18, 0) |
| 631 | + | ------------------------------------------------------- |
| 632 | - | mmask.Scale = Vector3.new(1.1, 1.1, 1.1) |
| 632 | + | function ShowDamage(Pos, Text, Time, Color) |
| 633 | - | particlemiter2.Texture = "rbxassetid://0" |
| 633 | + | local Rate = (1 / 30) |
| 634 | - | Nut.Size = Vector3.new(4, 4, 4) |
| 634 | + | local Pos = (Pos or Vector3.new(0, 0, 0)) |
| 635 | - | wait (0.02) |
| 635 | + | local Text = (Text or "") |
| 636 | - | Nut.Size = Vector3.new(3, 3, 3) |
| 636 | + | local Time = (Time or 2) |
| 637 | - | wait (0.02) |
| 637 | + | local Color = (Color or Color3.new(1, 0, 1)) |
| 638 | - | Nut.Size = Vector3.new(2, 2, 2) |
| 638 | + | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) |
| 639 | - | wait (0.02) |
| 639 | + | EffectPart.Anchored = true |
| 640 | - | Nut.Size = Vector3.new(1, 1, 1) |
| 640 | + | local BillboardGui = Create("BillboardGui"){
|
| 641 | - | wait (0.02) |
| 641 | + | Size = UDim2.new(3, 0, 3, 0), |
| 642 | - | Nut.Size = Vector3.new(0, 0, 0) |
| 642 | + | Adornee = EffectPart, |
| 643 | - | Nut:Destroy() |
| 643 | + | Parent = EffectPart, |
| 644 | - | Torso.Anchored = false |
| 644 | + | } |
| 645 | local TextLabel = Create("TextLabel"){
| |
| 646 | BackgroundTransparency = 1, | |
| 647 | Size = UDim2.new(1, 0, 1, 0), | |
| 648 | - | mouse.KeyDown:connect(function(Press) |
| 648 | + | Text = Text, |
| 649 | - | Press=Press:lower() |
| 649 | + | Font = "Bodoni", |
| 650 | - | if Press=='g' then |
| 650 | + | TextColor3 = Color, |
| 651 | - | print("Switched to Outfit 3")
|
| 651 | + | TextScaled = true, |
| 652 | - | Nut = Instance.new("Part",Torso)
|
| 652 | + | TextStrokeColor3 = Color3.fromRGB(0,0,0), |
| 653 | - | Nut.Size = Vector3.new(10, 10, 10) |
| 653 | + | Parent = BillboardGui, |
| 654 | - | Nut.CanCollide = false |
| 654 | + | } |
| 655 | - | Nut.Transparency = 0.15 |
| 655 | + | game.Debris:AddItem(EffectPart, (Time)) |
| 656 | - | Nut.CFrame = Torso.CFrame |
| 656 | + | EffectPart.Parent = game:GetService("Workspace")
|
| 657 | - | Nut.Color = BrickColor.new("Dark stone grey").Color
|
| 657 | + | delay(0, function() |
| 658 | - | Nut.Anchored = true |
| 658 | + | local Frames = (Time / Rate) |
| 659 | - | Nut.Material = "Neon" |
| 659 | + | for Frame = 1, Frames do |
| 660 | - | Nut.Shape = "Ball" |
| 660 | + | wait(Rate) |
| 661 | - | Torso.Anchored = true |
| 661 | + | local Percent = (Frame / Frames) |
| 662 | - | wait (0.02) |
| 662 | + | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
| 663 | - | Nut.Size = Vector3.new(9, 9, 9) |
| 663 | + | TextLabel.TextTransparency = Percent |
| 664 | - | wait (0.02) |
| 664 | + | end |
| 665 | - | Nut.Size = Vector3.new(8, 8, 8) |
| 665 | + | if EffectPart and EffectPart.Parent then |
| 666 | - | wait (0.02) |
| 666 | + | EffectPart:Destroy() |
| 667 | - | Nut.Size = Vector3.new(7, 7, 7) |
| 667 | + | end |
| 668 | - | wait (0.02) |
| 668 | + | end) |
| 669 | - | Nut.Size = Vector3.new(6, 6, 6) |
| 669 | + | |
| 670 | - | wait (0.02) |
| 670 | + | ------------------------------------------------------- |
| 671 | - | Nut.Size = Vector3.new(5, 5, 5) |
| 671 | + | --End Damage Function Customization-- |
| 672 | - | wait (0.02) |
| 672 | + | ------------------------------------------------------- |
| 673 | - | s:Play() |
| 673 | + | |
| 674 | - | mfedora.Offset = Vector3.new(0, -1.2, 0) |
| 674 | + | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) |
| 675 | - | mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=227430350','http://www.roblox.com/asset/?id=709231552' |
| 675 | + | for _, c in pairs(workspace:children()) do |
| 676 | - | mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=13070796','http://www.roblox.com/asset/?id=14765363' |
| 676 | + | local hum = c:findFirstChild("Humanoid")
|
| 677 | - | Head.face.Texture = ("rbxassetid://2409285794")
|
| 677 | + | if hum ~= nil then |
| 678 | - | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1082891340" |
| 678 | + | local head = c:findFirstChild("Head")
|
| 679 | - | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=842226360" |
| 679 | + | if head ~= nil then |
| 680 | - | mmask.Offset = Vector3.new(0, 1, 0) |
| 680 | + | local targ = head.Position - Part.Position |
| 681 | - | mmask.Scale = Vector3.new(2.25, 2.25, 2.25) |
| 681 | + | local mag = targ.magnitude |
| 682 | - | doomtheme.SoundId = "rbxassetid://2053633920" |
| 682 | + | if magni >= mag and c.Name ~= plr.Name then |
| 683 | - | doomtheme:Play() |
| 683 | + | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) |
| 684 | - | doomtheme.Volume = 3.75 |
| 684 | + | |
| 685 | - | local b1 = Instance.new("BillboardGui",Head)
|
| 685 | + | end |
| 686 | - | b1.Size = UDim2.new(0,4,0,1.6) |
| 686 | + | |
| 687 | - | b1.StudsOffset = Vector3.new(0,0,0) |
| 687 | + | end |
| 688 | - | b1.Name = "laff" |
| 688 | + | |
| 689 | - | b1.AlwaysOnTop = true |
| 689 | + | |
| 690 | - | b1.StudsOffset = Vector3.new(0,2,0) |
| 690 | + | |
| 691 | - | b1.Adornee = Head |
| 691 | + | CFuncs = {
|
| 692 | - | removeuseless:AddItem(b1,3) |
| 692 | + | Part = {
|
| 693 | - | local b2 = Instance.new("TextLabel",b1)
|
| 693 | + | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 694 | - | b2.BackgroundTransparency = 1 |
| 694 | + | local Part = Create("Part")({
|
| 695 | - | b2.Text = "Relax Mode" |
| 695 | + | Parent = Parent, |
| 696 | - | b2.Font = "Garamond" |
| 696 | + | Reflectance = Reflectance, |
| 697 | - | b2.TextSize = 30 |
| 697 | + | Transparency = Transparency, |
| 698 | - | b2.Name = "lafftext" |
| 698 | + | CanCollide = false, |
| 699 | - | b2.TextStrokeTransparency = 0 |
| 699 | + | Locked = true, |
| 700 | - | b2.TextColor3 = BrickColor.new("Quill grey").Color
|
| 700 | + | BrickColor = BrickColor.new(tostring(BColor)), |
| 701 | - | b2.TextStrokeColor3 = Color3.new(0,0,0) |
| 701 | + | Name = Name, |
| 702 | - | b2.Size = UDim2.new(1,0,.5,0) |
| 702 | + | Size = Size, |
| 703 | - | particlemiter2.Texture = "rbxassetid://0" |
| 703 | + | Material = Material |
| 704 | - | Nut.Size = Vector3.new(4, 4, 4) |
| 704 | + | }) |
| 705 | - | wait (0.02) |
| 705 | + | RemoveOutlines(Part) |
| 706 | - | Nut.Size = Vector3.new(3, 3, 3) |
| 706 | + | return Part |
| 707 | - | wait (0.02) |
| 707 | + | end |
| 708 | - | Nut.Size = Vector3.new(2, 2, 2) |
| 708 | + | }, |
| 709 | - | wait (0.02) |
| 709 | + | Mesh = {
|
| 710 | - | Nut.Size = Vector3.new(1, 1, 1) |
| 710 | + | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 711 | - | wait (0.02) |
| 711 | + | local Msh = Create(Mesh)({
|
| 712 | - | Nut.Size = Vector3.new(0, 0, 0) |
| 712 | + | Parent = Part, |
| 713 | - | Nut:Destroy() |
| 713 | + | Offset = OffSet, |
| 714 | - | Torso.Anchored = false |
| 714 | + | Scale = Scale |
| 715 | }) | |
| 716 | if Mesh == "SpecialMesh" then | |
| 717 | Msh.MeshType = MeshType | |
| 718 | - | mouse.KeyDown:connect(function(Press) |
| 718 | + | Msh.MeshId = MeshId |
| 719 | - | Press=Press:lower() |
| 719 | + | end |
| 720 | - | if Press=='m' then |
| 720 | + | return Msh |
| 721 | - | print("Switched to Outfit 4")
|
| 721 | + | end |
| 722 | - | Nut = Instance.new("Part",Torso)
|
| 722 | + | }, |
| 723 | - | Nut.Size = Vector3.new(10, 10, 10) |
| 723 | + | Mesh = {
|
| 724 | - | Nut.CanCollide = false |
| 724 | + | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 725 | - | Nut.Transparency = 0.15 |
| 725 | + | local Msh = Create(Mesh)({
|
| 726 | - | Nut.CFrame = Torso.CFrame |
| 726 | + | Parent = Part, |
| 727 | - | Nut.Color = BrickColor.new("Bright red").Color
|
| 727 | + | Offset = OffSet, |
| 728 | - | Nut.Anchored = true |
| 728 | + | Scale = Scale |
| 729 | - | Nut.Material = "Neon" |
| 729 | + | }) |
| 730 | - | Nut.Shape = "Ball" |
| 730 | + | if Mesh == "SpecialMesh" then |
| 731 | - | Torso.Anchored = true |
| 731 | + | Msh.MeshType = MeshType |
| 732 | - | wait (0.02) |
| 732 | + | Msh.MeshId = MeshId |
| 733 | - | Nut.Size = Vector3.new(9, 9, 9) |
| 733 | + | end |
| 734 | - | wait (0.02) |
| 734 | + | return Msh |
| 735 | - | Nut.Size = Vector3.new(8, 8, 8) |
| 735 | + | end |
| 736 | - | wait (0.02) |
| 736 | + | }, |
| 737 | - | Nut.Size = Vector3.new(7, 7, 7) |
| 737 | + | Weld = {
|
| 738 | - | wait (0.02) |
| 738 | + | Create = function(Parent, Part0, Part1, C0, C1) |
| 739 | - | Nut.Size = Vector3.new(6, 6, 6) |
| 739 | + | local Weld = Create("Weld")({
|
| 740 | - | wait (0.02) |
| 740 | + | Parent = Parent, |
| 741 | - | Nut.Size = Vector3.new(5, 5, 5) |
| 741 | + | Part0 = Part0, |
| 742 | - | wait (0.02) |
| 742 | + | Part1 = Part1, |
| 743 | - | s:Play() |
| 743 | + | C0 = C0, |
| 744 | - | mfedora.Offset = Vector3.new(0, -1.2, 0) |
| 744 | + | C1 = C1 |
| 745 | - | mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=15934744','http://www.roblox.com/asset/?id=15934762' |
| 745 | + | }) |
| 746 | - | mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=13070796','http://www.roblox.com/asset/?id=14765363' |
| 746 | + | return Weld |
| 747 | - | Head.face.Texture = ("rbxassetid://2409285794")
|
| 747 | + | end |
| 748 | - | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=2188770415" |
| 748 | + | }, |
| 749 | - | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=874402204" |
| 749 | + | Sound = {
|
| 750 | - | mmask.Offset = Vector3.new(0, 0.8, 0) |
| 750 | + | Create = function(id, par, vol, pit) |
| 751 | - | mmask.Scale = Vector3.new(1.02, 1.02, 1.02) |
| 751 | + | coroutine.resume(coroutine.create(function() |
| 752 | - | doomtheme.SoundId = "rbxassetid://1709211968" |
| 752 | + | local S = Create("Sound")({
|
| 753 | - | doomtheme:Play() |
| 753 | + | Volume = vol, |
| 754 | - | doomtheme.Volume = 3.75 |
| 754 | + | Pitch = pit or 1, |
| 755 | - | local b1 = Instance.new("BillboardGui",Head)
|
| 755 | + | SoundId = id, |
| 756 | - | b1.Size = UDim2.new(0,4,0,1.6) |
| 756 | + | Parent = par or workspace |
| 757 | - | b1.StudsOffset = Vector3.new(0,0,0) |
| 757 | + | }) |
| 758 | - | b1.Name = "laff" |
| 758 | + | wait() |
| 759 | - | b1.AlwaysOnTop = true |
| 759 | + | S:play() |
| 760 | - | b1.StudsOffset = Vector3.new(0,2,0) |
| 760 | + | game:GetService("Debris"):AddItem(S, 6)
|
| 761 | - | b1.Adornee = Head |
| 761 | + | end)) |
| 762 | - | removeuseless:AddItem(b1,3) |
| 762 | + | end |
| 763 | - | local b2 = Instance.new("TextLabel",b1)
|
| 763 | + | }, |
| 764 | - | b2.BackgroundTransparency = 1 |
| 764 | + | ParticleEmitter = {
|
| 765 | - | b2.Text = "No One Is Around To Help." |
| 765 | + | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) |
| 766 | - | b2.Font = "Garamond" |
| 766 | + | local fp = Create("ParticleEmitter")({
|
| 767 | - | b2.TextSize = 30 |
| 767 | + | Parent = Parent, |
| 768 | - | b2.Name = "lafftext" |
| 768 | + | Color = ColorSequence.new(Color1, Color2), |
| 769 | - | b2.TextStrokeTransparency = 0 |
| 769 | + | LightEmission = LightEmission, |
| 770 | - | b2.TextColor3 = BrickColor.new("Bright red").Color
|
| 770 | + | Size = Size, |
| 771 | - | b2.TextStrokeColor3 = Color3.new(0,0,0) |
| 771 | + | Texture = Texture, |
| 772 | - | b2.Size = UDim2.new(1,0,.5,0) |
| 772 | + | Transparency = Transparency, |
| 773 | - | particlemiter2.Texture = "rbxassetid://0" |
| 773 | + | ZOffset = ZOffset, |
| 774 | - | Nut.Size = Vector3.new(4, 4, 4) |
| 774 | + | Acceleration = Accel, |
| 775 | - | wait (0.02) |
| 775 | + | Drag = Drag, |
| 776 | - | Nut.Size = Vector3.new(3, 3, 3) |
| 776 | + | LockedToPart = LockedToPart, |
| 777 | - | wait (0.02) |
| 777 | + | VelocityInheritance = VelocityInheritance, |
| 778 | - | Nut.Size = Vector3.new(2, 2, 2) |
| 778 | + | EmissionDirection = EmissionDirection, |
| 779 | - | wait (0.02) |
| 779 | + | Enabled = Enabled, |
| 780 | - | Nut.Size = Vector3.new(1, 1, 1) |
| 780 | + | Lifetime = LifeTime, |
| 781 | - | wait (0.02) |
| 781 | + | Rate = Rate, |
| 782 | - | Nut.Size = Vector3.new(0, 0, 0) |
| 782 | + | Rotation = Rotation, |
| 783 | - | Nut:Destroy() |
| 783 | + | RotSpeed = RotSpeed, |
| 784 | - | Torso.Anchored = false |
| 784 | + | Speed = Speed, |
| 785 | VelocitySpread = VelocitySpread | |
| 786 | }) | |
| 787 | return fp | |
| 788 | - | mouse.KeyDown:connect(function(Press) |
| 788 | + | end |
| 789 | - | Press=Press:lower() |
| 789 | + | } |
| 790 | - | if Press=='p' then |
| 790 | + | } |
| 791 | - | print("Switched to Outfit 5")
|
| 791 | + | function RemoveOutlines(part) |
| 792 | - | Nut = Instance.new("Part",Torso)
|
| 792 | + | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
| 793 | - | Nut.Size = Vector3.new(10, 10, 10) |
| 793 | + | |
| 794 | - | Nut.CanCollide = false |
| 794 | + | function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 795 | - | Nut.Transparency = 0.15 |
| 795 | + | local Part = Create("Part")({
|
| 796 | - | Nut.CFrame = Torso.CFrame |
| 796 | + | formFactor = FormFactor, |
| 797 | - | Nut.Anchored = true |
| 797 | + | Parent = Parent, |
| 798 | - | Nut.Material = "Neon" |
| 798 | + | Reflectance = Reflectance, |
| 799 | - | Nut.Shape = "Ball" |
| 799 | + | Transparency = Transparency, |
| 800 | - | Torso.Anchored = true |
| 800 | + | CanCollide = false, |
| 801 | - | Nut.Color = BrickColor.new("Pearl").Color
|
| 801 | + | Locked = true, |
| 802 | - | wait (0.02) |
| 802 | + | BrickColor = BrickColor.new(tostring(BColor)), |
| 803 | - | Nut.Size = Vector3.new(9, 9, 9) |
| 803 | + | Name = Name, |
| 804 | - | wait (0.02) |
| 804 | + | Size = Size, |
| 805 | - | Nut.Size = Vector3.new(8, 8, 8) |
| 805 | + | Material = Material |
| 806 | - | wait (0.02) |
| 806 | + | }) |
| 807 | - | Nut.Size = Vector3.new(7, 7, 7) |
| 807 | + | RemoveOutlines(Part) |
| 808 | - | wait (0.02) |
| 808 | + | return Part |
| 809 | - | Nut.Size = Vector3.new(6, 6, 6) |
| 809 | + | |
| 810 | - | wait (0.02) |
| 810 | + | function CreateMesh1(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 811 | - | Nut.Size = Vector3.new(5, 5, 5) |
| 811 | + | local Msh = Create(Mesh)({
|
| 812 | - | wait (0.02) |
| 812 | + | Parent = Part, |
| 813 | - | s:Play() |
| 813 | + | Offset = OffSet, |
| 814 | - | mfedora.Offset = Vector3.new(0, -1.2, 0) |
| 814 | + | Scale = Scale |
| 815 | - | mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=1051545','http://www.roblox.com/asset/?id=1051546' |
| 815 | + | }) |
| 816 | - | mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=13070796','http://www.roblox.com/asset/?id=14765363' |
| 816 | + | if Mesh == "SpecialMesh" then |
| 817 | - | Head.face.Texture = ("rbxassetid://1117396305")
|
| 817 | + | Msh.MeshType = MeshType |
| 818 | - | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1123249914" |
| 818 | + | Msh.MeshId = MeshId |
| 819 | - | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1839310233" |
| 819 | + | end |
| 820 | - | mmask.Offset = Vector3.new(0, 0.2, 0) |
| 820 | + | return Msh |
| 821 | - | mmask.Scale = Vector3.new(1, 1, 1) |
| 821 | + | |
| 822 | - | doomtheme.SoundId = "rbxassetid://1117396305" |
| 822 | + | function CreateWeld(Parent, Part0, Part1, C0, C1) |
| 823 | - | doomtheme:Play() |
| 823 | + | local Weld = Create("Weld")({
|
| 824 | - | doomtheme.Volume = 3.75 |
| 824 | + | Parent = Parent, |
| 825 | - | local b1 = Instance.new("BillboardGui",Head)
|
| 825 | + | Part0 = Part0, |
| 826 | - | b1.Size = UDim2.new(0,4,0,1.6) |
| 826 | + | Part1 = Part1, |
| 827 | - | b1.StudsOffset = Vector3.new(0,0,0) |
| 827 | + | C0 = C0, |
| 828 | - | b1.Name = "laff" |
| 828 | + | C1 = C1 |
| 829 | - | b1.AlwaysOnTop = true |
| 829 | + | }) |
| 830 | - | b1.StudsOffset = Vector3.new(0,2,0) |
| 830 | + | return Weld |
| 831 | - | b1.Adornee = Head |
| 831 | + | |
| 832 | - | removeuseless:AddItem(b1,3) |
| 832 | + | |
| 833 | - | local b2 = Instance.new("TextLabel",b1)
|
| 833 | + | |
| 834 | - | b2.BackgroundTransparency = 1 |
| 834 | + | ------------------------------------------------------- |
| 835 | - | b2.Text = "Musical Mode" |
| 835 | + | --Start Effect Function-- |
| 836 | - | b2.Font = "Garamond" |
| 836 | + | ------------------------------------------------------- |
| 837 | - | b2.TextSize = 30 |
| 837 | + | EffectModel = Instance.new("Model", char)
|
| 838 | - | b2.Name = "lafftext" |
| 838 | + | Effects = {
|
| 839 | - | b2.TextStrokeTransparency = 0 |
| 839 | + | Block = {
|
| 840 | - | b2.TextColor3 = BrickColor.new("Bright red").Color
|
| 840 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) |
| 841 | - | b2.TextStrokeColor3 = Color3.new(0,0,0) |
| 841 | + | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 842 | - | b2.Size = UDim2.new(1,0,.5,0) |
| 842 | + | prt.Anchored = true |
| 843 | - | particlemiter2.Texture = "rbxassetid://243331916" |
| 843 | + | prt.CFrame = cframe |
| 844 | - | mtommygun.Scale = Vector3.new(0.3, 0.3, 0.3) |
| 844 | + | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 845 | - | mtommygun.Offset = Vector3.new(0, -0.55, -0.85) |
| 845 | + | game:GetService("Debris"):AddItem(prt, 10)
|
| 846 | - | mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=540384540','http://www.roblox.com/asset/?id=540384666' |
| 846 | + | if Type == 1 or Type == nil then |
| 847 | - | Nut.Size = Vector3.new(4, 4, 4) |
| 847 | + | table.insert(Effects, {
|
| 848 | - | wait (0.02) |
| 848 | + | prt, |
| 849 | - | Nut.Size = Vector3.new(3, 3, 3) |
| 849 | + | "Block1", |
| 850 | - | wait (0.02) |
| 850 | + | delay, |
| 851 | - | Nut.Size = Vector3.new(2, 2, 2) |
| 851 | + | x3, |
| 852 | - | wait (0.02) |
| 852 | + | y3, |
| 853 | - | Nut.Size = Vector3.new(1, 1, 1) |
| 853 | + | z3, |
| 854 | - | wait (0.02) |
| 854 | + | msh |
| 855 | - | Nut.Size = Vector3.new(0, 0, 0) |
| 855 | + | |
| 856 | - | Nut:Destroy() |
| 856 | + | elseif Type == 2 then |
| 857 | - | Torso.Anchored = false |
| 857 | + | table.insert(Effects, {
|
| 858 | prt, | |
| 859 | "Block2", | |
| 860 | delay, | |
| 861 | - | mouse.KeyDown:connect(function(Press) |
| 861 | + | x3, |
| 862 | - | Press=Press:lower() |
| 862 | + | y3, |
| 863 | - | if Press=='z' then |
| 863 | + | z3, |
| 864 | - | print("Switched to Outfit 5")
|
| 864 | + | msh |
| 865 | - | Nut = Instance.new("Part",Torso)
|
| 865 | + | |
| 866 | - | Nut.Size = Vector3.new(10, 10, 10) |
| 866 | + | else |
| 867 | - | Nut.CanCollide = false |
| 867 | + | table.insert(Effects, {
|
| 868 | - | Nut.Transparency = 0.15 |
| 868 | + | prt, |
| 869 | - | Nut.CFrame = Torso.CFrame |
| 869 | + | "Block3", |
| 870 | - | Nut.Color = BrickColor.new("Really black").Color
|
| 870 | + | delay, |
| 871 | - | Nut.Anchored = true |
| 871 | + | x3, |
| 872 | - | Nut.Material = "Neon" |
| 872 | + | y3, |
| 873 | - | Nut.Shape = "Ball" |
| 873 | + | z3, |
| 874 | - | Torso.Anchored = true |
| 874 | + | msh |
| 875 | - | wait (0.02) |
| 875 | + | |
| 876 | - | Nut.Size = Vector3.new(9, 9, 9) |
| 876 | + | end |
| 877 | - | wait (0.02) |
| 877 | + | |
| 878 | - | Nut.Size = Vector3.new(8, 8, 8) |
| 878 | + | }, |
| 879 | - | wait (0.02) |
| 879 | + | Sphere = {
|
| 880 | - | Nut.Size = Vector3.new(7, 7, 7) |
| 880 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 881 | - | wait (0.02) |
| 881 | + | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 882 | - | Nut.Size = Vector3.new(6, 6, 6) |
| 882 | + | prt.Anchored = true |
| 883 | - | wait (0.02) |
| 883 | + | prt.CFrame = cframe |
| 884 | - | Nut.Size = Vector3.new(5, 5, 5) |
| 884 | + | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 885 | - | wait (0.02) |
| 885 | + | game:GetService("Debris"):AddItem(prt, 10)
|
| 886 | - | s:Play() |
| 886 | + | table.insert(Effects, {
|
| 887 | - | mfedora.Offset = Vector3.new(0, -1.2, 0) |
| 887 | + | prt, |
| 888 | - | mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=123973091','http://www.roblox.com/asset/?id=47667877' |
| 888 | + | "Cylinder", |
| 889 | - | mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=13070796','http://www.roblox.com/asset/?id=14765363' |
| 889 | + | delay, |
| 890 | - | mask.Color = BrickColor.new("Really black").Color
|
| 890 | + | x3, |
| 891 | - | Head.face.Texture = ("rbxassetid://1117396305")
|
| 891 | + | y3, |
| 892 | - | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=2188770415" |
| 892 | + | z3, |
| 893 | - | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=874402204" |
| 893 | + | msh |
| 894 | - | mmask.Offset = Vector3.new(0, 0.9, 0) |
| 894 | + | }) |
| 895 | - | mmask.Scale = Vector3.new(1.15, 1.15, 1.15) |
| 895 | + | |
| 896 | - | doomtheme.SoundId = "rbxassetid://238243920" |
| 896 | + | }, |
| 897 | - | doomtheme:Play() |
| 897 | + | Cylinder = {
|
| 898 | - | doomtheme.Volume = 3.75 |
| 898 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 899 | - | local b1 = Instance.new("BillboardGui",Head)
|
| 899 | + | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 900 | - | b1.Size = UDim2.new(0,4,0,1.6) |
| 900 | + | prt.Anchored = true |
| 901 | - | b1.StudsOffset = Vector3.new(0,0,0) |
| 901 | + | prt.CFrame = cframe |
| 902 | - | b1.Name = "laff" |
| 902 | + | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 903 | - | b1.AlwaysOnTop = true |
| 903 | + | game:GetService("Debris"):AddItem(prt, 10)
|
| 904 | - | b1.StudsOffset = Vector3.new(0,2,0) |
| 904 | + | table.insert(Effects, {
|
| 905 | - | b1.Adornee = Head |
| 905 | + | prt, |
| 906 | - | removeuseless:AddItem(b1,3) |
| 906 | + | "Cylinder", |
| 907 | - | local b2 = Instance.new("TextLabel",b1)
|
| 907 | + | delay, |
| 908 | - | b2.BackgroundTransparency = 1 |
| 908 | + | x3, |
| 909 | - | b2.Text = "DARKNESS" |
| 909 | + | y3, |
| 910 | - | b2.Font = "Garamond" |
| 910 | + | z3, |
| 911 | - | b2.TextSize = 30 |
| 911 | + | msh |
| 912 | - | b2.Name = "lafftext" |
| 912 | + | }) |
| 913 | - | b2.TextStrokeTransparency = 0 |
| 913 | + | |
| 914 | - | b2.TextColor3 = BrickColor.new("Bright red").Color
|
| 914 | + | }, |
| 915 | - | b2.TextStrokeColor3 = Color3.new(0,0,0) |
| 915 | + | Wave = {
|
| 916 | - | b2.Size = UDim2.new(1,0,.5,0) |
| 916 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 917 | - | particlemiter2.Texture = "rbxassetid://0" |
| 917 | + | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 918 | - | Nut.Size = Vector3.new(4, 4, 4) |
| 918 | + | prt.Anchored = true |
| 919 | - | wait (0.02) |
| 919 | + | prt.CFrame = cframe |
| 920 | - | Nut.Size = Vector3.new(3, 3, 3) |
| 920 | + | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
|
| 921 | - | wait (0.02) |
| 921 | + | game:GetService("Debris"):AddItem(prt, 10)
|
| 922 | - | Nut.Size = Vector3.new(2, 2, 2) |
| 922 | + | table.insert(Effects, {
|
| 923 | - | wait (0.02) |
| 923 | + | prt, |
| 924 | - | Nut.Size = Vector3.new(1, 1, 1) |
| 924 | + | "Cylinder", |
| 925 | - | wait (0.02) |
| 925 | + | delay, |
| 926 | - | Nut.Size = Vector3.new(0, 0, 0) |
| 926 | + | x3 / 60, |
| 927 | - | Nut:Destroy() |
| 927 | + | y3 / 60, |
| 928 | - | Torso.Anchored = false |
| 928 | + | z3 / 60, |
| 929 | msh | |
| 930 | }) | |
| 931 | end | |
| 932 | - | coroutine.wrap(function() |
| 932 | + | }, |
| 933 | - | while wait() do |
| 933 | + | Ring = {
|
| 934 | - | hum.WalkSpeed = ws |
| 934 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 935 | - | LeftArm.BrickColor = BrickColor.new("Light orange")
|
| 935 | + | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 936 | - | RightArm.BrickColor = BrickColor.new("Light orange")
|
| 936 | + | prt.Anchored = true |
| 937 | - | Head.BrickColor = BrickColor.new("Light orange")
|
| 937 | + | prt.CFrame = cframe |
| 938 | - | RightLeg.BrickColor = BrickColor.new("Light orange")
|
| 938 | + | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 939 | - | LeftLeg.BrickColor = BrickColor.new("Light orange")
|
| 939 | + | game:GetService("Debris"):AddItem(prt, 10)
|
| 940 | - | Torso.BrickColor = BrickColor.new("Light orange")
|
| 940 | + | table.insert(Effects, {
|
| 941 | - | Head.face.Texture = ("rbxassetid://25555431")
|
| 941 | + | prt, |
| 942 | "Cylinder", | |
| 943 | - | end)() |
| 943 | + | delay, |
| 944 | - | godmode = coroutine.wrap(function() |
| 944 | + | x3, |
| 945 | - | for i,v in pairs(Character:GetChildren()) do |
| 945 | + | y3, |
| 946 | - | if v:IsA("BasePart") and v ~= Root then
|
| 946 | + | z3, |
| 947 | - | v.Anchored = false |
| 947 | + | msh |
| 948 | }) | |
| 949 | end | |
| 950 | }, | |
| 951 | - | hum.MaxHealth = math.huge |
| 951 | + | Break = {
|
| 952 | - | wait(0.00000001) |
| 952 | + | Create = function(brickcolor, cframe, x1, y1, z1) |
| 953 | - | hum.MaxHealth = math.huge |
| 953 | + | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) |
| 954 | prt.Anchored = true | |
| 955 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 956 | - | godmode() |
| 956 | + | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 957 | local num = math.random(10, 50) / 1000 | |
| 958 | - | coroutine.wrap(function() |
| 958 | + | game:GetService("Debris"):AddItem(prt, 10)
|
| 959 | - | for i,v in pairs(Character:GetChildren()) do |
| 959 | + | table.insert(Effects, {
|
| 960 | - | if v.Name == "Animate" then v:Remove() |
| 960 | + | prt, |
| 961 | "Shatter", | |
| 962 | num, | |
| 963 | - | end)() |
| 963 | + | prt.CFrame, |
| 964 | math.random() - math.random(), | |
| 965 | - | function damagealll(Radius,Position) |
| 965 | + | 0, |
| 966 | - | local Returning = {}
|
| 966 | + | math.random(50, 100) / 100 |
| 967 | - | for _,v in pairs(workspace:GetChildren()) do |
| 967 | + | }) |
| 968 | - | if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
|
| 968 | + | |
| 969 | - | if v:FindFirstChild("Torso") then
|
| 969 | + | }, |
| 970 | - | local Mag = (v.Torso.Position - Position).magnitude |
| 970 | + | Spiral = {
|
| 971 | - | if Mag < Radius then |
| 971 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 972 | - | table.insert(Returning,v) |
| 972 | + | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 973 | - | end |
| 973 | + | prt.Anchored = true |
| 974 | - | elseif v:FindFirstChild("UpperTorso") then
|
| 974 | + | prt.CFrame = cframe |
| 975 | - | local Mag = (v.UpperTorso.Position - Position).magnitude |
| 975 | + | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 976 | - | if Mag < Radius then |
| 976 | + | game:GetService("Debris"):AddItem(prt, 10)
|
| 977 | - | table.insert(Returning,v) |
| 977 | + | table.insert(Effects, {
|
| 978 | - | end |
| 978 | + | prt, |
| 979 | "Cylinder", | |
| 980 | - | end |
| 980 | + | delay, |
| 981 | - | end |
| 981 | + | x3, |
| 982 | - | return Returning |
| 982 | + | y3, |
| 983 | z3, | |
| 984 | msh | |
| 985 | }) | |
| 986 | end | |
| 987 | }, | |
| 988 | Push = {
| |
| 989 | - | frame = 1 / 120 |
| 989 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 990 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 991 | prt.Anchored = true | |
| 992 | prt.CFrame = cframe | |
| 993 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 994 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 995 | table.insert(Effects, {
| |
| 996 | prt, | |
| 997 | "Cylinder", | |
| 998 | delay, | |
| 999 | x3, | |
| 1000 | - | tf = tf + s |
| 1000 | + | y3, |
| 1001 | - | if tf >= frame then |
| 1001 | + | z3, |
| 1002 | - | if allowframeloss then |
| 1002 | + | msh |
| 1003 | - | script.Heartbeat:Fire() |
| 1003 | + | }) |
| 1004 | - | lastframe = tick() |
| 1004 | + | |
| 1005 | - | else |
| 1005 | + | } |
| 1006 | - | for i = 1, math.floor(tf / frame) do |
| 1006 | + | } |
| 1007 | - | script.Heartbeat:Fire() |
| 1007 | + | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) |
| 1008 | - | end |
| 1008 | + | local fp = IT("Part")
|
| 1009 | - | lastframe = tick() |
| 1009 | + | fp.formFactor = formfactor |
| 1010 | fp.Parent = parent | |
| 1011 | - | if tossremainder then |
| 1011 | + | fp.Reflectance = reflectance |
| 1012 | - | tf = 0 |
| 1012 | + | fp.Transparency = transparency |
| 1013 | - | else |
| 1013 | + | fp.CanCollide = false |
| 1014 | - | tf = tf - frame * math.floor(tf / frame) |
| 1014 | + | fp.Locked = true |
| 1015 | fp.BrickColor = brickcolor | |
| 1016 | fp.Name = name | |
| 1017 | fp.Size = size | |
| 1018 | fp.Position = tors.Position | |
| 1019 | RemoveOutlines(fp) | |
| 1020 | - | if num == 0 or num == nil then |
| 1020 | + | fp.Material = "SmoothPlastic" |
| 1021 | - | game:service("RunService").Stepped:wait(0)
|
| 1021 | + | fp:BreakJoints() |
| 1022 | - | else |
| 1022 | + | return fp |
| 1023 | - | for i = 0, num do |
| 1023 | + | end |
| 1024 | - | game:service("RunService").Stepped:wait(0)
|
| 1024 | + | |
| 1025 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 1026 | local mesh = IT(Mesh) | |
| 1027 | mesh.Parent = part | |
| 1028 | if Mesh == "SpecialMesh" then | |
| 1029 | - | doomtheme = Instance.new("Sound", Torso)
|
| 1029 | + | mesh.MeshType = meshtype |
| 1030 | - | doomtheme.Volume = 3 |
| 1030 | + | if meshid ~= "nil" then |
| 1031 | - | doomtheme.Name = "doomtheme" |
| 1031 | + | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid |
| 1032 | - | doomtheme.Looped = true |
| 1032 | + | end |
| 1033 | - | doomtheme.SoundId = "rbxassetid://257453119" |
| 1033 | + | end |
| 1034 | - | doomtheme:Play() |
| 1034 | + | mesh.Offset = offset |
| 1035 | mesh.Scale = scale | |
| 1036 | - | Torso.ChildRemoved:connect(function(removed) |
| 1036 | + | return mesh |
| 1037 | - | if removed.Name == "doomtheme" then |
| 1037 | + | |
| 1038 | ||
| 1039 | - | doomtheme = Instance.new("Sound", Torso)
|
| 1039 | + | function MagicCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) |
| 1040 | - | doomtheme.Volume = 3 |
| 1040 | + | local type = type |
| 1041 | - | doomtheme.Name = "doomtheme" |
| 1041 | + | local rng = Instance.new("Part", char)
|
| 1042 | - | doomtheme.Looped = true |
| 1042 | + | rng.Anchored = true |
| 1043 | - | doomtheme.SoundId = "rbxassetid://257453119" |
| 1043 | + | rng.BrickColor = color |
| 1044 | - | doomtheme:Play() |
| 1044 | + | rng.CanCollide = false |
| 1045 | rng.FormFactor = 3 | |
| 1046 | rng.Name = "Ring" | |
| 1047 | rng.Material = "Neon" | |
| 1048 | - | for _,n in pairs(Character:GetChildren()) do |
| 1048 | + | rng.Size = Vector3.new(1, 1, 1) |
| 1049 | - | if n:IsA("Accessory") then n:Remove() end
|
| 1049 | + | rng.Transparency = 1 |
| 1050 | rng.TopSurface = 0 | |
| 1051 | - | for _,x in pairs(Character:GetChildren()) do |
| 1051 | + | rng.BottomSurface = 0 |
| 1052 | - | if x:IsA("Decal") then x:Remove() end
|
| 1052 | + | rng.CFrame = pos |
| 1053 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 1054 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1055 | - | function SOUND(PARENT,ID,VOL,LOOP,REMOVE) |
| 1055 | + | rngm.MeshType = MType |
| 1056 | - | so = Instance.new("Sound")
|
| 1056 | + | rngm.Scale = Vector3.new(x1, y1, z1) |
| 1057 | - | so.Parent = PARENT |
| 1057 | + | local scaler2 = 1 |
| 1058 | - | so.SoundId = "rbxassetid://"..ID |
| 1058 | + | local speeder = FastSpeed |
| 1059 | - | so.Volume = VOL |
| 1059 | + | if type == "Add" then |
| 1060 | - | so.Looped = LOOP |
| 1060 | + | scaler2 = 1 * value |
| 1061 | - | so:Play() |
| 1061 | + | elseif type == "Divide" then |
| 1062 | - | removeuseless:AddItem(so,REMOVE) |
| 1062 | + | scaler2 = 1 / value |
| 1063 | end | |
| 1064 | coroutine.resume(coroutine.create(function() | |
| 1065 | - | mouse.KeyDown:connect(function(Press) |
| 1065 | + | for i = 0, 10 / bonuspeed, 0.1 do |
| 1066 | - | Press=Press:lower() |
| 1066 | + | swait() |
| 1067 | - | if Press=='t' then |
| 1067 | + | if type == "Add" then |
| 1068 | - | if tauntdebounce then return end |
| 1068 | + | scaler2 = scaler2 - 0.01 * value / bonuspeed |
| 1069 | - | tauntdebounce = true |
| 1069 | + | elseif type == "Divide" then |
| 1070 | - | local b1 = Instance.new("BillboardGui",Head)
|
| 1070 | + | scaler2 = scaler2 - 0.01 / value * bonuspeed |
| 1071 | - | b1.Size = UDim2.new(0,4,0,1.6) |
| 1071 | + | end |
| 1072 | - | b1.StudsOffset = Vector3.new(0,0,0) |
| 1072 | + | speeder = speeder - 0.01 * FastSpeed * bonuspeed |
| 1073 | - | b1.Name = "laff" |
| 1073 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed |
| 1074 | - | b1.AlwaysOnTop = true |
| 1074 | + | rng.Transparency = rng.Transparency - 0.01 * bonuspeed |
| 1075 | - | b1.StudsOffset = Vector3.new(0,2,0) |
| 1075 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) |
| 1076 | - | b1.Adornee = Head |
| 1076 | + | end |
| 1077 | - | removeuseless:AddItem(b1,3) |
| 1077 | + | rng:Destroy() |
| 1078 | - | local b2 = Instance.new("TextLabel",b1)
|
| 1078 | + | end)) |
| 1079 | - | b2.BackgroundTransparency = 1 |
| 1079 | + | |
| 1080 | - | b2.Text = "Nico Nico Ni!" |
| 1080 | + | |
| 1081 | - | b2.Font = "Garamond" |
| 1081 | + | function Magic(bonuspeed, type, pos, scale, value, color, MType) |
| 1082 | - | b2.TextSize = 30 |
| 1082 | + | local type = type |
| 1083 | - | b2.Name = "lafftext" |
| 1083 | + | local rng = Instance.new("Part", char)
|
| 1084 | - | b2.TextStrokeTransparency = 0 |
| 1084 | + | rng.Anchored = true |
| 1085 | - | b2.TextColor3 = BrickColor.new("Pink").Color
|
| 1085 | + | rng.BrickColor = color |
| 1086 | - | b2.TextStrokeColor3 = Color3.new(0,0,0) |
| 1086 | + | rng.CanCollide = false |
| 1087 | - | b2.Size = UDim2.new(1,0,.5,0) |
| 1087 | + | rng.FormFactor = 3 |
| 1088 | - | laff = Instance.new("Sound",Head)
|
| 1088 | + | rng.Name = "Ring" |
| 1089 | - | laff.SoundId = "rbxassetid://1004576953" |
| 1089 | + | rng.Material = "Neon" |
| 1090 | - | laff.Volume = 3 |
| 1090 | + | rng.Size = Vector3.new(1, 1, 1) |
| 1091 | - | laff:Play() |
| 1091 | + | rng.Transparency = 0 |
| 1092 | - | wait(5) |
| 1092 | + | rng.TopSurface = 0 |
| 1093 | - | laff:Remove() |
| 1093 | + | rng.BottomSurface = 0 |
| 1094 | - | tauntdebounce = false |
| 1094 | + | rng.CFrame = pos |
| 1095 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1096 | rngm.MeshType = MType | |
| 1097 | rngm.Scale = scale | |
| 1098 | - | mouse.KeyDown:connect(function(Press) |
| 1098 | + | local scaler2 = 1 |
| 1099 | - | Press=Press:lower() |
| 1099 | + | if type == "Add" then |
| 1100 | - | if Press=='e' then |
| 1100 | + | scaler2 = 1 * value |
| 1101 | - | if debounce then return end |
| 1101 | + | elseif type == "Divide" then |
| 1102 | - | if equip then |
| 1102 | + | scaler2 = 1 / value |
| 1103 | - | ws = 40 |
| 1103 | + | end |
| 1104 | - | g1:Remove() |
| 1104 | + | coroutine.resume(coroutine.create(function() |
| 1105 | - | light.Enabled = false |
| 1105 | + | for i = 0, 10 / bonuspeed, 0.1 do |
| 1106 | - | pcall(function() |
| 1106 | + | swait() |
| 1107 | - | temmy:Remove() |
| 1107 | + | if type == "Add" then |
| 1108 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1109 | - | for i,v in pairs(tommygun:GetDescendants()) do |
| 1109 | + | elseif type == "Divide" then |
| 1110 | - | if v.Name == "temmy" then v:Remove() |
| 1110 | + | scaler2 = scaler2 - 0.01 / value * bonuspeed |
| 1111 | end | |
| 1112 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1113 | - | light.Enabled = false |
| 1113 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) |
| 1114 | - | particlemiter1.Enabled = false |
| 1114 | + | end |
| 1115 | - | hum.CameraOffset = Vector3.new(0,0,0) |
| 1115 | + | rng:Destroy() |
| 1116 | - | attacking = false |
| 1116 | + | end)) |
| 1117 | - | equip = false |
| 1117 | + | |
| 1118 | - | shooting = false |
| 1118 | + | |
| 1119 | - | gunallowance = false |
| 1119 | + | function Eviscerate(dude) |
| 1120 | - | ws = 16 |
| 1120 | + | if dude.Name ~= char then |
| 1121 | - | else |
| 1121 | + | local bgf = IT("BodyGyro", dude.Head)
|
| 1122 | - | g1 = Instance.new("BodyGyro", Root)
|
| 1122 | + | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) |
| 1123 | - | g1.D = 175 |
| 1123 | + | local val = IT("BoolValue", dude)
|
| 1124 | - | g1.P = 20000 |
| 1124 | + | val.Name = "IsHit" |
| 1125 | - | g1.MaxTorque = Vector3.new(0,2000,0) |
| 1125 | + | local ds = coroutine.wrap(function() |
| 1126 | - | g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p) |
| 1126 | + | dude:WaitForChild("Head"):BreakJoints()
|
| 1127 | - | attacking = true |
| 1127 | + | wait(0.5) |
| 1128 | - | debounce = true |
| 1128 | + | target = nil |
| 1129 | - | equip = true |
| 1129 | + | coroutine.resume(coroutine.create(function() |
| 1130 | - | coroutine.wrap(function() |
| 1130 | + | for i, v in pairs(dude:GetChildren()) do |
| 1131 | - | while equip do |
| 1131 | + | if v:IsA("Accessory") then
|
| 1132 | - | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1) |
| 1132 | + | v:Destroy() |
| 1133 | - | ws = 10 |
| 1133 | + | end |
| 1134 | if v:IsA("Humanoid") then
| |
| 1135 | - | if Root.Velocity.y > 1 then |
| 1135 | + | v:Destroy() |
| 1136 | - | position = "Jump3" |
| 1136 | + | end |
| 1137 | - | elseif Root.Velocity.y < -1 then |
| 1137 | + | if v:IsA("CharacterMesh") then
|
| 1138 | - | position = "Falling3" |
| 1138 | + | v:Destroy() |
| 1139 | - | elseif Root.Velocity.Magnitude > 2 and running == false and attacking == true then |
| 1139 | + | end |
| 1140 | - | position = "Walk3" |
| 1140 | + | if v:IsA("Model") then
|
| 1141 | - | elseif Root.Velocity.Magnitude < 2 and running == false and attacking == true then |
| 1141 | + | v:Destroy() |
| 1142 | - | position = "Idle4" |
| 1142 | + | end |
| 1143 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 1144 | for x, o in pairs(v:GetChildren()) do | |
| 1145 | - | end)() |
| 1145 | + | if o:IsA("Decal") then
|
| 1146 | - | coroutine.wrap(function() |
| 1146 | + | o:Destroy() |
| 1147 | - | while equip do |
| 1147 | + | end |
| 1148 | end | |
| 1149 | - | settime = 0.05 |
| 1149 | + | coroutine.resume(coroutine.create(function() |
| 1150 | - | sine = sine + change |
| 1150 | + | v.Material = "Neon" |
| 1151 | - | if position == "Jump3" and attacking and not running then |
| 1151 | + | v.CanCollide = false |
| 1152 | - | change = .65 |
| 1152 | + | local PartEmmit1 = IT("ParticleEmitter", v)
|
| 1153 | - | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
| 1153 | + | PartEmmit1.LightEmission = 1 |
| 1154 | - | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) |
| 1154 | + | PartEmmit1.Texture = "rbxassetid://284205403" |
| 1155 | - | elseif position == "Falling3" and attacking and not running then |
| 1155 | + | PartEmmit1.Color = ColorSequence.new(maincolor.Color) |
| 1156 | - | change = .65 |
| 1156 | + | PartEmmit1.Rate = 150 |
| 1157 | - | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.4) |
| 1157 | + | PartEmmit1.Lifetime = NumberRange.new(1) |
| 1158 | - | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.4) |
| 1158 | + | PartEmmit1.Size = NumberSequence.new({
|
| 1159 | - | elseif position == "Walk3" and attacking == true and running == false then |
| 1159 | + | NumberSequenceKeypoint.new(0, 0.75, 0), |
| 1160 | - | change = .65 |
| 1160 | + | NumberSequenceKeypoint.new(1, 0, 0) |
| 1161 | - | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0.05*math.sin(sine/4), 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)),.2) |
| 1161 | + | }) |
| 1162 | - | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(25 * math.cos(sine/8))), 0.1) |
| 1162 | + | PartEmmit1.Transparency = NumberSequence.new({
|
| 1163 | - | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(25 * math.cos(sine/8))), 0.1) |
| 1163 | + | NumberSequenceKeypoint.new(0, 0, 0), |
| 1164 | - | elseif position == "Idle4" and attacking == true and running == false then |
| 1164 | + | NumberSequenceKeypoint.new(1, 1, 0) |
| 1165 | - | change = .65 |
| 1165 | + | }) |
| 1166 | - | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)),.1) |
| 1166 | + | PartEmmit1.Speed = NumberRange.new(0, 0) |
| 1167 | - | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) |
| 1167 | + | PartEmmit1.VelocitySpread = 30000 |
| 1168 | - | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1) |
| 1168 | + | PartEmmit1.Rotation = NumberRange.new(-500, 500) |
| 1169 | - | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) |
| 1169 | + | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) |
| 1170 | - | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) |
| 1170 | + | local BodPoss = IT("BodyPosition", v)
|
| 1171 | BodPoss.P = 3000 | |
| 1172 | BodPoss.D = 1000 | |
| 1173 | - | end)() |
| 1173 | + | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) |
| 1174 | - | SOUND(RightArm,131045453,6,false,2) |
| 1174 | + | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) |
| 1175 | - | for i = 1, 30 do |
| 1175 | + | v.Color = maincolor.Color |
| 1176 | - | tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.68,1.25) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-12)),.25) |
| 1176 | + | coroutine.resume(coroutine.create(function() |
| 1177 | - | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 0.1, 0.4) * CFrame.Angles(math.rad(-90), math.rad(-60), math.rad(0)), 0.25) |
| 1177 | + | for i = 0, 49 do |
| 1178 | - | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)), 0.25) |
| 1178 | + | swait(1) |
| 1179 | v.Transparency = v.Transparency + 0.08 | |
| 1180 | end | |
| 1181 | - | gunallowance = true |
| 1181 | + | wait(0.5) |
| 1182 | - | mouse.Button1Down:connect(function() |
| 1182 | + | PartEmmit1.Enabled = false |
| 1183 | - | if gunallowance then |
| 1183 | + | wait(3) |
| 1184 | - | particlemiter1.Enabled = true |
| 1184 | + | v:Destroy() |
| 1185 | - | temmy = Instance.new("Sound",tommygun)
|
| 1185 | + | dude:Destroy() |
| 1186 | - | temmy.SoundId = "rbxassetid://2217695241" |
| 1186 | + | end)) |
| 1187 | - | temmy.Volume = 0.7 |
| 1187 | + | end)) |
| 1188 | - | temmy.Name = "temmy" |
| 1188 | + | end |
| 1189 | - | temmy.Looped = true |
| 1189 | + | end |
| 1190 | - | temmy:Play() |
| 1190 | + | end)) |
| 1191 | - | shooting = true |
| 1191 | + | end) |
| 1192 | ds() | |
| 1193 | end | |
| 1194 | - | mouse.Button1Up:connect(function() |
| 1194 | + | |
| 1195 | - | if gunallowance then |
| 1195 | + | |
| 1196 | - | hum.CameraOffset = Vector3.new(0,0,0) |
| 1196 | + | function FindNearestHead(Position, Distance, SinglePlayer) |
| 1197 | - | light.Enabled = false |
| 1197 | + | if SinglePlayer then |
| 1198 | - | particlemiter1.Enabled = false |
| 1198 | + | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude |
| 1199 | - | pcall(function() |
| 1199 | + | end |
| 1200 | - | temmy:Remove() |
| 1200 | + | local List = {}
|
| 1201 | for i, v in pairs(workspace:GetChildren()) do | |
| 1202 | - | for i,v in pairs(tommygun:GetDescendants()) do |
| 1202 | + | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
|
| 1203 | - | if v.Name == "temmy" then v:Remove() |
| 1203 | + | table.insert(List, v) |
| 1204 | end | |
| 1205 | end | |
| 1206 | - | shooting = false |
| 1206 | + | return List |
| 1207 | end | |
| 1208 | ||
| 1209 | - | coroutine.wrap(function() |
| 1209 | + | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) |
| 1210 | - | if firsttime2 then return end |
| 1210 | + | local type = type |
| 1211 | - | firsttime2 = true |
| 1211 | + | local rng = Instance.new("Part", char)
|
| 1212 | rng.Anchored = true | |
| 1213 | - | swait(3) |
| 1213 | + | rng.BrickColor = color |
| 1214 | - | if shooting then |
| 1214 | + | rng.CanCollide = false |
| 1215 | - | if switch1 then |
| 1215 | + | rng.FormFactor = 3 |
| 1216 | - | switch1 = false |
| 1216 | + | rng.Name = "Ring" |
| 1217 | - | switch2 = true |
| 1217 | + | rng.Material = "Neon" |
| 1218 | - | light.Enabled = true |
| 1218 | + | rng.Size = Vector3.new(1, 1, 1) |
| 1219 | - | elseif switch2 then |
| 1219 | + | rng.Transparency = 0 |
| 1220 | - | switch1 = true |
| 1220 | + | rng.TopSurface = 0 |
| 1221 | - | switch2 = false |
| 1221 | + | rng.BottomSurface = 0 |
| 1222 | - | light.Enabled = false |
| 1222 | + | rng.CFrame = pos |
| 1223 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 1224 | - | pcall(function() |
| 1224 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 1225 | - | if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
|
| 1225 | + | rngm.MeshType = MType |
| 1226 | - | mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(3,7))
|
| 1226 | + | rngm.Scale = Vector3.new(x1, y1, z1) |
| 1227 | local scaler2 = 1 | |
| 1228 | local speeder = FastSpeed | |
| 1229 | if type == "Add" then | |
| 1230 | scaler2 = 1 * value | |
| 1231 | - | end)() |
| 1231 | + | elseif type == "Divide" then |
| 1232 | - | coroutine.wrap(function() |
| 1232 | + | scaler2 = 1 / value |
| 1233 | - | if firsttime then return end |
| 1233 | + | end |
| 1234 | - | firsttime = true |
| 1234 | + | coroutine.resume(coroutine.create(function() |
| 1235 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1236 | - | if shooting then |
| 1236 | + | swait() |
| 1237 | - | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90), math.rad(0 - 10 * math.sin(sine)), math.rad(0)), 0.25) |
| 1237 | + | if type == "Add" then |
| 1238 | - | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 0.1 + .4 * math.sin(sine), 0.4) * CFrame.Angles(math.rad(-90), math.rad(-60), math.rad(0)), 0.25) |
| 1238 | + | scaler2 = scaler2 - 0.01 * value / bonuspeed |
| 1239 | - | pcall(function() |
| 1239 | + | elseif type == "Divide" then |
| 1240 | - | if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
|
| 1240 | + | scaler2 = scaler2 - 0.01 / value * bonuspeed |
| 1241 | - | mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(1)
|
| 1241 | + | end |
| 1242 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
| 1243 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
| 1244 | - | elseif not shooting then |
| 1244 | + | rng.Transparency = rng.Transparency + 0.01 * bonuspeed |
| 1245 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
| 1246 | end | |
| 1247 | rng:Destroy() | |
| 1248 | - | end)() |
| 1248 | + | end)) |
| 1249 | - | debounce = false |
| 1249 | + | |
| 1250 | ||
| 1251 | function SoulSteal(dude) | |
| 1252 | if dude.Name ~= char then | |
| 1253 | local bgf = IT("BodyGyro", dude.Head)
| |
| 1254 | - | checks1 = coroutine.wrap(function() -------Checks |
| 1254 | + | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) |
| 1255 | local val = IT("BoolValue", dude)
| |
| 1256 | - | if Root.Velocity.y > 1 then |
| 1256 | + | val.Name = "IsHit" |
| 1257 | - | position = "Jump" |
| 1257 | + | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') |
| 1258 | - | elseif Root.Velocity.y < -1 then |
| 1258 | + | local soulst = coroutine.wrap(function() |
| 1259 | - | position = "Falling" |
| 1259 | + | local soul = Instance.new("Part",dude)
|
| 1260 | - | elseif Root.Velocity.Magnitude < 2 then |
| 1260 | + | soul.Size = Vector3.new(1,1,1) |
| 1261 | - | position = "Idle" |
| 1261 | + | soul.CanCollide = false |
| 1262 | - | elseif Root.Velocity.Magnitude < 20 then |
| 1262 | + | soul.Anchored = false |
| 1263 | - | position = "Walking" |
| 1263 | + | soul.Position = torso.Position |
| 1264 | - | elseif Root.Velocity.Magnitude > 20 then |
| 1264 | + | soul.Transparency = 1 |
| 1265 | - | position = "Running" |
| 1265 | + | local PartEmmit1 = IT("ParticleEmitter", soul)
|
| 1266 | - | else |
| 1266 | + | PartEmmit1.LightEmission = 1 |
| 1267 | PartEmmit1.Texture = "rbxassetid://569507414" | |
| 1268 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1269 | PartEmmit1.Rate = 250 | |
| 1270 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
| 1271 | - | checks1() |
| 1271 | + | PartEmmit1.Size = NumberSequence.new({
|
| 1272 | NumberSequenceKeypoint.new(0, 1, 0), | |
| 1273 | - | function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) |
| 1273 | + | NumberSequenceKeypoint.new(1, 0, 0) |
| 1274 | - | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) |
| 1274 | + | }) |
| 1275 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1276 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1277 | - | function ray2(StartPos, EndPos, Distance, Ignore) |
| 1277 | + | NumberSequenceKeypoint.new(1, 1, 0) |
| 1278 | - | local DIRECTION = CFrame.new(StartPos,EndPos).lookVector |
| 1278 | + | }) |
| 1279 | - | return ray(StartPos, DIRECTION, Distance, Ignore) |
| 1279 | + | PartEmmit1.Speed = NumberRange.new(0, 0) |
| 1280 | PartEmmit1.VelocitySpread = 30000 | |
| 1281 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
| 1282 | - | OrgnC0 = Neck.C0 |
| 1282 | + | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) |
| 1283 | - | local movelimbs = coroutine.wrap(function() |
| 1283 | + | local BodPoss = IT("BodyPosition", soul)
|
| 1284 | - | while RunSrv.RenderStepped:wait() do |
| 1284 | + | BodPoss.P = 3000 |
| 1285 | - | TrsoLV = Torso.CFrame.lookVector |
| 1285 | + | BodPoss.D = 1000 |
| 1286 | - | Dist = nil |
| 1286 | + | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) |
| 1287 | - | Diff = nil |
| 1287 | + | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) |
| 1288 | - | if not MseGuide then |
| 1288 | + | wait(1.6) |
| 1289 | - | print("Failed to recognize")
|
| 1289 | + | soul.Touched:connect(function(hit) |
| 1290 | - | else |
| 1290 | + | if hit.Parent == char then |
| 1291 | - | local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) |
| 1291 | + | soul:Destroy() |
| 1292 | - | Dist = (Head.CFrame.p-Point).magnitude |
| 1292 | + | end |
| 1293 | - | Diff = Head.CFrame.Y-Point.Y |
| 1293 | + | |
| 1294 | - | local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) |
| 1294 | + | wait(1.2) |
| 1295 | - | Dist2 = (LeftArm.CFrame.p-Point).magnitude |
| 1295 | + | while soul do |
| 1296 | - | Diff2 = LeftArm.CFrame.Y-Point.Y |
| 1296 | + | swait() |
| 1297 | - | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 1297 | + | PartEmmit1.Color = ColorSequence.new(maincolor.Color) |
| 1298 | - | Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1) |
| 1298 | + | BodPoss.Position = tors.Position |
| 1299 | end | |
| 1300 | end) | |
| 1301 | soulst() | |
| 1302 | - | movelimbs() |
| 1302 | + | end |
| 1303 | - | immortal = {}
|
| 1303 | + | |
| 1304 | - | for i,v in pairs(Character:GetDescendants()) do |
| 1304 | + | function FaceMouse() |
| 1305 | - | if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
|
| 1305 | + | local Cam = workspace.CurrentCamera |
| 1306 | - | if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then |
| 1306 | + | return {
|
| 1307 | - | v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) |
| 1307 | + | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), |
| 1308 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 1309 | - | table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
|
| 1309 | + | } |
| 1310 | - | elseif v:IsA("JointInstance") then
|
| 1310 | + | |
| 1311 | - | table.insert(immortal,{v,v.Parent,nil,nil,nil})
|
| 1311 | + | ------------------------------------------------------- |
| 1312 | --End Effect Function-- | |
| 1313 | ------------------------------------------------------- | |
| 1314 | - | for e = 1, #immortal do |
| 1314 | + | function Cso(ID, PARENT, VOLUME, PITCH) |
| 1315 | - | if immortal[e] ~= nil then |
| 1315 | + | local NSound = nil |
| 1316 | - | local STUFF = immortal[e] |
| 1316 | + | coroutine.resume(coroutine.create(function() |
| 1317 | - | local PART = STUFF[1] |
| 1317 | + | NSound = IT("Sound", PARENT)
|
| 1318 | - | local PARENT = STUFF[2] |
| 1318 | + | NSound.Volume = VOLUME |
| 1319 | - | local MATERIAL = STUFF[3] |
| 1319 | + | NSound.Pitch = PITCH |
| 1320 | - | local COLOR = STUFF[4] |
| 1320 | + | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID |
| 1321 | - | local TRANSPARENCY = STUFF[5] |
| 1321 | + | swait() |
| 1322 | - | if levitate then |
| 1322 | + | NSound:play() |
| 1323 | - | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then |
| 1323 | + | game:GetService("Debris"):AddItem(NSound, 10)
|
| 1324 | - | PART.Material = MATERIAL |
| 1324 | + | end)) |
| 1325 | - | PART.Color = COLOR |
| 1325 | + | return NSound |
| 1326 | - | PART.Transparency = TRANSPARENCY |
| 1326 | + | |
| 1327 | function CameraEnshaking(Length, Intensity) | |
| 1328 | - | PART.AncestryChanged:connect(function() |
| 1328 | + | coroutine.resume(coroutine.create(function() |
| 1329 | - | PART.Parent = PARENT |
| 1329 | + | local intensity = 1 * Intensity |
| 1330 | - | end) |
| 1330 | + | local rotM = 0.01 * Intensity |
| 1331 | - | else |
| 1331 | + | for i = 0, Length, 0.1 do |
| 1332 | - | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then |
| 1332 | + | swait() |
| 1333 | - | PART.Material = MATERIAL |
| 1333 | + | intensity = intensity - 0.05 * Intensity / Length |
| 1334 | - | PART.Color = COLOR |
| 1334 | + | rotM = rotM - 5.0E-4 * Intensity / Length |
| 1335 | - | PART.Transparency = TRANSPARENCY |
| 1335 | + | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) |
| 1336 | cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) | |
| 1337 | - | PART.AncestryChanged:connect(function() |
| 1337 | + | end |
| 1338 | - | PART.Parent = PARENT |
| 1338 | + | hum.CameraOffset = Vector3.new(0, 0, 0) |
| 1339 | - | end) |
| 1339 | + | end)) |
| 1340 | end | |
| 1341 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
| 1342 | local Hitboxpart = Instance.new("Part", EffectModel)
| |
| 1343 | - | function immortality() |
| 1343 | + | RemoveOutlines(Hitboxpart) |
| 1344 | - | for e = 1, #immortal do |
| 1344 | + | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) |
| 1345 | - | if immortal[e] ~= nil then |
| 1345 | + | Hitboxpart.CanCollide = false |
| 1346 | - | local STUFF = immortal[e] |
| 1346 | + | Hitboxpart.Transparency = 1 |
| 1347 | - | local PART = STUFF[1] |
| 1347 | + | Hitboxpart.Anchored = true |
| 1348 | - | local PARENT = STUFF[2] |
| 1348 | + | Hitboxpart.CFrame = Pose |
| 1349 | - | local MATERIAL = STUFF[3] |
| 1349 | + | game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
|
| 1350 | - | local COLOR = STUFF[4] |
| 1350 | + | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) |
| 1351 | - | local TRANSPARENCY = STUFF[5] |
| 1351 | + | |
| 1352 | - | if PART.ClassName == "Part" and PART == Root then |
| 1352 | + | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) |
| 1353 | - | PART.Material = MATERIAL |
| 1353 | + | local prt = CreatePart1(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 1354 | - | PART.Color = COLOR |
| 1354 | + | prt.Anchored = true |
| 1355 | - | PART.Transparency = TRANSPARENCY |
| 1355 | + | prt.CFrame = cframe |
| 1356 | - | end |
| 1356 | + | local msh = CreateMesh1("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1357 | - | if PART.Parent ~= PARENT then |
| 1357 | + | game:GetService("Debris"):AddItem(prt, 10)
|
| 1358 | - | hum:Remove() |
| 1358 | + | if Type == 1 or Type == nil then |
| 1359 | - | PART.Parent = PARENT |
| 1359 | + | table.insert(Effects, {
|
| 1360 | - | hum = Instance.new("Humanoid",Character)
|
| 1360 | + | prt, |
| 1361 | - | hum.Name = "noneofurbusiness" |
| 1361 | + | "Block1", |
| 1362 | - | end |
| 1362 | + | delay, |
| 1363 | x3, | |
| 1364 | y3, | |
| 1365 | z3, | |
| 1366 | - | coroutine.wrap(function() |
| 1366 | + | msh |
| 1367 | }) | |
| 1368 | - | if hum.Health < .1 then |
| 1368 | + | elseif Type == 2 then |
| 1369 | - | deadsound = Instance.new("Sound", Torso)
|
| 1369 | + | table.insert(Effects, {
|
| 1370 | - | deadsound.Volume = 6 |
| 1370 | + | prt, |
| 1371 | - | deadsound.SoundId = "rbxassetid://130798486" |
| 1371 | + | "Block2", |
| 1372 | - | deadsound:Play() |
| 1372 | + | delay, |
| 1373 | - | immortality() |
| 1373 | + | x3, |
| 1374 | y3, | |
| 1375 | z3, | |
| 1376 | msh | |
| 1377 | - | end)() |
| 1377 | + | }) |
| 1378 | elseif Type == 3 then | |
| 1379 | - | local anims = coroutine.wrap(function() |
| 1379 | + | table.insert(Effects, {
|
| 1380 | prt, | |
| 1381 | - | settime = 0.05 |
| 1381 | + | "Block3", |
| 1382 | - | sine = sine + change |
| 1382 | + | delay, |
| 1383 | - | if position == "Jump" and attacking == false then |
| 1383 | + | x3, |
| 1384 | - | change = 1 |
| 1384 | + | y3, |
| 1385 | - | tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25) |
| 1385 | + | z3, |
| 1386 | - | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) |
| 1386 | + | msh |
| 1387 | - | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) |
| 1387 | + | }) |
| 1388 | - | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) |
| 1388 | + | end |
| 1389 | - | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) |
| 1389 | + | |
| 1390 | - | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4) |
| 1390 | + | |
| 1391 | - | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
| 1391 | + | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 1392 | - | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) |
| 1392 | + | local Part = Create("Part"){
|
| 1393 | - | elseif position == "Jump2" and attacking == false then |
| 1393 | + | Parent = Parent, |
| 1394 | - | change = 1 |
| 1394 | + | Reflectance = Reflectance, |
| 1395 | - | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3) |
| 1395 | + | Transparency = Transparency, |
| 1396 | - | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) |
| 1396 | + | CanCollide = false, |
| 1397 | - | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) |
| 1397 | + | Locked = true, |
| 1398 | - | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3) |
| 1398 | + | BrickColor = BrickColor.new(tostring(BColor)), |
| 1399 | - | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3) |
| 1399 | + | Name = Name, |
| 1400 | - | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) |
| 1400 | + | Size = Size, |
| 1401 | - | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3) |
| 1401 | + | Material = Material, |
| 1402 | - | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3) |
| 1402 | + | } |
| 1403 | - | elseif position == "Falling" and attacking == false then |
| 1403 | + | RemoveOutlines(Part) |
| 1404 | - | change = 1 |
| 1404 | + | return Part |
| 1405 | - | tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25) |
| 1405 | + | |
| 1406 | - | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) |
| 1406 | + | |
| 1407 | - | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) |
| 1407 | + | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 1408 | - | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) |
| 1408 | + | local Msh = Create(Mesh){
|
| 1409 | - | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) |
| 1409 | + | Parent = Part, |
| 1410 | - | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2) |
| 1410 | + | Offset = OffSet, |
| 1411 | - | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) |
| 1411 | + | Scale = Scale, |
| 1412 | - | elseif position == "Falling2" and attacking == false then |
| 1412 | + | } |
| 1413 | - | change = 1 |
| 1413 | + | if Mesh == "SpecialMesh" then |
| 1414 | - | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3) |
| 1414 | + | Msh.MeshType = MeshType |
| 1415 | - | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) |
| 1415 | + | Msh.MeshId = MeshId |
| 1416 | - | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) |
| 1416 | + | end |
| 1417 | - | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3) |
| 1417 | + | return Msh |
| 1418 | - | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3) |
| 1418 | + | |
| 1419 | - | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) |
| 1419 | + | |
| 1420 | - | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3) |
| 1420 | + | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 1421 | - | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3) |
| 1421 | + | local prt = CreatePart(workspace,"Neon",0,0,brickcolor,"Effect", Vector3.new(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 1422 | - | elseif position == "Walking" and attacking == false and running == false then |
| 1422 | + | prt.Anchored = true |
| 1423 | - | change = 1.2 |
| 1423 | + | prt.CFrame = cframe |
| 1424 | - | walking = true |
| 1424 | + | local msh = CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
|
| 1425 | - | tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25) |
| 1425 | + | game:GetService("Debris"):AddItem(prt,2)
|
| 1426 | - | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(10)), 0.1) |
| 1426 | + | coroutine.resume(coroutine.create(function(Part,Mesh,num) |
| 1427 | - | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) |
| 1427 | + | for i=0,1,delay do |
| 1428 | - | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) |
| 1428 | + | |
| 1429 | - | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5 + Root.RotVelocity.Y / 85,.35,.5*math.sin(sine/8)) * CFrame.Angles(math.rad(-35*math.sin(sine/8)),math.rad(0*math.sin(sine/8)),math.rad(10 + Root.RotVelocity.Y / 10, math.sin(20 * math.sin(sine/4)))),.3) |
| 1429 | + | Part.Transparency=i |
| 1430 | - | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0.05*math.sin(sine/4), 0) * CFrame.Angles(math.rad(-10), math.rad(5 * math.cos(sine/7)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.1) |
| 1430 | + | Mesh.Scale=Mesh.Scale + Vector3.new(x3,y3,z3) |
| 1431 | - | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(25 * math.cos(sine/8))), 0.3) |
| 1431 | + | |
| 1432 | - | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(25 * math.cos(sine/8))), 0.3) |
| 1432 | + | Part.Parent=nil |
| 1433 | - | elseif position == "Idle" and attacking == false and running == false then |
| 1433 | + | end),prt,msh,(math.random(0,1)+math.random())/5) |
| 1434 | - | change = .5 |
| 1434 | + | |
| 1435 | - | tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25) |
| 1435 | + | ------------------------------------------------------- |
| 1436 | - | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.1) |
| 1436 | + | --End Important Functions-- |
| 1437 | - | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3 + .1 * math.sin(sine/12),1 + .1 * math.sin(sine/12),0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(8 + 5 * math.sin(sine/12))), 0.1) |
| 1437 | + | ------------------------------------------------------- |
| 1438 | - | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.59 - .05 * math.sin(sine/12), 0.1 -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(8 - 6 * math.sin(sine/12))), .2) |
| 1438 | + | |
| 1439 | - | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) |
| 1439 | + | |
| 1440 | - | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1) |
| 1440 | + | |
| 1441 | - | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) |
| 1441 | + | --[[ |
| 1442 | - | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) |
| 1442 | + | Thanks for using Build-To-Lua by jarredbcv. |
| 1443 | - | elseif position == "Idle2" and attacking == false and running == false then |
| 1443 | + | ]]-- |
| 1444 | - | change = .75 |
| 1444 | + | |
| 1445 | - | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1) |
| 1445 | + | New = function(Object, Parent, Name, Data) |
| 1446 | - | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) |
| 1446 | + | local Object = Instance.new(Object) |
| 1447 | - | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1) |
| 1447 | + | for Index, Value in pairs(Data or {}) do
|
| 1448 | - | LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) |
| 1448 | + | Object[Index] = Value |
| 1449 | - | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4) |
| 1449 | + | end |
| 1450 | - | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 - 3 * math.sin(sine/9)), math.rad(-35 + 5 * math.sin(sine/9))), 0.4) |
| 1450 | + | Object.Parent = Parent |
| 1451 | - | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4) |
| 1451 | + | Object.Name = Name |
| 1452 | - | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4) |
| 1452 | + | return Object |
| 1453 | - | elseif position == "Walking2" and attacking == false and running == false then |
| 1453 | + | |
| 1454 | - | ws = 50 |
| 1454 | + | |
| 1455 | - | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3) |
| 1455 | + | Gunty = New("Model",char,"Gunty",{})
|
| 1456 | - | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) |
| 1456 | + | Handle = New("Part",Gunty,"Handle",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1.7700001, 1),CFrame = CFrame.new(31.0716114, 2.79670954, -174.846329, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 1457 | - | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) |
| 1457 | + | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1458 | - | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3) |
| 1458 | + | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.03999996, 0.290000111, 0.189999968),CFrame = CFrame.new(31.058609, 2.34723592, -175.197876, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
|
| 1459 | - | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3) |
| 1459 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1460 | - | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) |
| 1460 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00469970703, -0.445775509, -0.356430054, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1461 | - | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3) |
| 1461 | + | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.01999998, 0.330000103, 0.229999959),CFrame = CFrame.new(31.058609, 2.34723592, -175.197876, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 1462 | - | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3) |
| 1462 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1463 | - | elseif position == "Running" and attacking == false then |
| 1463 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00469970703, -0.445775509, -0.356430054, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1464 | - | change = 1 |
| 1464 | + | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.04999995, 0.0500001162, 0.0599999726),CFrame = CFrame.new(31.0147629, 1.60638475, -174.821182, -0.00951508526, -0.010773032, 0.999899387, -0.0110270474, 0.999884665, 0.0106679332, -0.999896705, -0.0109243607, -0.00963272899),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
|
| 1465 | - | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3) |
| 1465 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1466 | - | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-1.24+.6*math.sin(sine/4)/1.4, 0.54, 0-0.8*math.sin(sine/4))*CFrame.Angles(math.rad(6+140*math.sin(sine/4)/1.2), math.rad(0), math.rad(20+70*math.sin(sine/4))), 0.3) |
| 1466 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, -0.0110270362, -0.999896109, -0.0107730227, 0.999884129, -0.0109243607, 0.999898791, 0.0106679285, -0.00963272713),C1 = CFrame.new(-0.0439567566, -1.19107628, 0.0119018555, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1467 | - | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 1467 | + | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.6584473, 2.04683352, -174.327209, -0.00951508433, -0.0107730264, 0.999899626, 0.248140842, 0.968642294, 0.0127975615, -0.968680143, 0.248236969, -0.00654343609),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
|
| 1468 | - | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-20 - 0 * math.sin(sine/4)), math.rad(0 + 6 * math.sin(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.sin(10 * math.sin(sine/4))), 0.3) |
| 1468 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1469 | - | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3) |
| 1469 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, 0.248140693, -0.968679547, -0.010773018, 0.968641758, 0.24823682, 0.99989897, 0.0127975577, -0.00654343609),C1 = CFrame.new(-0.409790039, -0.759893417, 0.507080078, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1470 | - | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.6+0.1*math.sin(sine/4),.7*-math.sin(sine/4)) * CFrame.Angles(math.rad(15+ -50 * math.sin(sine/4)),0,0),.3) |
| 1470 | + | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.9084473, 2.04683304, -174.327209, -0.00951508433, -0.0107730264, 0.999899626, 0.248140842, 0.968642294, 0.0127975615, -0.968680143, 0.248236969, -0.00654343609),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
|
| 1471 | - | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3) |
| 1471 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1472 | - | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.6-0.1*math.sin(sine/4),.7*math.sin(sine/4)) * CFrame.Angles(math.rad(15 + 50 * math.sin(sine/4)),0,0),.3) |
| 1472 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, 0.248140693, -0.968679547, -0.010773018, 0.968641758, 0.24823682, 0.99989897, 0.0127975577, -0.00654343609),C1 = CFrame.new(-0.159816742, -0.757163048, 0.509490967, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1473 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.228447, 2.04683328, -174.327209, -0.00951508433, -0.0107730264, 0.999899626, 0.248140842, 0.968642294, 0.0127975615, -0.968680143, 0.248236969, -0.00654343609),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
| |
| 1474 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1475 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, 0.248140693, -0.968679547, -0.010773018, 0.968641758, 0.24823682, 0.99989897, 0.0127975577, -0.00654343609),C1 = CFrame.new(0.160148621, -0.753666878, 0.512573242, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1476 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.8784504, 1.99683285, -175.357208, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
| |
| 1477 | - | anims() |
| 1477 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1478 | - | warn("Risen to come eat your Cookies, Get Ready! Edited By EsTLation")
|
| 1478 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(-0.179458618, -0.796388626, -0.521224976, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1479 | - | warn("E = Take Out Weapon/Put Up Weapon, U = Outfit 2, Y = Outfit 1, J,K,L = Switch Weapons")
|
| 1479 | + | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.4684505, 2.71683574, -175.357208, -0.00951508619, -0.0107730282, 0.999899626, 0.248140991, 0.968642175, 0.0127975615, -0.968680024, 0.248237148, -0.00654343236),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
|
| 1480 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1481 | - | mouse.KeyDown:connect(function(Press) |
| 1481 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, 0.248140842, -0.968679428, -0.0107730199, 0.968641579, 0.248236999, 0.99989897, 0.0127975577, -0.00654343236),C1 = CFrame.new(0.4025383, -0.070025444, -0.507858276, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1482 | - | Press=Press:lower() |
| 1482 | + | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.239999995, 0.330000132, 1.07000005),CFrame = CFrame.new(30.7338467, 2.35736775, -174.842926, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 1483 | - | if Press=='c' then |
| 1483 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1484 | - | s:Play() |
| 1484 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.33291626, -0.443016529, -0.00453186035, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1485 | - | Root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,Root.Position) |
| 1485 | + | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.239999995, 0.330000132, 1.07000005),CFrame = CFrame.new(31.3738499, 2.35736799, -174.842926, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 1486 | - | print("Switched to Outfit 5")
|
| 1486 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1487 | - | B = Instance.new("Part",Torso)
|
| 1487 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.30701828, -0.436024666, 0.00163269043, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1488 | - | B.Size = Vector3.new(10, 10, 10) |
| 1488 | + | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.2084579, 1.99683356, -175.357178, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
|
| 1489 | - | B.CanCollide = false |
| 1489 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1490 | - | B.Transparency = 0.15 |
| 1490 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(0.150512695, -0.79278326, -0.518005371, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1491 | - | B.CFrame = Torso.CFrame |
| 1491 | + | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.01999998, 0.330000132, 0.229999959),CFrame = CFrame.new(31.0686169, 2.35712481, -174.467972, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 1492 | - | B.Color = BrickColor.new("Pearl").Color
|
| 1492 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1493 | - | B.Anchored = true |
| 1493 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00174713135, -0.443641663, 0.373596191, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1494 | - | B.Material = "Neon" |
| 1494 | + | Wedge = New("WedgePart",Gunty,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.13999975, 0.230000034, 0.560000122),CFrame = CFrame.new(31.0786934, 3.13681054, -175.132095, -1.00000238, -2.20054062e-07, 3.09199095e-07, 2.12065061e-07, -1.00000215, 3.20374966e-07, 2.75671482e-07, 3.09199095e-07, 1.00000226),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
|
| 1495 | - | B.Shape = "Ball" |
| 1495 | + | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.00000179, 2.11242877e-07, 2.80328095e-07, -2.20876245e-07, -1.00000155, 3.13855708e-07, 3.05473804e-07, 3.1478703e-07, 1.00000167),C1 = CFrame.new(0.00605010986, 0.343216896, -0.282043457, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1496 | - | wait (0.02) |
| 1496 | + | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.6284485, 2.71683502, -175.357208, -0.00951508619, -0.0107730282, 0.999899626, 0.248140991, 0.968642175, 0.0127975615, -0.968680024, 0.248237148, -0.00654343236),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
|
| 1497 | - | B.Size = Vector3.new(9, 9, 9) |
| 1497 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1498 | - | wait (0.02) |
| 1498 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, 0.248140842, -0.968679428, -0.0107730199, 0.968641579, 0.248236999, 0.99989897, 0.0127975577, -0.00654343236),C1 = CFrame.new(-0.437374115, -0.079202652, -0.515945435, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1499 | - | B.Size = Vector3.new(8, 8, 8) |
| 1499 | + | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.8884487, 2.71683598, -174.327209, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
|
| 1500 | - | wait (0.02) |
| 1500 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1501 | - | B.Size = Vector3.new(7, 7, 7) |
| 1501 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(-0.187202454, -0.0874576569, 0.516448975, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1502 | - | wait (0.02) |
| 1502 | + | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.290000111, 1.08999991),CFrame = CFrame.new(30.7338486, 2.3574791, -174.84285, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
|
| 1503 | - | B.Size = Vector3.new(6, 6, 6) |
| 1503 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1504 | - | wait (0.02) |
| 1504 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.33291626, -0.442905903, -0.00445556641, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1505 | - | B.Size = Vector3.new(5, 5, 5) |
| 1505 | + | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0700000003, 0.759999931, 0.0500000007),CFrame = CFrame.new(31.6297836, 3.38593745, -174.84967, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
|
| 1506 | - | wait (0.02) |
| 1506 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1507 | - | B.Size = Vector3.new(4, 4, 4) |
| 1507 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.551647186, 0.595292091, 0.00831604004, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1508 | - | wait (0.02) |
| 1508 | + | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0600000024, 1.90999997, 0.0500000007),CFrame = CFrame.new(31.5712833, 2.60158253, -174.845505, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
|
| 1509 | - | B.Size = Vector3.new(3, 3, 3) |
| 1509 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1510 | - | wait (0.02) |
| 1510 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.50176239, -0.18965435, 0.00355529785, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1511 | - | B.Size = Vector3.new(2, 2, 2) |
| 1511 | + | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.239999995, 0.330000132, 1.07000005),CFrame = CFrame.new(31.0538464, 2.35736966, -174.842926, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 1512 | - | wait (0.02) |
| 1512 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1513 | - | B.Size = Vector3.new(1, 1, 1) |
| 1513 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.0129508972, -0.439518929, -0.00144958496, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1514 | - | wait (0.02) |
| 1514 | + | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0600000024, 0.290000111, 0.409999996),CFrame = CFrame.new(31.568552, 2.3516109, -174.842773, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
|
| 1515 | - | B.Size = Vector3.new(0, 0, 0) |
| 1515 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1516 | - | B:Destroy() |
| 1516 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.50176239, -0.439655781, 0.00360107422, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1517 | - | B:Destroy() |
| 1517 | + | Wedge = New("WedgePart",Gunty,"Wedge",{Material = Enum.Material.Metal,Size = Vector3.new(1.04999983, 0.280000031, 0.600000083),CFrame = CFrame.new(30.8336945, 1.78095484, -174.838608, 1.77882612e-07, 8.97198333e-08, 1.00000238, 1.86264515e-08, -1.00000238, 8.64238245e-08, 1.00000238, -1.86264515e-08, -1.48080289e-07),BottomSurface = Enum.SurfaceType.Smooth,})
|
| 1518 | - | B:Destroy() |
| 1518 | + | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.74157321e-07, 1.39698386e-08, 1.00000179, 8.98216967e-08, -1.00000179, -1.39698386e-08, 1.00000179, 8.63292371e-08, -1.5180558e-07),C1 = CFrame.new(-0.226764679, -1.01831722, -0.00540161133, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1519 | - | B:Destroy() |
| 1519 | + | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.290000111, 1.09000003),CFrame = CFrame.new(31.0538521, 2.35747933, -174.842865, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
|
| 1520 | - | B:Destroy() |
| 1520 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1521 | - | B:Destroy() |
| 1521 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.0129470825, -0.439409733, -0.0013885498, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1522 | - | B:Destroy() |
| 1522 | + | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0700000003, 0.330000103, 0.229999959),CFrame = CFrame.new(30.5736599, 2.35258269, -174.833267, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 1523 | - | B:Destroy() |
| 1523 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1524 | - | B:Destroy() |
| 1524 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.493125916, -0.449655056, 0.00352478027, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1525 | - | B:Destroy() |
| 1525 | + | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.2184467, 2.71683574, -174.327209, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
|
| 1526 | - | B:Destroy() |
| 1526 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1527 | - | B:Destroy() |
| 1527 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(0.14276123, -0.0838527679, 0.519622803, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1528 | - | B:Destroy() |
| 1528 | + | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.8884506, 2.71683574, -175.357208, -0.00951508619, -0.0107730282, 0.999899626, 0.248140991, 0.968642175, 0.0127975615, -0.968680024, 0.248237148, -0.00654343236),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
|
| 1529 | - | B:Destroy() |
| 1529 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 1530 | - | B:Destroy() |
| 1530 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, 0.248140842, -0.968679428, -0.0107730199, 0.968641579, 0.248236999, 0.99989897, 0.0127975577, -0.00654343236),C1 = CFrame.new(-0.177398682, -0.0763616562, -0.513442993, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1531 | - | B:Destroy() |
| 1531 | + | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0900000036, 0.330000103, 0.449999958),CFrame = CFrame.new(31.5435581, 2.35188746, -174.842529, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 1532 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1533 | - | end) |
| 1533 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.476764679, -0.439654827, 0.00360107422, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 1534 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.00999999, 0.570000112, 1.05999994),CFrame = CFrame.new(31.0635662, 2.35679555, -174.843231, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
| |
| 1535 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1536 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00322341919, -0.439983368, -0.0016784668, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1537 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0900000036, 1.41000009, 0.0799999684),CFrame = CFrame.new(31.5487957, 2.34199333, -174.842697, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1538 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1539 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.482112885, -0.44948864, 0.00337219238, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1540 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999948, 0.300000042, 1),CFrame = CFrame.new(31.3557091, 1.79857111, -174.838364, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 1541 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1542 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.294998169, -0.995002747, 4.57763672e-05, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1543 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.6384506, 1.99683368, -175.357208, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
| |
| 1544 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1545 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(-0.419433594, -0.7990098, -0.523529053, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1546 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.26000011, 0.0599999726),CFrame = CFrame.new(31.0184479, 1.71683359, -174.307205, -0.00951508526, -0.010773032, 0.999899387, -0.0110270474, 0.999884665, 0.0106679332, -0.999896705, -0.0109243607, -0.00963272899),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
| |
| 1547 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1548 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, -0.0110270362, -0.999896109, -0.0107730227, 0.999884129, -0.0109243607, 0.999898791, 0.0106679285, -0.00963272713),C1 = CFrame.new(-0.0463790894, -1.08613729, 0.527038574, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1549 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.6384487, 2.7168355, -174.327209, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
| |
| 1550 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1551 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(-0.437175751, -0.0901889801, 0.514038086, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1552 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.2084503, 2.7168355, -175.357208, -0.00951508619, -0.0107730282, 0.999899626, 0.248140991, 0.968642175, 0.0127975615, -0.968680024, 0.248237148, -0.00654343236),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
| |
| 1553 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1554 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, 0.248140842, -0.968679428, -0.0107730199, 0.968641579, 0.248236999, 0.99989897, 0.0127975577, -0.00654343236),C1 = CFrame.new(0.142566681, -0.072865963, -0.510360718, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1555 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.100000001, 0.790000141, 0.0799999684),CFrame = CFrame.new(31.6096954, 3.40187716, -174.848618, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1556 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1557 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.531375885, 0.610999107, 0.0093536377, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1558 | Wedge = New("WedgePart",Gunty,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.13999975, 0.230000034, 0.560000122),CFrame = CFrame.new(31.0786934, 3.13681054, -174.572098, 1.00000238, 2.2349559e-07, -2.21654773e-07, 2.05182005e-07, -1.00000215, 2.75671482e-07, -1.9185245e-07, -3.4738332e-07, -1.00000238),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
| |
| 1559 | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.00000179, 2.06011464e-07, -1.95577741e-07, 2.23604729e-07, -1.00000155, -3.41795385e-07, -2.17929482e-07, 2.81259418e-07, -1.00000179),C1 = CFrame.new(0.000720977783, 0.337183952, 0.277893066, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1560 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.5084496, 2.04683304, -174.327209, -0.00951508433, -0.0107730264, 0.999899626, 0.248140842, 0.968642294, 0.0127975615, -0.968680143, 0.248236969, -0.00654343609),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
| |
| 1561 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1562 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, 0.248140693, -0.968679547, -0.010773018, 0.968641758, 0.24823682, 0.99989897, 0.0127975577, -0.00654343609),C1 = CFrame.new(0.440120697, -0.750608444, 0.515274048, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1563 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.560000122, 1.07999992),CFrame = CFrame.new(31.0814381, 3.53226137, -174.855682, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
| |
| 1564 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1565 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.00180435181, 0.735672951, -0.00140380859, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1566 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.03999996, 0.290000111, 0.189999968),CFrame = CFrame.new(31.0686169, 2.35712481, -174.467972, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
| |
| 1567 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1568 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00174713135, -0.443641663, 0.373596191, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1569 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0799999386, 0.290000111, 0.189999968),CFrame = CFrame.new(30.5586605, 2.35274792, -174.833176, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
| |
| 1570 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1571 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.508125305, -0.449654579, 0.00347900391, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1572 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.4684525, 1.99683356, -175.357208, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
| |
| 1573 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1574 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(0.410480499, -0.789942741, -0.515533447, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1575 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.26000011, 0.0599999726),CFrame = CFrame.new(31.0184479, 1.70683408, -175.347198, -0.00951508526, -0.010773032, 0.999899387, -0.0110270474, 0.999884665, 0.0106679332, -0.999896705, -0.0109243607, -0.00963272899),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
| |
| 1576 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1577 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, -0.0110270362, -0.999896109, -0.0107730227, 0.999884129, -0.0109243607, 0.999898791, 0.0106679285, -0.00963272713),C1 = CFrame.new(-0.0363731384, -1.08493185, -0.512954712, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1578 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.5084476, 2.71683526, -174.327209, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
| |
| 1579 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1580 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(0.432731628, -0.0806851387, 0.522415161, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1581 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.290000111, 1.09000003),CFrame = CFrame.new(31.3738632, 2.35747814, -174.842865, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
| |
| 1582 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1583 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.307029724, -0.435914993, 0.00169372559, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1584 | ||
| 1585 | ||
| 1586 | local NewInstance = function(instance,parent,properties) | |
| 1587 | local inst = Instance.new(instance,parent) | |
| 1588 | if(properties)then | |
| 1589 | for i,v in next, properties do | |
| 1590 | pcall(function() inst[i] = v end) | |
| 1591 | end | |
| 1592 | end | |
| 1593 | return inst; | |
| 1594 | end | |
| 1595 | ||
| 1596 | local HW = NewInstance('Weld',char,{Part0 = ra, Part1 = Handle, C0 = CF(0, 0, 0) * angles(0,0,0)})
| |
| 1597 | ||
| 1598 | ArmorColorParts = {}
| |
| 1599 | ArmorColorParts2 = {}
| |
| 1600 | NeonColorParts = {}
| |
| 1601 | local all, last = {}, nil
| |
| 1602 | function scan(p) | |
| 1603 | for _, v in pairs(p:GetChildren()) do | |
| 1604 | if v:IsA("BasePart") then
| |
| 1605 | if v.BrickColor == BrickColor.new("Black") then
| |
| 1606 | table.insert(ArmorColorParts, v) | |
| 1607 | end | |
| 1608 | if v.BrickColor == BrickColor.new("Medium stone grey") then
| |
| 1609 | table.insert(ArmorColorParts2, v) | |
| 1610 | end | |
| 1611 | if v.BrickColor == BrickColor.new("Pearl") then
| |
| 1612 | table.insert(NeonColorParts, v) | |
| 1613 | end | |
| 1614 | if last then | |
| 1615 | local w = Instance.new("Weld")
| |
| 1616 | w.Part0, w.Part1 = last, v | |
| 1617 | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() | |
| 1618 | w.Parent = last | |
| 1619 | end | |
| 1620 | table.insert(all, v) | |
| 1621 | last = v | |
| 1622 | end | |
| 1623 | scan(v) | |
| 1624 | end | |
| 1625 | end | |
| 1626 | scan(Gunty) | |
| 1627 | for _, v in pairs(all) do | |
| 1628 | v.Anchored = false | |
| 1629 | v.CanCollide = false | |
| 1630 | end | |
| 1631 | ------------------------------------------------------- | |
| 1632 | --Start Customization-- | |
| 1633 | ------------------------------------------------------- | |
| 1634 | local Player_Size = 1 | |
| 1635 | if Player_Size ~= 1 then | |
| 1636 | root.Size = root.Size * Player_Size | |
| 1637 | tors.Size = tors.Size * Player_Size | |
| 1638 | hed.Size = hed.Size * Player_Size | |
| 1639 | ra.Size = ra.Size * Player_Size | |
| 1640 | la.Size = la.Size * Player_Size | |
| 1641 | rl.Size = rl.Size * Player_Size | |
| 1642 | ll.Size = ll.Size * Player_Size | |
| 1643 | ---------------------------------------------------------------------------------- | |
| 1644 | rootj.Parent = root | |
| 1645 | neck.Parent = tors | |
| 1646 | RW.Parent = tors | |
| 1647 | LW.Parent = tors | |
| 1648 | RH.Parent = tors | |
| 1649 | LH.Parent = tors | |
| 1650 | ---------------------------------------------------------------------------------- | |
| 1651 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1652 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1653 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1654 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
| 1655 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
| 1656 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
| 1657 | ---------------------------------------------------------------------------------- | |
| 1658 | RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1659 | LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1660 | RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1661 | LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1662 | --hat.Parent = Character | |
| 1663 | end | |
| 1664 | ---------------------------------------------------------------------------------- | |
| 1665 | local SONG = 1547042045 | |
| 1666 | local SONG2 = 0 | |
| 1667 | local Music = Instance.new("Sound",tors)
| |
| 1668 | Music.Volume = 2.5 | |
| 1669 | Music.Looped = true | |
| 1670 | Music.Pitch = 1 --Pitcher | |
| 1671 | ---------------------------------------------------------------------------------- | |
| 1672 | local equipped = false | |
| 1673 | local idle = 0 | |
| 1674 | local change = 1 | |
| 1675 | local val = 0 | |
| 1676 | local toim = 0 | |
| 1677 | local idleanim = 0.4 | |
| 1678 | local sine = 0 | |
| 1679 | local Mode = 1 | |
| 1680 | ---------------------------------------------------------------------------------- | |
| 1681 | hum.WalkSpeed = 8 | |
| 1682 | hum.JumpPower = 57 | |
| 1683 | hum.Animator.Parent = nil | |
| 1684 | local naeeym2 = IT("BillboardGui",char)
| |
| 1685 | naeeym2.AlwaysOnTop = true | |
| 1686 | naeeym2.Size = UDim2.new(5,35,2,15) | |
| 1687 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
| 1688 | naeeym2.MaxDistance = 75 | |
| 1689 | naeeym2.Adornee = hed | |
| 1690 | naeeym2.Name = "Name" | |
| 1691 | --naeeym2.PlayerToHideFrom = Player | |
| 1692 | local tecks2 = IT("TextLabel",naeeym2)
| |
| 1693 | tecks2.BackgroundTransparency = 1 | |
| 1694 | tecks2.TextScaled = true | |
| 1695 | tecks2.BorderSizePixel = 0 | |
| 1696 | tecks2.Text = "Estl's Fists, 1-8" | |
| 1697 | tecks2.Font = "Fantasy" | |
| 1698 | tecks2.TextSize = 30 | |
| 1699 | tecks2.TextStrokeTransparency = 0 | |
| 1700 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
| 1701 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) | |
| 1702 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1703 | tecks2.Parent = naeeym2 | |
| 1704 | ------------------------------------------------------- | |
| 1705 | --End Customization-- | |
| 1706 | ------------------------------------------------------- | |
| 1707 | ||
| 1708 | ||
| 1709 | ------------------------------------------------------- | |
| 1710 | --Start Attacks N Stuff-- | |
| 1711 | ------------------------------------------------------- | |
| 1712 | function resetmode() | |
| 1713 | tecks2.Text = "Relaxed" | |
| 1714 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
| 1715 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) | |
| 1716 | for i, v in pairs(ArmorColorParts) do | |
| 1717 | v.BrickColor = BrickColor.new("Black")
| |
| 1718 | v.Material = "SmoothPlastic" | |
| 1719 | v.Transparency = 0 | |
| 1720 | end | |
| 1721 | for i, v in pairs(ArmorColorParts2) do | |
| 1722 | v.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1723 | v.Material = "Metal" | |
| 1724 | v.Transparency = 0 | |
| 1725 | end | |
| 1726 | for i, v in pairs(NeonColorParts) do | |
| 1727 | maincolor = BrickColor.new("Pearl")
| |
| 1728 | v.BrickColor = maincolor | |
| 1729 | v.Material = "Neon" | |
| 1730 | v.Transparency = 0 | |
| 1731 | end | |
| 1732 | Mode = 1 | |
| 1733 | SONG = 2631010732 | |
| 1734 | end | |
| 1735 | function Taunt() | |
| 1736 | attack = true | |
| 1737 | hum.WalkSpeed = 0 | |
| 1738 | TAUNT:Play() | |
| 1739 | repeat | |
| 1740 | swait() | |
| 1741 | TAUNT.Parent = tors | |
| 1742 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15) | |
| 1743 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-3 - 1.5 * Cos(sine / 7)), Rad(0), Rad(-25)), 0.3) | |
| 1744 | RH.C0 = clerp(RH.C0, CF(.8* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, .2* Player_Size) * angles(Rad(0), Rad(45), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 1745 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 1746 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-20), Rad(25)), 0.1) | |
| 1747 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(78 + 3.5 * Cos(sine / 20)), Rad(-25), Rad(-20)), 0.1) | |
| 1748 | until TAUNT.Playing == false | |
| 1749 | attack = false | |
| 1750 | hum.WalkSpeed = 8 | |
| 1751 | end | |
| 1752 | function attackone() | |
| 1753 | attack = true | |
| 1754 | hum.WalkSpeed = 3.01 | |
| 1755 | for i = 0, 1.7, 0.1 do | |
| 1756 | swait() | |
| 1757 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(-40)), 0.3) | |
| 1758 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3) | |
| 1759 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-7)), 0.3) | |
| 1760 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3) | |
| 1761 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .3* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(45)), 0.3) | |
| 1762 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3) | |
| 1763 | end | |
| 1764 | Cso("203426541", ra, 10, 1)
| |
| 1765 | HitboxFunction(root.CFrame * CF(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal") | |
| 1766 | CameraEnshaking(2, 5) | |
| 1767 | for i = 0, 1.4, 0.1 do | |
| 1768 | swait() | |
| 1769 | BlockEffect(maincolor, ra.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2) | |
| 1770 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(55)), 0.3) | |
| 1771 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3) | |
| 1772 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(87), Rad(0)) * angles(Rad(-30), Rad(0), Rad(15)), 0.3) | |
| 1773 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-5), Rad(0), Rad(9)), 0.3) | |
| 1774 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(35)), 0.3) | |
| 1775 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3) | |
| 1776 | end | |
| 1777 | hum.WalkSpeed = 8 | |
| 1778 | attack = false | |
| 1779 | end | |
| 1780 | function attacktwo() | |
| 1781 | attack = true | |
| 1782 | hum.WalkSpeed = 3.01 | |
| 1783 | for i = 0, 1.7, 0.1 do | |
| 1784 | swait() | |
| 1785 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
| 1786 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3) | |
| 1787 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-45)), 0.3) | |
| 1788 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3) | |
| 1789 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3) | |
| 1790 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3) | |
| 1791 | end | |
| 1792 | Cso("203426541", rl, 10, 1)
| |
| 1793 | HitboxFunction(root.CFrame * CF(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal") | |
| 1794 | CameraEnshaking(2, 3) | |
| 1795 | for i = 0, 1.4, 0.1 do | |
| 1796 | swait() | |
| 1797 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
| 1798 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3) | |
| 1799 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(65)), 0.3) | |
| 1800 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(35)), 0.3) | |
| 1801 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3) | |
| 1802 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3) | |
| 1803 | end | |
| 1804 | hum.WalkSpeed = 8 | |
| 1805 | attack = false | |
| 1806 | end | |
| 1807 | function attackthree() | |
| 1808 | attack = true | |
| 1809 | hum.WalkSpeed = 3.01 | |
| 1810 | for i = 0, 1.4, 0.1 do | |
| 1811 | swait() | |
| 1812 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
| 1813 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
| 1814 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.3) | |
| 1815 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.3) | |
| 1816 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3) | |
| 1817 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3) | |
| 1818 | end | |
| 1819 | Cso("203426541", hed, 10, 1)
| |
| 1820 | for i = 0, 1.7, 0.1 do | |
| 1821 | swait() | |
| 1822 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
| 1823 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
| 1824 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(30)), 0.3) | |
| 1825 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-30)), 0.3) | |
| 1826 | RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3) | |
| 1827 | LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3) | |
| 1828 | end | |
| 1829 | CameraEnshaking(2, 8) | |
| 1830 | Cso("260435136", hed, 10, .9)
| |
| 1831 | BlockEffect(maincolor, Handle.CFrame * CF(0, -2, 0), 11, 11, 11, 10, 10, 10, 0.04, 1) | |
| 1832 | BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -2, 0), 6, 6, 6, 5, 5, 5, 0.04, 1)
| |
| 1833 | HitboxFunction(root.CFrame * CF(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal") | |
| 1834 | for i = 0, 1.8, 0.1 do | |
| 1835 | swait() | |
| 1836 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.2) | |
| 1837 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.2) | |
| 1838 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.2) | |
| 1839 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.2) | |
| 1840 | RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.2) | |
| 1841 | LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.2) | |
| 1842 | end | |
| 1843 | hum.WalkSpeed = 8 | |
| 1844 | attack = false | |
| 1845 | end | |
| 1846 | function Power_Burst() | |
| 1847 | hum.WalkSpeed = 4 | |
| 1848 | attack = true | |
| 1849 | Cso("163619849", Handle, 10, 1.35)
| |
| 1850 | for i = 0,4.3,0.1 do | |
| 1851 | swait() | |
| 1852 | PixelBlock(3,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.2,0.2,0.2,0.01,maincolor,0) | |
| 1853 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15) | |
| 1854 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-23 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3) | |
| 1855 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
| 1856 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
| 1857 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1858 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1859 | end | |
| 1860 | CameraEnshaking(2.5, 20) | |
| 1861 | Cso("539294959", Handle, 10, .9)
| |
| 1862 | BlockEffect(maincolor, Handle.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1) | |
| 1863 | BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1)
| |
| 1864 | HitboxFunction(root.CFrame * CF(0, 0, -0), 0.01, 1, 1, 1, 19, 30, 75, 35, "Normal") | |
| 1865 | for i = 0,3,0.1 do | |
| 1866 | swait() | |
| 1867 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15) | |
| 1868 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3) | |
| 1869 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
| 1870 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
| 1871 | RW.C0 = clerp(RW.C0, CF(1.5, 0.01 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1872 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1873 | end | |
| 1874 | hum.WalkSpeed = 8 | |
| 1875 | attack = false | |
| 1876 | end | |
| 1877 | function Magic_Bombs() | |
| 1878 | attack = true | |
| 1879 | hum.WalkSpeed = 0 | |
| 1880 | local GYRO = IT("BodyGyro",root)
| |
| 1881 | GYRO.D = 100 | |
| 1882 | GYRO.P = 2000 | |
| 1883 | GYRO.MaxTorque = VT(0,4000000,0) | |
| 1884 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
| 1885 | for i = 0,3.6,0.1 do | |
| 1886 | swait() | |
| 1887 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
| 1888 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
| 1889 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 1890 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 1891 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
| 1892 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
| 1893 | end | |
| 1894 | CameraEnshaking(1, 6) | |
| 1895 | GYRO:Destroy() | |
| 1896 | Cso("588734356", Handle, 10, 1.05)
| |
| 1897 | BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1) | |
| 1898 | BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
| |
| 1899 | HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal") | |
| 1900 | for i = 0,2,0.1 do | |
| 1901 | swait() | |
| 1902 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
| 1903 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
| 1904 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 1905 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 1906 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2) | |
| 1907 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
| 1908 | end | |
| 1909 | local GYRO = IT("BodyGyro",root)
| |
| 1910 | GYRO.D = 100 | |
| 1911 | GYRO.P = 2000 | |
| 1912 | GYRO.MaxTorque = VT(0,4000000,0) | |
| 1913 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
| 1914 | for i = 0,2.4,0.1 do | |
| 1915 | swait() | |
| 1916 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
| 1917 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
| 1918 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 1919 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 1920 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
| 1921 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
| 1922 | end | |
| 1923 | GYRO:Destroy() | |
| 1924 | CameraEnshaking(1, 6) | |
| 1925 | Cso("588734356", Handle, 10, 1.05)
| |
| 1926 | BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1) | |
| 1927 | BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
| |
| 1928 | HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6,5, 14, 24, 2, "Normal") | |
| 1929 | for i = 0,2,0.1 do | |
| 1930 | swait() | |
| 1931 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
| 1932 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
| 1933 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 1934 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 1935 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2) | |
| 1936 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
| 1937 | end | |
| 1938 | local GYRO = IT("BodyGyro",root)
| |
| 1939 | GYRO.D = 100 | |
| 1940 | GYRO.P = 2000 | |
| 1941 | GYRO.MaxTorque = VT(0,4000000,0) | |
| 1942 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
| 1943 | for i = 0,2.4,0.1 do | |
| 1944 | swait() | |
| 1945 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
| 1946 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
| 1947 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 1948 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 1949 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
| 1950 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
| 1951 | end | |
| 1952 | GYRO:Destroy() | |
| 1953 | CameraEnshaking(1, 6) | |
| 1954 | Cso("588734356", Handle, 10, 1.05)
| |
| 1955 | BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1) | |
| 1956 | BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
| |
| 1957 | HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal") | |
| 1958 | for i = 0,2,0.1 do | |
| 1959 | swait() | |
| 1960 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
| 1961 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
| 1962 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 1963 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 1964 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2) | |
| 1965 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
| 1966 | end | |
| 1967 | attack = false | |
| 1968 | hum.WalkSpeed = 8 | |
| 1969 | end | |
| 1970 | function Dangerous_Field() | |
| 1971 | attack = true | |
| 1972 | hum.WalkSpeed = 0 | |
| 1973 | for i = 0,10,0.1 do | |
| 1974 | swait() | |
| 1975 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.2) | |
| 1976 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
| 1977 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2), Rad(0), Rad(-2.1)), 0.15) | |
| 1978 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 1979 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(90)), 0.2) | |
| 1980 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(-90)), 0.2) | |
| 1981 | CameraEnshaking(1, 7) | |
| 1982 | Cso("588734356", Handle, 10, 1.2)
| |
| 1983 | BlockEffect(maincolor, Handle.CFrame * CF(0, -8, 0), 9, 9, 9, 11, 11, 11, 0.07, 1) | |
| 1984 | BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -8, 0), 3, 3, 3, 5, 5, 5, 0.05, 1)
| |
| 1985 | HitboxFunction(Handle.CFrame * CF(0, 0, -10.3), 0.05, 1, 1, 1, 7.3, 15, 20, 3, "Normal") | |
| 1986 | HitboxFunction(Handle.CFrame * CF(0, 0, -0), 0.05, 1, 1, 1, 5, 2, 3, 10, "Normal") | |
| 1987 | end | |
| 1988 | attack = false | |
| 1989 | hum.WalkSpeed = 8 | |
| 1990 | end | |
| 1991 | function Shockwave() | |
| 1992 | attack = true | |
| 1993 | hum.WalkSpeed = 0 | |
| 1994 | for i = 0,4,0.1 do | |
| 1995 | swait() | |
| 1996 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
| 1997 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1998 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
| 1999 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
| 2000 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2001 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2002 | end | |
| 2003 | coroutine.resume(coroutine.create(function() | |
| 2004 | BlockEffect(maincolor, rl.CFrame * CF(-1, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2005 | BlockEffect(maincolor, rl.CFrame * CF(-3, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2006 | BlockEffect(maincolor, rl.CFrame * CF(2, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2007 | HitboxFunction(rl.CFrame * CF(-1, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare") | |
| 2008 | HitboxFunction(rl.CFrame * CF(-3, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare") | |
| 2009 | HitboxFunction(rl.CFrame * CF(2, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare") | |
| 2010 | CameraEnshaking(1, 7) | |
| 2011 | wait(0.05) | |
| 2012 | BlockEffect(maincolor, rl.CFrame * CF(-0.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2013 | BlockEffect(maincolor, rl.CFrame * CF(-2.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2014 | BlockEffect(maincolor, rl.CFrame * CF(1.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2015 | HitboxFunction(rl.CFrame * CF(-0.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 20, 10, "Snare") | |
| 2016 | HitboxFunction(rl.CFrame * CF(-2.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
| 2017 | HitboxFunction(rl.CFrame * CF(1.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
| 2018 | CameraEnshaking(1, 7) | |
| 2019 | wait(0.05) | |
| 2020 | BlockEffect(maincolor, rl.CFrame * CF(-0.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2021 | BlockEffect(maincolor, rl.CFrame * CF(-2.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2022 | BlockEffect(maincolor, rl.CFrame * CF(1.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2023 | HitboxFunction(rl.CFrame * CF(-0.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
| 2024 | HitboxFunction(rl.CFrame * CF(-2.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
| 2025 | HitboxFunction(rl.CFrame * CF(1.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
| 2026 | CameraEnshaking(1, 7) | |
| 2027 | wait(0.05) | |
| 2028 | BlockEffect(maincolor, rl.CFrame * CF(-0.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2029 | BlockEffect(maincolor, rl.CFrame * CF(-2.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2030 | BlockEffect(maincolor, rl.CFrame * CF(1.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2031 | HitboxFunction(rl.CFrame * CF(-0.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
| 2032 | HitboxFunction(rl.CFrame * CF(-2.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
| 2033 | HitboxFunction(rl.CFrame * CF(1.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
| 2034 | CameraEnshaking(1, 7) | |
| 2035 | wait(0.05) | |
| 2036 | BlockEffect(maincolor, rl.CFrame * CF(-0.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2037 | BlockEffect(maincolor, rl.CFrame * CF(-2.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2038 | BlockEffect(maincolor, rl.CFrame * CF(1.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2039 | HitboxFunction(rl.CFrame * CF(-0.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
| 2040 | HitboxFunction(rl.CFrame * CF(-2.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
| 2041 | HitboxFunction(rl.CFrame * CF(1.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
| 2042 | CameraEnshaking(1, 7) | |
| 2043 | wait(0.05) | |
| 2044 | BlockEffect(maincolor, rl.CFrame * CF(-0, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2045 | BlockEffect(maincolor, rl.CFrame * CF(-2, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2046 | BlockEffect(maincolor, rl.CFrame * CF(1, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2047 | HitboxFunction(rl.CFrame * CF(-0, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
| 2048 | HitboxFunction(rl.CFrame * CF(-2, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
| 2049 | HitboxFunction(rl.CFrame * CF(1, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
| 2050 | CameraEnshaking(1, 7) | |
| 2051 | end)) | |
| 2052 | Cso("440145223", Handle, 10, 1.05)
| |
| 2053 | for i = 1,7,0.1 do | |
| 2054 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
| 2055 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
| 2056 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
| 2057 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
| 2058 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) | |
| 2059 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) | |
| 2060 | end | |
| 2061 | wait(.6) | |
| 2062 | hum.WalkSpeed = 8 | |
| 2063 | attack = false | |
| 2064 | end | |
| 2065 | function Pulse() | |
| 2066 | attack = true | |
| 2067 | hum.WalkSpeed = 0 | |
| 2068 | local GYRO = IT("BodyGyro",root)
| |
| 2069 | GYRO.D = 100 | |
| 2070 | GYRO.P = 2000 | |
| 2071 | GYRO.MaxTorque = VT(0,4000000,0) | |
| 2072 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
| 2073 | for i = 0,4,0.1 do | |
| 2074 | swait() | |
| 2075 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15) | |
| 2076 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
| 2077 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
| 2078 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
| 2079 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2080 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2081 | end | |
| 2082 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2083 | HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 30, 40, 0, "Freeze") | |
| 2084 | CameraEnshaking(1, 25) | |
| 2085 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2086 | HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
| 2087 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2088 | HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
| 2089 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2090 | HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
| 2091 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2092 | HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
| 2093 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2094 | HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
| 2095 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2096 | HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
| 2097 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2098 | HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
| 2099 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2100 | HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
| 2101 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2102 | HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
| 2103 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2104 | HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
| 2105 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
| 2106 | HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
| 2107 | Cso("440145223", Handle, 10, 1.05)
| |
| 2108 | GYRO:Destroy() | |
| 2109 | for i = 1,2,0.1 do | |
| 2110 | swait() | |
| 2111 | PixelBlock(2,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.04,0.04,0.04,0.06,maincolor,0) | |
| 2112 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15) | |
| 2113 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
| 2114 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
| 2115 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
| 2116 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2117 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2118 | end | |
| 2119 | hum.WalkSpeed = 8 | |
| 2120 | attack = false | |
| 2121 | end | |
| 2122 | function LAZER() | |
| 2123 | attack = true | |
| 2124 | hum.WalkSpeed = 0.03 | |
| 2125 | for i = 0,4,0.1 do | |
| 2126 | swait() | |
| 2127 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15) | |
| 2128 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
| 2129 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
| 2130 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
| 2131 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2132 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2133 | end | |
| 2134 | LAZOR:Play() | |
| 2135 | local GYRO = IT("BodyGyro",root)
| |
| 2136 | GYRO.D = 100 | |
| 2137 | GYRO.P = 2000 | |
| 2138 | GYRO.MaxTorque = VT(0,4000000,0) | |
| 2139 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
| 2140 | repeat | |
| 2141 | swait(2) | |
| 2142 | PixelBlock(2,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.3,0.3,0.3,0.4,maincolor,0) | |
| 2143 | PixelBlock(4,3,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.5,maincolor,0) | |
| 2144 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
| 2145 | LAZOR.Parent = ra | |
| 2146 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
| 2147 | HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 1, 5, 0, "Freeze") | |
| 2148 | CameraEnshaking(1, 7) | |
| 2149 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
| 2150 | HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
| 2151 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
| 2152 | HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
| 2153 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
| 2154 | HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
| 2155 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
| 2156 | HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
| 2157 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
| 2158 | HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
| 2159 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
| 2160 | HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
| 2161 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
| 2162 | HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
| 2163 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
| 2164 | HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
| 2165 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
| 2166 | HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
| 2167 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
| 2168 | HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
| 2169 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
| 2170 | HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
| 2171 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -65, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
| 2172 | HitboxFunction(Handle.CFrame * CF(0, -67, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
| 2173 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -70, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
| 2174 | HitboxFunction(Handle.CFrame * CF(0, -72, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
| 2175 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -75, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
| 2176 | HitboxFunction(Handle.CFrame * CF(0, -77, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
| 2177 | until LAZOR.Playing == false | |
| 2178 | GYRO:Destroy() | |
| 2179 | hum.WalkSpeed = 8 | |
| 2180 | attack = false | |
| 2181 | end | |
| 2182 | function Spirit_Beam() | |
| 2183 | attack = true | |
| 2184 | hum.WalkSpeed = 0 | |
| 2185 | local GYRO = IT("BodyGyro",root)
| |
| 2186 | GYRO.D = 100 | |
| 2187 | GYRO.P = 2000 | |
| 2188 | GYRO.MaxTorque = VT(0,4000000,0) | |
| 2189 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
| 2190 | for i = 0,5,0.1 do | |
| 2191 | swait() | |
| 2192 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
| 2193 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2194 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2195 | RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
| 2196 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
| 2197 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2198 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-0 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2199 | end | |
| 2200 | ref = New("Part",m,"ref",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),})
| |
| 2201 | HitboxFunction(ref.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 4, 25, 50, 1, "Normal") | |
| 2202 | BlockEffect(maincolor, ref.CFrame * CF(-0, -0, -0), 4, 4, 4, 5, 5, 5, 0.07, 1) | |
| 2203 | local beam = Instance.new("Part", workspace)
| |
| 2204 | beam.BrickColor = BrickColor.new("Fog")
| |
| 2205 | beam.FormFactor = "Custom" | |
| 2206 | beam.Material = "Glass" | |
| 2207 | beam.Transparency = 0.5 | |
| 2208 | beam.Anchored = true | |
| 2209 | beam.Locked = true | |
| 2210 | beam.CanCollide = false | |
| 2211 | local distance = (Handle.CFrame.p - mouse.Hit.p).magnitude | |
| 2212 | beam.Size = Vector3.new(1.05, 1.05, distance) | |
| 2213 | beam.CFrame = CFrame.new(Handle.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2) | |
| 2214 | game:GetService("Debris"):AddItem(beam, 0.14)
| |
| 2215 | local sound = Instance.new('Sound',Handle)
| |
| 2216 | sound.SoundId = 'rbxassetid://588697948' | |
| 2217 | sound.Volume = 7 | |
| 2218 | sound.EmitterSize = 40 | |
| 2219 | sound.MaxDistance = 450 | |
| 2220 | sound:Play() | |
| 2221 | game:GetService("Debris"):AddItem(beam, sound.TimeLength)
| |
| 2222 | GYRO:Destroy() | |
| 2223 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
| 2224 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
| 2225 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
| 2226 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
| 2227 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
| 2228 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
| 2229 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
| 2230 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
| 2231 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
| 2232 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
| 2233 | wait(0.3) | |
| 2234 | attack = false | |
| 2235 | hum.WalkSpeed = 8 | |
| 2236 | ref:Destroy() | |
| 2237 | end | |
| 2238 | function Distort() | |
| 2239 | attack = true | |
| 2240 | hum.WalkSpeed = 0 | |
| 2241 | local pos = root.Position | |
| 2242 | root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos) | |
| 2243 | Cso("261227592", tors, 10, 0.85)
| |
| 2244 | for i = 1,2.5,0.1 do | |
| 2245 | swait() | |
| 2246 | rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 2247 | end | |
| 2248 | attack = false | |
| 2249 | hum.WalkSpeed = 8 | |
| 2250 | end | |
| 2251 | function Ancient_Rage() | |
| 2252 | attack = true | |
| 2253 | hum.WalkSpeed = 4 | |
| 2254 | Cso("907329532", tors, 10, 1.05)
| |
| 2255 | for i = 1,14,0.1 do | |
| 2256 | swait() | |
| 2257 | rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 2258 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
| 2259 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
| 2260 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
| 2261 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2262 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2263 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 7)) do | |
| 2264 | if v:FindFirstChild("Head") then
| |
| 2265 | Eviscerate(v) | |
| 2266 | end | |
| 2267 | end | |
| 2268 | end | |
| 2269 | attack = false | |
| 2270 | hum.WalkSpeed = 8 | |
| 2271 | end | |
| 2272 | function TTTTTTTTTTTaunt() | |
| 2273 | attack = true | |
| 2274 | hum.WalkSpeed = 0 | |
| 2275 | DTAUNT:Play() | |
| 2276 | repeat | |
| 2277 | swait() | |
| 2278 | DTAUNT.Parent = tors | |
| 2279 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
| 2280 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3) | |
| 2281 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
| 2282 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
| 2283 | RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1) | |
| 2284 | LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1) | |
| 2285 | until DTAUNT.Playing == false | |
| 2286 | attack = false | |
| 2287 | hum.WalkSpeed = 8 | |
| 2288 | end | |
| 2289 | function HAAH() | |
| 2290 | attack = true | |
| 2291 | hum.WalkSpeed = 0 | |
| 2292 | Cso("300208779", hed, 10, 1)
| |
| 2293 | for i = 0,9,0.1 do | |
| 2294 | swait() | |
| 2295 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15) | |
| 2296 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3) | |
| 2297 | if Mrandom(1,15) == 1 then | |
| 2298 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1) | |
| 2299 | end | |
| 2300 | RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15) | |
| 2301 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15) | |
| 2302 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1) | |
| 2303 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1) | |
| 2304 | end | |
| 2305 | attack = false | |
| 2306 | hum.WalkSpeed = 10 | |
| 2307 | end | |
| 2308 | function again() | |
| 2309 | attack = true | |
| 2310 | hum.WalkSpeed = 0 | |
| 2311 | ITAUNT:Play() | |
| 2312 | repeat | |
| 2313 | swait() | |
| 2314 | ITAUNT.Parent = tors | |
| 2315 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.08) | |
| 2316 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
| 2317 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-25)), 0.08) | |
| 2318 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08) | |
| 2319 | RW.C0 = clerp(RW.C0, CF(1.5, 0.8 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(120 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2320 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(75), Rad(10 * Cos(sine / 20)), Rad(-0 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2321 | until ITAUNT.Playing == false | |
| 2322 | attack = false | |
| 2323 | hum.WalkSpeed = 8 | |
| 2324 | end | |
| 2325 | function LunarSpin() | |
| 2326 | attack = true | |
| 2327 | hum.WalkSpeed = 0 | |
| 2328 | for i = 0,17,0.05 do | |
| 2329 | CameraEnshaking(1, 5) | |
| 2330 | MagniDamage(tors, 47, 2, 5, 0, "Normal") | |
| 2331 | Effects.Spiral.Create(BrickC("Teal"), tors.CFrame * CF(0, 0, 0), 3, 3, 3, 4, 4, 4, 0.03)
| |
| 2332 | Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
| |
| 2333 | swait() | |
| 2334 | PixelBlock(1.5,14,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-360,360)),math.rad(math.random(-50,50))),3,3,3,0.3,maincolor,0) | |
| 2335 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) | |
| 2336 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
| 2337 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2338 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2339 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1) | |
| 2340 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1) | |
| 2341 | end | |
| 2342 | hum.WalkSpeed = 8 | |
| 2343 | attack = false | |
| 2344 | end | |
| 2345 | function Decapitate() | |
| 2346 | local target = nil | |
| 2347 | local targettorso = nil | |
| 2348 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 2349 | if mouse.Target.Parent.Humanoid.PlatformStand == false then | |
| 2350 | target = mouse.Target.Parent.Humanoid | |
| 2351 | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
| |
| 2352 | targethead = mouse.Target.Parent:FindFirstChild("Head")
| |
| 2353 | end | |
| 2354 | end | |
| 2355 | if target ~= nil then | |
| 2356 | targettorso.Anchored = true | |
| 2357 | attack = true | |
| 2358 | hum.WalkSpeed = 0 | |
| 2359 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
| 2360 | for i = 0,4.2,0.1 do | |
| 2361 | swait() | |
| 2362 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15) | |
| 2363 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
| 2364 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 2365 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 2366 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(35)), 0.1) | |
| 2367 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 2368 | end | |
| 2369 | local ModelHead01 = New("Model", char, "", {})
| |
| 2370 | local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
| |
| 2371 | local Head01 = targethead:Clone() | |
| 2372 | targethead.Transparency = 1 | |
| 2373 | Head01.Parent = ModelHead01 | |
| 2374 | local weldHead01 = Instance.new("Weld")
| |
| 2375 | weldHead01.Parent = Head01 | |
| 2376 | weldHead01.Part0 = targethead | |
| 2377 | weldHead01.Part1 = Head01 | |
| 2378 | weldHead01.C1 = CFrame.new(0, 0, 0) | |
| 2379 | targethead.face:Remove() | |
| 2380 | weldHead01.Part0 = ra | |
| 2381 | weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 2382 | targettorso:BreakJoints() | |
| 2383 | CreateSound("314390675", targettorso, 5, .7)
| |
| 2384 | for i = 0,3.2,0.1 do | |
| 2385 | swait() | |
| 2386 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
| 2387 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
| 2388 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
| 2389 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(50)), 0.15) | |
| 2390 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(20), Rad(90)), 0.1) | |
| 2391 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 2392 | end | |
| 2393 | for i = 0,4.2,0.1 do | |
| 2394 | swait() | |
| 2395 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15) | |
| 2396 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
| 2397 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
| 2398 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
| 2399 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1) | |
| 2400 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1) | |
| 2401 | end | |
| 2402 | CreateSound("541909763", targettorso, 5, .8)
| |
| 2403 | weldHead01:Destroy() | |
| 2404 | Head01.CanCollide = true | |
| 2405 | local bodyVelocity2 = Create("BodyVelocity")({
| |
| 2406 | velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50, | |
| 2407 | P = 5000, | |
| 2408 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 2409 | Parent = Head01 | |
| 2410 | }) | |
| 2411 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
| |
| 2412 | for i = 0,6.2,0.1 do | |
| 2413 | swait() | |
| 2414 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15) | |
| 2415 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3) | |
| 2416 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
| 2417 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
| 2418 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1) | |
| 2419 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1) | |
| 2420 | end | |
| 2421 | targettorso.Anchored = false | |
| 2422 | attack = false | |
| 2423 | hum.WalkSpeed = 8 | |
| 2424 | root.CFrame = targettorso.CFrame * CF(0,0,3.4) | |
| 2425 | end | |
| 2426 | end | |
| 2427 | function BalanceSpin() | |
| 2428 | attack = true | |
| 2429 | hum.WalkSpeed = 2 | |
| 2430 | for i = 0,17,0.07 do | |
| 2431 | CameraEnshaking(1, 5) | |
| 2432 | MagniDamage(tors, 30, 7, 11, 0, "Normal") | |
| 2433 | swait() | |
| 2434 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, maincolor, 0, "Brick") | |
| 2435 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, BrickColor.new("Black"), 0, "Brick")
| |
| 2436 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, maincolor, 0, "Brick") | |
| 2437 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) | |
| 2438 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
| 2439 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2440 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2441 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1) | |
| 2442 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1) | |
| 2443 | end | |
| 2444 | hum.WalkSpeed = 8 | |
| 2445 | attack = false | |
| 2446 | end | |
| 2447 | ||
| 2448 | function BARK() | |
| 2449 | attack = true | |
| 2450 | hum.WalkSpeed = 0 | |
| 2451 | BATAUNT:Play() | |
| 2452 | repeat | |
| 2453 | BATAUNT.Parent = tors | |
| 2454 | swait() | |
| 2455 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.02 * Cos(sine / 2)) * angles(Rad(-2), Rad(1), Rad(15)), 0.1) | |
| 2456 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1) | |
| 2457 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(Rad(90 - 2 * Cos(sine / 1)), Rad(0), Rad(-50)), 0.1) | |
| 2458 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(Rad(70 + 2 * Cos(sine / 1)), Rad(-7), Rad(70)), 0.1) | |
| 2459 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * RHCF * angles(Rad(-4), Rad(0), Rad(-10 + 0.05 * math.cos(sine / 25))), 0.1) | |
| 2460 | LH.C0 = clerp(LH.C0, CF(-1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * LHCF * angles(Rad(-4), Rad(0), Rad(10 + 0.05 * Cos(sine / 25))), 0.1) | |
| 2461 | until BATAUNT.Playing == false | |
| 2462 | attack = false | |
| 2463 | hum.WalkSpeed = 8 | |
| 2464 | end | |
| 2465 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
| 2466 | local NSound = nil | |
| 2467 | coroutine.resume(coroutine.create(function() | |
| 2468 | NSound = Instance.new("Sound", PARENT)
| |
| 2469 | NSound.Volume = VOLUME | |
| 2470 | NSound.Pitch = PITCH | |
| 2471 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 2472 | swait() | |
| 2473 | NSound:play() | |
| 2474 | game:GetService("Debris"):AddItem(NSound, 10)
| |
| 2475 | end)) | |
| 2476 | return NSound | |
| 2477 | end | |
| 2478 | function Bark_Splosion() | |
| 2479 | attack = true | |
| 2480 | for i = 0,2,0.05 do | |
| 2481 | swait() | |
| 2482 | Effects.Block.Create(BrickC("Cool yellow"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
| |
| 2483 | Effects.Block.Create(BrickC("Medium stone grey"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
| |
| 2484 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
| 2485 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2486 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
| 2487 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
| 2488 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2489 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2490 | end | |
| 2491 | CreateSound("331666100", tors, 10, 1)
| |
| 2492 | Effects.Ring.Create(BrickC("Cool yellow"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(-1),Rad(0)), 2.5, 2.5, 40, 3, 3, 45, 0.01)
| |
| 2493 | MagniDamage(tors, 34, 25, 50, 15, "DarkUp") | |
| 2494 | CameraEnshaking(1.5, 10) | |
| 2495 | for i = 1,2,0.1 do | |
| 2496 | swait() | |
| 2497 | PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
| 2498 | PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
| 2499 | PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
| 2500 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.8) | |
| 2501 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9) | |
| 2502 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.8) | |
| 2503 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.8) | |
| 2504 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.75) | |
| 2505 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.75) | |
| 2506 | end | |
| 2507 | wait(.6) | |
| 2508 | attack = false | |
| 2509 | end | |
| 2510 | corrupted = false | |
| 2511 | function Pixel_Corrupt() | |
| 2512 | attack = true | |
| 2513 | corrupted = true | |
| 2514 | for i = 0,3,0.05 do | |
| 2515 | swait() | |
| 2516 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.8) | |
| 2517 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9) | |
| 2518 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.8) | |
| 2519 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.8) | |
| 2520 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.75) | |
| 2521 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.75) | |
| 2522 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
| 2523 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2524 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
| 2525 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
| 2526 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2527 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2528 | end | |
| 2529 | refa = New("Part",m,"refa",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),})
| |
| 2530 | HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 20, 20, 25, 0, "Normal") | |
| 2531 | BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 30, 30, 30, 32, 32, 32, 0.07, 1) | |
| 2532 | CreateSound("331666100", refa, 10, 1)
| |
| 2533 | CameraEnshaking(1.5, 10) | |
| 2534 | coroutine.resume(coroutine.create(function() | |
| 2535 | for i = 1,20,0.1 do | |
| 2536 | swait(5) | |
| 2537 | PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0) | |
| 2538 | PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0) | |
| 2539 | PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0) | |
| 2540 | PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0) | |
| 2541 | CreateSound("331666100", refa, 10, 1)
| |
| 2542 | BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 22, 22, 22, 25, 25, 25, 0.041, 1) | |
| 2543 | HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 21.3, 5, 8, 0, "Normal") | |
| 2544 | end | |
| 2545 | refa:Destroy() | |
| 2546 | corrupted = false | |
| 2547 | end)) | |
| 2548 | for i = 1,2.5,0.1 do | |
| 2549 | swait() | |
| 2550 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.4) | |
| 2551 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.6) | |
| 2552 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.4) | |
| 2553 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.4) | |
| 2554 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.3) | |
| 2555 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.3) | |
| 2556 | end | |
| 2557 | wait(.3) | |
| 2558 | attack = false | |
| 2559 | end | |
| 2560 | function un_fun() | |
| 2561 | attack = true | |
| 2562 | hum.WalkSpeed = 0 | |
| 2563 | BTAUNT:Play() | |
| 2564 | repeat | |
| 2565 | swait() | |
| 2566 | BTAUNT.Parent = tors | |
| 2567 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.08) | |
| 2568 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-2.5 * Cos(sine / 1.5))), 0.08) | |
| 2569 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(10)), 0.08) | |
| 2570 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(-10)), 0.08) | |
| 2571 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(210)), 0.08) | |
| 2572 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
| 2573 | until BTAUNT.Playing == false | |
| 2574 | attack = false | |
| 2575 | hum.WalkSpeed = 8 | |
| 2576 | end | |
| 2577 | function thisisit() | |
| 2578 | attack = true | |
| 2579 | hum.WalkSpeed = 0 | |
| 2580 | STAUNT:Play() | |
| 2581 | repeat | |
| 2582 | swait() | |
| 2583 | STAUNT.Parent = tors | |
| 2584 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
| 2585 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08) | |
| 2586 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08) | |
| 2587 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08) | |
| 2588 | RW.C0 = clerp(RW.C0, CF(1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(130)), 0.1) | |
| 2589 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-130)), 0.1) | |
| 2590 | until STAUNT.Playing == false | |
| 2591 | attack = false | |
| 2592 | hum.WalkSpeed = 8 | |
| 2593 | end | |
| 2594 | function Exploit() | |
| 2595 | exploitable = false | |
| 2596 | Cso("907332670", tors, 10, 1.05)
| |
| 2597 | coroutine.resume(coroutine.create(function() | |
| 2598 | for i = 1,20,0.1 do | |
| 2599 | swait() | |
| 2600 | BlockEffect(maincolor, tors.CFrame * CF(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)), 4, 4, 4, 0.8, 0.8, 0.8, 0.05, 1) | |
| 2601 | end | |
| 2602 | Cso("12222030", tors, 10, 1.05)
| |
| 2603 | BlockEffect(maincolor, tors.CFrame * CF(0, 0, 0), 17, 17, 17, 20, 20, 20, 0.04, 1) | |
| 2604 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 27)) do | |
| 2605 | if v:FindFirstChild("Head") then
| |
| 2606 | Eviscerate(v) | |
| 2607 | SoulSteal(v) | |
| 2608 | end | |
| 2609 | end | |
| 2610 | wait(15) | |
| 2611 | exploitable = true | |
| 2612 | end)) | |
| 2613 | end | |
| 2614 | function ASCENTION() | |
| 2615 | attack = true | |
| 2616 | hum.WalkSpeed = 0 | |
| 2617 | Cso("987502413", tors, 10, 1.05)
| |
| 2618 | local vel2 = Instance.new("BodyVelocity",tors)
| |
| 2619 | vel2.Velocity = Vector3.new(0,30,0) | |
| 2620 | vel2.MaxForce = Vector3.new(10000000,10000000,10000000) | |
| 2621 | for i = 0,20,0.1 do | |
| 2622 | HitboxFunction(tors.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 7, 10, 20, 20, "Normal") | |
| 2623 | swait() | |
| 2624 | BlockEffect(maincolor, ra.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1) | |
| 2625 | BlockEffect(maincolor, la.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1) | |
| 2626 | CameraEnshaking(1, 4) | |
| 2627 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) | |
| 2628 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
| 2629 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2630 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2631 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
| 2632 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1) | |
| 2633 | end | |
| 2634 | hum.WalkSpeed = 8 | |
| 2635 | vel2:Destroy() | |
| 2636 | attack = false | |
| 2637 | end | |
| 2638 | ------------------------------------------------------- | |
| 2639 | --End Attacks N Stuff-- | |
| 2640 | ------------------------------------------------------- | |
| 2641 | Sprinting = false | |
| 2642 | mouse.KeyDown:connect(function(key) | |
| 2643 | if string.byte(key) == 48 and attack == false and Mode ~= 10 then | |
| 2644 | Swing = 2 | |
| 2645 | hum.WalkSpeed = 38.82 | |
| 2646 | Sprinting = true | |
| 2647 | end | |
| 2648 | end) | |
| 2649 | mouse.KeyUp:connect(function(key) | |
| 2650 | if string.byte(key) == 48 and attack == false then | |
| 2651 | Swing = 1 | |
| 2652 | Sprinting = false | |
| 2653 | hum.WalkSpeed = 8 | |
| 2654 | end | |
| 2655 | end) | |
| 2656 | mouse.KeyDown:connect(function(key) | |
| 2657 | if attack == false then | |
| 2658 | if key == 'q' and Mode == 1 then | |
| 2659 | Power_Burst() | |
| 2660 | elseif key == 'g' and Mode ~= 2 then | |
| 2661 | Mode = 2 | |
| 2662 | SONG = 409475133 | |
| 2663 | tecks2.Text = "Mech" | |
| 2664 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
| 2665 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) | |
| 2666 | for i, v in pairs(ArmorColorParts) do | |
| 2667 | v.BrickColor = BrickColor.new("Bright red")
| |
| 2668 | v.Material = "Metal" | |
| 2669 | v.Transparency = 0 | |
| 2670 | end | |
| 2671 | for i, v in pairs(ArmorColorParts2) do | |
| 2672 | v.BrickColor = BrickColor.new("Persimmon")
| |
| 2673 | v.Material = "Metal" | |
| 2674 | v.Transparency = 0 | |
| 2675 | end | |
| 2676 | for i, v in pairs(NeonColorParts) do | |
| 2677 | maincolor = BrickColor.new("New Yeller")
| |
| 2678 | v.BrickColor = maincolor | |
| 2679 | v.Material = "Neon" | |
| 2680 | v.Transparency = 0 | |
| 2681 | end | |
| 2682 | elseif key == 'g' and Mode == 2 then | |
| 2683 | resetmode() | |
| 2684 | elseif key == 't' and Mode == 1 then | |
| 2685 | Taunt() | |
| 2686 | elseif key == 'q' and Mode == 2 then | |
| 2687 | Magic_Bombs() | |
| 2688 | elseif key == 'e' and Mode == 2 then | |
| 2689 | Dangerous_Field() | |
| 2690 | elseif key == 't' and Mode == 2 then | |
| 2691 | HAAH() | |
| 2692 | end | |
| 2693 | --------------------------------------------------------------------- | |
| 2694 | if key == 'm5' and Mode == 1 then | |
| 2695 | Mode = pIXELATED | |
| 2696 | SONG = 1244332148 | |
| 2697 | tecks2.Text = "Pixels" | |
| 2698 | tecks2.TextColor3 = Color3.fromRGB(0, 255, 255) | |
| 2699 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 255) | |
| 2700 | for i, v in pairs(ArmorColorParts) do | |
| 2701 | v.BrickColor = BrickColor.new("Navy blue")
| |
| 2702 | v.Material = "Glass" | |
| 2703 | v.Transparency = 0 | |
| 2704 | end | |
| 2705 | for i, v in pairs(ArmorColorParts2) do | |
| 2706 | v.BrickColor = BrickColor.new("Dark blue")
| |
| 2707 | v.Material = "Glass" | |
| 2708 | v.Transparency = 0 | |
| 2709 | end | |
| 2710 | for i, v in pairs(NeonColorParts) do | |
| 2711 | maincolor = BrickColor.new("Lapis")
| |
| 2712 | v.BrickColor = maincolor | |
| 2713 | v.Material = "Neon" | |
| 2714 | v.Transparency = 0 | |
| 2715 | end | |
| 2716 | elseif key == 'm' and Mode == pIXELATED then | |
| 2717 | resetmode() | |
| 2718 | elseif key == 'q' and Mode == pIXELATED and corrupted == false then | |
| 2719 | Pixel_Corrupt() | |
| 2720 | end | |
| 2721 | --------------------------------------------------------------------- | |
| 2722 | if key == '2' and Mode ~= 3 then | |
| 2723 | Mode = 3 | |
| 2724 | SONG = 1634231515 | |
| 2725 | tecks2.Text = "Below-Zero" | |
| 2726 | tecks2.TextColor3 = Color3.fromRGB(0, 255, 255) | |
| 2727 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) | |
| 2728 | for i, v in pairs(ArmorColorParts) do | |
| 2729 | v.BrickColor = BrickColor.new("Bright blue")
| |
| 2730 | v.Material = "Marble" | |
| 2731 | v.Transparency = 0 | |
| 2732 | end | |
| 2733 | for i, v in pairs(ArmorColorParts2) do | |
| 2734 | v.BrickColor = BrickColor.new("Institutional white")
| |
| 2735 | v.Material = "Metal" | |
| 2736 | v.Transparency = 0 | |
| 2737 | end | |
| 2738 | for i, v in pairs(NeonColorParts) do | |
| 2739 | maincolor = BrickColor.new("Toothpaste")
| |
| 2740 | v.BrickColor = maincolor | |
| 2741 | v.Material = "Neon" | |
| 2742 | v.Transparency = 0 | |
| 2743 | end | |
| 2744 | elseif key == '2' and Mode == 3 then | |
| 2745 | resetmode() | |
| 2746 | elseif key == 't' and Mode == 3 then | |
| 2747 | un_fun() | |
| 2748 | elseif key == 'q' and Mode == 3 then | |
| 2749 | Shockwave() | |
| 2750 | end | |
| 2751 | --------------------------------------------------------------------- | |
| 2752 | if key == '3' and Mode ~= 4 then | |
| 2753 | Mode = 4 | |
| 2754 | SONG = 539526132 | |
| 2755 | tecks2.Text = "Infused" | |
| 2756 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
| 2757 | tecks2.TextStrokeColor3 = Color3.fromRGB(245, 205, 48) | |
| 2758 | for i, v in pairs(ArmorColorParts) do | |
| 2759 | v.BrickColor = BrickColor.new("Black")
| |
| 2760 | v.Material = "SmoothPlastic" | |
| 2761 | v.Transparency = 0 | |
| 2762 | end | |
| 2763 | for i, v in pairs(ArmorColorParts2) do | |
| 2764 | v.BrickColor = BrickColor.new("Really black")
| |
| 2765 | v.Material = "Metal" | |
| 2766 | v.Transparency = 0 | |
| 2767 | end | |
| 2768 | for i, v in pairs(NeonColorParts) do | |
| 2769 | maincolor = BrickColor.new("Bright yellow")
| |
| 2770 | v.BrickColor = maincolor | |
| 2771 | v.Material = "Neon" | |
| 2772 | v.Transparency = 0 | |
| 2773 | end | |
| 2774 | elseif key == '3' and Mode == 4 then | |
| 2775 | resetmode() | |
| 2776 | elseif key == 't' and Mode == 4 then | |
| 2777 | again() | |
| 2778 | elseif key == 'q' and Mode == 4 then | |
| 2779 | Pulse() | |
| 2780 | end | |
| 2781 | --------------------------------------------------------------------- | |
| 2782 | if key == 'm' and Mode == 4 then | |
| 2783 | attack = true | |
| 2784 | SONG = 1764195391 | |
| 2785 | hum.WalkSpeed = 0 | |
| 2786 | for i = 1,20,0.1 do | |
| 2787 | swait() | |
| 2788 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05) | |
| 2789 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05) | |
| 2790 | RH.C0 = clerp(RH.C0, CF(1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05) | |
| 2791 | LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05) | |
| 2792 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(75)), 0.05) | |
| 2793 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-75)), 0.05) | |
| 2794 | BlockEffect(maincolor, tors.CFrame * CF(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)), 4, 4, 4, 0.8, 0.8, 0.8, 0.05, 1) | |
| 2795 | end | |
| 2796 | hum.WalkSpeed = 8 | |
| 2797 | attack = false | |
| 2798 | Mode = 100 | |
| 2799 | tecks2.Text = "Overclocked" | |
| 2800 | tecks2.TextColor3 = Color3.fromRGB(1, 1, 1) | |
| 2801 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 176, 0) | |
| 2802 | Cso("743499393", tors, 10, 1.05)
| |
| 2803 | BlockEffect(BrickC("New Yeller"), Handle.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1)
| |
| 2804 | BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1)
| |
| 2805 | for i, v in pairs(ArmorColorParts) do | |
| 2806 | v.BrickColor = BrickColor.new("Bright yellow")
| |
| 2807 | v.Material = "DiamondPlate" | |
| 2808 | v.Transparency = 0.2 | |
| 2809 | end | |
| 2810 | for i, v in pairs(ArmorColorParts2) do | |
| 2811 | v.BrickColor = BrickColor.new("Really black")
| |
| 2812 | v.Material = "Neon" | |
| 2813 | v.Transparency = 0 | |
| 2814 | end | |
| 2815 | for i, v in pairs(NeonColorParts) do | |
| 2816 | maincolor = BrickColor.new("New Yeller")
| |
| 2817 | v.BrickColor = maincolor | |
| 2818 | v.Material = "Glass" | |
| 2819 | v.Transparency = 0.5 | |
| 2820 | end | |
| 2821 | elseif key == 'm' and Mode == 100 then | |
| 2822 | resetmode() | |
| 2823 | elseif key == 'q' and Mode == 100 then | |
| 2824 | LAZER() | |
| 2825 | end | |
| 2826 | ------------------------------------------------------------------helpguide | |
| 2827 | if key == 'm' and Mode == 1 then | |
| 2828 | attack = true | |
| 2829 | SONG = 2553946092 | |
| 2830 | hum.WalkSpeed = 0 | |
| 2831 | for i = 1,20,0.1 do | |
| 2832 | swait() | |
| 2833 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05) | |
| 2834 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05) | |
| 2835 | RH.C0 = clerp(RH.C0, CF(1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05) | |
| 2836 | LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05) | |
| 2837 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(75)), 0.05) | |
| 2838 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-75)), 0.05) | |
| 2839 | BlockEffect(maincolor, tors.CFrame * CF(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)), 4, 4, 4, 0.8, 0.8, 0.8, 0.05, 1) | |
| 2840 | end | |
| 2841 | hum.WalkSpeed = 8 | |
| 2842 | attack = false | |
| 2843 | Mode = 1000 | |
| 2844 | tecks2.Text = "Chilled" | |
| 2845 | tecks2.TextColor3 = Color3.fromRGB(1, 1, 1) | |
| 2846 | tecks2.TextStrokeColor3 = Color3.fromRGB(255,255,255) | |
| 2847 | Cso("743499393", tors, 10, 1.05)
| |
| 2848 | BlockEffect(BrickC("Pearl"), Handle.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1)
| |
| 2849 | BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1)
| |
| 2850 | for i, v in pairs(ArmorColorParts) do | |
| 2851 | v.BrickColor = BrickColor.new("Light bluish violet")
| |
| 2852 | v.Material = "DiamondPlate" | |
| 2853 | v.Transparency = 0.2 | |
| 2854 | end | |
| 2855 | for i, v in pairs(ArmorColorParts2) do | |
| 2856 | v.BrickColor = BrickColor.new("Really black")
| |
| 2857 | v.Material = "Neon" | |
| 2858 | v.Transparency = 0 | |
| 2859 | end | |
| 2860 | for i, v in pairs(NeonColorParts) do | |
| 2861 | maincolor = BrickColor.new("Pearl")
| |
| 2862 | v.BrickColor = maincolor | |
| 2863 | v.Material = "Glass" | |
| 2864 | v.Transparency = 0.5 | |
| 2865 | end | |
| 2866 | elseif key == 'm' and Mode == 1000 then | |
| 2867 | resetmode() | |
| 2868 | elseif key == 'q' and Mode == 1000 then | |
| 2869 | LAZER() | |
| 2870 | end | |
| 2871 | --------------------------------------------------------------------- | |
| 2872 | if key == '4' and Mode ~= 5 then | |
| 2873 | Mode = 5 | |
| 2874 | SONG = 170282324 | |
| 2875 | tecks2.Text = "Cyber" | |
| 2876 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
| 2877 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255) | |
| 2878 | for i, v in pairs(ArmorColorParts) do | |
| 2879 | v.BrickColor = BrickColor.new("Black")
| |
| 2880 | v.Material = "SmoothPlastic" | |
| 2881 | v.Transparency = 0 | |
| 2882 | end | |
| 2883 | for i, v in pairs(ArmorColorParts2) do | |
| 2884 | v.BrickColor = BrickColor.new("Really black")
| |
| 2885 | v.Material = "Metal" | |
| 2886 | v.Transparency = 0 | |
| 2887 | end | |
| 2888 | for i, v in pairs(NeonColorParts) do | |
| 2889 | maincolor = BrickColor.new("Toothpaste")
| |
| 2890 | v.BrickColor = maincolor | |
| 2891 | v.Material = "Neon" | |
| 2892 | v.Transparency = 0 | |
| 2893 | end | |
| 2894 | elseif key == '4' and Mode == 5 then | |
| 2895 | resetmode() | |
| 2896 | elseif key == 'q' and Mode == 5 and exploitable == true then | |
| 2897 | Exploit() | |
| 2898 | end | |
| 2899 | --------------------------------------------------------------------- | |
| 2900 | if key == '5' and Mode ~= 6 then | |
| 2901 | Mode = 6 | |
| 2902 | SONG = 407749940 | |
| 2903 | tecks2.Text = "ControlledBR" | |
| 2904 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
| 2905 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 89, 89) | |
| 2906 | for i, v in pairs(ArmorColorParts) do | |
| 2907 | v.BrickColor = BrickColor.new("Dark red")
| |
| 2908 | v.Material = "SmoothPlastic" | |
| 2909 | v.Transparency = 0 | |
| 2910 | end | |
| 2911 | for i, v in pairs(ArmorColorParts2) do | |
| 2912 | v.BrickColor = BrickColor.new("Really black")
| |
| 2913 | v.Material = "Metal" | |
| 2914 | v.Transparency = 0 | |
| 2915 | end | |
| 2916 | for i, v in pairs(NeonColorParts) do | |
| 2917 | maincolor = BrickColor.new("Really red")
| |
| 2918 | v.BrickColor = maincolor | |
| 2919 | v.Material = "Neon" | |
| 2920 | v.Transparency = 0 | |
| 2921 | end | |
| 2922 | elseif key == '5' and Mode == 6 then | |
| 2923 | resetmode() | |
| 2924 | elseif key == 'q' and Mode == 6 then | |
| 2925 | Distort() | |
| 2926 | elseif key == 'e' and Mode == 6 then | |
| 2927 | Ancient_Rage() | |
| 2928 | elseif key == 't' and Mode == 6 then | |
| 2929 | TTTTTTTTTTTaunt() | |
| 2930 | end | |
| 2931 | --------------------------------------------------------------------- | |
| 2932 | if key == '6' and Mode ~= 7 then | |
| 2933 | Mode = 7 | |
| 2934 | SONG = 150794704 | |
| 2935 | tecks2.Text = "Such Wow" | |
| 2936 | tecks2.TextColor3 = Color3.fromRGB(163, 162, 165) | |
| 2937 | tecks2.TextStrokeColor3 = Color3.fromRGB(253, 234, 141) | |
| 2938 | for i, v in pairs(ArmorColorParts) do | |
| 2939 | v.BrickColor = BrickColor.new("Cool yellow")
| |
| 2940 | v.Material = "SmoothPlastic" | |
| 2941 | v.Transparency = 0 | |
| 2942 | end | |
| 2943 | for i, v in pairs(ArmorColorParts2) do | |
| 2944 | v.BrickColor = BrickColor.new("Medium stone grey")
| |
| 2945 | v.Material = "Metal" | |
| 2946 | v.Transparency = 0 | |
| 2947 | end | |
| 2948 | for i, v in pairs(NeonColorParts) do | |
| 2949 | maincolor = BrickColor.new("New Yeller")
| |
| 2950 | v.BrickColor = maincolor | |
| 2951 | v.Material = "Neon" | |
| 2952 | v.Transparency = 0 | |
| 2953 | end | |
| 2954 | elseif key == '6' and Mode == 7 then | |
| 2955 | resetmode() | |
| 2956 | elseif key == 't' and Mode == 7 then | |
| 2957 | BARK() | |
| 2958 | elseif key == 'q' and Mode == 7 then | |
| 2959 | Bark_Splosion() | |
| 2960 | end | |
| 2961 | if key == 'm' and Mode == 7 then | |
| 2962 | SONG = 257453119 | |
| 2963 | attack = true | |
| 2964 | hum.WalkSpeed = 0 | |
| 2965 | for i = 0,10,0.08 do | |
| 2966 | swait() | |
| 2967 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0 + 255.45 * i)), 0.15) | |
| 2968 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2969 | RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
| 2970 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
| 2971 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2972 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2973 | end | |
| 2974 | attack = false | |
| 2975 | hum.WalkSpeed = 8 | |
| 2976 | Mode = 50 | |
| 2977 | BlockEffect(BrickC("Magenta"), Handle.CFrame * CF(0, -0, 0), 25, 25, 25, 30, 30, 30, 0.05, 1)
| |
| 2978 | tecks2.Text = "ASCEND" | |
| 2979 | tecks2.TextColor3 = Color3.fromRGB(255, 0, 255) | |
| 2980 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) | |
| 2981 | for i, v in pairs(ArmorColorParts) do | |
| 2982 | v.BrickColor = BrickColor.new("Magenta")
| |
| 2983 | v.Material = "Foil" | |
| 2984 | v.Transparency = 0 | |
| 2985 | end | |
| 2986 | for i, v in pairs(ArmorColorParts2) do | |
| 2987 | v.BrickColor = BrickColor.new("Dark indigo")
| |
| 2988 | v.Material = "Glass" | |
| 2989 | v.Transparency = 0.1 | |
| 2990 | end | |
| 2991 | for i, v in pairs(NeonColorParts) do | |
| 2992 | maincolor = BrickColor.new("White")
| |
| 2993 | v.BrickColor = maincolor | |
| 2994 | v.Material = "Neon" | |
| 2995 | v.Transparency = 0 | |
| 2996 | end | |
| 2997 | elseif key == 'm' and Mode == 50 then | |
| 2998 | resetmode() | |
| 2999 | elseif key == 'q' and Mode == 50 then | |
| 3000 | ASCENTION() | |
| 3001 | end | |
| 3002 | --------------------------------------------------------------------- | |
| 3003 | if key == 'm' and Mode == 8 then | |
| 3004 | Mode = 25 | |
| 3005 | SONG = 1770978966 | |
| 3006 | tecks2.Text = "Spirit" | |
| 3007 | BlockEffect(BrickC("Fog"), Handle.CFrame * CF(0, -0, 0), 25, 25, 25, 30, 30, 30, 0.05, 1)
| |
| 3008 | tecks2.TextColor3 = Color3.fromRGB(255, 255, 255) | |
| 3009 | tecks2.TextStrokeColor3 = Color3.fromRGB(163, 162, 165) | |
| 3010 | for i, v in pairs(ArmorColorParts) do | |
| 3011 | v.BrickColor = BrickColor.new("Ghost grey")
| |
| 3012 | v.Material = "SmoothPlastic" | |
| 3013 | v.Transparency = 0.7 | |
| 3014 | end | |
| 3015 | for i, v in pairs(ArmorColorParts2) do | |
| 3016 | v.BrickColor = BrickColor.new("Quill grey")
| |
| 3017 | v.Material = "Glass" | |
| 3018 | v.Transparency = 0.5 | |
| 3019 | end | |
| 3020 | for i, v in pairs(NeonColorParts) do | |
| 3021 | maincolor = BrickColor.new("Fog")
| |
| 3022 | v.BrickColor = maincolor | |
| 3023 | v.Material = "Neon" | |
| 3024 | v.Transparency = 0.5 | |
| 3025 | end | |
| 3026 | elseif key == 'm' and Mode == 25 then | |
| 3027 | resetmode() | |
| 3028 | elseif key == 't' and Mode == 25 then | |
| 3029 | thisisit() | |
| 3030 | elseif key == 'q' and Mode == 25 then | |
| 3031 | Spirit_Beam() | |
| 3032 | end | |
| 3033 | --------------------------------------------------------------------- | |
| 3034 | if key == '7' and Mode ~= 8 then | |
| 3035 | Mode = 8 | |
| 3036 | SONG = 561833161 | |
| 3037 | tecks2.Text = "Lunar" | |
| 3038 | tecks2.TextColor3 = Color3.fromRGB(18, 238, 212) | |
| 3039 | tecks2.TextStrokeColor3 = Color3.fromRGB(4, 175, 236) | |
| 3040 | for i, v in pairs(ArmorColorParts) do | |
| 3041 | v.BrickColor = BrickColor.new("Teal")
| |
| 3042 | v.Material = "SmoothPlastic" | |
| 3043 | v.Transparency = 0 | |
| 3044 | end | |
| 3045 | for i, v in pairs(ArmorColorParts2) do | |
| 3046 | v.BrickColor = BrickColor.new("Medium stone grey")
| |
| 3047 | v.Material = "Metal" | |
| 3048 | v.Transparency = 0 | |
| 3049 | end | |
| 3050 | for i, v in pairs(NeonColorParts) do | |
| 3051 | maincolor = BrickColor.new("Cyan")
| |
| 3052 | v.BrickColor = maincolor | |
| 3053 | v.Material = "Neon" | |
| 3054 | v.Transparency = 0 | |
| 3055 | end | |
| 3056 | elseif key == '7' and Mode == 8 then | |
| 3057 | resetmode() | |
| 3058 | elseif key == 'q' and Mode == 8 then | |
| 3059 | LunarSpin() | |
| 3060 | end | |
| 3061 | --------------------------------------------------------------------- | |
| 3062 | if key == '8' and Mode ~= 9 then | |
| 3063 | Mode = 9 | |
| 3064 | SONG = 933385346 | |
| 3065 | tecks2.Text = "Balance" | |
| 3066 | tecks2.TextColor3 = Color3.new(255, 255, 255) | |
| 3067 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 3068 | for i, v in pairs(ArmorColorParts) do | |
| 3069 | v.BrickColor = BrickColor.new("Institutional white")
| |
| 3070 | v.Material = "Glass" | |
| 3071 | v.Transparency = 0 | |
| 3072 | end | |
| 3073 | for i, v in pairs(ArmorColorParts2) do | |
| 3074 | v.BrickColor = BrickColor.new("Really black")
| |
| 3075 | v.Material = "Glass" | |
| 3076 | v.Transparency = 0.5 | |
| 3077 | end | |
| 3078 | for i, v in pairs(NeonColorParts) do | |
| 3079 | maincolor = BrickColor.new("Institutional white")
| |
| 3080 | v.BrickColor = maincolor | |
| 3081 | v.Material = "Neon" | |
| 3082 | v.Transparency = 0 | |
| 3083 | end | |
| 3084 | elseif key == '8' and Mode == 9 then | |
| 3085 | resetmode() | |
| 3086 | elseif key == 't' and Mode == 9 then | |
| 3087 | heregoes() | |
| 3088 | elseif key == 'q' and Mode == 9 then | |
| 3089 | BalanceSpin() | |
| 3090 | end | |
| 3091 | --------------------------------------------------------------------------- | |
| 3092 | if key == 'm' and Mode == 9 and Mode ~= 10 and Sprinting == false then | |
| 3093 | Mode = 10 | |
| 3094 | SONG = 919231299 | |
| 3095 | local A = math.random(1,4) | |
| 3096 | if A == 1 then | |
| 3097 | SONG = 919231299 | |
| 3098 | elseif A == 2 then | |
| 3099 | SONG = 460874877 | |
| 3100 | elseif A == 3 then | |
| 3101 | SONG = 943961217 | |
| 3102 | elseif A == 4 then | |
| 3103 | SONG = 623662713 | |
| 3104 | end | |
| 3105 | tecks2.Text = "InSaNe" | |
| 3106 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
| 3107 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 3108 | for i, v in pairs(ArmorColorParts) do | |
| 3109 | v.BrickColor = BrickColor.random() | |
| 3110 | v.Material = "Glass" | |
| 3111 | v.Transparency = 0 | |
| 3112 | end | |
| 3113 | for i, v in pairs(ArmorColorParts2) do | |
| 3114 | v.BrickColor = BrickColor.random() | |
| 3115 | v.Material = "Glass" | |
| 3116 | v.Transparency = 0 | |
| 3117 | end | |
| 3118 | for i, v in pairs(NeonColorParts) do | |
| 3119 | maincolor = BrickColor.random() | |
| 3120 | v.BrickColor = maincolor | |
| 3121 | v.Material = "Neon" | |
| 3122 | v.Transparency = 0 | |
| 3123 | end | |
| 3124 | elseif key == 'm' and Mode == 10 then | |
| 3125 | resetmode() | |
| 3126 | elseif key == 'q' and Mode == 10 then | |
| 3127 | Decapitate() | |
| 3128 | end | |
| 3129 | end | |
| 3130 | end) | |
| 3131 | local Combo = 1 | |
| 3132 | mouse.Button1Down:connect(function(key) | |
| 3133 | if attack == false then | |
| 3134 | if Combo == 1 then | |
| 3135 | Combo = 2 | |
| 3136 | attackone() | |
| 3137 | elseif Combo == 2 then | |
| 3138 | Combo = 3 | |
| 3139 | attacktwo() | |
| 3140 | elseif Combo == 3 then | |
| 3141 | Combo = 1 | |
| 3142 | attackthree() | |
| 3143 | end | |
| 3144 | end | |
| 3145 | end) | |
| 3146 | ||
| 3147 | ||
| 3148 | ||
| 3149 | ||
| 3150 | ||
| 3151 | ||
| 3152 | ||
| 3153 | ------------------------------------------------------- | |
| 3154 | --Start Animations-- | |
| 3155 | ------------------------------------------------------- | |
| 3156 | while true do | |
| 3157 | swait() | |
| 3158 | sine = sine + change | |
| 3159 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 3160 | local velderp = root.Velocity.y | |
| 3161 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
| 3162 | if equipped == true or equipped == false then | |
| 3163 | if attack == false then | |
| 3164 | idle = idle + 1 | |
| 3165 | else | |
| 3166 | idle = 0 | |
| 3167 | end | |
| 3168 | if Mode == 5 then | |
| 3169 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick") | |
| 3170 | end | |
| 3171 | if Mode == 25 then | |
| 3172 | PixelBlock(3,4,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.3,0.3,0.3,0.03,maincolor,0) | |
| 3173 | end | |
| 3174 | if Mode == 100 then | |
| 3175 | PixelBlock(1,0.8,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.02,0.02,0.02,0.1,maincolor,0) | |
| 3176 | MagicCharge(4, 0, "Add", ra.CFrame * CF(0, -0, 0) * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.2, 0.2, 1.6 * math.random(-1.8, 2), -0.005, maincolor, 0, "Sphere") | |
| 3177 | end | |
| 3178 | if Mode == 7 then | |
| 3179 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere") | |
| 3180 | end | |
| 3181 | if Mode == 10 then | |
| 3182 | PixelBlock(1.5,0.75,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.15,0.15,0.15,0.1,maincolor,0) | |
| 3183 | tecks2.TextColor3 = maincolor.Color | |
| 3184 | tecks2.TextStrokeColor3 = maincolor.Color | |
| 3185 | for i, v in pairs(ArmorColorParts) do | |
| 3186 | v.BrickColor = BrickColor.random() | |
| 3187 | v.Material = "Glass" | |
| 3188 | v.Transparency = 0 | |
| 3189 | end | |
| 3190 | for i, v in pairs(ArmorColorParts2) do | |
| 3191 | v.BrickColor = BrickColor.random() | |
| 3192 | v.Material = "Glass" | |
| 3193 | v.Transparency = 0 | |
| 3194 | end | |
| 3195 | for i, v in pairs(NeonColorParts) do | |
| 3196 | maincolor = BrickColor.random() | |
| 3197 | v.BrickColor = maincolor | |
| 3198 | v.Material = "Neon" | |
| 3199 | v.Transparency = 0 | |
| 3200 | end | |
| 3201 | end | |
| 3202 | if Mode == 6 then | |
| 3203 | local A = math.random(1,15) | |
| 3204 | if A == 1 then | |
| 3205 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere") | |
| 3206 | if A == 2 then | |
| 3207 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick") | |
| 3208 | end | |
| 3209 | end | |
| 3210 | end | |
| 3211 | if Mode == 1 then | |
| 3212 | local A = math.random(1,15) | |
| 3213 | if A == 1 then | |
| 3214 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere") | |
| 3215 | if A == 2 then | |
| 3216 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick") | |
| 3217 | end | |
| 3218 | end | |
| 3219 | end | |
| 3220 | if 1 < root.Velocity.y and hitfloor == nil then | |
| 3221 | Anim = "Jump" | |
| 3222 | if attack == false then | |
| 3223 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.08) | |
| 3224 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
| 3225 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
| 3226 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
| 3227 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.08) | |
| 3228 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.08) | |
| 3229 | end | |
| 3230 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
| 3231 | Anim = "Fall" | |
| 3232 | if attack == false then | |
| 3233 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.08) | |
| 3234 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
| 3235 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.08) | |
| 3236 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.08) | |
| 3237 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.08) | |
| 3238 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.08) | |
| 3239 | end | |
| 3240 | elseif torvel < 1 and hitfloor ~= nil then | |
| 3241 | Anim = "Idle" | |
| 3242 | change = 1 | |
| 3243 | if attack == false then | |
| 3244 | if Mode == 1 then --Normal | |
| 3245 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.08) | |
| 3246 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.08) | |
| 3247 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08) | |
| 3248 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08) | |
| 3249 | RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08) | |
| 3250 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
| 3251 | elseif Mode == pIXELATED then --PIXELATED | |
| 3252 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20 + Mrandom(-4,4)), Rad(0), Rad(0)), 0.08) | |
| 3253 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 + Mrandom(-30,30)), Rad(-4.5 + Mrandom(-30,30)), Rad(-4.5 + Mrandom(-30,30))), 0.08) | |
| 3254 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + Mrandom(-6,6)), Rad(80), Rad(0)) * angles(Rad(-10.5 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(20 + Mrandom(-6,6))), 0.08) | |
| 3255 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + Mrandom(-6,6)), Rad(-80 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6))) * angles(Rad(-10.5 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(-20 + Mrandom(-6,6))), 0.08) | |
| 3256 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(5 + Mrandom(-6,6))), 0.08) | |
| 3257 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(-5 + Mrandom(-6,6))), 0.08) | |
| 3258 | elseif Mode == 50 then --ASCENDED | |
| 3259 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
| 3260 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
| 3261 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08) | |
| 3262 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08) | |
| 3263 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.08) | |
| 3264 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.08) | |
| 3265 | elseif Mode == 2 then --Machinery | |
| 3266 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.08) | |
| 3267 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(-20 - 4.5 * Sin(sine / .5))), 0.08) | |
| 3268 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(0)), 0.08) | |
| 3269 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(0)), 0.08) | |
| 3270 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(155), Rad(0), Rad(-45)), 0.08) | |
| 3271 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25)), 0.08) | |
| 3272 | elseif Mode == 3 then --ICE | |
| 3273 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.08) | |
| 3274 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-2.5 * Cos(sine / 1.5))), 0.08) | |
| 3275 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(10)), 0.08) | |
| 3276 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(-10)), 0.08) | |
| 3277 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 20)), Rad(-2.5 * Cos(sine / 1.5)), Rad(25 + 4.5 * Cos(sine / 20))), 0.08) | |
| 3278 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 20)), Rad(-2.5 * Cos(sine / 1.5)), Rad(-25 - 4.5 * Cos(sine / 20))), 0.08) | |
| 3279 | elseif Mode == 4 then --Infused | |
| 3280 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.08) | |
| 3281 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
| 3282 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-25)), 0.08) | |
| 3283 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08) | |
| 3284 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.35* Player_Size) * angles(Rad(90 - 2.5 * Cos(sine / 20)), Rad(0), Rad(-50)), 0.08) | |
| 3285 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.15* Player_Size) * angles(Rad(70 - 2.5 * Cos(sine / 20)), Rad(0), Rad(70)), 0.08) | |
| 3286 | elseif Mode == 5 then --Cybernetic | |
| 3287 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
| 3288 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08) | |
| 3289 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08) | |
| 3290 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08) | |
| 3291 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(25 + 10.5 * Sin(sine / 20))), 0.08) | |
| 3292 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25 - 10.5 * Sin(sine / 20))), 0.08) | |
| 3293 | elseif Mode == 25 then --Spiritual | |
| 3294 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
| 3295 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08) | |
| 3296 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08) | |
| 3297 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08) | |
| 3298 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(25 + 10.5 * Sin(sine / 20))), 0.08) | |
| 3299 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25 - 10.5 * Sin(sine / 20))), 0.08) | |
| 3300 | elseif Mode == 6 then --Controlled Beyond Recognition | |
| 3301 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.08) | |
| 3302 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(-4.5 * Sin(sine / .5))), 0.08) | |
| 3303 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08) | |
| 3304 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-20)), 0.08) | |
| 3305 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(5)), 0.08) | |
| 3306 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(-5)), 0.08) | |
| 3307 | elseif Mode == 7 or Mode == 9 then --Sucho Wowo --Mr.Balancia | |
| 3308 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.08) | |
| 3309 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.08) | |
| 3310 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08) | |
| 3311 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08) | |
| 3312 | RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08) | |
| 3313 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
| 3314 | elseif Mode == 100 then --Overclocked | |
| 3315 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15) | |
| 3316 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3) | |
| 3317 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
| 3318 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
| 3319 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(65 - 2.5 * Sin(sine / 20))), 0.1) | |
| 3320 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
| 3321 | elseif Mode == 1000 then --Chilled | |
| 3322 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15) | |
| 3323 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3) | |
| 3324 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
| 3325 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
| 3326 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(65 - 2.5 * Sin(sine / 20))), 0.1) | |
| 3327 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
| 3328 | elseif Mode == 8 then --Lunarist | |
| 3329 | MagicCharge(7, 0, "Add", ra.CFrame * CF(0, -1.3, 0) * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 1.5 * math.random(-1.8, 2), -0.005, maincolor, 0, "Brick") | |
| 3330 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
| 3331 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
| 3332 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08) | |
| 3333 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08) | |
| 3334 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(135)), 0.08) | |
| 3335 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
| 3336 | elseif Mode == 10 then --INSANITY | |
| 3337 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 3338 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3) | |
| 3339 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15) | |
| 3340 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1) | |
| 3341 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) | |
| 3342 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) | |
| 3343 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(10 + Mrandom(-6,6))), 0.15) | |
| 3344 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(-10 + Mrandom(-6,6))), 0.15) | |
| 3345 | end | |
| 3346 | end | |
| 3347 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
| 3348 | Anim = "Walk" | |
| 3349 | change = 1.1 | |
| 3350 | if attack == false then | |
| 3351 | if Mode == 6 then | |
| 3352 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15) | |
| 3353 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 3354 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-5 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(20)), 0.3) | |
| 3355 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-5 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(-20)), 0.3) | |
| 3356 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 + 15 * Cos(sine / 7)), Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1) | |
| 3357 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 - 15 * Cos(sine / 7)), Rad(0), Rad(-5) + la.RotVelocity.Y / 75), 0.1) | |
| 3358 | elseif Mode == 5 then | |
| 3359 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
| 3360 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 3361 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.15) | |
| 3362 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.15) | |
| 3363 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(25)), 0.1) | |
| 3364 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-25)), 0.1) | |
| 3365 | elseif Mode == 25 then | |
| 3366 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
| 3367 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 3368 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.15) | |
| 3369 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.15) | |
| 3370 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(25)), 0.1) | |
| 3371 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-25)), 0.1) | |
| 3372 | elseif Mode == 100 then | |
| 3373 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15) | |
| 3374 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 3375 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
| 3376 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
| 3377 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
| 3378 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
| 3379 | elseif Mode == 1000 then | |
| 3380 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15) | |
| 3381 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 3382 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
| 3383 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
| 3384 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
| 3385 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
| 3386 | elseif Mode == 10 then | |
| 3387 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(55 + Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(-0 + Mrandom(-20,20))), 1) | |
| 3388 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15) | |
| 3389 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(55), Rad(0), Rad(-0)), 0.3) | |
| 3390 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + Mrandom(-23,23)), Rad(0 + Mrandom(-23,23)), Rad(35 + Mrandom(-23,23))), 0.15) | |
| 3391 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + Mrandom(-23,23)), Rad(0 + Mrandom(-23,23)), Rad(-35 + Mrandom(-23,23))), 0.15) | |
| 3392 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(35 + Mrandom(-23,23)), Rad(-10 + Mrandom(-23,23)), Rad(15 + Mrandom(-23,23))), 0.1) | |
| 3393 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(35 + Mrandom(-23,23)), Rad(10 + Mrandom(-23,23)), Rad(-15 + Mrandom(-23,23))), 0.1) | |
| 3394 | elseif Mode == 8 then | |
| 3395 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.08) | |
| 3396 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
| 3397 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.08) | |
| 3398 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.08) | |
| 3399 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08) | |
| 3400 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
| 3401 | elseif Mode ~= 6 or Mode ~= 5 or Mode ~= 8 then | |
| 3402 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15) | |
| 3403 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 3404 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 3405 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 3406 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(37) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1) | |
| 3407 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1) | |
| 3408 | end | |
| 3409 | end | |
| 3410 | elseif torvel >= 25 and hitfloor ~= nil then | |
| 3411 | Anim = "Sprint" | |
| 3412 | change = 1.35 | |
| 3413 | if attack == false then | |
| 3414 | if Mode == 5 then | |
| 3415 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
| 3416 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 3417 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.15) | |
| 3418 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.15) | |
| 3419 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1) | |
| 3420 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1) | |
| 3421 | elseif Mode == 25 or Mode == 10 then | |
| 3422 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
| 3423 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 3424 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.15) | |
| 3425 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.15) | |
| 3426 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1) | |
| 3427 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1) | |
| 3428 | elseif Mode ~= 5 then | |
| 3429 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
| 3430 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 3431 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 3432 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 3433 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(125) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.15) | |
| 3434 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-125) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.15) | |
| 3435 | end | |
| 3436 | end | |
| 3437 | end | |
| 3438 | end | |
| 3439 | Music.SoundId = "rbxassetid://"..SONG | |
| 3440 | Music.Looped = true | |
| 3441 | Music.Pitch = 1 | |
| 3442 | Music.Volume = 2.5 | |
| 3443 | Music.Parent = tors | |
| 3444 | Music:Resume() | |
| 3445 | if 0 < #Effects then | |
| 3446 | for e = 1, #Effects do | |
| 3447 | if Effects[e] ~= nil then | |
| 3448 | local Thing = Effects[e] | |
| 3449 | if Thing ~= nil then | |
| 3450 | local Part = Thing[1] | |
| 3451 | local Mode = Thing[2] | |
| 3452 | local Delay = Thing[3] | |
| 3453 | local IncX = Thing[4] | |
| 3454 | local IncY = Thing[5] | |
| 3455 | local IncZ = Thing[6] | |
| 3456 | if 1 >= Thing[1].Transparency then | |
| 3457 | if Thing[2] == "Block1" then | |
| 3458 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 3459 | local Mesh = Thing[1].Mesh | |
| 3460 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3461 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3462 | elseif Thing[2] == "Block2" then | |
| 3463 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
| 3464 | local Mesh = Thing[7] | |
| 3465 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3466 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3467 | elseif Thing[2] == "Block3" then | |
| 3468 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
| 3469 | local Mesh = Thing[7] | |
| 3470 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3471 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3472 | elseif Thing[2] == "Cylinder" then | |
| 3473 | local Mesh = Thing[1].Mesh | |
| 3474 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3475 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3476 | elseif Thing[2] == "Blood" then | |
| 3477 | local Mesh = Thing[7] | |
| 3478 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 3479 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3480 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3481 | elseif Thing[2] == "Elec" then local Mesh = Thing[1].Mesh | |
| 3482 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 3483 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3484 | elseif Thing[2] == "Disappear" then | |
| 3485 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3486 | elseif Thing[2] == "Shatter" then | |
| 3487 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3488 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 3489 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 3490 | Thing[6] = Thing[6] + Thing[5] | |
| 3491 | end | |
| 3492 | else | |
| 3493 | Part.Parent = nil | |
| 3494 | table.remove(Effects, e) | |
| 3495 | end | |
| 3496 | end | |
| 3497 | end | |
| 3498 | end | |
| 3499 | end | |
| 3500 | end | |
| 3501 | ------------------------------------------------------- | |
| 3502 | --End Animations And Script-- | |
| 3503 | ------------------------------------------------------- |