SHOW:
|
|
- or go back to the newest paste.
| 1 | local Player = game.Players.LocalPlayer | |
| 2 | local mouse = Player:GetMouse() | |
| 3 | local char = Player.Character | |
| 4 | local hum = char:WaitForChild("Humanoid")
| |
| 5 | local head = char:WaitForChild("Head")
| |
| 6 | local torso = char:WaitForChild("Torso")
| |
| 7 | local root = char:WaitForChild("HumanoidRootPart")
| |
| 8 | local rarm = char["Right Arm"] | |
| 9 | local larm = char["Left Arm"] | |
| 10 | local rleg = char["Right Leg"] | |
| 11 | char.Archivable = true | |
| 12 | local lleg = char["Left Leg"] | |
| 13 | enabled = false | |
| 14 | --person = workspace.Suflet | |
| 15 | rage = true | |
| 16 | deb = false | |
| 17 | local o_torso = root["RootJoint"].C1 | |
| 18 | local o_head = torso["Neck"].C1 | |
| 19 | local o_rarm = torso["Right Shoulder"].C1 | |
| 20 | local o_larm = torso["Left Shoulder"].C1 | |
| 21 | local o_rleg = torso["Right Hip"].C1 | |
| 22 | local o_lleg = torso["Left Hip"].C1 | |
| 23 | brickval = BrickColor.new("New Yeller")
| |
| 24 | sizeval = 0.1 | |
| 25 | math.randomseed(tick()) | |
| 26 | --head.Mesh.Scale = Vector3.new(3,3,3) | |
| 27 | local _torso = root["RootJoint"] | |
| 28 | local _head = torso["Neck"] | |
| 29 | local _rarm = torso["Right Shoulder"] | |
| 30 | local _larm = torso["Left Shoulder"] | |
| 31 | local _rleg = torso["Right Hip"] | |
| 32 | local _lleg = torso["Left Hip"] | |
| 33 | horns = Instance.new("Part", char)
| |
| 34 | horns.CanCollide = false | |
| 35 | horns.Material = "Neon" | |
| 36 | horns.Name = "ramhorns" | |
| 37 | mesh = Instance.new("SpecialMesh", horns)
| |
| 38 | mesh.MeshId = "rbxassetid://434078905" | |
| 39 | mesh.TextureId = "http://www.roblox.com/asset/?id=86972269" | |
| 40 | mesh.Scale = Vector3.new(4,4,4.5) | |
| 41 | weld = Instance.new("Weld", char)
| |
| 42 | weld.Part0 = horns | |
| 43 | weld.Part1 = head | |
| 44 | weld.C1 = CFrame.new(0,.5,.8) | |
| 45 | weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)) | |
| 46 | --_torso.C0 = CFrame.Angles(math.rad(180),0,math.rad(180)) | |
| 47 | --_lleg.C0 = CFrame.new(1,-1,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(90)) | |
| 48 | --_rleg.C0 = CFrame.new(0,-1,0)*CFrame.Angles(0,math.rad(90),math.rad(90)) | |
| 49 | hum.AutoRotate = false | |
| 50 | v = 1 | |
| 51 | hold = false | |
| 52 | ||
| 53 | function babies() | |
| 54 | pooped = char:Clone() | |
| 55 | pooped.Parent = workspace | |
| 56 | pooped.Torso.CFrame = torso.CFrame * CFrame.new(0,-1,2) | |
| 57 | pooped.Torso.Velocity = -torso.CFrame.lookVector * math.random(10,30) | |
| 58 | pooped.ramhorns:Destroy() | |
| 59 | --pooped | |
| 60 | --v = Instance.new("BodyVelocity", pooped.Torso)
| |
| 61 | --[[ spawn(function() | |
| 62 | if laid == true then | |
| 63 | while wait() do | |
| 64 | pooped.Humanoid:MoveTo(torso.Position) | |
| 65 | end | |
| 66 | end)--]] | |
| 67 | ||
| 68 | pooped.Humanoid:ChangeState(Enum.HumanoidStateType.GettingUp) | |
| 69 | pooped.Humanoid:SetStateEnabled(1, false) | |
| 70 | function find(tab, arg, pos) | |
| 71 | for i,v in pairs(tab) do | |
| 72 | if v == arg and i == pos then | |
| 73 | return true | |
| 74 | end | |
| 75 | end | |
| 76 | return false | |
| 77 | end | |
| 78 | ||
| 79 | function makeGiant(Character, S) | |
| 80 | local welds, hats = {}, {}
| |
| 81 | local torso = Character:findFirstChild("Torso")
| |
| 82 | head = Character:FindFirstChild("Head")
| |
| 83 | local pos = torso.Position | |
| 84 | local ssss = torso.Size.Y | |
| 85 | for _,v in pairs(torso:children()) do | |
| 86 | if v:IsA("Motor6D") or v:IsA("Weld") or v:IsA("Motor") then
| |
| 87 | table.insert(welds, {v, v.Part0, v.Part1})
| |
| 88 | end | |
| 89 | end | |
| 90 | for _, v in pairs(Character:children()) do | |
| 91 | if v:IsA("Hat") then
| |
| 92 | v.AttachmentPos = v.AttachmentPos*S | |
| 93 | v.Handle.Mesh.Scale = v.Handle.Mesh.Scale*S | |
| 94 | v:Destroy() | |
| 95 | table.insert(hats, v) | |
| 96 | elseif v:IsA("BasePart") then
| |
| 97 | v.formFactor = "Custom" | |
| 98 | v.Size = v.Size*S | |
| 99 | elseif v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") then
| |
| 100 | end | |
| 101 | end | |
| 102 | local anim = Character.Animate | |
| 103 | local animc = anim:clone() | |
| 104 | anim:remove() | |
| 105 | for _,v in pairs(welds) do | |
| 106 | local c1 = v[1].C1 | |
| 107 | local c0 = v[1].C0 | |
| 108 | local a1, a2, a3 = c1:toEulerAnglesXYZ() | |
| 109 | local b1, b2, b3 = c0:toEulerAnglesXYZ() | |
| 110 | c1 = CFrame.new(c1.p * S) * CFrame.Angles(a1, a2, a3) | |
| 111 | c0 = CFrame.new(c0.p * S) * CFrame.Angles(b1, b2, b3) | |
| 112 | local clon = v[1]:clone() | |
| 113 | v[1]:remove() | |
| 114 | clon.C1 = c1 | |
| 115 | clon.C0 = c0 | |
| 116 | clon.Part1 = v[3] | |
| 117 | clon.Part0 = v[2] | |
| 118 | clon.Parent = Character.Torso | |
| 119 | finalweld = Instance.new("Weld", Character)
| |
| 120 | finalweld.Part0 = Character.Torso | |
| 121 | finalweld.Part1 = Character.HumanoidRootPart | |
| 122 | end | |
| 123 | animc.Parent = Character | |
| 124 | Character.Humanoid.WalkSpeed = 6+10*S | |
| 125 | ||
| 126 | Character:MoveTo(pos+Vector3.new(0,S*(ssss/2),0)) | |
| 127 | wait(0.1) | |
| 128 | Character.Humanoid.HipHeight = 0 | |
| 129 | ||
| 130 | for i,v in pairs(hats) do | |
| 131 | end | |
| 132 | end | |
| 133 | ||
| 134 | makeGiant(pooped, 0.4) | |
| 135 | end | |
| 136 | ||
| 137 | mouse.KeyDown:connect(function(key) | |
| 138 | if key == "e" then | |
| 139 | asd = math.random(1,10) | |
| 140 | asd2 = math.random(1,4) | |
| 141 | for i = 1,asd2 do | |
| 142 | p = Instance.new("Part", workspace)
| |
| 143 | if asd ~= 5 then | |
| 144 | p.CFrame = torso.CFrame * CFrame.new(math.random(-20,20)/10,-1,2) | |
| 145 | p.Size = Vector3.new(0.4,0.4,0.4 ) | |
| 146 | p.BrickColor = BrickColor.new("Rust")
| |
| 147 | p.Velocity = -torso.CFrame.lookVector * math.random(10,30) | |
| 148 | elseif asd == 5 then | |
| 149 | asd2 = 1 | |
| 150 | --[[p.Size = Vector3.new(2,2,2) | |
| 151 | p.BrickColor = BrickColor.new("New Yeller")
| |
| 152 | p.Material = "Neon" | |
| 153 | p.CFrame = torso.CFrame--]] | |
| 154 | --babies() | |
| 155 | ||
| 156 | end | |
| 157 | end | |
| 158 | elseif key == "r" then | |
| 159 | babies() | |
| 160 | end | |
| 161 | end) | |
| 162 | mouse.Button1Down:connect(function() | |
| 163 | hitbox = Instance.new("Part", char)
| |
| 164 | hitbox.Size = Vector3.new(4,1,4) | |
| 165 | hitbox.Transparency = 1 | |
| 166 | hitbox.CanCollide = false | |
| 167 | w = Instance.new("Weld", char )
| |
| 168 | w.Part0 = hitbox | |
| 169 | w.Part1 = head | |
| 170 | w.C1 = CFrame.new(0,1,0) | |
| 171 | deb = false | |
| 172 | function onDamage(Part) | |
| 173 | if Part.Parent:FindFirstChild("Humanoid") ~= nil and Part.Parent.Name ~= game.Players.LocalPlayer.Name and deb == false then
| |
| 174 | deb = true | |
| 175 | Part.Parent.Humanoid.PlatformStand = true | |
| 176 | Part.Parent.Humanoid:TakeDamage(v/5 * Part.Parent.Humanoid.MaxHealth/600) | |
| 177 | Part.Parent.Torso.Velocity = root.CFrame.lookVector *Vector3.new(v,v,v) | |
| 178 | end | |
| 179 | wait(3) | |
| 180 | deb = false | |
| 181 | end | |
| 182 | ||
| 183 | hitbox.Touched:connect(onDamage) | |
| 184 | hold = true | |
| 185 | _torso.C0 = CFrame.new(0,-0.2,0)*CFrame.Angles(math.rad(180),0,math.rad(180)) | |
| 186 | _lleg.C0 = CFrame.new(1,-1,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(90)) | |
| 187 | _rleg.C0 = CFrame.new(0,-1,0)*CFrame.Angles(0,math.rad(90),math.rad(90)) | |
| 188 | vel = Instance.new("BodyVelocity", root)
| |
| 189 | vel.maxForce = Vector3.new(math.huge,0,math.huge) | |
| 190 | spawn(function() | |
| 191 | game:getService("RunService").RenderStepped:connect(function()
| |
| 192 | local mp = mouse.Hit.p+ Vector3.new(-2,0,0) | |
| 193 | torso.CFrame = CFrame.new(torso.Position, Vector3.new(mp.x, torso.Position.Y, mp.z)) | |
| 194 | end) | |
| 195 | end) | |
| 196 | v = 20 | |
| 197 | val = 0 | |
| 198 | spawn(function() | |
| 199 | while hold == true do | |
| 200 | local p = Instance.new("Part", workspace)
| |
| 201 | p.Anchored = true | |
| 202 | p.CFrame = head.CFrame * CFrame.Angles(math.rad(180),0,0) | |
| 203 | p.CanCollide = false | |
| 204 | if rage == false then | |
| 205 | p.Size = Vector3.new(0.1,0.1,0.1) | |
| 206 | p.BrickColor = brickval | |
| 207 | elseif rage == true then | |
| 208 | p.BrickColor = BrickColor.new("Really red")
| |
| 209 | end | |
| 210 | local mesh = Instance.new("SpecialMesh", p)
| |
| 211 | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 212 | game.Debris:AddItem(p, 3) | |
| 213 | spawn(function() | |
| 214 | if rage == false then | |
| 215 | for i = 1,100 do | |
| 216 | p.Transparency = i/10 | |
| 217 | mesh.Scale = mesh.Scale + Vector3.new(sizeval*10,sizeval,sizeval*10) | |
| 218 | wait() | |
| 219 | end | |
| 220 | elseif rage == true then | |
| 221 | for i = 1,100 do | |
| 222 | p.Transparency = i/10 | |
| 223 | mesh.Scale = mesh.Scale + Vector3.new(sizeval*80,sizeval*10,sizeval*80) | |
| 224 | wait() | |
| 225 | end | |
| 226 | end | |
| 227 | end) | |
| 228 | wait(2) | |
| 229 | end | |
| 230 | end) | |
| 231 | while hold == true do | |
| 232 | v=v+0.7 | |
| 233 | vel.maxForce = Vector3.new(math.huge,0,math.huge) | |
| 234 | vel.velocity = Player.Character.HumanoidRootPart.CFrame.lookVector * v | |
| 235 | wait() | |
| 236 | end | |
| 237 | end) | |
| 238 | ||
| 239 | mouse.Button1Up:connect(function() | |
| 240 | hitbox:Destroy() | |
| 241 | _torso.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
| 242 | _lleg.C0 = CFrame.new(1,-1,0)*CFrame.Angles(math.rad(180),math.rad(90),math.rad(180)) | |
| 243 | _rleg.C0 = CFrame.new(-1,-1,0)*CFrame.Angles(math.rad(180),math.rad(-90),math.rad(180)) | |
| 244 | hold = false | |
| 245 | v = 0 | |
| 246 | vel:Destroy() | |
| 247 | end) |