SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
| |
| 2 | print("FE Compatibility: by WaverlyCole & Mokiros")
| |
| 3 | InternalData = {}
| |
| 4 | do | |
| 5 | script.Parent = owner.Character | |
| 6 | local Event = Instance.new("RemoteEvent")
| |
| 7 | Event.Name = "UserInput" | |
| 8 | local function NewFakeEvent() | |
| 9 | local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
| |
| 10 | return Fake | |
| 11 | end | |
| 12 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
| |
| 13 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
| |
| 14 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
| |
| 15 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
| |
| 16 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
| 17 | local function TriggerEvent(self,Event,...) | |
| 18 | local Trigger = Mouse[Event] | |
| 19 | if Trigger and Trigger.fakeEvent and Trigger.Function then | |
| 20 | Trigger.Function(...) | |
| 21 | end | |
| 22 | end | |
| 23 | Mouse.TrigEvent = TriggerEvent | |
| 24 | UserInputService.TrigEvent = TriggerEvent | |
| 25 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
| 26 | if FiredBy.Name ~= owner.Name then end | |
| 27 | if Input.MouseEvent then | |
| 28 | Mouse.Target = Input.Target | |
| 29 | Mouse.Hit = Input.Hit | |
| 30 | else | |
| 31 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
| 32 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 33 | return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") | |
| 34 | end | |
| 35 | for _,Action in pairs(ContextActionService.Actions) do | |
| 36 | for _,Key in pairs(Action.Keys) do | |
| 37 | if Key==Input.KeyCode then | |
| 38 | Action.Function(Action.Name,Input.UserInputState,Input) | |
| 39 | end | |
| 40 | end | |
| 41 | end | |
| 42 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
| 43 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
| 44 | end | |
| 45 | end) | |
| 46 | InternalData["Mouse"] = Mouse | |
| 47 | InternalData["ContextActionService"] = ContextActionService | |
| 48 | InternalData["UserInputService"] = UserInputService | |
| 49 | Event.Parent = NLS([[ | |
| 50 | local Player = owner | |
| 51 | local Event = script:WaitForChild("UserInput")
| |
| 52 | local UserInputService = game:GetService("UserInputService")
| |
| 53 | local Mouse = Player:GetMouse() | |
| 54 | local Input = function(Input,gameProcessedEvent) | |
| 55 | if gameProcessedEvent then return end | |
| 56 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
| |
| 57 | end | |
| 58 | UserInputService.InputBegan:Connect(Input) | |
| 59 | UserInputService.InputEnded:Connect(Input) | |
| 60 | local Hit,Target | |
| 61 | while wait(1/30) do | |
| 62 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
| 63 | Hit,Targer = Mouse.Hit,Mouse.Target | |
| 64 | Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
| |
| 65 | end | |
| 66 | end | |
| 67 | ]],owner.Character) | |
| 68 | end | |
| 69 | RealGame = game;game = setmetatable({},{
| |
| 70 | __index = function (self,Index) | |
| 71 | local Sandbox = function (Thing) | |
| 72 | if Thing:IsA("Player") then
| |
| 73 | local RealPlayer = Thing | |
| 74 | return setmetatable({},{
| |
| 75 | __index = function (self,Index) | |
| 76 | local Type = type(RealPlayer[Index]) | |
| 77 | if Type == "function" then | |
| 78 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
| 79 | return function (self) | |
| 80 | return InternalData["Mouse"] | |
| 81 | end | |
| 82 | end | |
| 83 | return function (self,...) | |
| 84 | return RealPlayer[Index](RealPlayer,...) | |
| 85 | end | |
| 86 | else | |
| 87 | return RealPlayer[Index] | |
| 88 | end | |
| 89 | end; | |
| 90 | __tostring = function(self) | |
| 91 | return RealPlayer.Name | |
| 92 | end | |
| 93 | }) | |
| 94 | end | |
| 95 | end | |
| 96 | if RealGame[Index] then | |
| 97 | local Type = type(RealGame[Index]) | |
| 98 | if Type == "function" then | |
| 99 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
| 100 | return function (self,Service) | |
| 101 | if Service:lower() == "players" then | |
| 102 | return setmetatable({},{
| |
| 103 | __index = function (self2,Index2) | |
| 104 | local RealService = RealGame:GetService(Service) | |
| 105 | local Type2 = type(Index2) | |
| 106 | if Type2 == "function" then | |
| 107 | return function (self,...) | |
| 108 | return RealService[Index2](RealService,...) | |
| 109 | end | |
| 110 | else | |
| 111 | if Index2:lower() == "localplayer" then | |
| 112 | return Sandbox(owner) | |
| 113 | end | |
| 114 | return RealService[Index2] | |
| 115 | end | |
| 116 | end; | |
| 117 | __tostring = function(self) | |
| 118 | return RealGame:GetService(Service).Name | |
| 119 | end | |
| 120 | }) | |
| 121 | elseif Service:lower() == "contextactionservice" then | |
| 122 | return InternalData["ContextActionService"] | |
| 123 | elseif Service:lower() == "contextactionservice" then | |
| 124 | return InternalData["UserInputService"] | |
| 125 | elseif Service:lower() == "runservice" then | |
| 126 | return setmetatable({},{
| |
| 127 | __index = function(self2,Index2) | |
| 128 | local RealService = RealGame:GetService(Service) | |
| 129 | local Type2 = type(Index2) | |
| 130 | if Type2 == "function" then | |
| 131 | return function (self,...) | |
| 132 | return RealService[Index2](RealService,...) | |
| 133 | end | |
| 134 | else | |
| 135 | if Index2:lower() == "bindtorenderstep" then | |
| 136 | return function (self,Name,Priority,Function) | |
| 137 | return RealGame:GetService("RunService").Stepped:Connect(Function)
| |
| 138 | end | |
| 139 | end | |
| 140 | if Index2:lower() == "renderstepped" then | |
| 141 | return RealService["Stepped"] | |
| 142 | end | |
| 143 | return RealService[Index2] | |
| 144 | end | |
| 145 | end | |
| 146 | }) | |
| 147 | else | |
| 148 | return RealGame:GetService(Service) | |
| 149 | end | |
| 150 | end | |
| 151 | end | |
| 152 | return function (self,...) | |
| 153 | return RealGame[Index](RealGame,...) | |
| 154 | end | |
| 155 | else | |
| 156 | if game:GetService(Index) then | |
| 157 | return game:GetService(Index) | |
| 158 | end | |
| 159 | return RealGame[Index] | |
| 160 | end | |
| 161 | else | |
| 162 | return nil | |
| 163 | end | |
| 164 | end | |
| 165 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
| |
| 166 | print("Complete! Running...")
| |
| 167 | ||
| 168 | print("when finishing this i was lazy lol")
| |
| 169 | ----------------------- | |
| 170 | --[[ Name : Voodoo Child ]]-- | |
| 171 | ------------------------------------------------------- | |
| 172 | --A script By Creterisk | |
| 173 | ||
| 174 | --Discord Creterisk#2958 | |
| 175 | ||
| 176 | --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION | |
| 177 | --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT | |
| 178 | --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT | |
| 179 | --YOU FUCKING SKIDS, | |
| 180 | --For Those who log/decompile this, If you sell or trade this, | |
| 181 | --and I find out who you are, i will take massive action. | |
| 182 | warn("iTs iMpOsSiBlE tO sEpArAtE tHe TrUtH fRoM tHe FaLsE")
| |
| 183 | ------------------------------------------------------- | |
| 184 | ||
| 185 | local FavIDs = {
| |
| 186 | 340106355, --Nefl Crystals | |
| 187 | 927529620, --Dimension | |
| 188 | 876981900, --Fantasy | |
| 189 | 398987889, --Ordinary Days | |
| 190 | 1117396305, --Oh wait, it's you. | |
| 191 | 885996042, --Action Winter Journey | |
| 192 | 919231299, --Sprawling Idiot Effigy | |
| 193 | 743466274, --Good Day Sunshine | |
| 194 | 727411183, --Knife Fight | |
| 195 | 1402748531, --The Earth Is Counting On You! | |
| 196 | 595230126, --Robot Language | |
| 197 | 478890315 --Death Road to Canada: Rotten Shotgun | |
| 198 | } | |
| 199 | ||
| 200 | ||
| 201 | ||
| 202 | --[[ | |
| 203 | SUBJECT NAME : Micheal Lahen | |
| 204 | SUBJECT INFO : | |
| 205 | He has some kind of doll around him at all time, he doesn't talk much, but when he does he tends to harm others. It is because of a witch that he escaped, and IT IS also because of that witch that he kills. | |
| 206 | He seems to have a horn of some kind, which appeared when he transformed into his "voodoo form" as we call it... Seems it controls his brain, and emotions by consequences. | |
| 207 | There is absolutely nothing we can do to save him, | |
| 208 | He'd have to kill himself, or we'd have to kill him. | |
| 209 | He is a threat to humanity. | |
| 210 | SUBJECT STATUS : KILL ON SIGHT! NO HESITATION! | |
| 211 | ...Nothing can save him... | |
| 212 | ]]-- | |
| 213 | --The reality of my life isn't real but a Universe -Creterisk | |
| 214 | wait(0.2) | |
| 215 | local plr = game:service'Players'.LocalPlayer | |
| 216 | print('Local User is '..plr.Name..', Mister, You will not regret this~')
| |
| 217 | print('Voodoo Child Loaded')
| |
| 218 | print[[ | |
| 219 | No please not again, the curse haunts me | |
| 220 | I cannot control my actions or care for others harm, | |
| 221 | because of that damn horn. If it were to be removed I'd die, but... | |
| 222 | The witch says if I do her deeds she will free me, but... | |
| 223 | I cannot do these deeds as my body forcefully moves away from my objective. | |
| 224 | Please, PLEASE, HELP ME. | |
| 225 | I DON'T WANT TO BE ALONE AGAIN I JUST WISH TO SEE MY FAMILY, PLEASE! | |
| 226 | ||
| 227 | I.. can't.. I just can't.. the witch is too powerful.. send.. help.. | ??? | |
| 228 | ]] | |
| 229 | local char = plr.Character | |
| 230 | local hum = char.Humanoid | |
| 231 | local hed = char.Head | |
| 232 | local root = char.HumanoidRootPart | |
| 233 | local rootj = root.RootJoint | |
| 234 | local tors = char.Torso | |
| 235 | local ra = char["Right Arm"] | |
| 236 | local la = char["Left Arm"] | |
| 237 | local rl = char["Right Leg"] | |
| 238 | local ll = char["Left Leg"] | |
| 239 | local neck = tors["Neck"] | |
| 240 | local mouse = plr:GetMouse() | |
| 241 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 242 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 243 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 244 | local maincolor = BrickColor.new("Institutional white")
| |
| 245 | ||
| 246 | function Anchor() | |
| 247 | ra.Anchored = true | |
| 248 | la.Anchored = true | |
| 249 | tors.Anchored = true | |
| 250 | ll.Anchored = true | |
| 251 | rl.Anchored = true | |
| 252 | hed.Anchored = true | |
| 253 | end | |
| 254 | ||
| 255 | ------------------------------------------------------- | |
| 256 | --Start Good Stuff-- | |
| 257 | ------------------------------------------------------- | |
| 258 | cam = game.Workspace.CurrentCamera | |
| 259 | CF = CFrame.new | |
| 260 | angles = CFrame.Angles | |
| 261 | attack = false | |
| 262 | Euler = CFrame.fromEulerAnglesXYZ | |
| 263 | Rad = math.rad | |
| 264 | IT = Instance.new | |
| 265 | BrickC = BrickColor.new | |
| 266 | Cos = math.cos | |
| 267 | Acos = math.acos | |
| 268 | Sin = math.sin | |
| 269 | Asin = math.asin | |
| 270 | Abs = math.abs | |
| 271 | Mrandom = math.random | |
| 272 | Floor = math.floor | |
| 273 | ------------------------------------------------------- | |
| 274 | --End Good Stuff-- | |
| 275 | ------------------------------------------------------- | |
| 276 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 277 | RSH, LSH = nil, nil | |
| 278 | RW = Instance.new("Weld")
| |
| 279 | LW = Instance.new("Weld")
| |
| 280 | RH = tors["Right Hip"] | |
| 281 | LH = tors["Left Hip"] | |
| 282 | RSH = tors["Right Shoulder"] | |
| 283 | LSH = tors["Left Shoulder"] | |
| 284 | RSH.Parent = nil | |
| 285 | LSH.Parent = nil | |
| 286 | RW.Name = "RW" | |
| 287 | RW.Part0 = tors | |
| 288 | RW.C0 = CF(1.5, 0.5, 0) | |
| 289 | RW.C1 = CF(0, 0.5, 0) | |
| 290 | RW.Part1 = ra | |
| 291 | RW.Parent = tors | |
| 292 | LW.Name = "LW" | |
| 293 | LW.Part0 = tors | |
| 294 | LW.C0 = CF(-1.5, 0.5, 0) | |
| 295 | LW.C1 = CF(0, 0.5, 0) | |
| 296 | LW.Part1 = la | |
| 297 | LW.Parent = tors | |
| 298 | Effects = {}
| |
| 299 | ------------------------------------------------------- | |
| 300 | --Start HeartBeat-- | |
| 301 | ------------------------------------------------------- | |
| 302 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 303 | ArtificialHB.Name = "Heartbeat" | |
| 304 | script:WaitForChild("Heartbeat")
| |
| 305 | ||
| 306 | frame = 1 / 60 | |
| 307 | tf = 0 | |
| 308 | allowframeloss = false | |
| 309 | tossremainder = false | |
| 310 | ||
| 311 | ||
| 312 | lastframe = tick() | |
| 313 | script.Heartbeat:Fire() | |
| 314 | ||
| 315 | ||
| 316 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 317 | tf = tf + s | |
| 318 | if tf >= frame then | |
| 319 | if allowframeloss then | |
| 320 | script.Heartbeat:Fire() | |
| 321 | lastframe = tick() | |
| 322 | else | |
| 323 | for i = 1, math.floor(tf / frame) do | |
| 324 | script.Heartbeat:Fire() | |
| 325 | end | |
| 326 | lastframe = tick() | |
| 327 | end | |
| 328 | if tossremainder then | |
| 329 | tf = 0 | |
| 330 | else | |
| 331 | tf = tf - frame * math.floor(tf / frame) | |
| 332 | end | |
| 333 | end | |
| 334 | end) | |
| 335 | ------------------------------------------------------- | |
| 336 | --End HeartBeat-- | |
| 337 | ------------------------------------------------------- | |
| 338 | ||
| 339 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
| 340 | local NSound = nil | |
| 341 | coroutine.resume(coroutine.create(function() | |
| 342 | NSound = Instance.new("Sound", PARENT)
| |
| 343 | NSound.Volume = VOLUME | |
| 344 | NSound.Pitch = PITCH | |
| 345 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 346 | swait() | |
| 347 | NSound:play() | |
| 348 | game:GetService("Debris"):AddItem(NSound, 10)
| |
| 349 | end)) | |
| 350 | return NSound | |
| 351 | end | |
| 352 | ||
| 353 | --Very lazi from here to below except the animations but who cares /shrug | |
| 354 | function chatfunc(text) | |
| 355 | local chat = coroutine.wrap(function() | |
| 356 | if char:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 357 | char:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 358 | end | |
| 359 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 360 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 361 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 362 | naeeym2.Adornee = char.Head | |
| 363 | naeeym2.Name = "TalkingBillBoard" | |
| 364 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 365 | tecks2.BackgroundTransparency = 1 | |
| 366 | tecks2.BorderSizePixel = 0 | |
| 367 | tecks2.Text = "" | |
| 368 | tecks2.Font = "Fantasy" | |
| 369 | tecks2.TextSize = 30 | |
| 370 | tecks2.TextStrokeTransparency = 0 | |
| 371 | tecks2.TextColor3 = Color3.new(255,0,0) | |
| 372 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 373 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 374 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 375 | tecks3.BackgroundTransparency = 1 | |
| 376 | tecks3.BorderSizePixel = 0 | |
| 377 | tecks3.Text = "" | |
| 378 | tecks3.Font = "Fantasy" | |
| 379 | tecks3.TextSize = 30 | |
| 380 | tecks3.TextStrokeTransparency = 0 | |
| 381 | tecks3.TextColor3 = Color3.new(255,0,0) | |
| 382 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
| 383 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 384 | coroutine.resume(coroutine.create(function() | |
| 385 | while tecks3 ~= nil do | |
| 386 | swait() | |
| 387 | tecks3.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
| 388 | tecks3.Rotation = math.random(-3,3) | |
| 389 | tecks3.TextColor3 = Color3.new(math.random(0, 255)/255,0,0) | |
| 390 | tecks3.TextStrokeColor3 = Color3.new(math.random(0, 255)/255,0,0) | |
| 391 | end | |
| 392 | end)) | |
| 393 | for i = 1,string.len(text),1 do | |
| 394 | tecks2.Text = string.sub(text,1,i) | |
| 395 | tecks3.Text = string.sub(text,1,i) | |
| 396 | wait(0.01) | |
| 397 | end | |
| 398 | wait(2) | |
| 399 | for i = 1, 50 do | |
| 400 | swait() | |
| 401 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-10,10),.05,math.random(-10,10)) | |
| 402 | tecks2.Rotation = tecks2.Rotation - 2 | |
| 403 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 404 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 405 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-10,10),.05,math.random(-10,10)) | |
| 406 | tecks3.Rotation = tecks2.Rotation + 2 | |
| 407 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 408 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 409 | end | |
| 410 | naeeym2:Destroy() | |
| 411 | end) | |
| 412 | chat() | |
| 413 | end | |
| 414 | function onChatted(msg) | |
| 415 | chatfunc(msg) | |
| 416 | end | |
| 417 | --plr.Chatted:connect(onChatted) | |
| 418 | ||
| 419 | GlowParticle = Instance.new("ParticleEmitter",ra)
| |
| 420 | GlowParticle.LightEmission = 0 | |
| 421 | GlowParticle.Color = ColorSequence.new(Color3.new(0,0,0),Color3.new(0,0,0)) | |
| 422 | GlowParticle.Size = NumberSequence.new(0,0.6) | |
| 423 | GlowParticle.Rotation = NumberRange.new(0, 360) | |
| 424 | GlowParticle.Texture = "http://www.roblox.com/asset/?id=1523916715" | |
| 425 | GlowParticle.Transparency = NumberSequence.new(0,1) | |
| 426 | GlowParticle.LockedToPart = true | |
| 427 | GlowParticle.Lifetime = NumberRange.new(1) | |
| 428 | GlowParticle.Rate = 999 | |
| 429 | GlowParticle.Speed = NumberRange.new(0) | |
| 430 | GlowParticle.VelocitySpread = 500 | |
| 431 | ||
| 432 | function TargetSelect(person) | |
| 433 | local dd=coroutine.wrap(function() | |
| 434 | if targetted ~= person then | |
| 435 | targetted = person | |
| 436 | GlowParticle.Enabled = true | |
| 437 | end | |
| 438 | end) | |
| 439 | dd() | |
| 440 | end | |
| 441 | ||
| 442 | if targetted == nil then | |
| 443 | GlowParticle.Enabled = false | |
| 444 | end | |
| 445 | ------------------------------------------------------- | |
| 446 | --Start Important Functions-- | |
| 447 | ------------------------------------------------------- | |
| 448 | function swait(num) | |
| 449 | if num == 0 or num == nil then | |
| 450 | game:service("RunService").Stepped:wait(0)
| |
| 451 | else | |
| 452 | for i = 0, num do | |
| 453 | game:service("RunService").Stepped:wait(0)
| |
| 454 | end | |
| 455 | end | |
| 456 | end | |
| 457 | function thread(f) | |
| 458 | coroutine.resume(coroutine.create(f)) | |
| 459 | end | |
| 460 | function clerp(a, b, t) | |
| 461 | local qa = {
| |
| 462 | QuaternionFromCFrame(a) | |
| 463 | } | |
| 464 | local qb = {
| |
| 465 | QuaternionFromCFrame(b) | |
| 466 | } | |
| 467 | local ax, ay, az = a.x, a.y, a.z | |
| 468 | local bx, by, bz = b.x, b.y, b.z | |
| 469 | local _t = 1 - t | |
| 470 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 471 | end | |
| 472 | function QuaternionFromCFrame(cf) | |
| 473 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 474 | local trace = m00 + m11 + m22 | |
| 475 | if trace > 0 then | |
| 476 | local s = math.sqrt(1 + trace) | |
| 477 | local recip = 0.5 / s | |
| 478 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 479 | else | |
| 480 | local i = 0 | |
| 481 | if m00 < m11 then | |
| 482 | i = 1 | |
| 483 | end | |
| 484 | if m22 > (i == 0 and m00 or m11) then | |
| 485 | i = 2 | |
| 486 | end | |
| 487 | if i == 0 then | |
| 488 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 489 | local recip = 0.5 / s | |
| 490 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 491 | elseif i == 1 then | |
| 492 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 493 | local recip = 0.5 / s | |
| 494 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 495 | elseif i == 2 then | |
| 496 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 497 | local recip = 0.5 / s | |
| 498 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 499 | end | |
| 500 | end | |
| 501 | end | |
| 502 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 503 | local xs, ys, zs = x + x, y + y, z + z | |
| 504 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 505 | local xx = x * xs | |
| 506 | local xy = x * ys | |
| 507 | local xz = x * zs | |
| 508 | local yy = y * ys | |
| 509 | local yz = y * zs | |
| 510 | local zz = z * zs | |
| 511 | 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)) | |
| 512 | end | |
| 513 | function QuaternionSlerp(a, b, t) | |
| 514 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 515 | local startInterp, finishInterp | |
| 516 | if cosTheta >= 1.0E-4 then | |
| 517 | if 1 - cosTheta > 1.0E-4 then | |
| 518 | local theta = math.acos(cosTheta) | |
| 519 | local invSinTheta = 1 / Sin(theta) | |
| 520 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
| 521 | finishInterp = Sin(t * theta) * invSinTheta | |
| 522 | else | |
| 523 | startInterp = 1 - t | |
| 524 | finishInterp = t | |
| 525 | end | |
| 526 | elseif 1 + cosTheta > 1.0E-4 then | |
| 527 | local theta = math.acos(-cosTheta) | |
| 528 | local invSinTheta = 1 / Sin(theta) | |
| 529 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
| 530 | finishInterp = Sin(t * theta) * invSinTheta | |
| 531 | else | |
| 532 | startInterp = t - 1 | |
| 533 | finishInterp = t | |
| 534 | end | |
| 535 | 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 | |
| 536 | end | |
| 537 | function rayCast(Position, Direction, Range, Ignore) | |
| 538 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 539 | end | |
| 540 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 541 | local Create = RbxUtility.Create | |
| 542 | ||
| 543 | ------------------------------------------------------- | |
| 544 | --Start Damage Function-- | |
| 545 | ------------------------------------------------------- | |
| 546 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 547 | if hit.Parent == nil then | |
| 548 | return | |
| 549 | end | |
| 550 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 551 | for _, v in pairs(hit.Parent:children()) do | |
| 552 | if v:IsA("Humanoid") then
| |
| 553 | h = v | |
| 554 | end | |
| 555 | end | |
| 556 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
| |
| 557 | ||
| 558 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 559 | end | |
| 560 | ||
| 561 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 562 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 563 | if hit.Parent.DebounceHit.Value == true then | |
| 564 | return | |
| 565 | end | |
| 566 | end | |
| 567 | if insta == true then | |
| 568 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 569 | end | |
| 570 | local c = Create("ObjectValue"){
| |
| 571 | Name = "creator", | |
| 572 | Value = game:service("Players").LocalPlayer,
| |
| 573 | Parent = h, | |
| 574 | } | |
| 575 | game:GetService("Debris"):AddItem(c, .5)
| |
| 576 | if HitSound ~= nil and HitPitch ~= nil then | |
| 577 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 578 | end | |
| 579 | local Damage = math.random(minim, maxim) | |
| 580 | local blocked = false | |
| 581 | local block = hit.Parent:findFirstChild("Block")
| |
| 582 | if block ~= nil then | |
| 583 | if block.className == "IntValue" then | |
| 584 | if block.Value > 0 then | |
| 585 | blocked = true | |
| 586 | block.Value = block.Value - 1 | |
| 587 | print(block.Value) | |
| 588 | end | |
| 589 | end | |
| 590 | end | |
| 591 | if blocked == false then | |
| 592 | h.Health = h.Health - Damage | |
| 593 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 594 | else | |
| 595 | h.Health = h.Health - (Damage / 2) | |
| 596 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 597 | end | |
| 598 | if Type == "Knockdown" then | |
| 599 | local hum = hit.Parent.Humanoid | |
| 600 | hum.PlatformStand = true | |
| 601 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 602 | swait(1) | |
| 603 | HHumanoid.PlatformStand = false | |
| 604 | end), hum) | |
| 605 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 606 | local bodvol = Create("BodyVelocity"){
| |
| 607 | velocity = angle * knockback, | |
| 608 | P = 5000, | |
| 609 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 610 | Parent = hit, | |
| 611 | } | |
| 612 | local rl = Create("BodyAngularVelocity"){
| |
| 613 | P = 3000, | |
| 614 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 615 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 616 | Parent = hit, | |
| 617 | } | |
| 618 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 619 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 620 | elseif Type == "Normal" then | |
| 621 | local vp = Create("BodyVelocity"){
| |
| 622 | P = 500, | |
| 623 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 624 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 625 | } | |
| 626 | if knockback > 0 then | |
| 627 | vp.Parent = hit.Parent.Torso | |
| 628 | end | |
| 629 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 630 | elseif Type == "Up" then | |
| 631 | local bodyVelocity = Create("BodyVelocity"){
| |
| 632 | velocity = Vector3.new(0, 20, 0), | |
| 633 | P = 5000, | |
| 634 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 635 | Parent = hit, | |
| 636 | } | |
| 637 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 638 | elseif Type == "DarkUp" then | |
| 639 | coroutine.resume(coroutine.create(function() | |
| 640 | for i = 0, 1, 0.1 do | |
| 641 | swait() | |
| 642 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 643 | end | |
| 644 | end)) | |
| 645 | local bodyVelocity = Create("BodyVelocity"){
| |
| 646 | velocity = Vector3.new(0, 20, 0), | |
| 647 | P = 5000, | |
| 648 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 649 | Parent = hit, | |
| 650 | } | |
| 651 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 652 | elseif Type == "Snare" then | |
| 653 | local bp = Create("BodyPosition"){
| |
| 654 | P = 2000, | |
| 655 | D = 100, | |
| 656 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 657 | position = hit.Parent.Torso.Position, | |
| 658 | Parent = hit.Parent.Torso, | |
| 659 | } | |
| 660 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 661 | elseif Type == "Freeze" then | |
| 662 | local BodPos = Create("BodyPosition"){
| |
| 663 | P = 50000, | |
| 664 | D = 1000, | |
| 665 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 666 | position = hit.Parent.Torso.Position, | |
| 667 | Parent = hit.Parent.Torso, | |
| 668 | } | |
| 669 | local BodGy = Create("BodyGyro") {
| |
| 670 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 671 | P = 20e+003, | |
| 672 | Parent = hit.Parent.Torso, | |
| 673 | cframe = hit.Parent.Torso.CFrame, | |
| 674 | } | |
| 675 | hit.Parent.Torso.Anchored = true | |
| 676 | coroutine.resume(coroutine.create(function(Part) | |
| 677 | swait(1.5) | |
| 678 | Part.Anchored = false | |
| 679 | end), hit.Parent.Torso) | |
| 680 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 681 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 682 | end | |
| 683 | local debounce = Create("BoolValue"){
| |
| 684 | Name = "DebounceHit", | |
| 685 | Parent = hit.Parent, | |
| 686 | Value = true, | |
| 687 | } | |
| 688 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 689 | c = Create("ObjectValue"){
| |
| 690 | Name = "creator", | |
| 691 | Value = Player, | |
| 692 | Parent = h, | |
| 693 | } | |
| 694 | game:GetService("Debris"):AddItem(c, .5)
| |
| 695 | end | |
| 696 | end | |
| 697 | ------------------------------------------------------- | |
| 698 | --End Damage Function-- | |
| 699 | ------------------------------------------------------- | |
| 700 | ||
| 701 | ------------------------------------------------------- | |
| 702 | --Start Damage Function Customization-- | |
| 703 | ------------------------------------------------------- | |
| 704 | function ShowDamage(Pos, Text, Time, Color) | |
| 705 | local Rate = (1 / 30) | |
| 706 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 707 | local Text = (Text or "") | |
| 708 | local Time = (Time or 2) | |
| 709 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 710 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 711 | EffectPart.Anchored = true | |
| 712 | local BillboardGui = Create("BillboardGui"){
| |
| 713 | Size = UDim2.new(3, 0, 3, 0), | |
| 714 | Adornee = EffectPart, | |
| 715 | Parent = EffectPart, | |
| 716 | } | |
| 717 | local TextLabel = Create("TextLabel"){
| |
| 718 | BackgroundTransparency = 1, | |
| 719 | Size = UDim2.new(1, 0, 1, 0), | |
| 720 | Text = Text, | |
| 721 | Font = "Bodoni", | |
| 722 | TextColor3 = Color, | |
| 723 | TextScaled = true, | |
| 724 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
| 725 | Parent = BillboardGui, | |
| 726 | } | |
| 727 | game.Debris:AddItem(EffectPart, (Time)) | |
| 728 | EffectPart.Parent = game:GetService("Workspace")
| |
| 729 | delay(0, function() | |
| 730 | local Frames = (Time / Rate) | |
| 731 | for Frame = 1, Frames do | |
| 732 | wait(Rate) | |
| 733 | local Percent = (Frame / Frames) | |
| 734 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 735 | TextLabel.TextTransparency = Percent | |
| 736 | end | |
| 737 | if EffectPart and EffectPart.Parent then | |
| 738 | EffectPart:Destroy() | |
| 739 | end | |
| 740 | end) | |
| 741 | end | |
| 742 | ------------------------------------------------------- | |
| 743 | --End Damage Function Customization-- | |
| 744 | ------------------------------------------------------- | |
| 745 | ||
| 746 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 747 | for _, c in pairs(workspace:children()) do | |
| 748 | local hum = c:findFirstChild("Humanoid")
| |
| 749 | if hum ~= nil then | |
| 750 | local head = c:findFirstChild("Head")
| |
| 751 | if head ~= nil then | |
| 752 | local targ = head.Position - Part.Position | |
| 753 | local mag = targ.magnitude | |
| 754 | if magni >= mag and c.Name ~= plr.Name then | |
| 755 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
| 756 | end | |
| 757 | end | |
| 758 | end | |
| 759 | end | |
| 760 | end | |
| 761 | ||
| 762 | ||
| 763 | CFuncs = {
| |
| 764 | Part = {
| |
| 765 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 766 | local Part = Create("Part")({
| |
| 767 | Parent = Parent, | |
| 768 | Reflectance = Reflectance, | |
| 769 | Transparency = Transparency, | |
| 770 | CanCollide = false, | |
| 771 | Locked = true, | |
| 772 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 773 | Name = Name, | |
| 774 | Size = Size, | |
| 775 | Material = Material | |
| 776 | }) | |
| 777 | RemoveOutlines(Part) | |
| 778 | return Part | |
| 779 | end | |
| 780 | }, | |
| 781 | Mesh = {
| |
| 782 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 783 | local Msh = Create(Mesh)({
| |
| 784 | Parent = Part, | |
| 785 | Offset = OffSet, | |
| 786 | Scale = Scale | |
| 787 | }) | |
| 788 | if Mesh == "SpecialMesh" then | |
| 789 | Msh.MeshType = MeshType | |
| 790 | Msh.MeshId = MeshId | |
| 791 | end | |
| 792 | return Msh | |
| 793 | end | |
| 794 | }, | |
| 795 | Mesh = {
| |
| 796 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 797 | local Msh = Create(Mesh)({
| |
| 798 | Parent = Part, | |
| 799 | Offset = OffSet, | |
| 800 | Scale = Scale | |
| 801 | }) | |
| 802 | if Mesh == "SpecialMesh" then | |
| 803 | Msh.MeshType = MeshType | |
| 804 | Msh.MeshId = MeshId | |
| 805 | end | |
| 806 | return Msh | |
| 807 | end | |
| 808 | }, | |
| 809 | Weld = {
| |
| 810 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 811 | local Weld = Create("Weld")({
| |
| 812 | Parent = Parent, | |
| 813 | Part0 = Part0, | |
| 814 | Part1 = Part1, | |
| 815 | C0 = C0, | |
| 816 | C1 = C1 | |
| 817 | }) | |
| 818 | return Weld | |
| 819 | end | |
| 820 | }, | |
| 821 | Sound = {
| |
| 822 | Create = function(id, par, vol, pit) | |
| 823 | coroutine.resume(coroutine.create(function() | |
| 824 | local S = Create("Sound")({
| |
| 825 | Volume = vol, | |
| 826 | Pitch = pit or 1, | |
| 827 | SoundId = id, | |
| 828 | Parent = par or workspace | |
| 829 | }) | |
| 830 | wait() | |
| 831 | S:play() | |
| 832 | game:GetService("Debris"):AddItem(S, 6)
| |
| 833 | end)) | |
| 834 | end | |
| 835 | }, | |
| 836 | ParticleEmitter = {
| |
| 837 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 838 | local fp = Create("ParticleEmitter")({
| |
| 839 | Parent = Parent, | |
| 840 | Color = ColorSequence.new(Color1, Color2), | |
| 841 | LightEmission = LightEmission, | |
| 842 | Size = Size, | |
| 843 | Texture = Texture, | |
| 844 | Transparency = Transparency, | |
| 845 | ZOffset = ZOffset, | |
| 846 | Acceleration = Accel, | |
| 847 | Drag = Drag, | |
| 848 | LockedToPart = LockedToPart, | |
| 849 | VelocityInheritance = VelocityInheritance, | |
| 850 | EmissionDirection = EmissionDirection, | |
| 851 | Enabled = Enabled, | |
| 852 | Lifetime = LifeTime, | |
| 853 | Rate = Rate, | |
| 854 | Rotation = Rotation, | |
| 855 | RotSpeed = RotSpeed, | |
| 856 | Speed = Speed, | |
| 857 | VelocitySpread = VelocitySpread | |
| 858 | }) | |
| 859 | return fp | |
| 860 | end | |
| 861 | } | |
| 862 | } | |
| 863 | function RemoveOutlines(part) | |
| 864 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 865 | end | |
| 866 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
| 867 | local NEWWELD = IT(TYPE) | |
| 868 | NEWWELD.Part0 = PART0 | |
| 869 | NEWWELD.Part1 = PART1 | |
| 870 | NEWWELD.C0 = C0 | |
| 871 | NEWWELD.C1 = C1 | |
| 872 | NEWWELD.Parent = PARENT | |
| 873 | return NEWWELD | |
| 874 | end | |
| 875 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 876 | local Part = Create("Part")({
| |
| 877 | formFactor = FormFactor, | |
| 878 | Parent = Parent, | |
| 879 | Reflectance = Reflectance, | |
| 880 | Transparency = Transparency, | |
| 881 | CanCollide = false, | |
| 882 | Locked = true, | |
| 883 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 884 | Name = Name, | |
| 885 | Size = Size, | |
| 886 | Material = Material | |
| 887 | }) | |
| 888 | RemoveOutlines(Part) | |
| 889 | return Part | |
| 890 | end | |
| 891 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 892 | local Msh = Create(Mesh)({
| |
| 893 | Parent = Part, | |
| 894 | Offset = OffSet, | |
| 895 | Scale = Scale | |
| 896 | }) | |
| 897 | if Mesh == "SpecialMesh" then | |
| 898 | Msh.MeshType = MeshType | |
| 899 | Msh.MeshId = MeshId | |
| 900 | end | |
| 901 | return Msh | |
| 902 | end | |
| 903 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 904 | local Weld = Create("Weld")({
| |
| 905 | Parent = Parent, | |
| 906 | Part0 = Part0, | |
| 907 | Part1 = Part1, | |
| 908 | C0 = C0, | |
| 909 | C1 = C1 | |
| 910 | }) | |
| 911 | return Weld | |
| 912 | end | |
| 913 | ||
| 914 | ||
| 915 | ------------------------------------------------------- | |
| 916 | --Start Effect Function-- | |
| 917 | ------------------------------------------------------- | |
| 918 | EffectModel = Instance.new("Model", char)
| |
| 919 | Effects = {
| |
| 920 | Block = {
| |
| 921 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 922 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 923 | prt.Anchored = true | |
| 924 | prt.CFrame = cframe | |
| 925 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 926 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 927 | if Type == 1 or Type == nil then | |
| 928 | table.insert(Effects, {
| |
| 929 | prt, | |
| 930 | "Block1", | |
| 931 | delay, | |
| 932 | x3, | |
| 933 | y3, | |
| 934 | z3, | |
| 935 | msh | |
| 936 | }) | |
| 937 | elseif Type == 2 then | |
| 938 | table.insert(Effects, {
| |
| 939 | prt, | |
| 940 | "Block2", | |
| 941 | delay, | |
| 942 | x3, | |
| 943 | y3, | |
| 944 | z3, | |
| 945 | msh | |
| 946 | }) | |
| 947 | else | |
| 948 | table.insert(Effects, {
| |
| 949 | prt, | |
| 950 | "Block3", | |
| 951 | delay, | |
| 952 | x3, | |
| 953 | y3, | |
| 954 | z3, | |
| 955 | msh | |
| 956 | }) | |
| 957 | end | |
| 958 | end | |
| 959 | }, | |
| 960 | Sphere = {
| |
| 961 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 962 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 963 | prt.Anchored = true | |
| 964 | prt.CFrame = cframe | |
| 965 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 966 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 967 | table.insert(Effects, {
| |
| 968 | prt, | |
| 969 | "Cylinder", | |
| 970 | delay, | |
| 971 | x3, | |
| 972 | y3, | |
| 973 | z3, | |
| 974 | msh | |
| 975 | }) | |
| 976 | end | |
| 977 | }, | |
| 978 | Cylinder = {
| |
| 979 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 980 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 981 | prt.Anchored = true | |
| 982 | prt.CFrame = cframe | |
| 983 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 984 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 985 | table.insert(Effects, {
| |
| 986 | prt, | |
| 987 | "Cylinder", | |
| 988 | delay, | |
| 989 | x3, | |
| 990 | y3, | |
| 991 | z3, | |
| 992 | msh | |
| 993 | }) | |
| 994 | end | |
| 995 | }, | |
| 996 | Wave = {
| |
| 997 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 998 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 999 | prt.Anchored = true | |
| 1000 | prt.CFrame = cframe | |
| 1001 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
| |
| 1002 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1003 | table.insert(Effects, {
| |
| 1004 | prt, | |
| 1005 | "Cylinder", | |
| 1006 | delay, | |
| 1007 | x3 / 60, | |
| 1008 | y3 / 60, | |
| 1009 | z3 / 60, | |
| 1010 | msh | |
| 1011 | }) | |
| 1012 | end | |
| 1013 | }, | |
| 1014 | Ring = {
| |
| 1015 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1016 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1017 | prt.Anchored = true | |
| 1018 | prt.CFrame = cframe | |
| 1019 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1020 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1021 | table.insert(Effects, {
| |
| 1022 | prt, | |
| 1023 | "Cylinder", | |
| 1024 | delay, | |
| 1025 | x3, | |
| 1026 | y3, | |
| 1027 | z3, | |
| 1028 | msh | |
| 1029 | }) | |
| 1030 | end | |
| 1031 | }, | |
| 1032 | Break = {
| |
| 1033 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 1034 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1035 | prt.Anchored = true | |
| 1036 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1037 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1038 | local num = math.random(10, 50) / 1000 | |
| 1039 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1040 | table.insert(Effects, {
| |
| 1041 | prt, | |
| 1042 | "Shatter", | |
| 1043 | num, | |
| 1044 | prt.CFrame, | |
| 1045 | math.random() - math.random(), | |
| 1046 | 0, | |
| 1047 | math.random(50, 100) / 100 | |
| 1048 | }) | |
| 1049 | end | |
| 1050 | }, | |
| 1051 | Spiral = {
| |
| 1052 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1053 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1054 | prt.Anchored = true | |
| 1055 | prt.CFrame = cframe | |
| 1056 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1057 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1058 | table.insert(Effects, {
| |
| 1059 | prt, | |
| 1060 | "Cylinder", | |
| 1061 | delay, | |
| 1062 | x3, | |
| 1063 | y3, | |
| 1064 | z3, | |
| 1065 | msh | |
| 1066 | }) | |
| 1067 | end | |
| 1068 | }, | |
| 1069 | Push = {
| |
| 1070 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1071 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1072 | prt.Anchored = true | |
| 1073 | prt.CFrame = cframe | |
| 1074 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1075 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1076 | table.insert(Effects, {
| |
| 1077 | prt, | |
| 1078 | "Cylinder", | |
| 1079 | delay, | |
| 1080 | x3, | |
| 1081 | y3, | |
| 1082 | z3, | |
| 1083 | msh | |
| 1084 | }) | |
| 1085 | end | |
| 1086 | } | |
| 1087 | } | |
| 1088 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
| 1089 | local fp = IT("Part")
| |
| 1090 | fp.formFactor = formfactor | |
| 1091 | fp.Parent = parent | |
| 1092 | fp.Reflectance = reflectance | |
| 1093 | fp.Transparency = transparency | |
| 1094 | fp.CanCollide = false | |
| 1095 | fp.Locked = true | |
| 1096 | fp.BrickColor = brickcolor | |
| 1097 | fp.Name = name | |
| 1098 | fp.Size = size | |
| 1099 | fp.Position = tors.Position | |
| 1100 | RemoveOutlines(fp) | |
| 1101 | fp.Material = "SmoothPlastic" | |
| 1102 | fp:BreakJoints() | |
| 1103 | return fp | |
| 1104 | end | |
| 1105 | ||
| 1106 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 1107 | local mesh = IT(Mesh) | |
| 1108 | mesh.Parent = part | |
| 1109 | if Mesh == "SpecialMesh" then | |
| 1110 | mesh.MeshType = meshtype | |
| 1111 | if meshid ~= "nil" then | |
| 1112 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
| 1113 | end | |
| 1114 | end | |
| 1115 | mesh.Offset = offset | |
| 1116 | mesh.Scale = scale | |
| 1117 | return mesh | |
| 1118 | end | |
| 1119 | ||
| 1120 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
| 1121 | local type = type | |
| 1122 | local rng = Instance.new("Part", char)
| |
| 1123 | rng.Anchored = true | |
| 1124 | rng.BrickColor = color | |
| 1125 | rng.CanCollide = false | |
| 1126 | rng.FormFactor = 3 | |
| 1127 | rng.Name = "Ring" | |
| 1128 | rng.Material = "Neon" | |
| 1129 | rng.Size = Vector3.new(1, 1, 1) | |
| 1130 | rng.Transparency = 0 | |
| 1131 | rng.TopSurface = 0 | |
| 1132 | rng.BottomSurface = 0 | |
| 1133 | rng.CFrame = pos | |
| 1134 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1135 | rngm.MeshType = MType | |
| 1136 | rngm.Scale = scale | |
| 1137 | local scaler2 = 1 | |
| 1138 | if type == "Add" then | |
| 1139 | scaler2 = 1 * value | |
| 1140 | elseif type == "Divide" then | |
| 1141 | scaler2 = 1 / value | |
| 1142 | end | |
| 1143 | coroutine.resume(coroutine.create(function() | |
| 1144 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1145 | swait() | |
| 1146 | if type == "Add" then | |
| 1147 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1148 | elseif type == "Divide" then | |
| 1149 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 1150 | end | |
| 1151 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1152 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
| 1153 | end | |
| 1154 | rng:Destroy() | |
| 1155 | end)) | |
| 1156 | end | |
| 1157 | ||
| 1158 | function Eviscerate(dude) | |
| 1159 | if dude.Name ~= char then | |
| 1160 | local bgf = IT("BodyGyro", dude.Head)
| |
| 1161 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 1162 | local val = IT("BoolValue", dude)
| |
| 1163 | val.Name = "IsHit" | |
| 1164 | local ds = coroutine.wrap(function() | |
| 1165 | dude:WaitForChild("Head"):BreakJoints()
| |
| 1166 | wait(0.5) | |
| 1167 | target = nil | |
| 1168 | coroutine.resume(coroutine.create(function() | |
| 1169 | for i, v in pairs(dude:GetChildren()) do | |
| 1170 | if v:IsA("Accessory") then
| |
| 1171 | v:Destroy() | |
| 1172 | end | |
| 1173 | if v:IsA("Humanoid") then
| |
| 1174 | v:Destroy() | |
| 1175 | end | |
| 1176 | if v:IsA("CharacterMesh") then
| |
| 1177 | v:Destroy() | |
| 1178 | end | |
| 1179 | if v:IsA("Model") then
| |
| 1180 | v:Destroy() | |
| 1181 | end | |
| 1182 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 1183 | for x, o in pairs(v:GetChildren()) do | |
| 1184 | if o:IsA("Decal") then
| |
| 1185 | o:Destroy() | |
| 1186 | end | |
| 1187 | end | |
| 1188 | coroutine.resume(coroutine.create(function() | |
| 1189 | v.Material = "Neon" | |
| 1190 | v.CanCollide = false | |
| 1191 | local PartEmmit1 = IT("ParticleEmitter", v)
| |
| 1192 | PartEmmit1.LightEmission = 1 | |
| 1193 | PartEmmit1.Texture = "rbxassetid://284205403" | |
| 1194 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1195 | PartEmmit1.Rate = 150 | |
| 1196 | PartEmmit1.Lifetime = NumberRange.new(1) | |
| 1197 | PartEmmit1.Size = NumberSequence.new({
| |
| 1198 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
| 1199 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 1200 | }) | |
| 1201 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1202 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1203 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 1204 | }) | |
| 1205 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 1206 | PartEmmit1.VelocitySpread = 30000 | |
| 1207 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
| 1208 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
| 1209 | local BodPoss = IT("BodyPosition", v)
| |
| 1210 | BodPoss.P = 3000 | |
| 1211 | BodPoss.D = 1000 | |
| 1212 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 1213 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 1214 | v.Color = maincolor.Color | |
| 1215 | coroutine.resume(coroutine.create(function() | |
| 1216 | for i = 0, 49 do | |
| 1217 | swait(1) | |
| 1218 | v.Transparency = v.Transparency + 0.08 | |
| 1219 | end | |
| 1220 | wait(0.5) | |
| 1221 | PartEmmit1.Enabled = false | |
| 1222 | wait(3) | |
| 1223 | v:Destroy() | |
| 1224 | dude:Destroy() | |
| 1225 | end)) | |
| 1226 | end)) | |
| 1227 | end | |
| 1228 | end | |
| 1229 | end)) | |
| 1230 | end) | |
| 1231 | ds() | |
| 1232 | end | |
| 1233 | end | |
| 1234 | ||
| 1235 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 1236 | if SinglePlayer then | |
| 1237 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
| 1238 | end | |
| 1239 | local List = {}
| |
| 1240 | for i, v in pairs(workspace:GetChildren()) do | |
| 1241 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
| |
| 1242 | table.insert(List, v) | |
| 1243 | end | |
| 1244 | end | |
| 1245 | return List | |
| 1246 | end | |
| 1247 | ||
| 1248 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
| 1249 | local type = type | |
| 1250 | local rng = Instance.new("Part", char)
| |
| 1251 | rng.Anchored = true | |
| 1252 | rng.BrickColor = color | |
| 1253 | rng.CanCollide = false | |
| 1254 | rng.FormFactor = 3 | |
| 1255 | rng.Name = "Ring" | |
| 1256 | rng.Material = "Neon" | |
| 1257 | rng.Size = Vector3.new(1, 1, 1) | |
| 1258 | rng.Transparency = 0 | |
| 1259 | rng.TopSurface = 0 | |
| 1260 | rng.BottomSurface = 0 | |
| 1261 | rng.CFrame = pos | |
| 1262 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 1263 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1264 | rngm.MeshType = MType | |
| 1265 | rngm.Scale = Vector3.new(x1, y1, z1) | |
| 1266 | local scaler2 = 1 | |
| 1267 | local speeder = FastSpeed | |
| 1268 | if type == "Add" then | |
| 1269 | scaler2 = 1 * value | |
| 1270 | elseif type == "Divide" then | |
| 1271 | scaler2 = 1 / value | |
| 1272 | end | |
| 1273 | coroutine.resume(coroutine.create(function() | |
| 1274 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1275 | swait() | |
| 1276 | if type == "Add" then | |
| 1277 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1278 | elseif type == "Divide" then | |
| 1279 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 1280 | end | |
| 1281 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
| 1282 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
| 1283 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1284 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
| 1285 | end | |
| 1286 | rng:Destroy() | |
| 1287 | end)) | |
| 1288 | end | |
| 1289 | ||
| 1290 | function SoulSteal(dude) | |
| 1291 | if dude.Name ~= char then | |
| 1292 | local bgf = IT("BodyGyro", dude.Head)
| |
| 1293 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 1294 | local val = IT("BoolValue", dude)
| |
| 1295 | val.Name = "IsHit" | |
| 1296 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
| 1297 | local soulst = coroutine.wrap(function() | |
| 1298 | local soul = Instance.new("Part",dude)
| |
| 1299 | soul.Size = Vector3.new(1,1,1) | |
| 1300 | soul.CanCollide = false | |
| 1301 | soul.Anchored = false | |
| 1302 | soul.Position = torso.Position | |
| 1303 | soul.Transparency = 1 | |
| 1304 | local PartEmmit1 = IT("ParticleEmitter", soul)
| |
| 1305 | PartEmmit1.LightEmission = 1 | |
| 1306 | PartEmmit1.Texture = "rbxassetid://569507414" | |
| 1307 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1308 | PartEmmit1.Rate = 250 | |
| 1309 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
| 1310 | PartEmmit1.Size = NumberSequence.new({
| |
| 1311 | NumberSequenceKeypoint.new(0, 1, 0), | |
| 1312 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 1313 | }) | |
| 1314 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1315 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1316 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 1317 | }) | |
| 1318 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 1319 | PartEmmit1.VelocitySpread = 30000 | |
| 1320 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
| 1321 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
| 1322 | local BodPoss = IT("BodyPosition", soul)
| |
| 1323 | BodPoss.P = 3000 | |
| 1324 | BodPoss.D = 1000 | |
| 1325 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 1326 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 1327 | wait(1.6) | |
| 1328 | soul.Touched:connect(function(hit) | |
| 1329 | if hit.Parent == char then | |
| 1330 | soul:Destroy() | |
| 1331 | end | |
| 1332 | end) | |
| 1333 | wait(1.2) | |
| 1334 | while soul do | |
| 1335 | swait() | |
| 1336 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1337 | BodPoss.Position = tors.Position | |
| 1338 | end | |
| 1339 | end) | |
| 1340 | soulst() | |
| 1341 | end | |
| 1342 | end | |
| 1343 | function FaceMouse() | |
| 1344 | local Cam = workspace.CurrentCamera | |
| 1345 | return {
| |
| 1346 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 1347 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 1348 | } | |
| 1349 | end | |
| 1350 | ------------------------------------------------------- | |
| 1351 | --End Effect Function-- | |
| 1352 | ------------------------------------------------------- | |
| 1353 | function Cso(ID, PARENT, VOLUME, PITCH) | |
| 1354 | local NSound = nil | |
| 1355 | coroutine.resume(coroutine.create(function() | |
| 1356 | NSound = IT("Sound", PARENT)
| |
| 1357 | NSound.Volume = VOLUME | |
| 1358 | NSound.Pitch = PITCH | |
| 1359 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 1360 | swait() | |
| 1361 | NSound:play() | |
| 1362 | game:GetService("Debris"):AddItem(NSound, 10)
| |
| 1363 | end)) | |
| 1364 | return NSound | |
| 1365 | end | |
| 1366 | function CameraEnshaking(Length, Intensity) | |
| 1367 | coroutine.resume(coroutine.create(function() | |
| 1368 | local intensity = 1 * Intensity | |
| 1369 | local rotM = 0.01 * Intensity | |
| 1370 | for i = 0, Length, 0.1 do | |
| 1371 | swait() | |
| 1372 | intensity = intensity - 0.05 * Intensity / Length | |
| 1373 | rotM = rotM - 5.0E-4 * Intensity / Length | |
| 1374 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
| 1375 | 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) | |
| 1376 | end | |
| 1377 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
| 1378 | end)) | |
| 1379 | end | |
| 1380 | ------------------------------------------------------- | |
| 1381 | --End Important Functions-- | |
| 1382 | ------------------------------------------------------- | |
| 1383 | ||
| 1384 | ||
| 1385 | ||
| 1386 | ||
| 1387 | New = function(Object, Parent, Name, Data) | |
| 1388 | local Object = Instance.new(Object) | |
| 1389 | for Index, Value in pairs(Data or {}) do
| |
| 1390 | Object[Index] = Value | |
| 1391 | end | |
| 1392 | Object.Parent = Parent | |
| 1393 | Object.Name = Name | |
| 1394 | return Object | |
| 1395 | end | |
| 1396 | ||
| 1397 | Doll = New("Model",char,"Doll",{})
| |
| 1398 | Handle = New("Part",Doll,"Handle",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.755005181, 0.52783519, 0.664805532),CFrame = CFrame.new(17.7066402, 4.04866695, 4.38868618, -0.408491671, 0.666965187, -0.623126268, 0.353551745, 0.745008111, 0.565648913, 0.841502249, 0.0107554942, -0.540138841),Color = Color3.new(0.792157, 0.74902, 0.639216),})
| |
| 1399 | Mesh = New("CylinderMesh",Handle,"Mesh",{})
| |
| 1400 | Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1401 | Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1402 | Decal = New("Decal",Handle,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1403 | Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1404 | Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1405 | Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1406 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.8601875, 3.91987228, 3.94369364, 0.725253046, -0.0676794797, 0.685131192, -0.652452052, -0.385200739, 0.652613878, 0.219753951, -0.920328677, -0.3235268),Color = Color3.new(0.792157, 0.74902, 0.639216),})
| |
| 1407 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 1408 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1409 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1410 | Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1411 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1412 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1413 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1414 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.725257337, -0.652455866, 0.219753742, -0.0676780641, -0.385204077, -0.920336843, 0.685135007, 0.652616382, -0.323529661),C1 = CFrame.new(-0.482725382, 0.00167179108, 0.0718259811, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
| |
| 1415 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.834486, 3.79168725, 3.64936543, 0.0676793754, -0.685130835, 0.725253344, 0.385200799, -0.652614176, -0.652451873, 0.920328736, 0.323526919, 0.219753981),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
| |
| 1416 | Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1417 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1418 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1419 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1420 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1421 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1422 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0676779449, 0.385204136, 0.920336902, -0.685134649, -0.65261662, 0.32352975, 0.725257695, -0.652455688, 0.219753742),C1 = CFrame.new(-0.765227079, -0.114135742, 0.174312592, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
| |
| 1423 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.469902, 4.25766516, 4.74769306, 0.445832253, 0.789082885, 0.422561586, -0.410611928, -0.239177942, 0.879868925, 0.795366764, -0.565779567, 0.217372388),Color = Color3.new(0.792157, 0.74902, 0.639216),})
| |
| 1424 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 1425 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1426 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1427 | Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1428 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1429 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1430 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1431 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.445833862, -0.410613358, 0.795372128, 0.789088428, -0.239180744, -0.565785825, 0.422562867, 0.879873633, 0.217374772),C1 = CFrame.new(0.472706556, 0.0016708374, 0.0718240738, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
| |
| 1432 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.1839867, 3.98582673, 3.75731707, 0.429396152, -0.706048965, 0.563108683, -0.389012426, -0.70731467, -0.590215027, 0.815025091, 0.0343795903, -0.578376234),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
| |
| 1433 | Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1434 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1435 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1436 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1437 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1438 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1439 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.429397583, -0.389013648, 0.815030634, -0.706052482, -0.707317889, 0.0343799815, 0.563113213, -0.590219498, -0.57838279),C1 = CFrame.new(-0.340019703, -0.402200699, 0.631163597, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
| |
| 1440 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.3263435, 3.86502314, 4.01973581, 0.563109279, -0.429397821, 0.706047297, -0.590211987, 0.389013797, 0.707316399, -0.578378439, -0.815023482, -0.0343782082),Color = Color3.new(0.792157, 0.74902, 0.639216),})
| |
| 1441 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 1442 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1443 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1444 | Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1445 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1446 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1447 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1448 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.563113868, -0.590216458, -0.578384995, -0.429399252, 0.389015079, -0.815029025, 0.706050813, 0.707319558, -0.0343785957),C1 = CFrame.new(-0.220053911, -0.394431114, 0.332381248, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
| |
| 1449 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.1463699, 4.02708626, 4.39648008, 0.0949088037, -0.73499012, 0.671386242, -0.165235519, 0.653441608, 0.738708198, -0.981658518, -0.181056261, -0.0594294369),Color = Color3.new(0.792157, 0.74902, 0.639216),})
| |
| 1450 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 1451 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1452 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1453 | Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1454 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1455 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1456 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1457 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0949110687, -0.165237904, -0.981667101, -0.734994531, 0.653445482, -0.181055605, 0.67138958, 0.738711536, -0.0594298989),C1 = CFrame.new(0.227796555, -0.389676094, 0.33270359, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
| |
| 1458 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(16.9056702, 4.23298216, 4.33822775, 0.734989643, -0.671386659, 0.0949084461, -0.65344131, -0.738707781, -0.165238559, 0.18105793, 0.0594319291, -0.981658101),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
| |
| 1459 | Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1460 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1461 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1462 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1463 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1464 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1465 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.734994054, -0.653445184, 0.181057304, -0.671389878, -0.738711119, 0.0594324097, 0.0949106514, -0.165240943, -0.981666625),C1 = CFrame.new(0.349896908, -0.397447586, 0.630620956, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
| |
| 1466 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.668146014, 0.668146014, 0.668146014),CFrame = CFrame.new(17.5317345, 3.8532939, 4.38586617, -0.408485681, -0.666960537, 0.62312144, 0.353546619, -0.745002985, -0.565644801, 0.841490149, -0.01075528, 0.540134549),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
| |
| 1467 | Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1468 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1469 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1470 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1471 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1472 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1473 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.408489615, 0.353550047, 0.841498256, -0.666963577, -0.745006442, -0.0107553881, 0.623124659, -0.565647602, 0.540137351),C1 = CFrame.new(2.38418579e-07, -0.262242317, -9.53674316e-07, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
| |
| 1474 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.2187252, 4.32988024, 4.93205738, 0.445832521, -0.422561586, 0.789083481, -0.410612077, -0.879869342, -0.239178166, 0.795367122, -0.217372417, -0.565779924),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
| |
| 1475 | Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1476 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1477 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1478 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1479 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1480 | Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
| |
| 1481 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.4458341, -0.410613567, 0.795372486, -0.422562897, -0.879873991, -0.217374831, 0.789088964, -0.239180893, -0.565786123),C1 = CFrame.new(0.755987883, -0.110072136, 0.169605255, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
| |
| 1482 | Part = New("Part",Doll,"Part",{FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.668145955, 0.668145835, 0.668145955),CFrame = CFrame.new(18.08988, 4.4767499, 4.39486742, 0.408485681, 0.666960537, 0.62312144, -0.353546619, 0.745002985, -0.565644801, -0.841490149, 0.01075528, 0.540134549),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 1483 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.267258376, 0.267258346, 0.267258376),MeshId = "rbxassetid://511959728",TextureId = "rbxassetid://511959832",MeshType = Enum.MeshType.FileMesh,})
| |
| 1484 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.408489615, -0.353550047, -0.841498256, 0.666963577, 0.745006442, 0.0107553881, 0.623124659, -0.565647602, 0.540137351),C1 = CFrame.new(7.15255737e-07, 0.574602127, -9.53674316e-07, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
| |
| 1485 | ConeMesh = New("Part",Doll,"ConeMesh",{Material = Enum.Material.SmoothPlastic,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.334072918, 0.200000003),CFrame = CFrame.new(17.9875202, 4.01644802, 3.77061558, -0.0676794201, -0.685131192, -0.725253105, -0.385200799, -0.652613878, 0.652452171, -0.920328856, 0.3235268, -0.219753891),CanCollide = false,})
| |
| 1486 | Mesh = New("SpecialMesh",ConeMesh,"Mesh",{Scale = Vector3.new(0.0100221895, 0.334072918, 0.0100221895),MeshId = "http://www.roblox.com/asset/?id=1033714",MeshType = Enum.MeshType.FileMesh,})
| |
| 1487 | mot = New("Motor",ConeMesh,"mot",{Part0 = ConeMesh,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0676780194, -0.385204077, -0.920336962, -0.685135007, -0.652616382, 0.323529661, -0.725257397, 0.652455926, -0.219753653),C1 = CFrame.new(-0.646242142, 0.156686783, 0.14059639, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
| |
| 1488 | ConeMesh = New("Part",Doll,"ConeMesh",{Material = Enum.Material.SmoothPlastic,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.334072918, 0.200000003),CFrame = CFrame.new(17.5272255, 4.25228214, 4.19855928, 0.0679666698, 0.36827448, 0.927217185, -0.212974086, -0.902587652, 0.374107033, 0.974675775, -0.222893685, 0.017090857),CanCollide = false,})
| |
| 1489 | Mesh = New("SpecialMesh",ConeMesh,"Mesh",{Scale = Vector3.new(0.0100221895, 0.334072918, 0.0100221895),MeshId = "http://www.roblox.com/asset/?id=1033714",MeshType = Enum.MeshType.FileMesh,})
| |
| 1490 | mot = New("Motor",ConeMesh,"mot",{Part0 = ConeMesh,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0679656863, -0.212973878, 0.974683523, 0.368277669, -0.902593136, -0.22289744, 0.927222073, 0.374108285, 0.0170900673),C1 = CFrame.new(-0.0147144794, 0.0299873352, 0.329668999, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
| |
| 1491 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Ball,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(18.0725803, 4.09775925, 3.73087263, 0.0676794201, 0.685131252, -0.725253105, 0.385200679, 0.652613938, 0.652452171, 0.920328856, -0.32352671, -0.219753891),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),})
| |
| 1492 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.334072977, 0.334072918, 0.334072977),MeshType = Enum.MeshType.Sphere,})
| |
| 1493 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0676779896, 0.385204017, 0.920336962, 0.685135067, 0.652616382, -0.323529571, -0.725257397, 0.652455926, -0.219753653),C1 = CFrame.new(-0.685684681, 0.273569107, 0.155054092, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
| |
| 1494 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Ball,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(17.4762096, 4.37637663, 4.2292285, 0.0679666698, 0.927216947, -0.368275285, -0.212974086, 0.374107838, 0.902587295, 0.974675775, 0.0170910954, 0.222893804),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),})
| |
| 1495 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.334072977, 0.334072918, 0.334072977),MeshType = Enum.MeshType.Sphere,})
| |
| 1496 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0679656863, -0.212973878, 0.974683523, 0.927221835, 0.374109089, 0.0170903057, -0.368278474, 0.902592778, 0.22289747),C1 = CFrame.new(0.0758080482, 0.0887422562, 0.4150877, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
| |
| 1497 | ||
| 1498 | --lazi xd | |
| 1499 | Needle = New("Model",char,"Needle",{})
| |
| 1500 | Handle2 = New("Part",Needle,"Handle2",{FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 2.4000001, 1),CFrame = CFrame.new(16.3492584, 4.78270006, 4.07852173, 0.0870969296, 0.578728557, -0.810855865, 0.54097569, -0.710955501, -0.449318945, -0.836516261, -0.399518967, -0.375000119),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
| |
| 1501 | Mesh = New("SpecialMesh",Handle2,"Mesh",{Scale = Vector3.new(0.100000001, 0.800000012, 0.100000001),MeshId = "http://www.roblox.com/asset/?id=1082802",MeshType = Enum.MeshType.FileMesh,})
| |
| 1502 | ||
| 1503 | ||
| 1504 | for _, v in pairs(Doll:GetChildren()) do | |
| 1505 | if v:IsA'BasePart' then | |
| 1506 | v.CanCollide = false | |
| 1507 | end | |
| 1508 | end | |
| 1509 | ||
| 1510 | for _, v in pairs(Needle:GetChildren()) do | |
| 1511 | if v:IsA'BasePart' then | |
| 1512 | v.CanCollide = false | |
| 1513 | end | |
| 1514 | end | |
| 1515 | ||
| 1516 | ||
| 1517 | local NewInstance = function(instance,parent,properties) | |
| 1518 | local inst = Instance.new(instance,parent) | |
| 1519 | if(properties)then | |
| 1520 | for i,v in next, properties do | |
| 1521 | pcall(function() inst[i] = v end) | |
| 1522 | end | |
| 1523 | end | |
| 1524 | return inst; | |
| 1525 | end | |
| 1526 | local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(-.2,-.8,-.4)*CFrame.Angles(math.rad(-30),math.rad(220),math.rad(65))})
| |
| 1527 | ||
| 1528 | local HW2 = NewInstance('Weld',char,{Part0=la,Part1=Handle2,C0 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(125),math.rad(90))})
| |
| 1529 | ||
| 1530 | ------------------------------------------------------- | |
| 1531 | --Start Customization-- | |
| 1532 | ------------------------------------------------------- | |
| 1533 | local Player_Size = 1 | |
| 1534 | if Player_Size ~= 1 then | |
| 1535 | root.Size = root.Size * Player_Size | |
| 1536 | tors.Size = tors.Size * Player_Size | |
| 1537 | hed.Size = hed.Size * Player_Size | |
| 1538 | ra.Size = ra.Size * Player_Size | |
| 1539 | la.Size = la.Size * Player_Size | |
| 1540 | rl.Size = rl.Size * Player_Size | |
| 1541 | ll.Size = ll.Size * Player_Size | |
| 1542 | ---------------------------------------------------------------------------------- | |
| 1543 | rootj.Parent = root | |
| 1544 | neck.Parent = tors | |
| 1545 | RW.Parent = tors | |
| 1546 | LW.Parent = tors | |
| 1547 | RH.Parent = tors | |
| 1548 | LH.Parent = tors | |
| 1549 | ---------------------------------------------------------------------------------- | |
| 1550 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1551 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1552 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1553 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
| 1554 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
| 1555 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
| 1556 | ---------------------------------------------------------------------------------- | |
| 1557 | 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)) | |
| 1558 | 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)) | |
| 1559 | 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)) | |
| 1560 | 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)) | |
| 1561 | --hat.Parent = Character | |
| 1562 | end | |
| 1563 | ---------------------------------------------------------------------------------- | |
| 1564 | local SONG = 486598641 | |
| 1565 | local SONG2 = 0 | |
| 1566 | local Music = Instance.new("Sound",tors)
| |
| 1567 | Music.Volume = 5 | |
| 1568 | Music.Looped = true | |
| 1569 | Music.Pitch = 1 --Pitcher | |
| 1570 | ---------------------------------------------------------------------------------- | |
| 1571 | local equipped = false | |
| 1572 | local idle = 0 | |
| 1573 | local change = 1 | |
| 1574 | local val = 0 | |
| 1575 | local toim = 0 | |
| 1576 | local idleanim = 0.4 | |
| 1577 | local sine = 0 | |
| 1578 | local Sit = 1 | |
| 1579 | ---------------------------------------------------------------------------------- | |
| 1580 | hum.WalkSpeed = 8 | |
| 1581 | hum.JumpPower = 57 | |
| 1582 | hum.Animator.Parent = nil | |
| 1583 | hed.face.Texture = "rbxassetid://138140944" | |
| 1584 | ---------------------------------------------------------------------------------- | |
| 1585 | for i = 1, 35 do | |
| 1586 | local FACE = CreatePart(3, char, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", Vector3.new(1.01,0.5,1.01),false) | |
| 1587 | FACE.Color = Color3.new(0,0,0) | |
| 1588 | hed:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
| |
| 1589 | CreateWeldOrSnapOrMotor("Weld", hed, hed, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
| |
| 1590 | end | |
| 1591 | local LASTPART = hed | |
| 1592 | for i = 1, 42 do | |
| 1593 | local MATH = (1-(i/30)) | |
| 1594 | if LASTPART == hed then | |
| 1595 | local Horn = CreatePart(3, char, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", Vector3.new(0.15*MATH,0.15,0.15*MATH),false) | |
| 1596 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * angles(Rad(25), Rad(15), Rad(-15)), CF(0, 0, 0))
| |
| 1597 | LASTPART = Horn | |
| 1598 | Horn.Color = Color3.new((i*2-2)/140,0,0) | |
| 1599 | else | |
| 1600 | local Horn = CreatePart(3, char, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", Vector3.new(0.15*MATH,0.15,0.15*MATH),false) | |
| 1601 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * angles(Rad(6), Rad(-0.3), Rad(0)), CF(0, 0, 0))
| |
| 1602 | LASTPART = Horn | |
| 1603 | Horn.Color = Color3.new((i*2-4)/140,0,0) | |
| 1604 | end | |
| 1605 | end | |
| 1606 | ||
| 1607 | ------------------------------------------------------- | |
| 1608 | --End Customization-- | |
| 1609 | ------------------------------------------------------- | |
| 1610 | ||
| 1611 | ||
| 1612 | ------------------------------------------------------- | |
| 1613 | --Start Attacks N Stuff-- | |
| 1614 | ------------------------------------------------------- | |
| 1615 | ||
| 1616 | function dmg(dude) | |
| 1617 | if dude.Name ~= char then | |
| 1618 | dude:FindFirstChildOfClass("Humanoid").PlatformStand = true
| |
| 1619 | local bgf = Instance.new("BodyGyro",dude.Head)
| |
| 1620 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
| 1621 | local val = Instance.new("BoolValue",dude)
| |
| 1622 | val.Name = "IsHit" | |
| 1623 | local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso")
| |
| 1624 | local partasdeff = Instance.new("ParticleEmitter",torsy)
| |
| 1625 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
| 1626 | partasdeff.LightEmission = .1 | |
| 1627 | partasdeff.Size = NumberSequence.new(0.2) | |
| 1628 | partasdeff.Texture = "rbxassetid://771221224" | |
| 1629 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
| |
| 1630 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1631 | partasdeff.Transparency = bbb | |
| 1632 | partasdeff.Size = aaa | |
| 1633 | partasdeff.ZOffset = .9 | |
| 1634 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
| 1635 | partasdeff.LockedToPart = false | |
| 1636 | partasdeff.EmissionDirection = "Back" | |
| 1637 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
| 1638 | partasdeff.Rate = 1000 | |
| 1639 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
| 1640 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
| 1641 | partasdeff.Speed = NumberRange.new(6) | |
| 1642 | partasdeff.VelocitySpread = 10000 | |
| 1643 | partasdeff.Enabled=false | |
| 1644 | partasdeff:Emit(30) | |
| 1645 | coroutine.wrap(function() | |
| 1646 | targetted = nil | |
| 1647 | swait(30) | |
| 1648 | dude:BreakJoints() | |
| 1649 | Effects.Sphere.Create(BrickColor.new("Crimson"), dude.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
| |
| 1650 | swait(5) | |
| 1651 | dude:FindFirstChildOfClass("Humanoid"):Destroy()
| |
| 1652 | for i=0,1,.05 do | |
| 1653 | for a,v in pairs(dude:GetChildren()) do | |
| 1654 | if v:IsA("BasePart") then
| |
| 1655 | v.Transparency = 1 | |
| 1656 | end | |
| 1657 | end | |
| 1658 | swait() | |
| 1659 | end | |
| 1660 | for a,v in pairs(dude:GetChildren()) do | |
| 1661 | if v:IsA("BasePart") and v:FindFirstChild("ParticleEmitter") then
| |
| 1662 | v.ParticleEmitter.Enabled = false | |
| 1663 | end | |
| 1664 | game:service'Debris':AddItem(v,2) | |
| 1665 | end | |
| 1666 | end)() | |
| 1667 | end | |
| 1668 | end | |
| 1669 | ||
| 1670 | --lazi | |
| 1671 | function kdown(dd) | |
| 1672 | if dd.Name ~= char then | |
| 1673 | dd.Humanoid.PlatformStand = true | |
| 1674 | local bgf = Instance.new("BodyGyro",dd.Head)
| |
| 1675 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
| 1676 | local val = Instance.new("BoolValue",dd)
| |
| 1677 | val.Name = "IsHit" | |
| 1678 | end | |
| 1679 | end | |
| 1680 | ||
| 1681 | function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
| 1682 | --local buddy | |
| 1683 | for _, c in pairs(workspace:children()) do | |
| 1684 | local hum = c:findFirstChild("Humanoid")
| |
| 1685 | if hum ~= nil then | |
| 1686 | local head = c:findFirstChild("Torso")
| |
| 1687 | if head ~= nil then | |
| 1688 | local targ = head.Position - Part.Position | |
| 1689 | local mag = targ.magnitude | |
| 1690 | if mag <= Magnitude and c.Name ~= plr.Name then | |
| 1691 | if c.Name ~= char then | |
| 1692 | if c.Name ~= "Creterisk" and c.Name ~= "Nebula_Zorua" and c.Name ~= "KillerDarkness0105" and c.Name ~= "XXUNORIBOASXX" then | |
| 1693 | local asd = Instance.new("ParticleEmitter",c.Torso)
| |
| 1694 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
| 1695 | asd.LightEmission = .1 | |
| 1696 | asd.Size = NumberSequence.new(0.2) | |
| 1697 | asd.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
| 1698 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
| |
| 1699 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1700 | asd.Transparency = bbb | |
| 1701 | asd.Size = aaa | |
| 1702 | asd.ZOffset = .9 | |
| 1703 | asd.Acceleration = Vector3.new(0, -5, 0) | |
| 1704 | asd.LockedToPart = false | |
| 1705 | asd.EmissionDirection = "Back" | |
| 1706 | asd.Lifetime = NumberRange.new(1, 2) | |
| 1707 | asd.Rate = 1000 | |
| 1708 | asd.Rotation = NumberRange.new(-100, 100) | |
| 1709 | asd.RotSpeed = NumberRange.new(-100, 100) | |
| 1710 | asd.Speed = NumberRange.new(6) | |
| 1711 | asd.VelocitySpread = 10000 | |
| 1712 | asd.Enabled=true | |
| 1713 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
| 1714 | dmg(c) | |
| 1715 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", c.Torso, 1.2, .8)
| |
| 1716 | coroutine.wrap(function() | |
| 1717 | wait(.2) | |
| 1718 | asd.Enabled = false | |
| 1719 | wait(2) | |
| 1720 | asd:Remove() | |
| 1721 | end)() | |
| 1722 | else | |
| 1723 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240429289", c.Torso, 1.5, math.random(1,1.3))
| |
| 1724 | Effects.Sphere.Create(BrickColor.new("Crimson"), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
| |
| 1725 | ||
| 1726 | end | |
| 1727 | end | |
| 1728 | end | |
| 1729 | end | |
| 1730 | end | |
| 1731 | end | |
| 1732 | end | |
| 1733 | ||
| 1734 | local sine=0 | |
| 1735 | function targett() | |
| 1736 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 1737 | TargetSelect(mouse.Target.Parent) | |
| 1738 | CreateSound("743521450", char, 1, .8)
| |
| 1739 | end | |
| 1740 | end | |
| 1741 | ||
| 1742 | function HAAH() | |
| 1743 | attack = true | |
| 1744 | hum.WalkSpeed = 0 | |
| 1745 | Cso("300208779", hed, 10, 1)
| |
| 1746 | for i = 0,9,0.1 do | |
| 1747 | swait() | |
| 1748 | 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) | |
| 1749 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3) | |
| 1750 | if Mrandom(1,15) == 1 then | |
| 1751 | 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) | |
| 1752 | end | |
| 1753 | 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) | |
| 1754 | 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) | |
| 1755 | 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) | |
| 1756 | 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) | |
| 1757 | end | |
| 1758 | attack = false | |
| 1759 | hum.WalkSpeed = 10 | |
| 1760 | end | |
| 1761 | ||
| 1762 | function doot_n_die() | |
| 1763 | attack = true | |
| 1764 | hum.WalkSpeed = 0 | |
| 1765 | if targetted.Name ~= "Creterisk" and targetted.Name ~= "XXUNORIBOASXX" and targetted.Name ~= "Nebula_Zorua" and targetted.Name ~= "KillerDarkness0105" then | |
| 1766 | local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
| |
| 1767 | local partasdeff = Instance.new("ParticleEmitter",torsy)
| |
| 1768 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
| 1769 | partasdeff.LightEmission = .1 | |
| 1770 | partasdeff.Size = NumberSequence.new(0.2) | |
| 1771 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
| 1772 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
| |
| 1773 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1774 | partasdeff.Transparency = bbb | |
| 1775 | partasdeff.Size = aaa | |
| 1776 | partasdeff.ZOffset = .9 | |
| 1777 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
| 1778 | partasdeff.LockedToPart = false | |
| 1779 | partasdeff.EmissionDirection = "Back" | |
| 1780 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
| 1781 | partasdeff.Rate = 1000 | |
| 1782 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
| 1783 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
| 1784 | partasdeff.Speed = NumberRange.new(6) | |
| 1785 | partasdeff.VelocitySpread = 10000 | |
| 1786 | partasdeff.Enabled=false | |
| 1787 | for i = 0, 2.4, 0.1 do | |
| 1788 | swait() | |
| 1789 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 1790 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3) | |
| 1791 | if Mrandom(1,15) == 1 then | |
| 1792 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
| 1793 | end | |
| 1794 | 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(-10)), 0.15) | |
| 1795 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
| 1796 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
| 1797 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1) | |
| 1798 | end | |
| 1799 | for i = 0, 1.4, 0.1 do | |
| 1800 | swait() | |
| 1801 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 1802 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15), Rad(0), Rad(-25)), 0.3) | |
| 1803 | if Mrandom(1,15) == 1 then | |
| 1804 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-50,50)), Rad(Mrandom(-50,50)), Rad(Mrandom(-50,50))), 0.3) | |
| 1805 | end | |
| 1806 | 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(-10)), 0.15) | |
| 1807 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
| 1808 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(85), Rad(0), Rad(-15)), 0.1) | |
| 1809 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1) | |
| 1810 | end | |
| 1811 | dmg(targetted) | |
| 1812 | partasdeff.Enabled=true | |
| 1813 | CreateSound("429400881", torsy, 10, .8)
| |
| 1814 | for i = 0, 1.4, 0.1 do | |
| 1815 | swait() | |
| 1816 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 1817 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3) | |
| 1818 | if Mrandom(1,15) == 1 then | |
| 1819 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
| 1820 | end | |
| 1821 | 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(-10)), 0.15) | |
| 1822 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
| 1823 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
| 1824 | LW.C0 = clerp(LW.C0, CF(-.4, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(65)), 0.1) | |
| 1825 | end | |
| 1826 | partasdeff.Enabled=false | |
| 1827 | for i = 0, 1.4, 0.1 do | |
| 1828 | swait() | |
| 1829 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 1830 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15), Rad(0), Rad(-25)), 0.3) | |
| 1831 | if Mrandom(1,15) == 1 then | |
| 1832 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
| 1833 | end | |
| 1834 | 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(-10)), 0.15) | |
| 1835 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
| 1836 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
| 1837 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1) | |
| 1838 | end | |
| 1839 | attack = false | |
| 1840 | hum.WalkSpeed = 8 | |
| 1841 | elseif targetted.Name == "Creterisk" then | |
| 1842 | for i = 0, 2.4, 0.1 do | |
| 1843 | swait() | |
| 1844 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 1845 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3) | |
| 1846 | if Mrandom(1,15) == 1 then | |
| 1847 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
| 1848 | end | |
| 1849 | 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(-10)), 0.15) | |
| 1850 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
| 1851 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
| 1852 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1) | |
| 1853 | end | |
| 1854 | for i = 0, 2.4, 0.1 do | |
| 1855 | swait() | |
| 1856 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 1857 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3) | |
| 1858 | if Mrandom(1,15) == 1 then | |
| 1859 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
| 1860 | end | |
| 1861 | 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(-10)), 0.15) | |
| 1862 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
| 1863 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
| 1864 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1) | |
| 1865 | end | |
| 1866 | coroutine.wrap(function() | |
| 1867 | wait(2) | |
| 1868 | --partasdeff:Remove() | |
| 1869 | end)() | |
| 1870 | local sel = Mrandom(1,3) | |
| 1871 | if sel == 1 then | |
| 1872 | chatfunc("Damn, I am dumb.")
| |
| 1873 | elseif sel == 2 then | |
| 1874 | chatfunc("CREATOR, HELP ME.")
| |
| 1875 | elseif sel == 3 then | |
| 1876 | chatfunc("Senpai, notice me.")
| |
| 1877 | end | |
| 1878 | wait(2) | |
| 1879 | hum.WalkSpeed = 8 | |
| 1880 | attack = false | |
| 1881 | elseif targetted.Name == "XXUNORIBOASXX" then | |
| 1882 | for i = 0, 2.4, 0.1 do | |
| 1883 | swait() | |
| 1884 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 1885 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3) | |
| 1886 | if Mrandom(1,15) == 1 then | |
| 1887 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
| 1888 | end | |
| 1889 | 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(-10)), 0.15) | |
| 1890 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
| 1891 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
| 1892 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1) | |
| 1893 | end | |
| 1894 | for i = 0, 2.4, 0.1 do | |
| 1895 | swait() | |
| 1896 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 1897 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3) | |
| 1898 | if Mrandom(1,15) == 1 then | |
| 1899 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
| 1900 | end | |
| 1901 | 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(-10)), 0.15) | |
| 1902 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
| 1903 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
| 1904 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1) | |
| 1905 | end | |
| 1906 | coroutine.wrap(function() | |
| 1907 | wait(2) | |
| 1908 | --partasdeff:Remove() | |
| 1909 | end)() | |
| 1910 | local sel = Mrandom(1,3) | |
| 1911 | if sel == 1 then | |
| 1912 | chatfunc("HEHEHEHEHEHEHE")
| |
| 1913 | elseif sel == 2 then | |
| 1914 | chatfunc("ducc.")
| |
| 1915 | elseif sel == 3 then | |
| 1916 | chatfunc("Excuse me what?")
| |
| 1917 | end | |
| 1918 | wait(2) | |
| 1919 | hum.WalkSpeed = 8 | |
| 1920 | attack = false | |
| 1921 | elseif targetted.Name == "Nebula_Zorua" then | |
| 1922 | for i = 0, 2.4, 0.1 do | |
| 1923 | swait() | |
| 1924 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 1925 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3) | |
| 1926 | if Mrandom(1,15) == 1 then | |
| 1927 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
| 1928 | end | |
| 1929 | 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(-10)), 0.15) | |
| 1930 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
| 1931 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
| 1932 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1) | |
| 1933 | end | |
| 1934 | for i = 0, 2.4, 0.1 do | |
| 1935 | swait() | |
| 1936 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 1937 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3) | |
| 1938 | if Mrandom(1,15) == 1 then | |
| 1939 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
| 1940 | end | |
| 1941 | 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(-10)), 0.15) | |
| 1942 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
| 1943 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
| 1944 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1) | |
| 1945 | end | |
| 1946 | coroutine.wrap(function() | |
| 1947 | wait(2) | |
| 1948 | --partasdeff:Remove() | |
| 1949 | end)() | |
| 1950 | local sel = Mrandom(1,3) | |
| 1951 | if sel == 1 then | |
| 1952 | chatfunc("floof.")
| |
| 1953 | elseif sel == 2 then | |
| 1954 | chatfunc("Wh-what?")
| |
| 1955 | elseif sel == 3 then | |
| 1956 | chatfunc("I have mistaken..")
| |
| 1957 | end | |
| 1958 | wait(2) | |
| 1959 | hum.WalkSpeed = 8 | |
| 1960 | attack = false | |
| 1961 | elseif targetted.Name == "KillerDarkness0105" then | |
| 1962 | for i = 0, 2.4, 0.1 do | |
| 1963 | swait() | |
| 1964 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 1965 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3) | |
| 1966 | if Mrandom(1,15) == 1 then | |
| 1967 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
| 1968 | end | |
| 1969 | 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(-10)), 0.15) | |
| 1970 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
| 1971 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
| 1972 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1) | |
| 1973 | end | |
| 1974 | for i = 0, 2.4, 0.1 do | |
| 1975 | swait() | |
| 1976 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 1977 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3) | |
| 1978 | if Mrandom(1,15) == 1 then | |
| 1979 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
| 1980 | end | |
| 1981 | 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(-10)), 0.15) | |
| 1982 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
| 1983 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
| 1984 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1) | |
| 1985 | end | |
| 1986 | coroutine.wrap(function() | |
| 1987 | wait(2) | |
| 1988 | --partasdeff:Remove() | |
| 1989 | end)() | |
| 1990 | local sel = Mrandom(1,3) | |
| 1991 | if sel == 1 then | |
| 1992 | chatfunc("Gale Fighter was a nice script, after all.")
| |
| 1993 | elseif sel == 2 then | |
| 1994 | chatfunc("Ding dong, bing bong.")
| |
| 1995 | elseif sel == 3 then | |
| 1996 | chatfunc("hehe.. hehehe..")
| |
| 1997 | end | |
| 1998 | wait(2) | |
| 1999 | hum.WalkSpeed = 8 | |
| 2000 | attack = false | |
| 2001 | end | |
| 2002 | end | |
| 2003 | ||
| 2004 | function doot_die_pls() | |
| 2005 | attack = true | |
| 2006 | hum.WalkSpeed = 0 | |
| 2007 | local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
| |
| 2008 | for i = 0, 2, 0.1 do | |
| 2009 | swait() | |
| 2010 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(25)), 0.15) | |
| 2011 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
| 2012 | if Mrandom(1,15) == 1 then | |
| 2013 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
| 2014 | end | |
| 2015 | 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(-10)), 0.15) | |
| 2016 | 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(-10)), 0.15) | |
| 2017 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(10)), 0.1) | |
| 2018 | 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(-10)), 0.1) | |
| 2019 | end | |
| 2020 | coroutine.resume(coroutine.create(function() | |
| 2021 | for i = 1,10 do | |
| 2022 | swait() | |
| 2023 | local Pully = Create("BodyPosition")({
| |
| 2024 | P = 9000, | |
| 2025 | D = 1000, | |
| 2026 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 2027 | position = ra.Position - ra.CFrame.lookVector * 6, | |
| 2028 | Parent = torsy | |
| 2029 | }) | |
| 2030 | game:GetService("Debris"):AddItem(Pully, 0.2)
| |
| 2031 | wait() | |
| 2032 | end | |
| 2033 | end)) | |
| 2034 | CreateSound("541909814", torsy, 10, 1)
| |
| 2035 | CreateSound("131228548", hed, 10, 1)
| |
| 2036 | for i = 0, 2.2, 0.1 do | |
| 2037 | swait() | |
| 2038 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-35)), 0.15) | |
| 2039 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(35)), 0.3) | |
| 2040 | if Mrandom(1,15) == 1 then | |
| 2041 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
| 2042 | end | |
| 2043 | 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(17), Rad(-10)), 0.15) | |
| 2044 | 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) | |
| 2045 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
| 2046 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(-5)), 0.1) | |
| 2047 | end | |
| 2048 | attack = false | |
| 2049 | hum.WalkSpeed = 8 | |
| 2050 | end | |
| 2051 | ||
| 2052 | code = 1678 --jk it doesnt work | |
| 2053 | ||
| 2054 | function abc() | |
| 2055 | thing = true | |
| 2056 | chatfunc("WHY...")
| |
| 2057 | wait(0.85) | |
| 2058 | chatfunc("WHY?!")
| |
| 2059 | wait(1) | |
| 2060 | chatfunc("WHY MUST MY LIFE BE LIKE THIS?! I can't.. take it anymore...")
| |
| 2061 | wait(1) | |
| 2062 | Music:Stop() | |
| 2063 | attack = true | |
| 2064 | hum.WalkSpeed = 0 | |
| 2065 | hum.JumpPower = 0 | |
| 2066 | for i = 0,6,0.1 do | |
| 2067 | swait() | |
| 2068 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2069 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
| 2070 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2071 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2072 | 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(5)), 0.1) | |
| 2073 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(15)), 0.1) | |
| 2074 | end | |
| 2075 | CreateSound("1093102664", hed, 10, 1)
| |
| 2076 | for _, v in pairs(Needle:GetChildren()) do | |
| 2077 | if v:IsA'BasePart' then | |
| 2078 | v:Remove() | |
| 2079 | end | |
| 2080 | end | |
| 2081 | for i = 0,4,0.1 do | |
| 2082 | swait() | |
| 2083 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(5), Rad(0), Rad(0)), 0.15) | |
| 2084 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.4) | |
| 2085 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2086 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2087 | 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(5)), 0.1) | |
| 2088 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(40)), 0.4) | |
| 2089 | end | |
| 2090 | for i = 0,6,0.1 do | |
| 2091 | swait() | |
| 2092 | 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) | |
| 2093 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
| 2094 | 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) | |
| 2095 | 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) | |
| 2096 | 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) | |
| 2097 | 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) | |
| 2098 | end | |
| 2099 | for i = 0,6,0.1 do | |
| 2100 | swait() | |
| 2101 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -3 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15) | |
| 2102 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2103 | 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) | |
| 2104 | 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) | |
| 2105 | 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) | |
| 2106 | 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), Rad(0 - 4.5 * Sin(sine / 20)), Rad(-13)), 0.1) | |
| 2107 | end | |
| 2108 | Anchor() | |
| 2109 | wait(2) | |
| 2110 | chatfunc("I hope I never see you again..")
| |
| 2111 | wait(1) | |
| 2112 | dmg(char) | |
| 2113 | print("It seems you've died! CONGRATS!")
| |
| 2114 | for _, v in pairs(Doll:GetChildren()) do | |
| 2115 | if v:IsA'BasePart' then | |
| 2116 | v:Remove() | |
| 2117 | end | |
| 2118 | end | |
| 2119 | thing = false | |
| 2120 | end | |
| 2121 | ||
| 2122 | csosoundyi = Instance.new("Sound", hed)
| |
| 2123 | csosoundyi.SoundId = "rbxassetid://178038408" | |
| 2124 | csosoundyi.Volume = 10 | |
| 2125 | csosoundyi.Pitch = 1 | |
| 2126 | ||
| 2127 | function HAAH() | |
| 2128 | attack = true | |
| 2129 | hum.WalkSpeed = 0 | |
| 2130 | csosoundyi:Play() | |
| 2131 | repeat | |
| 2132 | swait() | |
| 2133 | 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) | |
| 2134 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3) | |
| 2135 | if Mrandom(1,15) == 1 then | |
| 2136 | 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) | |
| 2137 | end | |
| 2138 | 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) | |
| 2139 | 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) | |
| 2140 | 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) | |
| 2141 | 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) | |
| 2142 | until csosoundyi.Playing == false | |
| 2143 | attack = false | |
| 2144 | hum.WalkSpeed = 10 | |
| 2145 | end | |
| 2146 | ||
| 2147 | thing = false | |
| 2148 | ||
| 2149 | mouse.Button1Down:connect(function() | |
| 2150 | if attack == false and targetted ~= nil and thing == false then | |
| 2151 | doot_n_die() | |
| 2152 | GlowParticle.Enabled = false | |
| 2153 | end | |
| 2154 | end) | |
| 2155 | ||
| 2156 | mouse.KeyDown:connect(function(key) | |
| 2157 | if attack == false then | |
| 2158 | if key == 'q' and thing == false then | |
| 2159 | targett() | |
| 2160 | elseif key == 'x' and targetted ~= nil and thing == false then | |
| 2161 | doot_die_pls() | |
| 2162 | elseif key == 'r' and targetted ~= nil and thing == false then | |
| 2163 | CreateSound("174271590", hed, .4, math.random(5, 15) / 5)
| |
| 2164 | root.CFrame = targetted.Head.CFrame * CFrame.new(0, 0, 6) | |
| 2165 | elseif key == 'p' then | |
| 2166 | abc() | |
| 2167 | elseif key == 't' and thing == false then | |
| 2168 | HAAH() | |
| 2169 | end | |
| 2170 | end | |
| 2171 | end) | |
| 2172 | ||
| 2173 | ------------------------------------------------------- | |
| 2174 | --End Attacks N Stuff-- | |
| 2175 | ------------------------------------------------------- | |
| 2176 | ||
| 2177 | ||
| 2178 | ||
| 2179 | ||
| 2180 | ||
| 2181 | ||
| 2182 | ||
| 2183 | ||
| 2184 | ||
| 2185 | ------------------------------------------------------- | |
| 2186 | --Start Animations-- | |
| 2187 | ------------------------------------------------------- | |
| 2188 | print("By Makhail07, FINISHED BY XXUNORIBOASXX >:D")
| |
| 2189 | Music.SoundId = "rbxassetid://"..SONG | |
| 2190 | Music.Looped = true | |
| 2191 | Music.Pitch = 1 | |
| 2192 | Music.Volume = 2 | |
| 2193 | Music.Parent = char | |
| 2194 | Music:Resume() | |
| 2195 | --AAAAAAAAAAAAAAAA | |
| 2196 | while true do | |
| 2197 | swait() | |
| 2198 | sine = sine + change | |
| 2199 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 2200 | local velderp = root.Velocity.y | |
| 2201 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
| 2202 | if equipped == true or equipped == false then | |
| 2203 | if attack == false then | |
| 2204 | idle = idle + 1 | |
| 2205 | else | |
| 2206 | idle = 0 | |
| 2207 | end | |
| 2208 | if 1 < root.Velocity.y and hitfloor == nil then | |
| 2209 | Anim = "Jump" | |
| 2210 | if attack == false then | |
| 2211 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 2212 | 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.3) | |
| 2213 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20), -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2214 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20), 0* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2215 | 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.1) | |
| 2216 | 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.1) | |
| 2217 | end | |
| 2218 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
| 2219 | Anim = "Fall" | |
| 2220 | if attack == false then | |
| 2221 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-10), Rad(0), Rad(0)), 0.15) | |
| 2222 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2223 | 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.15) | |
| 2224 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-8.5), Rad(0), Rad(0)), 0.15) | |
| 2225 | 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(165 + 4.5 * Sin(sine / 20))), 0.1) | |
| 2226 | 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(-165 - 4.5 * Sin(sine / 20))), 0.1) | |
| 2227 | end | |
| 2228 | elseif torvel < 1 and hitfloor ~= nil then | |
| 2229 | Anim = "Idle" | |
| 2230 | change = 1 | |
| 2231 | if attack == false then | |
| 2232 | HeadTwitch = false | |
| 2233 | 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.15) | |
| 2234 | 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(-20 + 2 * Cos(sine / .25))), 0.3) | |
| 2235 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-9.5), Rad(0), Rad(20)), 0.15) | |
| 2236 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-9.5), Rad(0), Rad(-20)), 0.15) | |
| 2237 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(5), Rad(13)), 0.1) | |
| 2238 | 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), Rad(0 - 4.5 * Sin(sine / 20)), Rad(-13)), 0.1) | |
| 2239 | if HeadTwitch == false and Mrandom(1, 25) == 1 then | |
| 2240 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(Mrandom(-90, 90)), Rad(Mrandom(-90, 90)), Rad(Mrandom(-90, 90))), 0.15) | |
| 2241 | end | |
| 2242 | end | |
| 2243 | elseif torvel < 50 and hitfloor ~= nil then | |
| 2244 | Anim = "Walk" | |
| 2245 | change = 1 | |
| 2246 | if attack == false then | |
| 2247 | 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) | |
| 2248 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 2249 | 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(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2250 | 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(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2251 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(75) , Rad(8 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1) | |
| 2252 | 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(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1) | |
| 2253 | end | |
| 2254 | end | |
| 2255 | end | |
| 2256 | if 0 < #Effects then | |
| 2257 | for e = 1, #Effects do | |
| 2258 | if Effects[e] ~= nil then | |
| 2259 | local Thing = Effects[e] | |
| 2260 | if Thing ~= nil then | |
| 2261 | local Part = Thing[1] | |
| 2262 | local Mode = Thing[2] | |
| 2263 | local Delay = Thing[3] | |
| 2264 | local IncX = Thing[4] | |
| 2265 | local IncY = Thing[5] | |
| 2266 | local IncZ = Thing[6] | |
| 2267 | if 1 >= Thing[1].Transparency then | |
| 2268 | if Thing[2] == "Block1" then | |
| 2269 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2270 | local Mesh = Thing[1].Mesh | |
| 2271 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2272 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2273 | elseif Thing[2] == "Block2" then | |
| 2274 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
| 2275 | local Mesh = Thing[7] | |
| 2276 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2277 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2278 | elseif Thing[2] == "Block3" then | |
| 2279 | 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) | |
| 2280 | local Mesh = Thing[7] | |
| 2281 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2282 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2283 | elseif Thing[2] == "Cylinder" then | |
| 2284 | local Mesh = Thing[1].Mesh | |
| 2285 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2286 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2287 | elseif Thing[2] == "Blood" then | |
| 2288 | local Mesh = Thing[7] | |
| 2289 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 2290 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2291 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2292 | elseif Thing[2] == "Elec" then | |
| 2293 | local Mesh = Thing[1].Mesh | |
| 2294 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 2295 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2296 | elseif Thing[2] == "Disappear" then | |
| 2297 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2298 | elseif Thing[2] == "Shatter" then | |
| 2299 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2300 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 2301 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 2302 | Thing[6] = Thing[6] + Thing[5] | |
| 2303 | end | |
| 2304 | else | |
| 2305 | Part.Parent = nil | |
| 2306 | table.remove(Effects, e) | |
| 2307 | end | |
| 2308 | end | |
| 2309 | end | |
| 2310 | end | |
| 2311 | end | |
| 2312 | end | |
| 2313 | --[[ | |
| 2314 | A bit of lore for those who are wondering : | |
| 2315 | ||
| 2316 | Micheal (Voodoo Child) was born in a lone village with his sister, father, and mother | |
| 2317 | his mother died when he was age 6 and felt that it was his fault she died, as though it was not. | |
| 2318 | The village whereabouts was in a forest that some named "The Dead Woods" for whoever went in there, | |
| 2319 | never came back. | |
| 2320 | A few years past after the death and funeral of his mother, his sister caught a deadly disease, the guilt he felt | |
| 2321 | like he did from his mother came upon him once again, for this time was his fault, as they were playing near the oaks of hell, | |
| 2322 | which can give others an un-curable sickness or instant death, his sister got the worse fate. | |
| 2323 | The only cure known is to get herbs from the witch of the dead woods and do her deeds, but as others know | |
| 2324 | those who enter never return, but he was a brave boy and set out to find the witch, his father worried forced him not to go, | |
| 2325 | But during the night he snuck out of his home and went... | |
| 2326 | His adventure began but not for long as he already saw a hut above, he knocks on the door and waits for a respond, | |
| 2327 | nothing. | |
| 2328 | After some time the door finally opened and there she was the horrible wrinkle faced creature, he spoke | |
| 2329 | "Ma-May I have some of your herbs so I may heal my sister?" | |
| 2330 | The witch replied, "Yes you may my little child, but only on one condition, you must do 5 ta-" Micheal cuts her off. | |
| 2331 | "I DON'T WANT TO DO ANY TASK I JUST WISH TO SAVE MY SISTER, so please only this once?" | |
| 2332 | The witches anger grew, she's never been interrupted, and she knew what she must do. | |
| 2333 | "YOU DARE CUT OFF THE SACRED WORDS OF ME? I SHALL CURSE YOU WITH THE SOULS OF THE INNOCENT!" She screamed. | |
| 2334 | Micheal terrified, a storm brew, and the witches words could be heard from echoes from every angle, lightning strikes trees and rain pours down, | |
| 2335 | covering his head, closing his eyes, and putting himself into a ball, after time everything stopped. | |
| 2336 | He looked up cautiously, looking around up and finally down, he sees a pin, and a doll. He bends down and grabs them both, | |
| 2337 | looking at them he remembers that he didn't get any herbs but he didn't have enough time he quickly ran back to the village and put both the pin and doll into his pockets... | |
| 2338 | ||
| 2339 | He was already to late. His sister passed away he bent to his knees and cried, some sang and others left and cried. | |
| 2340 | He pulled the doll and pin, from his pocket and laid it on her body and went to his room. | |
| 2341 | Moving he gets pinned and looks behind him, the doll and pin... he was terrified, he couldn't say a word and couldn't scream, he passes out. | |
| 2342 | Waking up he notices his home and village into shambles, dead ones laying everywhere. | |
| 2343 | T O B E C O N T I N U E D ! | |
| 2344 | also there's a code in the script which i have hidden, if you say it in chat it'll say something | |
| 2345 | --]] | |
| 2346 | ------------------------------------------------------- | |
| 2347 | --End Animations And Script-- | |
| 2348 | ------------------------------------------------------- |