Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = game.Players.LocalPlayer
- local char = p.Character
- local mouse = p:GetMouse()
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local torso = char.Torso
- local hum = char.Humanoid
- local cam = game.Workspace.CurrentCamera
- local root = char.HumanoidRootPart
- local deb = false
- local shot = 0
- local l = game:GetService("Lighting")
- local rs = game:GetService("RunService").RenderStepped
- local stanceToggle = "Normal"
- math.randomseed(os.time())
- hum.WalkSpeed = 7
- char.Health:Destroy()
- hum.MaxHealth = 50000
- wait(0.1)
- hum.Health = 50000
- ----------------------------------------------------
- pcall(function()char.Shirt:Destroy()
- char.Pants:Destroy()
- end)
- shirt = Instance.new("Shirt", char)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", char)
- pants.Name = "Pants"
- char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=224461438"
- char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=245425647"
- ----------------------------------------------------
- Debounces = {
- on = false;
- ks = false;
- CanAttack = true;
- CanJoke = true;
- NoIdl = false;
- Slashing = false;
- Slashed = false;
- Grabbing = false;
- Grabbed = false;
- }
- local Touche = {char.Name, }
- ----------------------------------------------------
- function lerp(a, b, t) -- Linear interpolation
- return a + (b - a)*t
- end
- function slerp(a, b, t) --Spherical interpolation
- dot = a:Dot(b)
- if dot > 0.99999 or dot < -0.99999 then
- return t <= 0.5 and a or b
- else
- r = math.acos(dot)
- return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
- end
- end
- function matrixInterpolate(a, b, t)
- local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
- local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
- local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
- local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
- local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
- local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
- local t = v1:Dot(v2)
- if not (t < 0 or t == 0 or t > 0) then -- Failsafe
- return CFrame.new()
- end
- return CFrame.new(
- v0.x, v0.y, v0.z,
- v1.x, v1.y, v1.z,
- v2.x, v2.y, v2.z,
- v3.x, v3.y, v3.z)
- end
- ----------------------------------------------------
- function genWeld(a,b)
- local w = Instance.new("Weld",a)
- w.Part0 = a
- w.Part1 = b
- return w
- end
- function weld(a, b)
- local weld = Instance.new("Weld")
- weld.Name = "W"
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- weld.Parent = a
- return weld;
- end
- ----------------------------------------------------
- function Lerp(c1,c2,al)
- local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
- local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
- for i,v in pairs(com1) do
- com1[i] = v+(com2[i]-v)*al
- end
- return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
- end
- ----------------------------------------------------
- newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
- local wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- ----------------------------------------------------
- for i,v in pairs(char:children()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- for i,v in pairs(hed:children()) do
- if v:IsA("Sound") then
- v:Destroy()
- end
- end
- ----------------------------------------------------
- function HasntTouched(plrname)
- local ret = true
- for _, v in pairs(Touche) do
- if v == plrname then
- ret = false
- end
- end
- return ret
- end
- ----------------------------------------------------
- larm.Size = larm.Size * 2
- rarm.Size = rarm.Size * 2
- lleg.Size = lleg.Size * 2
- rleg.Size = rleg.Size * 2
- torso.Size = torso.Size * 2
- hed.Size = hed.Size * 2
- root.Size = root.Size * 2
- ----------------------------------------------------
- newWeld(torso, larm, -1.5, 0.5, 0)
- larm.Weld.C1 = CFrame.new(0, 0.5, 0)
- newWeld(torso, rarm, 1.5, 0.5, 0)
- rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
- newWeld(torso, hed, 0, 1.5, 0)
- newWeld(torso, lleg, -0.5, -1, 0)
- lleg.Weld.C1 = CFrame.new(0, 1, 0)
- newWeld(torso, rleg, 0.5, -1, 0)
- rleg.Weld.C1 = CFrame.new(0, 1, 0)
- newWeld(root, torso, 0, -1, 0)
- torso.Weld.C1 = CFrame.new(0, -1, 0)
- ----------------------------------------------------
- game:service'InsertService':LoadAsset(23301681):children()[1].Parent=char
- char["JJ5x5's White Top Hat"].Handle.Mesh.Scale = char["JJ5x5's White Top Hat"].Handle.Mesh.Scale * 3.2
- char["JJ5x5's White Top Hat"].Handle.Mesh.VertexColor = Vector3.new(1,1,1)
- hed.face.Texture = "rbxassetid://127498555"
- z=Instance.new('Decal',hed)
- z.Face = 'Front'
- z.Texture='rbxassetid://125408060'
- hed.BrickColor = BrickColor.new("Really black")
- lite = Instance.new("PointLight", torso)
- lite.Brightness = 14
- lite.Range = 10
- lite.Color = Color3.new(1, 0, 0)
- --[[local hed2 = hed:Clone()
- hed2.CanCollide = false
- hed2.Parent = char
- hed2:ClearAllChildren()
- hed2.Transparency = 1
- hed2.Name = "DARP"
- local w = Instance.new("Weld",hed2)
- w.Part0 = hed
- w.Part1 = hed2
- w.C0 = CFrame.new(0,0,-0.175)
- z=Instance.new("SurfaceGui",hed2)
- z.Enabled = true
- z.Face = "Front"
- z.Adornee = hed2
- z.CanvasSize = Vector2.new(100,100)
- local face = Instance.new("ImageLabel",z)
- face.Size = UDim2.new(1,-30,1,0)
- face.Position = UDim2.new(0,15,0,0)
- face.BackgroundTransparency = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement